X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=configure.ac;h=b7e50420b7efa5533bc68fd438fc7f8917f2fe21;hb=8459b709139b009496b328e977754b30992815a4;hp=53b02b0abdeb74e3fd649c8d91c510eba541eb7b;hpb=f07c13389e3b26d51d7bdb364fc6d06d7ff294fc;p=modules%2Fadao.git diff --git a/configure.ac b/configure.ac index 53b02b0..b7e5042 100644 --- a/configure.ac +++ b/configure.ac @@ -1,30 +1,45 @@ +dnl Copyright (C) 2008-2020 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 : webmaster.salome@opencascade.com +dnl +dnl Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D -AC_INIT(datassim, 1.0) +AC_INIT(ADAO_SRC, [7.2.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 +52,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 +73,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,6 +117,34 @@ 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/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