* Ralf Wildenhues wrote on Wed, Jun 29, 2005 at 02:48:57PM CEST:
>
> * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Fix also for
> double-quoted -cmdline argument in Portland Group compiler.
> Reported against LAM by Ole Holm Nielsen <[EMAIL PROTECTED]>.
Gee, I got it all backwards, sorry:
* 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 <[EMAIL PROTECTED]>.
Steven: which versions used double quotes? Just so we know the other
code is not obsolete..
Regards,
Ralf
> Index: lib/autoconf/fortran.m4
> ===================================================================
> RCS file: /cvsroot/autoconf/autoconf/lib/autoconf/fortran.m4,v
> retrieving revision 1.193
> diff -u -r1.193 fortran.m4
> --- lib/autoconf/fortran.m4 22 Jun 2005 12:14:00 -0000 1.193
> +++ lib/autoconf/fortran.m4 29 Jun 2005 12:45:53 -0000
> @@ -554,7 +554,9 @@
> *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'` ;;
>