]> SALOME platform Git repositories - plugins/netgenplugin.git/commitdiff
Salome HOME
A patch by Nicolas GEIMER for Gcc 4.3.2 compatibility.
authorjfa <jfa@opencascade.com>
Tue, 3 Feb 2009 15:42:05 +0000 (15:42 +0000)
committerjfa <jfa@opencascade.com>
Tue, 3 Feb 2009 15:42:05 +0000 (15:42 +0000)
adm_local/unix/config_files/check_NETGEN.m4

index ab86d8e788d31f55939971a2591b5d8efbed1cb6..c33735f8cf72c79da484b224043cb274aaeb0896 100644 (file)
@@ -104,8 +104,8 @@ if test "x$NETGEN_HOME" != "x"; then
     LDFLAGS_old="$LDFLAGS"
     LDFLAGS="-L. -lNETGEN $CAS_LDPATH -lTKBRep -lTKShHealing -lTKSTEP -lTKXSBase -lTKIGES -lTKSTL -lTKTopAlgo $LDFLAGS"
 
-    AC_TRY_COMPILE(#include <iostream.h>
-#include <fstream.h>
+    AC_TRY_COMPILE(#include <iostream>
+#include <fstream>
 namespace nglib {
 #include "nglib.h"
 }
@@ -129,8 +129,8 @@ namespace nglib {
 
     AC_CACHE_VAL(salome_netgen_lib,[
                  AC_TRY_LINK(
-#include <iostream.h>
-#include <fstream.h>
+#include <iostream>
+#include <fstream>
 namespace nglib {
 #include "nglib.h"
 }