From: vsr Date: Mon, 30 May 2005 09:47:30 +0000 (+0000) Subject: Fix a bug of 'check CASCADE' procedure: do not generate config.h file if it already... X-Git-Tag: T3_0_0_a1~8 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3b3b53423ca477ffb987910ceb8779dac4c8cf4c;p=modules%2Fkernel.git Fix a bug of 'check CASCADE' procedure: do not generate config.h file if it already exists --- diff --git a/salome_adm/unix/config_files/check_cas.m4 b/salome_adm/unix/config_files/check_cas.m4 index 3484dc7cd..99fd4be6b 100644 --- a/salome_adm/unix/config_files/check_cas.m4 +++ b/salome_adm/unix/config_files/check_cas.m4 @@ -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"