From: Peter O'Gorman Date: Fri, 7 Mar 2008 06:14:26 +0000 (+0000) Subject: * libltdl/m4/libtool.m4 (_LT_PROG_FC): Undo commit - bad idea. X-Git-Tag: v2.2.2~17 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e9ebb750f597bba65a2ec75e1e9986707ef17ca1;p=thirdparty%2Flibtool.git * libltdl/m4/libtool.m4 (_LT_PROG_FC): Undo commit - bad idea. --- diff --git a/ChangeLog b/ChangeLog index 4bde8430f..8a8693758 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2008-03-06 Peter O'Gorman + * libltdl/m4/libtool.m4 (_LT_PROG_FC): Undo commit - bad idea. + * 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. diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index 5d71f4306..6124c3ad3 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -6644,15 +6644,6 @@ AC_PROG_FC 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