On 09/20/2010 08:46 PM, Wiseman Jun wrote:
The configure.ac file of libiberty includes the following scripts:
funcs="asprintf"
funcs="$funcs atexit"
funcs="$funcs basename"
......
AC_REPLACE_FUNCS($funcs)
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
do
......
done
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 ebl...@redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org