On 09/22/2012 05:38 AM, Brad Smith wrote: > Hi, > > Looking at the autoconf documentation it shows AC_DEFINE / AC_DEFINE_UNQUOTED > as being able to be used without specifying a value or description, .e.g. > > AC_DEFINE([FOO]) > > and yet autoconf pukes on this. If I add an empty value field with [] and > a description then autoconf no longer rejects this. Is this expected?
From the autoconf manual for AC_DEFINE: If neither @var{value} nor @var{description} are given, then @var{value} defaults to 1 instead of to the empty string. This is for backwards compatibility with older versions of Autoconf, but this usage is obsolescent and may be withdrawn in future versions of Autoconf. So if you are asking autoconf to warn about obsolete usage, this might explain why you are running into issues. -- Eric Blake ebl...@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature