autoconf
[Top][All Lists]
Advanced

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

Re: Can you spot the error?


From: Eric Blake
Subject: Re: Can you spot the error?
Date: Thu, 03 Apr 2014 06:07:11 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0

On 04/03/2014 04:00 AM, Philipp Thomas wrote:
> * Eric Blake (address@hidden) [20140331 20:55]:
> 
>> You meant to write:
>>
>> AC_ARG_WITH([resolve-neigh],
>>     [AC_HELP_STRING([--with-resolve-neigh],
>>         [Enable neighbour resolution in Ethernet (default YES)])])
> 
> Even with that change I still get
> 
> [   16s] configure.ac:23: error: possibly undefined macro: AC_DEFINE
> [   16s]       If this token and others are legitimate, please use 
> m4_pattern_allow.
> [   16s]       See the Autoconf documentation.
> [   16s] configure.ac:48: error: possibly undefined macro: AC_CHECK_LIB
> [   16s] configure.ac:49: error: possibly undefined macro: AC_MSG_ERROR
> 
> in this code andthis is correctly quoted AFAICS.

Did you also fix the quoting in the other AC_ARG_WITH:

AC_ARG_WITH([valgrind],
    AS_HELP_STRING([--with-valgrind],
        [Enable Valgrind annotations (small runtime overhead, default NO)]))

In particular, since that version outputs a comma, it could very well be
the source of the problem if it is not quoted as:

AC_ARG_WITH([valgrind],
  [AS_HELP_STRING([--with-valgrind],
     [Enable Valgrind annotations (small runtime overhead, default NO)])])


-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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