On 09/23/2010 07:52 AM, Eric Blake wrote:
[hit send too soon]
On 09/23/2010 06:56 AM, Ralf Corsepius wrote:
Hi,
I am facing a new issue/regression with autoconf-2.68:
That is not a regression, but a feature. Reread NEWS:
** The macros AC_PREPROC_IFELSE, AC_COMPILE_IFELSE, AC_LINK_IFELSE, and
AC_RUN_IFELSE now warn if the first argument failed to use
AC_LANG_SOURCE or AC_LANG_PROGRAM to generate the conftest file
contents. A new macro AC_LANG_DEFINES_PROVIDED exists if you have
a compelling reason why you cannot use AC_LANG_SOURCE but must
avoid the warning.
AC_COMPILE_IFELSE([
#ifndef FOO
choke me
#endif
])
You should have used:
AC_COMPILE_IFELSE([AC_LANG_SOURCE([
#ifndef FOO
choke me
#endif
])
Needs another ]), to match the fact that there is an added ([ from the
added call to AC_LANG_SOURCE.
--
Eric Blake ebl...@redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org