Salome HOME
check_eficas cherche le logiciel eficas
authorAndré Ribes <andre.ribes@edf.fr>
Fri, 17 Dec 2010 14:08:06 +0000 (15:08 +0100)
committerAndré Ribes <andre.ribes@edf.fr>
Fri, 17 Dec 2010 14:08:06 +0000 (15:08 +0100)
adm_local/check_eficas.m4

index e8f7a5d408e04bab074f6f4519b9246c646a6f66..2f7f6b2675b09d0b13b88fa0e31ad43dbac90615 100644 (file)
@@ -5,22 +5,21 @@ AC_CHECKING(for Eficas)
 eficas_ok=no
 
 AC_ARG_WITH(eficas,
-           [  --with-module-eficas=DIR        root directory path of Module Eficas installation],
-           EFICAS_DIR=$withval,EFICAS_DIR="")
+            [  --with-eficas=DIR               root directory path of Eficas installation],
+               EFICAS_DIR=$withval,EFICAS_DIR="")
 
 if test "x$EFICAS_DIR" = "x" ; then
 
   # no --with-eficas option used
 
-  if test "x$EFICAS_ROOT_DIR" != "x" ; then
+  if test "x$EFICAS_ROOT" != "x" ; then
 
-  #EFICAS_ROOT_DIR environment variable defined
-  EFICAS_DIR=$EFICAS_ROOT_DIR
+  #EFICAS_ROOT environment variable defined
+  EFICAS_DIR=$EFICAS_ROOT
 
   else
-    AC_MSG_WARN("EFICAS_ROOT_DIR is not defined")
+    AC_MSG_WARN("EFICAS_ROOT is not defined")
   fi
-
 fi
 
 if test "x$EFICAS_DIR" != "x" ; then
@@ -29,6 +28,6 @@ if test "x$EFICAS_DIR" != "x" ; then
 fi
 
 AC_MSG_RESULT(for Eficas: $eficas_ok)
+
 ])dnl
+