--- /dev/null
+AC_DEFUN([CHECK_MODULE_EFICAS],[
+
+AC_CHECKING(for Module Eficas)
+
+module_eficas_ok=no
+
+AC_ARG_WITH(module-eficas,
+ [ --with-module-eficas=DIR root directory path of Module Eficas installation],
+ MODULE_EFICAS_DIR=$withval,MODULE_EFICAS_DIR="")
+
+if test "x$MODULE_EFICAS_DIR" = "x" ; then
+
+ # no --with-module-eficas option used
+
+ if test "x$EFICAS_ROOT_DIR" != "x" ; then
+
+ #EFICAS_ROOT_DIR environment variable defined
+ MODULE_EFICAS_DIR=$EFICAS_ROOT_DIR
+
+ else
+ AC_MSG_WARN("EFICAS_ROOT_DIR is not defined")
+ fi
+fi
+
+if test "x$MODULE_EFICAS_DIR" != "x" ; then
+ module_eficas_ok=yes
+fi
+
+AC_MSG_RESULT(for Module Eficas: $module_eficas_ok)
+
+])dnl
+
CHECK_KERNEL
CHECK_OMNIORB
CHECK_EFICAS
+CHECK_MODULE_EFICAS
CHECK_SCIPY
CHECK_SPHINX
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"
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)