This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC] patch libffi autoconversion
Daniel Jacobowitz <drow@false.org> writes:
> On Wed, Mar 10, 2004 at 03:39:14PM +0100, Andreas Schwab wrote:
>> "Joseph S. Myers" <jsm@polyomino.org.uk> writes:
>>
>> > If the version passed to AC_INIT can be a shell expression (involving
>> > sed) to extract the number from gcc-common.texi, that would be OK,
>>
>> You can use esyscmd([sed ... < gcc-common.texi | tr -d '\n']) instead of
>> the version number in AC_INIT.
>
> Doesn't that run at autoconf-time rather than configure-time?
Yes.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."