Commit 72202d7e authored by Lorenz Huedepohl's avatar Lorenz Huedepohl

Let autoconf determine module include flag (typically -I)

parent f2c71d14
...@@ -15,6 +15,7 @@ AC_LANG([Fortran]) ...@@ -15,6 +15,7 @@ AC_LANG([Fortran])
AC_PROG_FC AC_PROG_FC
AC_FC_LIBRARY_LDFLAGS AC_FC_LIBRARY_LDFLAGS
AC_FC_FREEFORM AC_FC_FREEFORM
AC_FC_MODULE_FLAG
AC_OPENMP AC_OPENMP
AC_LANG([C]) AC_LANG([C])
...@@ -84,6 +85,7 @@ AC_SUBST([API_VERSION]) ...@@ -84,6 +85,7 @@ AC_SUBST([API_VERSION])
AC_SUBST([FTIMINGS_SO_VERSION], [$API_VERSION:0:0]) AC_SUBST([FTIMINGS_SO_VERSION], [$API_VERSION:0:0])
AC_SUBST([AM_CFLAGS]) AC_SUBST([AM_CFLAGS])
AC_SUBST([AM_FCFLAGS]) AC_SUBST([AM_FCFLAGS])
AC_SUBST([FC_MODINC])
AC_SUBST([AM_LDFLAGS]) AC_SUBST([AM_LDFLAGS])
AC_SUBST([DOXYGEN_OUTPUT_DIR], [docs]) AC_SUBST([DOXYGEN_OUTPUT_DIR], [docs])
......
...@@ -8,4 +8,6 @@ Description: ftimings, API version @API_VERSION@ for Fortran compiler @FC@ ...@@ -8,4 +8,6 @@ Description: ftimings, API version @API_VERSION@ for Fortran compiler @FC@
Version: @PACKAGE_VERSION@ Version: @PACKAGE_VERSION@
URL: @PACKAGE_URL@ URL: @PACKAGE_URL@
Libs: -L${libdir} -lftimings-@API_VERSION@-@FCNAME@ @LIBS@ Libs: -L${libdir} -lftimings-@API_VERSION@-@FCNAME@ @LIBS@
fcflags= -I${includedir}/ftimings-@API_VERSION@-@FCNAME@ Cflags: -I${includedir}/ftimings-@API_VERSION@-@FCNAME@
fcflags= @FC_MODINC@${includedir}/ftimings-@API_VERSION@-@FCNAME@
fclibs= @FCLIBS@
...@@ -9,4 +9,6 @@ Version: @PACKAGE_VERSION@ ...@@ -9,4 +9,6 @@ Version: @PACKAGE_VERSION@
URL: @PACKAGE_URL@ URL: @PACKAGE_URL@
Requires: @PACKAGE_NAME@-@API_VERSION@-@FCNAME@ Requires: @PACKAGE_NAME@-@API_VERSION@-@FCNAME@
Libs: -L${libdir} -lftimings_perflib-@API_VERSION@-@FCNAME@ Libs: -L${libdir} -lftimings_perflib-@API_VERSION@-@FCNAME@
fcflags= -I${includedir}/ftimings-@API_VERSION@-@FCNAME@ Cflags: -I${includedir}/ftimings-@API_VERSION@-@FCNAME@
fcflags= @FC_MODINC@${includedir}/ftimings-@API_VERSION@-@FCNAME@
fclibs= @FCLIBS@
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