| 1 |
|
dnl **** Process this file with autoconf to produce a configure script. |
| 2 |
– |
|
| 2 |
|
AC_PREREQ(2.59) |
| 3 |
|
AC_INIT(OOPSE, 3.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]) |
| 7 |
|
|
| 8 |
< |
builtin(include, ac-tools/aclocal.m4) |
| 8 |
> |
builtin(include, ac-tools/OOPSE.m4) |
| 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) |
| 48 |
|
AC_SUBST(debug) |
| 49 |
|
|
| 50 |
|
# Checks for programs. |
| 51 |
< |
AC_PROG_CXX([pathCC icpc icc xlc++ xlC CC g++ c++]) |
| 52 |
< |
AC_PROG_CC([pathcc icc xlc gcc cc]) |
| 53 |
< |
AC_PROG_FC([pathf95 ifort ifc xlf95 pgf95 lf95 epcf90 xlf90 pgf90 fort f95 f90 g95 f77], 95) |
| 51 |
> |
AC_PROG_CXX([icpc icc pgCC pathCC c++ xlc++ xlC g++ CC]) |
| 52 |
> |
AC_PROG_CC([icc pgcc pathcc cc xlc gcc]) |
| 53 |
> |
AC_PROG_FC([ifort ifc pgf95 pathf95 xlf95 lf95 epcf90 pathf90 xlf90 f95 f90 gfortran g95 fort], 95) |
| 54 |
|
AC_PROG_CPP |
| 55 |
|
AC_PROG_EGREP |
| 56 |
|
AC_PROG_LN_S |
| 65 |
|
MKINSTALLDIRS=`pwd`/ac-tools/"shtool mkdir -p -f" |
| 66 |
|
AC_CHECK_PROG(AR, ar, ar, NONE) |
| 67 |
|
if test "$AR" = "NONE"; then |
| 69 |
– |
AC_MSG_ERROR(--> Can't find \`ar'!) |
| 68 |
|
AC_CACHE_SAVE |
| 69 |
|
exit 1 |
| 70 |
|
fi |
| 136 |
|
dnl Checks for libraries. |
| 137 |
|
AC_CHECK_LIB(m, asin, , exit) |
| 138 |
|
ACX_CHECK_ZLIB |
| 139 |
+ |
ACX_CHECK_FFTW |
| 140 |
|
|
| 141 |
+ |
|
| 142 |
|
# Checks for header files. |
| 143 |
|
AC_HEADER_STDC |
| 144 |
|
AC_CHECK_HEADERS([conio.h dlfcn.h fstream.h iostream.h libintl.h limits.h machine/hal_sysinfo.h math.h stddef.h stdio.h stdlib.h string.h strings.h strstream.h sys/param.h sys/pstat.h sys/sysmp.h sys/sysctl.h sys/sysinfo.h sys/systemcfg.h sys/table.h sys/time.h time.h unistd.h zlib.h]) |
| 444 |
|
AC_SUBST(CGAL_CXXFLAGS) |
| 445 |
|
AC_SUBST(CGAL_LIBS) |
| 446 |
|
|
| 447 |
– |
|
| 447 |
|
BB_ENABLE_DOXYGEN |
| 448 |
|
|
| 449 |
|
AC_SUBST(EXEEXT) |