Salome HOME
samples -> examples + moins de debug
[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" != "x" ; then
16
17   #EFICAS_ROOT environment variable defined
18   EFICAS_DIR=$EFICAS_ROOT
19
20   else
21     AC_MSG_WARN("EFICAS_ROOT 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