Hello,
I added a comment containing the info reported by Steven and Ole Holm.
Patch attached. I committed it.
Stepan
> Steven G. Johnson wrote:
> >I don't use the PGI compilers myself, but the double-quoted output was
> >reported to me for PGF90/x86 Linux/x86 5.0-2. [...]
On Fri, Jul 08, 2005 at 09:56:29PM +0200, Ole Holm Nielsen wrote:
> FYI, the single-quote problem was found by me to occur in the
> PGI compiler versions 5.2-4 and 6.0-4.
2005-07-10 Stepan Kasal <[EMAIL PROTECTED]>
* lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Document which
versions of Portland Group compiler produce single- and double-quoted
-cmdline argument. Reported by Steven G. Johnson <[EMAIL PROTECTED]>
and Ole Holm Nielsen <[EMAIL PROTECTED]>.
Index: lib/autoconf/fortran.m4
===================================================================
RCS file: /cvsroot/autoconf/autoconf/lib/autoconf/fortran.m4,v
retrieving revision 1.194
diff -u -r1.194 fortran.m4
--- lib/autoconf/fortran.m4 30 Jun 2005 12:59:15 -0000 1.194
+++ lib/autoconf/fortran.m4 10 Jul 2005 15:57:40 -0000
@@ -555,6 +555,8 @@
ac_[]_AC_LANG_ABBREV[]_v_output=`echo $ac_[]_AC_LANG_ABBREV[]_v_output |
sed 's/"-mGLOB[[^"]]*"/ /g'` ;;
# Portland Group compiler has singly- or doubly-quoted -cmdline argument
+ # Singly-quoted arguments were reported for versions 5.2-4 and 6.0-4.
+ # Doubly-quoted arguments were reported for "PGF90/x86 Linux/x86 5.0-2".
*-cmdline\ \'*)
ac_[]_AC_LANG_ABBREV[]_v_output=`echo $ac_[]_AC_LANG_ABBREV[]_v_output |
sed "s/-cmdline *'[[^']]*'/ /g"` ;;
*-cmdline*)