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: Mon, 31 Mar 2014 13:01:52 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0

On 03/31/2014 12:55 PM, Eric Blake wrote:
> On 03/31/2014 12:48 PM, Philipp Thomas wrote:
>> I have a configure.ac as attached. If I run autoreconf -fi on this file it
>> stops with 'configure.ac:23: error: possibly undefined macro: AC_DEFINE'
>> but at least I see no error in that line. But if I remove the following
>> block beginning with 'AC_ARG_WITH([resolve-neigh],' everything runs without
>> problems. Can anyboy help me spot the error?
> 
> 
> AC_ARG_WITH([resolve-neigh],
>     AC_HELP_STRING([--with-resolve-neigh],
>         [Enable neighbour resolution in Ethernet (default YES)]))
> 
> Underquoted.
> 
> You meant to write:
> 
> AC_ARG_WITH([resolve-neigh],
>     [AC_HELP_STRING([--with-resolve-neigh],
>         [Enable neighbour resolution in Ethernet (default YES)])])

For that matter, AC_HELP_STRING is deprecated; why not use
AS_HELP_STRING like you did elsewhere in your file?

-- 
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]