From c040108585940b66de20d4849af47b6bb15b2202 Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues Date: Sun, 21 Jan 2007 14:58:24 +0000 Subject: [PATCH] * ltmain.in (compile mode): Accept suffixes matching `[fF][09].', for Fortran. * tests/suffix.test: Also test f90, F90, f95, F95, f03, F03. --- ChangeLog | 4 ++++ ltmain.in | 8 ++++---- tests/suffix.test | 2 +- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7f994903b..b946815e8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2007-01-21 Ralf Wildenhues + * 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. diff --git a/ltmain.in b/ltmain.in index 1e8bd0723..fb43da47e 100644 --- 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 , 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 ;; diff --git a/tests/suffix.test b/tests/suffix.test index 11498e05b..48e1c546a 100755 --- a/tests/suffix.test +++ b/tests/suffix.test @@ -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. -- 2.47.2