-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.ac
150 lines (138 loc) · 4.69 KB
/
configure.ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
dnl Copyright (C) 2008-2024 EDF R&D
dnl
dnl This file is part of SALOME ADAO module
dnl
dnl This library is free software; you can redistribute it and/or
dnl modify it under the terms of the GNU Lesser General Public
dnl License as published by the Free Software Foundation; either
dnl version 2.1 of the License.
dnl
dnl This library is distributed in the hope that it will be useful,
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
dnl Lesser General Public License for more details.
dnl
dnl You should have received a copy of the GNU Lesser General Public
dnl License along with this library; if not, write to the Free Software
dnl Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
dnl
dnl See http://www.salome-platform.org/ or email : [email protected]
dnl
dnl Author: Jean-Philippe Argaud, [email protected], EDF R&D
AC_INIT(ADAO_SRC, [7.2.0])
AC_CONFIG_AUX_DIR(adm_local)
AM_INIT_AUTOMAKE
AM_CONFIG_HEADER(adao_config.h)
MODULE_NAME=adao
AC_SUBST(MODULE_NAME)
AC_ENABLE_DEBUG(yes)
AC_DISABLE_PRODUCTION
AC_PROG_LIBTOOL
AC_PROG_CC
AC_PROG_CXX
CHECK_KERNEL
CHECK_OMNIORB
CHECK_EFICAS
CHECK_MODULE_EFICAS
CHECK_SCIPY
CHECK_SPHINX
echo
echo
echo
echo "------------------------------------------------------------------------"
echo "$PACKAGE $VERSION"
echo "------------------------------------------------------------------------"
echo
echo "Configuration Options Summary:"
echo
echo "Mandatory products:"
echo " Threads ................ : $threads_ok"
echo " Python ................. : $python_ok"
echo " Scipy .................. : $scipy_ok"
echo
echo "SALOME Integration mandatory products:"
echo " OmniOrb (CORBA) ........ : $omniORB_ok"
echo " OmniOrbpy (CORBA) ...... : $omniORBpy_ok"
echo " SALOME KERNEL .......... : $Kernel_ok"
echo " Eficas ................. : $eficas_ok"
echo " Module Eficas .......... : $module_eficas_ok"
echo
echo "Optional products:"
echo " Sphinx (for doc)........ : $threads_ok"
echo "------------------------------------------------------------------------"
echo
if test "x$threads_ok" = "xno"; then
AC_MSG_ERROR([Thread is required],1)
fi
if test "x$python_ok" = "xno"; then
AC_MSG_ERROR([Python is required],1)
fi
if test "x$scipy_ok" = "xno"; then
AC_MSG_ERROR([Scipy is required],1)
fi
salome_module_ok=yes
if test "x$omniORB_ok" = "xno"; then
AC_MSG_WARN([OmniOrb is required for SALOME Module part])
salome_module_ok=no
fi
if test "x$omniORBpy_ok" = "xno"; then
AC_MSG_WARN([OmniOrbpy is required for SALOME Module part])
salome_module_ok=no
fi
if test "x$Kernel_ok" = "xno"; then
AC_MSG_WARN([SALOME KERNEL is required for SALOME Module part -
You could define a correct KERNEL_ROOT_DIR or use the --with-kernel= configure option])
salome_module_ok=no
fi
if test "x$eficas_ok" = "xno"; then
AC_MSG_WARN([Eficas is required for SALOME Module part])
salome_module_ok=no
fi
if test "x$module_eficas_ok" = "xno"; then
AC_MSG_WARN([Module Eficas is required for SALOME Module part])
salome_module_ok=no
fi
AM_CONDITIONAL(SALOME_MODULE, test x$salome_module_ok = xyes)
if test "x$sphinx_ok" = "xno"; then
AC_MSG_WARN([Sphinx is required for ADAO documentation])
fi
if test -f a.out; then
rm a.out
fi
AC_CONFIG_FILES([
Makefile
idl/Makefile
resources/Makefile
src/Makefile
src/daComposant/Makefile
src/daEficas/Makefile
src/daEficas/prefs_ADAO.py
src/daSalome/Makefile
src/daSalome/daGUI/Makefile
src/daSalome/daGUI/daUtils/Makefile
src/daSalome/daGUI/daGuiImpl/Makefile
src/daSalome/daGUI/daEficasWrapper/Makefile
examples/Makefile
examples/daSalome/Makefile
examples/daSalome/test003_ADAO_JDC_using_scripts.comm
examples/daSalome/test003_ADAO_JDC_using_scripts.py
examples/daSalome/test003_bis_ADAO_JDC_using_user_data_init.comm
examples/daSalome/test003_bis_ADAO_JDC_using_user_data_init.py
examples/daSalome/test004_ADAO_JDC_using_scripts.comm
examples/daSalome/test004_ADAO_JDC_using_scripts.py
examples/daSalome/test005_ADAO_Operators.comm
examples/daSalome/test005_ADAO_Operators.py
examples/daSalome/test006_Observers.comm
examples/daSalome/test006_Observers.py
examples/daSkeletons/Makefile
examples/daSkeletons/External_data_definition_by_scripts/Makefile
examples/daSkeletons/External_data_definition_by_scripts/ADAO_Case.comm
bin/Makefile
bin/qtEficas_adao_study.py
doc/Makefile
doc/en/Makefile
doc/fr/Makefile
test/Makefile
i18n/Makefile
])
AC_OUTPUT