]> SALOME platform Git repositories - modules/adao.git/blob - adm_local/check_eficas.m4
Salome HOME
e8f7a5d408e04bab074f6f4519b9246c646a6f66
[modules/adao.git] / adm_local / check_eficas.m4
1 AC_DEFUN([CHECK_EFICAS],[
2
3 AC_CHECKING(for Eficas)
4
5 eficas_ok=no
6
7 AC_ARG_WITH(eficas,
8             [  --with-module-eficas=DIR        root directory path of Module Eficas installation],
9             EFICAS_DIR=$withval,EFICAS_DIR="")
10
11 if test "x$EFICAS_DIR" = "x" ; then
12
13   # no --with-eficas option used
14
15   if test "x$EFICAS_ROOT_DIR" != "x" ; then
16
17   #EFICAS_ROOT_DIR environment variable defined
18   EFICAS_DIR=$EFICAS_ROOT_DIR
19
20   else
21     AC_MSG_WARN("EFICAS_ROOT_DIR is not defined")
22   fi
23
24 fi
25
26 if test "x$EFICAS_DIR" != "x" ; then
27   eficas_ok=yes
28   AC_SUBST(EFICAS_DIR)
29 fi
30
31 AC_MSG_RESULT(for Eficas: $eficas_ok)
32  
33 ])dnl
34