1 # Copyright (C) 2006-2008 CEA/DEN, EDF R&D
3 # This library is free software; you can redistribute it and/or
4 # modify it under the terms of the GNU Lesser General Public
5 # License as published by the Free Software Foundation; either
6 # version 2.1 of the License.
8 # This library is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 # Lesser General Public License for more details.
13 # You should have received a copy of the GNU Lesser General Public
14 # License along with this library; if not, write to the Free Software
15 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
20 # Author : Anthony Geay (CEA)
22 # -----------------------------------------------------------------------------
24 AC_INIT([Salome2 Project], [5.1.0], [paul.rascle@edf.fr], [SalomeYacs])
25 AM_INIT_AUTOMAKE([tar-pax])
26 AC_CONFIG_HEADER(yacs_config.h)
28 # set up MODULE_NAME variable for dynamic construction of directories (resources, etc.)
38 # This function return on stdout the absolute path of the filename in
40 # $ filename="../KERNEL_SRC/configure
41 # $ absfilename=`absolute_path $filename`
42 function absolute_path {
45 apath=`dirname $filename`
52 # Build directory, where the configure script is executed.
54 # Source directory, where the configure script is located.
55 ROOT_SRCDIR=`absolute_path $0`
58 AC_SUBST(ROOT_BUILDDIR)
61 echo Source root directory : $ROOT_SRCDIR
62 echo Build root directory : $ROOT_BUILDDIR
64 # -----------------------------------------------------------------------------
77 AC_CHECK_LIB(dl,dlopen)
103 AM_CONDITIONAL([PYTHON_API], [test "x$swig_ok" == "xyes"])
104 AM_CONDITIONAL([SALOME_KERNEL], [test "x$KERNEL_ROOT_DIR" != "x"])
105 AM_CONDITIONAL([DSC_PORTS], [test -f $KERNEL_ROOT_DIR/idl/salome/DSC_Engines.idl])
107 CHECK_GUI(SALOME_Session_Server,SALOME_Session_Server)
109 AM_CONDITIONAL([HAS_GUI], [test "x$GUI_ROOT_DIR" != "x"])
114 echo "------------------------------------------------------------------------"
115 echo "$PACKAGE $VERSION"
116 echo "------------------------------------------------------------------------"
118 echo "Configuration Options Summary:"
120 echo "Mandatory products:"
121 echo " Threads ................ : $thread_ok"
122 echo " Boost .................. : $boost_ok"
123 echo " OmniOrb (CORBA) ........ : $omniORB_ok"
124 echo " OmniOrbpy (CORBA) ...... : $omniORBpy_ok"
125 echo " Python ................. : $python_ok"
126 echo " Expat .................. : $expat_ok"
127 echo " libxml ................. : $libxml_ok"
129 echo "Optional products:"
130 echo " swig (python wrapper)... : $swig_ok"
131 echo " SALOME KERNEL .......... : $Kernel_ok"
132 echo " DSC extension .......... : $dsc_ok"
133 echo " Cppunit (make check).... : $cppunit_ok"
134 echo " Qt4 (graphic interface) : $qt_ok"
135 echo " QScintilla ............. : $qscintilla_ok"
136 #echo " msq2qm ................. : $msg2qm_ok"
137 echo " SALOME GUI ............. : $SalomeGUI_ok"
138 echo " Sphinx (user doc) ...... : $sphinx_ok"
140 echo "------------------------------------------------------------------------"
143 if test "x$thread_ok" = "xno"; then
144 AC_MSG_ERROR([Thread is required],1)
146 if test "x$omniORB_ok" = "xno"; then
147 AC_MSG_ERROR([OmniOrb is required],1)
149 if test "x$python_ok" = "xno"; then
150 AC_MSG_ERROR([Python is required],1)
152 if test "x$omniORBpy_ok" = "xno"; then
153 AC_MSG_ERROR([OmniOrbpy is required],1)
155 if test "x$expat_ok" = "xno"; then
156 AC_MSG_ERROR([Expat is required],1)
158 if test "x$libxml_ok" = "xno"; then
159 AC_MSG_ERROR([Libxml is required],1)
170 src/bases/Test/Makefile \
171 src/engine/Makefile \
172 src/engine/Plugin/Makefile \
173 src/engine/Test/Makefile \
176 src/runtime/Makefile \
177 src/runtime/Test/Makefile \
178 src/genericgui/Makefile \
179 src/salomewrap/Makefile \
180 src/salomegui/Makefile \
181 src/salomeloader/Makefile \
182 src/wrappergen/Makefile \
183 src/wrappergen/src/Makefile \
184 src/yacsloader/Makefile \
185 src/yacsloader/Test/Makefile \
186 src/yacsorb/Makefile \
187 src/yacsloader/Test/YacsLoaderTest.sh \
188 src/yacsloader/Test/YacsLoaderInSessionTest.sh \
189 src/yacsloader/Test/YacsLoaderInSessionTest2.sh \
190 src/yacsloader/Test/display.sh \
191 src/yacsloader/Test/config_appli.xml \
192 src/salomegui/resources/YACSCatalog.xml \