Greetings,

I've applied the patch below to accept files with extension .f95.

Cheers,
Ralf

        * libltdl/m4/libtool.m4 (func_mode_compile): Accept files with
        extension `.f9?'.
        * tests/suffix.test: Test `f95'.

Index: libltdl/config/ltmain.m4sh
===================================================================
RCS file: /cvsroot/libtool/libtool/libltdl/config/ltmain.m4sh,v
retrieving revision 1.53
diff -u -r1.53 ltmain.m4sh
--- libltdl/config/ltmain.m4sh  4 Sep 2006 17:25:15 -0000       1.53
+++ libltdl/config/ltmain.m4sh  20 Sep 2006 19:06:19 -0000
@@ -1312,7 +1315,7 @@
     *.class) xform=class ;;
     *.cpp) xform=cpp ;;
     *.cxx) xform=cxx ;;
-    *.f90) xform=f90 ;;
+    *.f9?) xform=f9. ;;
     *.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.11
diff -u -r1.11 suffix.test
--- tests/suffix.test   22 Apr 2005 10:10:30 -0000      1.11
+++ tests/suffix.test   20 Sep 2006 19:06:19 -0000
@@ -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 for m s"
+extensions="C F S ada adb ads asm c c++ cc cpp cxx f f90 f95 for m s"
 bad_names="foo."
 
 . tests/defs || exit 1


Reply via email to