X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=configure.ac;h=5807867a4644fd89ab907c0232e27c519c14a0d2;hb=03a039465e205ecf12be2c019aa49416685211c0;hp=e11af4b20bf3225841f3e3c18803d105ed2779c5;hpb=9a1f5bcb28cd7fcb449cdfdefc8ea5e414dacfe4;p=modules%2Fadao.git diff --git a/configure.ac b/configure.ac index e11af4b..5807867 100644 --- a/configure.ac +++ b/configure.ac @@ -1,30 +1,43 @@ +dnl Copyright (C) 2010-2011 EDF R&D +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 : webmaster.salome@opencascade.com +dnl +dnl Author: André Ribes, andre.ribes@edf.fr, EDF R&D -AC_INIT(datassim, 1.0) +AC_INIT(ADAO_SRC, [6.4.0]) AC_CONFIG_AUX_DIR(adm_local) AM_INIT_AUTOMAKE -AM_CONFIG_HEADER(datassim_config.h) - -dnl Check Salome Install -CHECK_KERNEL -if test "x$Kernel_ok" = "xno"; then - AC_MSG_ERROR([You must define a correct KERNEL_ROOT_DIR or use the --with-kernel= configure option !]) -fi +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_F77 -CHECK_BOOST -CHECK_OMNIORB -CHECK_PACO -CHECK_MPI - -MODULE_NAME=datassim -AC_SUBST(MODULE_NAME) -AC_CHECK_ASTER +CHECK_KERNEL +CHECK_OMNIORB +CHECK_EFICAS +CHECK_MODULE_EFICAS +CHECK_SCIPY +CHECK_SPHINX echo echo @@ -37,15 +50,18 @@ 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 " Python ................. : $python_ok" -echo " Boost ................. : $boost_ok" echo " SALOME KERNEL .......... : $Kernel_ok" -echo " PaCO++ ................. : $PaCO_ok" -echo " MPI .................... : $mpi_ok" -echo " Code Aster ............. : $Aster_ok" +echo " Eficas ................. : $eficas_ok" +echo " Module Eficas .......... : $module_eficas_ok" echo +echo "Optional products:" +echo " Sphinx (for doc)........ : $threads_ok" echo "------------------------------------------------------------------------" echo @@ -55,16 +71,43 @@ 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_ERROR([OmniOrb is required],1) + AC_MSG_WARN([OmniOrb is required for SALOME Module part]) + salome_module_ok=no fi if test "x$omniORBpy_ok" = "xno"; then - AC_MSG_ERROR([OmniOrbpy is required],1) + AC_MSG_WARN([OmniOrbpy is required for SALOME Module part]) + salome_module_ok=no fi if test "x$Kernel_ok" = "xno"; then - AC_MSG_ERROR([SALOME KERNEL is required],1) + 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 @@ -72,9 +115,25 @@ AC_CONFIG_FILES([ 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/test004_ADAO_JDC_using_scripts.comm + examples/daSalome/test005_ADAO_Operators.comm + examples/daSalome/test003_bis_ADAO_JDC_using_user_data_init.comm + examples/daSalome/test006_Observers.comm + 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 ]) AC_OUTPUT