]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libltdl/config/ltmain.m4sh (func_mode_compile): Accept
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 21 Jan 2007 14:57:58 +0000 (14:57 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 21 Jan 2007 14:57:58 +0000 (14:57 +0000)
suffixes matching `[fF][09].', for Fortran.
* tests/suffix.test: Also test F90, F95, f03, F03.

ChangeLog
libltdl/config/ltmain.m4sh
tests/suffix.test

index 04af9d4635286e4985fc2fb26463096348accd13..956f9b1dd646733cece7007da190df401509e9a7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,8 +1,12 @@
 2007-01-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+       * libltdl/config/ltmain.m4sh (func_mode_compile): Accept
+       suffixes matching `[fF][09].', for Fortran.
+       * tests/suffix.test: Also test F90, F95, f03, F03.
+
        * Makefile.am (EXTRA_DIST): Add ChangeLog.2006.
-       * ChangeLog.2006: New, rotated, from..
-       * ChangeLog: ..here.
+       * ChangeLog.2006: New, rotated, from...
+       * ChangeLog: ...here.
 
 2007-01-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
index eb90f4d63bf4cbd13b9cdff35bd145ac283765e6..fa2cd0faa8850267887707cbe57dc2df5c3f6c4a 100644 (file)
@@ -4,8 +4,7 @@ m4_divert_push([SCRIPT])# @configure_input@
 # ltmain.sh (GNU @PACKAGE@@TIMESTAMP@) @VERSION@
 # Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 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 @@ func_mode_compile ()
     *.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 4f81a135d7a32686a30c9c7767261969e4ca50b9..07021fa29846947eecc376acea9971f5d2eb6a85 100755 (executable)
@@ -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