]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Fix a bug of 'check CASCADE' procedure: do not generate config.h file if it already...
authorvsr <vsr@opencascade.com>
Mon, 30 May 2005 09:47:30 +0000 (09:47 +0000)
committervsr <vsr@opencascade.com>
Mon, 30 May 2005 09:47:30 +0000 (09:47 +0000)
salome_adm/unix/config_files/check_cas.m4

index 3484dc7cd2a50a5a8a3b39efc640fe31615769a9..99fd4be6b3c71621e06e4a10e11ad48e63af43a1 100644 (file)
@@ -142,9 +142,10 @@ case $host_os in
 esac
   CPPFLAGS="$CPPFLAGS $CAS_CPPFLAGS"
 
-  if test -z $KERNEL_ROOT_DIR; then
+  if test -n $KERNEL_ROOT_DIR; then
       if test -d $KERNEL_ROOT_DIR/include/salome; then
           CAS_CPPFLAGS="$CAS_CPPFLAGS -I$KERNEL_ROOT_DIR/include/salome"
+         CPPFLAGS="$CPPFLAGS -I$KERNEL_ROOT_DIR/include/salome"
       fi
   fi
   CAS_CPPFLAGS="$CAS_CPPFLAGS -I${ROOT_BUILDDIR}/include/salome"