Commit e0b86647 authored by Anthony Chan's avatar Anthony Chan
Browse files

[svn-r7181] fixed bug of using --enable-fc as reported in req #1075.

parent 6d8e9e01
......@@ -410,7 +410,7 @@ AC_ARG_ENABLE(f77,
AC_HELP_STRING([--enable-fc], [Enable Fortran 90 bindings]),,enable_fc=default)
AC_HELP_STRING([--enable-fc], [Enable Fortran 90 bindings]),,enable_fc=yes)
AC_HELP_STRING([--enable-cxx], [Enable C++ bindings]),,enable_cxx=default)
......@@ -1850,7 +1850,7 @@ fi
# Set a default value for fc works with f77. This value is
# set to no *only* if fc was selected but was not compatible with f77
if test "$enable_fc" = "default" -a "$enable_f77" = yes ; then
if test "$enable_fc" = "yes" -a "$enable_f77" = yes ; then
# Check for a Fortran compiler. Work around bug in autoconf that
# adds -g to FCFLAGS
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