bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AC_FC_LIBRARY_LDFLAGS: quoting bug on Solaris with gfortran


From: Stefano Lattarini
Subject: Re: AC_FC_LIBRARY_LDFLAGS: quoting bug on Solaris with gfortran
Date: Fri, 17 Sep 2010 00:13:09 +0200
User-agent: KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; )

On Thursday 16 September 2010, Eric Blake wrote: 
> Not just yet; let's try this patch first (and I feel better about
> it not being as global of a change):
> 
> --- i/lib/autoconf/fortran.m4
> +++ w/lib/autoconf/fortran.m4
> @@ -505,7 +505,8 @@ _AS_ECHO_LOG([$[*]])
>   # gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS,
> COMPILER_PATH, # LIBRARY_PATH; skip all such settings.
>   ac_[]_AC_LANG_ABBREV[]_v_output=`eval $ac_link
> AS_MESSAGE_LOG_FD>&1 2>&1 | -  grep -v 'Driving:' | grep -v
> "^[[_$as_cr_Letters]][[_$as_cr_alnum]]*="` +  sed '/^Driving:/d;
> /^Configured with:/d;
> +      '"/^[[_$as_cr_Letters]][[_$as_cr_alnum]]*=/d"`
>   AS_ECHO(["$ac_[]_AC_LANG_ABBREV[]_v_output"]) >&AS_MESSAGE_LOG_FD
>   _AC_LANG_PREFIX[]FLAGS=$ac_save_[]_AC_LANG_PREFIX[]FLAGS
>
It worked!  Thanks for sorting this out.
To be sure, I also re-run the whole testsuite; all the fortran-related 
tests passed.  I see failures w.r.t. `AS_BOX', but that's for another 
thread I guess.

Regards,
   Stefano



reply via email to

[Prev in Thread] Current Thread [Next in Thread]