Re: Can you spot the error?

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

 



On 04/03/2014 04:00 AM, Philipp Thomas wrote:
> * Eric Blake (eblake@xxxxxxxxxx) [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

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux