EOF
$CXX $1 conftest.cxx > conftest.log 2>&1
var=`echo $1 | sed -e "s, .*$,," | sed -e "s,^-,,"`
- if ! grep -e $var conftest.log > /dev/null 2>&1 ; then
+#CCRT if ! grep -e $var conftest.log > /dev/null 2>&1 ; then
+ if grep -e $var conftest.log > /dev/null 2>&1 ; then
+ AC_MSG_RESULT(no)
+ eval $4
+ else
AC_MSG_RESULT(yes)
$2="${$2} $1"
eval $3
- else
- AC_MSG_RESULT(no)
- eval $4
fi
])
--with-salome=DIR root directory path of SALOME installation,
SALOME_DIR="$withval",SALOME_DIR="")
-if test "x$SALOME_DIR" == "x" ; then
+if test "x$SALOME_DIR" = "x" ; then
# no --with-salome-dir option used
Salome_ok=yes
AC_MSG_RESULT(Using Salome distribution in ${SALOME_DIR})
- if test "x$SALOME_ROOT_DIR" == "x" ; then
+ if test "x$SALOME_ROOT_DIR" = "x" ; then
SALOME_ROOT_DIR=${SALOME_DIR}
fi
- if test "x$SALOME_SITE_DIR" == "x" ; then
+ if test "x$SALOME_SITE_DIR" = "x" ; then
SALOME_SITE_DIR=${SALOME_ROOT_DIR}
fi
AC_SUBST(SALOME_ROOT_DIR)
AC_MSG_RESULT("select $withval as path to CPPUNIT includes")
])
-if test -z $CPPUNITHOME; then
+if test -z "$CPPUNITHOME"; then
AC_MSG_RESULT(CPPUNITHOME not defined)
exits_ok=no
if test "x$exits_ok" = "xno"; then
fi
fi
else
- if test -z $CPPUNIT_INCLUDES; then
+ if test -z "$CPPUNIT_INCLUDES"; then
CPPUNIT_INCLUDES="$CPPUNITHOME/include"
fi
fi
AC_LANG_RESTORE
])dnl
-dnl
\ No newline at end of file
+dnl
[ --with-msg2qm=DIR root directory path of MSG2QM installation],
MSG2QM_DIR="$withval",MSG2QM_DIR="")
-if test "x$MSG2QM_DIR" == "x" ; then
+if test "x$MSG2QM_DIR" = "x" ; then
# no --with-MSG2QM-dir option used