]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Update for new OCC6.1.1 BR_For_OCT_611
authormaintenance team <salome-mnt@opencascade.com>
Thu, 31 Aug 2006 15:15:25 +0000 (15:15 +0000)
committermaintenance team <salome-mnt@opencascade.com>
Thu, 31 Aug 2006 15:15:25 +0000 (15:15 +0000)
salome_adm/unix/config_files/check_cas.m4

index cb7969a5181e13dc566d8061905d4e1fab0ef007..ab2ba319dd9586d665d06135966fe590c19ec3c9 100644 (file)
@@ -187,11 +187,10 @@ if test "x$occ_ok" = xyes ; then
   
   AC_CACHE_VAL(salome_cv_lib_occ,[
     AC_TRY_LINK(
-#include <Standard_Type.hxx>
+#include <TCollection_AsciiString.hxx>
 ,   size_t size;
-    const Standard_CString aName="toto";
-    Standard_Type myST(aName) ; 
-    myST.Find(aName);,
+    TCollection_AsciiString aStr ("toto");
+    aStr.Capitalize();, 
     eval "salome_cv_lib_occ=yes",eval "salome_cv_lib_occ=no")
   ])
   occ_ok="$salome_cv_lib_occ"