]> SALOME platform Git repositories - modules/adao.git/blob - adm_local/check_eficas.m4
Salome HOME
Regression AnalysisFile
[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-eficas=DIR               root directory path of 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 fi
24
25 if test "x$EFICAS_DIR" != "x" ; then
26   eficas_ok=yes
27   AC_SUBST(EFICAS_DIR)
28 fi
29
30 AC_MSG_RESULT(for Eficas: $eficas_ok)
31  
32 ])dnl
33