autoconf-patches
[Top][All Lists]
Advanced

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

Re: Problem with AC_REQUIRE expansion order


From: Eric Blake
Subject: Re: Problem with AC_REQUIRE expansion order
Date: Wed, 06 Aug 2008 19:51:14 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.16) Gecko/20080708 Thunderbird/2.0.0.16 Mnenhy/0.7.5.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Paolo Bonzini on 8/6/2008 3:09 PM:
|
|> I don't know how to measure or decide that.  I believe I've seen such
|> usage before but I really can't say for sure, or point to an actual
|> example.  Sorry.
|
| Here is all I could find:
|
http://www.google.com/codesearch?hl=en&lr=&q=AC_PROG_CC\(.*[%27%22]&sbtn=Search

|
|
| AC_PROG_CC("$INFORMIXC" cc gcc)        # have to take care of INFORMIXC
|
| no arguments, but a quoted variable.

Sweet.  My thoughts on using ac_prog_cc_list="$1" would then expand to
this code:

ac_prog_cc_list=""$INFORMIXC" cc gcc"

which (unless INFORMIXC contains whitespace) works out to the desired
effect, no m4_bpatsubst or eval needed.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkiaVRIACgkQ84KuGfSFAYB9bACeMxH4fOZ9U6quQd9t27TRQ/5f
DHcAn2nVbZFmKmDwolsy8kwT2kEcjuY7
=Z919
-----END PGP SIGNATURE-----




reply via email to

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