Commit cdb3ef52 authored by Ron Rahaman's avatar Ron Rahaman

configure discovers PP flags for F77 compiler

parent a4b7d4bd
......@@ -146,3 +146,10 @@ out.xyz
*.sch
SESSION.NAME
nek5000
# Autconf artifacts
aclocal.m4
autom4te.cache/**
config.log
config.status
install-sh
#!/bin/sh
autoreconf --install
automake --add-missing --copy >/dev/null 2>&1
AC_PREREQ([2.61])
AC_INIT([Nek5000], [1.0], [nek5000-users@lists.mcs.anl.gov])
#AM_INIT_AUTOMAKE
AM_INIT_AUTOMAKE
#LT_PREREQ([2.2])
#LT_INIT([dlopen])
......@@ -17,7 +17,13 @@ AC_PROG_F77 # Validate F77 compiler
AC_PROG_F77_C_O # Necessary for automake
AC_F77_LIBRARY_LDFLAGS # Determine -l and -L flags, append to $FLIBS
AC_F77_WRAPPERS # Discover how to call F77 funcs from C, set F77_FUNC macro
#AC_FC_PP_DEFINE # Discover flag to define F77 PP symbols (not all compilers use -D)
# Discover flags for Fortran preprocessing
FC_temp="$F77"; FC="$F77"
AC_FC_PP_SRCEXT([f])
AC_FC_PP_DEFINE
FC="$FC_temp"
AC_ARG_ENABLE([timer],
[AS_HELP_STRING([--disable-timer], [disable runtime statistics @<:@default: enabled@:>@])],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment