[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: _AC_CHECK_HEADER_OLD
From: |
Eric Blake |
Subject: |
Re: _AC_CHECK_HEADER_OLD |
Date: |
Mon, 15 Jun 2009 20:24:29 -0600 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.6.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Eric Blake on 6/15/2009 8:00 PM:
> Or is this usage of _AC_CHECK_HEADER_OLD so pervasive in the wild that we
> should make the AU_DEFUN forward to _AC_CHECK_HEADER_PREPROC instead of
> the public AC_CHECK_HEADER, the way I originally proposed?
Or even modify AU_DEFUN to take an optional fourth argument:
# AU_DEFUN(NAME, USER-REPLACEMENT, [MESSAGE],
# [INTERNAL-REPLACEMENT = USER-REPLACEMENT])
# ---------------------------------------------------
# Define the macro NAME so that it expands to USER-REPLACEMENT
# when run by autoupdate, and to INTERNAL-REPLACEMENT when
# run by autoconf.
Thus, for this case, we could use this to break the infloop:
AU_DEFUN([_AC_CHECK_HEADER_OLD],
[AC_CHECK_HEADER([$1], [$2], [$3], [-])], [], [_AC_CHECK_HEADER_PREPROC($@)])
because autoconf would not be picking up the gcc replacement for
AC_CHECK_HEADER, but the user that runs autoupdate will still pick up on
the now-documented usage of the public API.
- --
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
iEYEARECAAYFAko3Al0ACgkQ84KuGfSFAYA5kwCgzkv1w5nlnFFi7vYSoAomV4hg
BoUAoJyO8yDK6dSVS4DaAyMhgGeRb2Wa
=+ArF
-----END PGP SIGNATURE-----
- _AC_CHECK_HEADER_OLD (was: m4_copy and m4_rename semantic changes), Eric Blake, 2009/06/15
- Re: _AC_CHECK_HEADER_OLD, Paolo Bonzini, 2009/06/15
- Re: _AC_CHECK_HEADER_OLD, Eric Blake, 2009/06/15
- Re: _AC_CHECK_HEADER_OLD, Ralf Wildenhues, 2009/06/15
- Re: _AC_CHECK_HEADER_OLD, Eric Blake, 2009/06/15
- Re: _AC_CHECK_HEADER_OLD,
Eric Blake <=
- Re: _AC_CHECK_HEADER_OLD, Paolo Bonzini, 2009/06/16
- Re: _AC_CHECK_HEADER_OLD, Eric Blake, 2009/06/16
- Re: _AC_CHECK_HEADER_OLD, Paolo Bonzini, 2009/06/16
- Re: _AC_CHECK_HEADER_OLD, Eric Blake, 2009/06/17
- Re: _AC_CHECK_HEADER_OLD, Ralf Wildenhues, 2009/06/17