]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
fix parsing of Fortran -v output in Portland-Group compiler again
authorStepan Kasal <kasal@ucw.cz>
Thu, 30 Jun 2005 12:59:13 +0000 (12:59 +0000)
committerStepan Kasal <kasal@ucw.cz>
Thu, 30 Jun 2005 12:59:13 +0000 (12:59 +0000)
ChangeLog
lib/autoconf/fortran.m4

index ed2e034a8b4ed1e7caa48c8fb86289ff29e8bae8..7a813ab65de46a07a1b99e59da318a9e59176456 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-06-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de> 
+
+       * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Fix also for
+       single-quoted -cmdline argument in Portland Group compiler.
+       Reported against LAM by Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>.
+
 2005-06-30  Stepan Kasal  <kasal@ucw.cz>
 
        * doc/autoconf.texi (Generic Functions): Mention the Gnulib project.
index 2395e4b3947cb92d878d2dbb0b98521c4b112f1b..b8768a9985863f76aede6f655c581f87c6fab065 100644 (file)
@@ -554,7 +554,9 @@ case $ac_[]_AC_LANG_ABBREV[]_v_output in
   *mGLOB_options_string*)
     ac_[]_AC_LANG_ABBREV[]_v_output=`echo $ac_[]_AC_LANG_ABBREV[]_v_output | sed 's/"-mGLOB[[^"]]*"/ /g'` ;;
 
-  # Portland Group compiler has quoted -cmdline argument
+  # Portland Group compiler has singly- or doubly-quoted -cmdline argument
+  *-cmdline\ \'*)
+    ac_[]_AC_LANG_ABBREV[]_v_output=`echo $ac_[]_AC_LANG_ABBREV[]_v_output | sed "s/-cmdline  *'[[^']]*'/ /g"` ;;
   *-cmdline*)
     ac_[]_AC_LANG_ABBREV[]_v_output=`echo $ac_[]_AC_LANG_ABBREV[]_v_output | sed 's/-cmdline  *"[[^"]]*"/ /g'` ;;