Salome HOME
Merge from BR_V5_DEV 16Feb09
[plugins/netgenplugin.git] / adm_local / unix / config_files / check_NETGEN.m4
index 97947ebb835322febe55c29d117d2be17347c9b3..c33735f8cf72c79da484b224043cb274aaeb0896 100644 (file)
@@ -1,3 +1,24 @@
+dnl  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
+dnl
+dnl  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+dnl  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+dnl
+dnl  This library is free software; you can redistribute it and/or
+dnl  modify it under the terms of the GNU Lesser General Public
+dnl  License as published by the Free Software Foundation; either
+dnl  version 2.1 of the License.
+dnl
+dnl  This library is distributed in the hope that it will be useful,
+dnl  but WITHOUT ANY WARRANTY; without even the implied warranty of
+dnl  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+dnl  Lesser General Public License for more details.
+dnl
+dnl  You should have received a copy of the GNU Lesser General Public
+dnl  License along with this library; if not, write to the Free Software
+dnl  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+dnl
+dnl  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+dnl
 AC_DEFUN([CHECK_NETGEN],[
 
 AC_REQUIRE([AC_PROG_CXX])dnl
@@ -83,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"
 }
@@ -108,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"
 }