[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AC_FC_LIBRARY_LDFLAGS
From: |
Ralf Wildenhues |
Subject: |
Re: AC_FC_LIBRARY_LDFLAGS |
Date: |
Mon, 12 Dec 2005 16:06:09 +0100 |
User-agent: |
Mutt/1.5.11 |
[ moving from autoconf to autoconf-patches ]
* Ralf Wildenhues wrote on Sat, Dec 03, 2005 at 12:22:38PM CET:
> * Christopher Hulbert wrote on Fri, Dec 02, 2005 at 07:12:02PM CET:
> > I couldn't find any other solution to this, but when getting the
> > library flags of pgf90 with -Mconcur or -Mipa (Runs pgipa) there is an
I have tested this patch myself (should've said that right away, sorry).
Is it ok to apply?
Cheers,
Ralf
> * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore
> singly- or doubly-quoted arguments to `-cmdline', `-ignore',
> `-def', for the benefit of Portland `pgf90 -Mipa'.
> Reported by Christopher Hulbert <address@hidden>.
>
> Index: lib/autoconf/fortran.m4
> ===================================================================
> RCS file: /cvsroot/autoconf/autoconf/lib/autoconf/fortran.m4,v
> retrieving revision 1.198
> diff -u -r1.198 fortran.m4
> --- lib/autoconf/fortran.m4 27 Oct 2005 06:16:04 -0000 1.198
> +++ lib/autoconf/fortran.m4 3 Dec 2005 10:59:47 -0000
> @@ -558,10 +558,11 @@
> # 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*)
> - ac_[]_AC_LANG_ABBREV[]_v_output=`echo $ac_[]_AC_LANG_ABBREV[]_v_output |
> sed 's/-cmdline *"[[^"]]*"/ /g'` ;;
> + *-cmdline\ * | *-ignore\ * | *-def\ *)
> + ac_[]_AC_LANG_ABBREV[]_v_output=`echo $ac_[]_AC_LANG_ABBREV[]_v_output |
> sed "\
> + s/-cmdline *'[[^']]*'/ /g; s/-cmdline *\"[[^\"]]*\"/ /g
> + s/-ignore *'[[^']]*'/ /g; s/-ignore *\"[[^\"]]*\"/ /g
> + s/-def *'[[^']]*'/ /g; s/-def *\"[[^\"]]*\"/ /g"` ;;
>
> # If we are using Cray Fortran then delete quotes.
> *cft90*)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: AC_FC_LIBRARY_LDFLAGS,
Ralf Wildenhues <=