[Top][All Lists]

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

Re: _AC_REPLACE_FUNC should invoke AC_CHECK_FUNCS for compatibility

From: Eric Blake
Subject: Re: _AC_REPLACE_FUNC should invoke AC_CHECK_FUNCS for compatibility
Date: Tue, 21 Sep 2010 16:29:22 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100907 Fedora/3.1.3-1.fc13 Mnenhy/0.8.3 Thunderbird/3.1.3

On 09/20/2010 08:46 PM, Wiseman Jun wrote:
The configure.ac file of libiberty includes the following scripts:
funcs="$funcs atexit"
funcs="$funcs basename"

In the old version of autoconf (maybe before v2.64), AC_REPLACE_FUNCS will
invoke AC_CHECK_FUNCS directly. So it expanded to:
for ac_func in $funcs

Thanks for the report. This is a regression introduced in 2.66, at commit b4d3a51a, when optimizing to reduce forks in the common case of literal function names. I'm working on a patch to restore the for loop in the case of shell indirection.

Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

reply via email to

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