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