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

ChangeLog
ltmain.in
tests/suffix.test

index 7f994903b03021bef75c74d222b39a524dcbb1ee..b946815e807bf2bad7b267727de064ce440b9721 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2007-01-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+       * ltmain.in (compile mode): Accept suffixes matching
+       `[fF][09].', for Fortran.
+       * tests/suffix.test: Also test f90, F90, f95, F95, f03, F03.
+
        * doc/libtool.texi: Typo fixes.
        * NEWS: Likewise.
 
index 1e8bd072340998910b2fcadd3cc07384f54e6cfe..fb43da47e00188e2d649b7ec459b7f1ad1680c19 100644 (file)
--- a/ltmain.in
+++ b/ltmain.in
@@ -1,8 +1,8 @@
 # ltmain.sh - Provide generalized library-building support services.
 # NOTE: Changing this file will not affect anything until you rerun configure.
 #
-# 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.
 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
 #
 # This program is free software; you can redistribute it and/or modify
@@ -485,7 +485,7 @@ do
     echo "\
 $PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP
 
-Copyright (C) 2006  Free Software Foundation, Inc.
+Copyright (C) 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."
     exit $?
@@ -784,7 +784,7 @@ if test -z "$show_help"; then
     *.class) xform=class ;;
     *.cpp) xform=cpp ;;
     *.cxx) xform=cxx ;;
-    *.f90) xform=f90 ;;
+    *.[fF][09]?) xform=[fF][09]. ;;
     *.for) xform=for ;;
     *.java) xform=java ;;
     *.obj) xform=obj ;;
index 11498e05bde3adf0e343a6321d4851defca053a8..48e1c546a4a925bec23f34195ee7c571828ab6f4 100755 (executable)
@@ -3,7 +3,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 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."
 
 # Test script header.