autoconf-patches
[Top][All Lists]
Advanced

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

Re: Multiline arguments to AC_CHECK_HEADERS and AC_CHECK_FUNCS


From: Paolo Bonzini
Subject: Re: Multiline arguments to AC_CHECK_HEADERS and AC_CHECK_FUNCS
Date: Wed, 16 May 2007 10:56:28 +0200
User-agent: Thunderbird 2.0.0.0 (Macintosh/20070326)

Paul Eggert wrote:
Stepan Kasal <address@hidden> writes:

2007-05-11  Stepan Kasal  <address@hidden>

        * lib/autoconf/functions.m4 (AC_CHECK_FUNCS): Assign $1 to
        shell variable ac_list, to allow for multiline parameter.
        But fall back to the old version if a quote is used.
        * lib/autoconf/headers.m4 (AC_CHECK_HEADERS): Likewise.
        * tests/semantics.at (multiline AC_CHECK_FUNCS): New.
        (multiline AC_CHECK_HEADERS): New.
        (multiline AC_CHECK_FUNCS (backslash)): New.
        (multiline AC_CHECK_HEADERS (backslash)): New.

Thanks, that looks better, except it doesn't have any
changes to the documentation or to NEWS.  Can you please
write those as well?

Why should matters be complicated this way? Stepan showed it does not work with autoheader. How many packages are there that use this kind of quoted argument, and not use autoheader? Can't we instead *warn* on the problem and let the user fix their code?

Paolo




reply via email to

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