ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/ac-tools/configure.in
(Generate patch)

Comparing trunk/ac-tools/configure.in (file contents):
Revision 863 by gezelter, Fri Jan 13 15:48:46 2006 UTC vs.
Revision 1036 by gezelter, Mon Sep 4 13:37:15 2006 UTC

# Line 1 | Line 1 | dnl **** Process this file with autoconf to produce a
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)
# Line 48 | Line 47 | AC_SUBST(debug)
47   fi
48   AC_SUBST(debug)
49  
50 + AC_ARG_ENABLE(single, [AC_HELP_STRING([--enable-single],[compile OOPSE in single precision])], ok=$enableval, ok=no)
51 + AC_ARG_ENABLE(float, [AC_HELP_STRING([--enable-float],[synonym for --enable-single])], ok=$enableval)
52 + if test "$ok" = "yes"; then
53 +        AC_DEFINE(SINGLE_PRECISION,1,[Define to compile in single precision.])
54 +        USE_SINGLE_PRECISION=yes
55 +        AC_SUBST(USE_SINGLE_PRECISION)
56 + fi
57 +
58   # Checks for programs.
59 < AC_PROG_CXX([icpc icc pgCC pathCC c++ xlc++ xlC g++ CC])
60 < AC_PROG_CC([icc pgcc pathcc cc xlc gcc])
61 < AC_PROG_FC([ifort ifc pgf95 pathf95 xlf95 lf95 epcf90 pathf90 xlf90 f95 f90 gfortran g95 fort], 95)
59 > AC_PROG_CXX([mpicxx icpc pathCC pgCC c++ xlc++ xlC g++ CC])
60 > AC_PROG_CC([mpicc icc pathcc pgcc cc xlc gcc])
61 > AC_PROG_FC([mpif90 ifort ifc pathf95 pgf95 xlf95 lf95 epcf90 pathf90 xlf90 f95 f90 gfortran g95 fort], 95)
62   AC_PROG_CPP
63   AC_PROG_EGREP
64   AC_PROG_LN_S
# Line 66 | Line 73 | if test "$AR" = "NONE"; then
73   MKINSTALLDIRS=`pwd`/ac-tools/"shtool mkdir -p -f"
74   AC_CHECK_PROG(AR, ar, ar, NONE)
75   if test "$AR" = "NONE"; then
69  AC_MSG_ERROR(--> Can't find \`ar'!)
76    AC_CACHE_SAVE
77    exit 1
78   fi
# Line 138 | Line 144 | ACX_CHECK_ZLIB
144   dnl Checks for libraries.
145   AC_CHECK_LIB(m, asin, , exit)
146   ACX_CHECK_ZLIB
147 + ACX_CHECK_FFTW
148  
149 +
150   # Checks for header files.
151   AC_HEADER_STDC
152   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])
# Line 444 | Line 452 | AC_SUBST(CGAL_LIBS)
452   AC_SUBST(CGAL_CXXFLAGS)
453   AC_SUBST(CGAL_LIBS)
454  
447
455   BB_ENABLE_DOXYGEN
456  
457   AC_SUBST(EXEEXT)
# Line 461 | Line 468 | AC_SUBST(F90_MODULE_NAMES)
468   AC_SUBST(LDFLAGS)
469   AC_SUBST(PREPDEFFLAG)
470   AC_SUBST(F90_MODULE_NAMES)
471 < AC_CONFIG_FILES([make/Makefile src/utils/Makefile src/applications/nanoRodBuilder/Makefile scripts/filepp], [chmod 0755 scripts/*])
471 > AC_CONFIG_FILES([make/Makefile src/utils/Makefile src/applications/nanoRodBuilder/Makefile src/applications/utilities/affineScale src/applications/utilities/waterBoxer scripts/filepp], [chmod 0755 scripts/*])
472  
473   AC_OUTPUT

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines