]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
NO_CXX_EXCEPTION flag deactivated on CCRT to be compatible with CASCADE includes.
authorageay <ageay>
Fri, 25 Feb 2005 14:34:49 +0000 (14:34 +0000)
committerageay <ageay>
Fri, 25 Feb 2005 14:34:49 +0000 (14:34 +0000)
salome_adm/unix/config_files/check_cas.m4

index 3b3f654f985c277a0e68ebae50162ddbb4c3193d..b27c7deacb222a222820aac2226837713a737b90 100644 (file)
@@ -113,7 +113,14 @@ dnl test c++ compiler flag for unsigned character
 dnl cascade headers
 
   CPPFLAGS_old="$CPPFLAGS"
-  CAS_CPPFLAGS="-DOCC_VERSION_MAJOR=$OCC_VERSION_MAJOR -DLIN -DLINTEL -DCSFDB -DNO_CXX_EXCEPTION -DNo_exception -DHAVE_CONFIG_H -DHAVE_LIMITS_H -DHAVE_WOK_CONFIG_H -I$CASROOT/inc"
+case $host_os in
+   linux*)
+      CAS_CPPFLAGS="-DOCC_VERSION_MAJOR=$OCC_VERSION_MAJOR -DLIN -DLINTEL -DCSFDB -DNO_CXX_EXCEPTION -DNo_exception -DHAVE_CONFIG_H -DHAVE_LIMITS_H -DHAVE_WOK_CONFIG_H -I$CASROOT/inc"
+      ;;
+   osf*)
+      CAS_CPPFLAGS="-DOCC_VERSION_MAJOR=$OCC_VERSION_MAJOR -DLIN -DLINTEL -DCSFDB -DNo_exception -DHAVE_CONFIG_H -DHAVE_LIMITS_H -DHAVE_WOK_CONFIG_H -I$CASROOT/inc"
+      ;;
+esac
   CPPFLAGS="$CPPFLAGS $CAS_CPPFLAGS"
 
   echo