1 |
|
dnl **** Process this file with autoconf to produce a configure script. |
2 |
|
|
3 |
< |
AC_INIT(OOPSE, 1.0, gezelter@nd.edu, oopse) |
3 |
> |
AC_INIT(OOPSE, 2.0, gezelter@nd.edu, oopse) |
4 |
|
AC_CONFIG_AUX_DIR(ac-tools) |
5 |
|
|
6 |
|
builtin(include, ac-tools/fortran90.m4) |
7 |
|
builtin(include, ac-tools/aclocal.m4) |
8 |
|
|
9 |
< |
AC_CONFIG_SRCDIR([src/oopse.cpp]) |
9 |
> |
AC_CONFIG_SRCDIR([src/applications/oopse/oopse.cpp]) |
10 |
|
|
11 |
|
AC_PREFIX_DEFAULT("/usr/local") |
12 |
|
|
28 |
|
# who am i |
29 |
|
AC_CANONICAL_HOST |
30 |
|
|
31 |
+ |
|
32 |
+ |
|
33 |
|
dnl Checks for C compiler |
34 |
|
AC_PROG_CC([icc xlc gcc cc]) |
35 |
|
|
197 |
|
|
198 |
|
MKINSTALLDIRS=`pwd`/ac-tools/"shtool mkdir -p -f" |
199 |
|
|
198 |
– |
dnl **** Final list of subdirs |
199 |
– |
SUBDIRS="libBASS libmdtools src forceFields samples utils utils/sysbuilder third-party " |
200 |
– |
|
200 |
|
dnl **** Define CFLAGS etc empty to prevent configure from setting them |
201 |
|
CFLAGS=${CFLAGS-""} |
202 |
|
CXXFLAGS=${CXXFLAGS-""} |
231 |
|
AC_SUBST(LDFLAGS) |
232 |
|
AC_SUBST(PREPFLAG) |
233 |
|
AC_SUBST(PREPDEFFLAG) |
234 |
< |
AC_CONFIG_HEADER([libBASS/config.h libmdtools/config.h]) |
235 |
< |
AC_CONFIG_FILES([Makefile |
237 |
< |
libBASS/Makefile libmdtools/Makefile src/Makefile utils/Makefile |
238 |
< |
utils/sysbuilder/Makefile forceFields/Makefile samples/Makefile |
239 |
< |
third-party/Makefile |
240 |
< |
samples/alkane/Makefile samples/argon/Makefile |
241 |
< |
samples/lipid/Makefile samples/minimizer/Makefile |
242 |
< |
samples/metals/Makefile samples/water/Makefile |
243 |
< |
samples/water/dimer/Makefile samples/water/spce/Makefile |
244 |
< |
samples/water/ssd/Makefile samples/water/ssde/Makefile |
245 |
< |
samples/water/tip4p/Makefile samples/water/tip3p_ice/Makefile |
246 |
< |
samples/zcons/Makefile |
247 |
< |
]) |
234 |
> |
AC_CONFIG_HEADER([src/config.h]) |
235 |
> |
AC_CONFIG_FILES([make/Makefile]) |
236 |
|
|
237 |
|
AC_OUTPUT |