1 AC_DEFUN([CHECK_EFICAS],[
3 AC_CHECKING(for Eficas)
8 [ --with-eficas=DIR root directory path of Eficas installation],
9 EFICAS_DIR=$withval,EFICAS_DIR="")
11 if test "x$EFICAS_DIR" = "x" ; then
13 # no --with-eficas option used
15 if test "x$EFICAS_ROOT_DIR" != "x" ; then
17 #EFICAS_ROOT_DIR environment variable defined
18 EFICAS_DIR=$EFICAS_ROOT_DIR
21 AC_MSG_WARN("EFICAS_ROOT_DIR is not defined")
25 if test "x$EFICAS_DIR" != "x" ; then
30 AC_MSG_RESULT(for Eficas: $eficas_ok)