| 1 |
|
dnl **** Process this file with autoconf to produce a configure script. |
| 2 |
|
AC_PREREQ(2.59) |
| 3 |
< |
AC_INIT(OOPSE, 3.0, gezelter@nd.edu, oopse) |
| 3 |
> |
AC_INIT(OOPSE, 4.0, gezelter@nd.edu, oopse) |
| 4 |
|
AC_CONFIG_AUX_DIR(ac-tools) |
| 5 |
|
AC_CONFIG_SRCDIR([src/applications/oopse/oopse.cpp]) |
| 6 |
|
AC_CONFIG_HEADER([src/config.h]) |
| 9 |
|
builtin(include, ac-tools/AC_CXX_HAVE_STL.m4) |
| 10 |
|
builtin(include, ac-tools/AC_CXX_NAMESPACES.m4) |
| 11 |
|
builtin(include, ac-tools/AC_CXX_STD.m4) |
| 12 |
+ |
builtin(include, ac-tools/CGAL.m4) |
| 13 |
|
|
| 14 |
|
# who am i |
| 15 |
|
AC_CANONICAL_HOST |
| 253 |
|
ACX_MPI |
| 254 |
|
fi |
| 255 |
|
AC_SUBST(USE_MPI) |
| 256 |
+ |
|
| 257 |
+ |
dnl check for CGAL library |
| 258 |
+ |
ACX_CGAL |
| 259 |
+ |
|
| 260 |
+ |
if test "$acx_cgal_found" == yes; then |
| 261 |
+ |
USE_CGAL=yes |
| 262 |
+ |
AC_DEFINE(HAVE_CGAL, 1, [Is defined if the CGAL library is available.]) |
| 263 |
+ |
AC_SUBST(USE_CGAL) |
| 264 |
+ |
AC_SUBST(CGAL_CXXFLAGS) |
| 265 |
+ |
AC_SUBST(CGAL_LDFLAGS) |
| 266 |
+ |
AC_SUBST(CGAL_CPPFLAGS) |
| 267 |
+ |
AC_SUBST(CGAL_LIBS) |
| 268 |
+ |
fi |
| 269 |
|
|
| 270 |
|
|
| 271 |
|
BB_ENABLE_DOXYGEN |
| 284 |
|
AC_SUBST(LDFLAGS) |
| 285 |
|
AC_SUBST(PREPDEFFLAG) |
| 286 |
|
AC_SUBST(F90_MODULE_NAMES) |
| 287 |
< |
AC_CONFIG_FILES([make/Makefile src/utils/Makefile scripts/filepp], [chmod 0755 scripts/*]) |
| 287 |
> |
AC_CONFIG_FILES([make/Makefile src/utils/Makefile src/math/Makefile src/applications/staticProps/Makefile scripts/filepp], [chmod 0755 scripts/*]) |
| 288 |
|
|
| 289 |
|
AC_OUTPUT |