diff --git a/configure.ac b/configure.ac index d073cb1bef..15652b501f 100644 --- a/configure.ac +++ b/configure.ac @@ -2472,6 +2472,7 @@ fi], master_top_srcdir=$master_top_srcdir enable_f77=$enable_f77 enable_fc=$enable_fc +enable_f08=$enable_f08 has_exclaim=$has_exclaim has_fort_real8=$pac_cv_fort_real8 includebuild_dir=$includebuild_dir @@ -2489,6 +2490,8 @@ if test "$enable_fc" = "yes" ; then fi f08_works=no +AM_CONDITIONAL([BUILD_F08_BINDING], [test "$f08_works" = "yes"]) +if test "$enable_f08" = "yes" ; then if test "$enable_fc" = "yes" ; then PAC_FC_2008_SUPPORT([f08_works=yes],[f08_works=no]) fi @@ -2500,6 +2503,7 @@ if test "$f08_works" = "yes" ; then else status_f08_works=0 fi +fi AC_DEFINE_UNQUOTED(HAVE_F08_BINDING, $status_f08_works, [Define to 1 to enable Fortran 2008 binding]) # Set defaults for these values so that the Makefile in src/bindings/f90