compiler is not a GNU compiler and the CXX compiler is a GNU
compiler.
Reported by Nelson H. F. Beebe.
+2008-03-06 Peter O'Gorman <peter@pogma.com>
+
+ * libltdl/m4/libtool.m4 (_LT_PROG_FC): Report FC=no if the FC
+ compiler is not a GNU compiler and the CXX compiler is a GNU
+ compiler.
+ Reported by Nelson H. F. Beebe.
+
2008-03-06 Gary V. Vaughan <gary@gnu.org>
* Makefile.maint (TSDEPS_DIST): Removed. No longer used.
if test -z "$FC" || test "X$FC" = "Xno"; then
_lt_disable_FC=yes
fi
+
+# If g++ is being used, but the fortran compiler is not a gnu
+# compiler, we should simply ignore it. It will not grok -shared, for
+# example.
+if test "x$ac_cv_fc_compiler_gnu" != "x$GXX"; then
+ FC=no
+ _lt_disable_FC=yes
+fi
+
popdef([AC_MSG_ERROR])
])# _LT_PROG_FC