2007-01-21 Ralf Wildenhues * libltdl/config/ltmain.m4sh (func_mode_compile): Accept suffixes matching `[fF][09].', for Fortran. * tests/suffix.test: Also test F90, F95, f03, F03. Index: libltdl/config/ltmain.m4sh =================================================================== RCS file: /cvsroot/libtool/libtool/libltdl/config/ltmain.m4sh,v retrieving revision 1.56 diff -u -r1.56 ltmain.m4sh --- libltdl/config/ltmain.m4sh 22 Oct 2006 14:10:33 -0000 1.56 +++ libltdl/config/ltmain.m4sh 21 Jan 2007 14:52:42 -0000 @@ -4,8 +4,7 @@ # ltmain.sh (GNU @PACKAGE@@TIMESTAMP@) @VERSION@ # Written by Gordon Matzigkeit , 1996 -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006 -# Free Software Foundation, Inc. +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. # This is free software; see the source for copying conditions. There is NO # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. @@ -1312,7 +1311,7 @@ *.class) xform=class ;; *.cpp) xform=cpp ;; *.cxx) xform=cxx ;; - *.f9?) xform=f9. ;; + *.[[fF]][[09]]?) xform='[[fF]][[09]].' ;; *.for) xform=for ;; *.java) xform=java ;; *.obj) xform=obj ;; Index: tests/suffix.test =================================================================== RCS file: /cvsroot/libtool/libtool/tests/suffix.test,v retrieving revision 1.12 diff -u -r1.12 suffix.test --- tests/suffix.test 20 Sep 2006 19:08:22 -0000 1.12 +++ tests/suffix.test 21 Jan 2007 14:52:42 -0000 @@ -1,7 +1,7 @@ #! /bin/sh # suffix.test - check that libtool knows how to transform source suffices. -# Copyright (C) 2003, 2004 Free Software Foundation, Inc. +# Copyright (C) 2003, 2004, 2007 Free Software Foundation, Inc. # This is free software; see the source for copying conditions. There is NO # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. @@ -23,7 +23,7 @@ # Extensions taken from the ones that Automake recognizes, plus Objective C, # and GNU Ada. -extensions="C F S ada adb ads asm c c++ cc cpp cxx f f90 f95 for m s" +extensions="C F S ada adb ads asm c c++ cc cpp cxx f f90 F90 f95 F95 f03 F03 for m s" bad_names="foo." . tests/defs || exit 1