[ --with-kernel=DIR root directory path of KERNEL installation ],
KERNEL_DIR="$withval",KERNEL_DIR="")
-if test "x$KERNEL_DIR" == "x" ; then
+if test "x$KERNEL_DIR" = "x" ; then
# no --with-kernel-dir option used
if test -f ${KERNEL_DIR}/bin/salome/runSalome ; then
Kernel_ok=yes
AC_MSG_RESULT(Using Kernel module distribution in ${KERNEL_DIR})
+ AC_MSG_RESULT(Using STDLIB as ${STDLIB})
- if test "x$KERNEL_ROOT_DIR" == "x" ; then
+ if test "x$KERNEL_ROOT_DIR" = "x" ; then
KERNEL_ROOT_DIR=${KERNEL_DIR}
fi
- if test "x$KERNEL_SITE_DIR" == "x" ; then
+ if test "x$KERNEL_SITE_DIR" = "x" ; then
KERNEL_SITE_DIR=${KERNEL_ROOT_DIR}
fi
AC_SUBST(KERNEL_ROOT_DIR)
ln -sf $(patsubst %.la, %.so, $(CURDIR)/.libs/$<).0 \
$(patsubst %.la, %.so, $@).0 || true
- if ! test -z $(LIB_SWIG) ; then \
- ln -sf $(patsubst %.la,%.so, $(CURDIR)/.libs/$<) $(top_builddir)/lib/salome/_$(LIB_SWIG) || true;\
+ if test "X$(LIB_SWIG)" != X; then \
+ ln -sf $(patsubst %.la,%.so, $(CURDIR)/.libs/$<) $(top_builddir)/lib/salome/_$(LIB_SWIG) || true; \
fi;
$(LIB_BUILD_A): $(top_builddir)/lib/salome/%.a: %.a
($(LT_INSTALL_LIB) $$f $(libdir)/. || exit 1); \
fi; \
done
- @if ! test -z $(LIB_SWIG) ; then \
+ @if test "X$(LIB_SWIG)" != X; then \
(cd $(libdir); ln -sf $(patsubst %.so, %cmodule.so, $(LIB_SWIG)) _$(LIB_SWIG) || true); \
fi;
@for f in X $(BIN); do \