Commit 822ce5ba authored by Hendryk Bockelmann's avatar Hendryk Bockelmann
Browse files

bug fix: make compiler use fpp setting

parent a6b04dc2
......@@ -243,11 +243,6 @@ if test x"$FC_DEFINE" != x-D; then
fi
AC_SUBST([FCDEFS])
if test x"$CPPFLAGS" = x"$FCCPPFLAGS" || test -z "$FCCPPFLAGS"; then
FCCPPFLAGS=`echo " $CPPFLAGS" | sed "s@ -D@ $FC_DEFINE@g"`
fi
AC_SUBST([FCCPPFLAGS])
# Get the Fortran compiler to accept free-form source.
AC_FC_FREEFORM
# Get it to accept long source file lines.
......
AM_CFLAGS = $(OPENMP_CFLAGS)
AM_FCFLAGS = $(FC_MODINC). $(OPENMP_FCFLAGS) $(FCFLAGS_f90)
AM_FCFLAGS = $(FC_MODINC).. $(OPENMP_FCFLAGS) $(FCFLAGS_f90) $(FCDEFS)
lib_LTLIBRARIES = libsct.la
libsct_la_LIBADD = $(LTLIBPAPI) $(LTLIBHDF5)
......
Supports Markdown
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