Commit 74304254 authored by Sergey Kosukhin's avatar Sergey Kosukhin
Browse files

Implement a workaround for a bug in AC_FC_PP_DEFINE.

parent 087410f2
......@@ -252,6 +252,10 @@ AC_LANG_PUSH([Fortran])
ACX_FC_PP_SRCEXT([f90])
AC_LANG_POP([Fortran])
AC_FC_PP_DEFINE
# Due to a bug in AC_FC_PP_DEFINE the value of ac_fc_srcext is set to 'F',
# which means that all the following tests are run not for *.f90, which we
# need, but for *.F files. Therefore, we restore the value ourselves:
ac_fc_srcext=f90
# Set FCDEFS and adjust -D flag if needed.
FCDEFS="$DEFS -DHAVE_FCONFIG_H"
......
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