[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/6] AC_CHECK_HEADER/AC_CHECK_HEADERS: complete transition to
From: |
Eric Blake |
Subject: |
Re: [PATCH 2/6] AC_CHECK_HEADER/AC_CHECK_HEADERS: complete transition to compile tests. |
Date: |
Sat, 21 Sep 2013 06:42:46 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130805 Thunderbird/17.0.8 |
On 09/13/2013 06:42 PM, Zack Weinberg wrote:
> * lib/autoconf/headers.m4 (AC_CHECK_HEADER): Use _AC_CHECK_HEADER_COMPILE
> by default. Continue to use _AC_CHECK_HEADER_PREPROC if fourth arg is '-'.
> (_AC_CHECK_HEADER_PREPROC): Issue a deprecation warning.
> (_AC_CHECK_HEADER_MONGREL, _AC_CHECK_HEADER_MONGREL_BODY): Remove.
>
> * tests/c.at, tests/semantics.at: Update uses of AC_CHECK_HEADER(S).
> * doc/autoconf.texi, NEWS: Document change.
>
> Signed-off-by: Zack Weinberg <address@hidden>
> ---
>
> +# _AC_CHECK_HEADER_MONGREL(HEADER-FILE,
> +# [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
> +# ------------------------------------------------------------------
> +# In case anyone used this undocumented macro. Map to the _PREPROC
> +# semantics to minimize the chance of breaking anything.
Well, in 2.69, the mongrel code favored compile results, not preproc.
But as this is undocumented, and as the preproc variant outputs a
warning, the users deserve a warning for using undocumented macros. I
agree with the decision.
ACK.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- [PATCH 3/6] Modernize AC_INCLUDES_DEFAULT and friends., (continued)
[PATCH 6/6] Expose the checks done by AC_INCLUDES_DEFAULT as a public macro., Zack Weinberg, 2013/09/15
[PATCH 5/6] Use AC_CHECK_{DECLS, FUNCS, HEADERS}_ONCE more in specific-check macros., Zack Weinberg, 2013/09/15
[PATCH 2/6] AC_CHECK_HEADER/AC_CHECK_HEADERS: complete transition to compile tests., Zack Weinberg, 2013/09/15
- Re: [PATCH 2/6] AC_CHECK_HEADER/AC_CHECK_HEADERS: complete transition to compile tests.,
Eric Blake <=
[PATCH 1/6] * tests/local.at (AT_CHECK_M4): Support 'stderr' as fourth argument., Zack Weinberg, 2013/09/15