]> SALOME platform Git repositories - plugins/blsurfplugin.git/blobdiff - adm_local/unix/config_files/check_MESHGEMS_CADSURF.m4
Salome HOME
updated copyright message
[plugins/blsurfplugin.git] / adm_local / unix / config_files / check_MESHGEMS_CADSURF.m4
index d2a0914ef0699d2da04009a1db09d523a1e3058c..7ad865223d4f7a0b7b3d92fb8de52c7422ccad9b 100644 (file)
@@ -1,9 +1,9 @@
-dnl Copyright (C) 2007-2012  CEA/DEN, EDF R&D
+dnl Copyright (C) 2007-2023  CEA, EDF
 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 version 2.1 of the License, or (at your option) any later version.
 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
@@ -34,12 +34,12 @@ MESHGEMS_CADSURF_INCLUDES=""
 MESHGEMS_CADSURF_LIBS=""
 
 AC_ARG_WITH([meshgems],
-           [  --with_meshgems=DIR       root directory path of MeshGems-CADSurf installation])
+           [  --with-meshgems=DIR       root directory path of MeshGems-CADSurf installation])
 
 CADSURF_ok=no
 
-if test "$with_meshgems" != "no" ; then
-  if test "$with_meshgems" == "yes" || test "$with_meshgems" == "auto"; then
+if test "$with-meshgems" != "no" ; then
+  if test "$with-meshgems" == "yes" || test "$with-meshgems" == "auto"; then
     MESHGEMS_CADSURF_HOME=""
   else
     MESHGEMS_CADSURF_HOME="$with_meshgems"
@@ -74,7 +74,7 @@ if test "$with_meshgems" != "no" ; then
     if test $archtest = "x86_64" ; then
         LOCAL_LIBS="-L$MESHGEMS_CADSURF_HOME/lib/Linux_64"
     fi
-    LOCAL_LIBS="${LOCAL_LIBS} -lmeshgems -lmg-cadsurf -lmg-precad"
+    LOCAL_LIBS="${LOCAL_LIBS} -lmeshgems -lmg-cadsurf"
 
     CPPFLAGS_old="$CPPFLAGS"
     CXXFLAGS_old="$CXXFLAGS"