A patch by Nicolas GEIMER for Gcc 4.3.2 compatibility.

This commit is contained in:
jfa 2009-02-03 15:42:05 +00:00
parent 65c52403fa
commit ad29df2ead

View 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"
}