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