]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Portability Alpha_OSF(CCRT)
authorrahuel <rahuel@opencascade.com>
Thu, 4 Nov 2004 15:18:51 +0000 (15:18 +0000)
committerrahuel <rahuel@opencascade.com>
Thu, 4 Nov 2004 15:18:51 +0000 (15:18 +0000)
salome_adm/unix/config_files/check_Kernel.m4
salome_adm/unix/make_conclude.in

index ce2e458c91c3d619c93f61d4080e3ee4d46f0c16..9b675118c17333e3ed4d14ba107fccad5baf35bb 100644 (file)
@@ -13,7 +13,7 @@ AC_ARG_WITH(kernel,
            [  --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
 
@@ -38,11 +38,12 @@ fi
 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)
index cc2fb2be665a63113cb4baea8b4b8f0d193d71ba..510407cf57c69e40c18162413d5acc261087c7a9 100644 (file)
@@ -58,8 +58,8 @@ $(LIB_BUILD): $(top_builddir)/lib/salome/%.la: %.la
        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
@@ -144,7 +144,7 @@ install: $(LIB) $(BIN) $(TEST_PROGS) $(libdir) $(includedir) $(bindir) $(datadir
              ($(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                                                \