[Top][All Lists]

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

Re: Using AC_LIB_HAVE_LINKFLAGS with non standard named libraries genera

From: Johan Persson
Subject: Re: Using AC_LIB_HAVE_LINKFLAGS with non standard named libraries generates "non-POSIX" automake error?
Date: Sat, 23 Nov 2013 01:02:35 +0100
User-agent: Roundcube Webmail/0.8.1


On 2013-11-23 00:39, Eric Blake wrote: 

> On 11/22/2013 04:29 PM, Johan Persson wrote:
>> Fortunately that is easy (for once). The following trivial combo shows the 
>> problem.
>> AC_LIB_HAVE_LINKFLAGS([[usb-1.0]],[],[],[],[libusb-1.0 Library needed.])
> This macro is not provided by autoconf. (It's a shame that the macro
> author abused the AC_ namespace instead of putting it in another
> namespace, because it means if autoconf ever DOES implement this macro,
> it will break this third-party code.) You'll need to track down the

You are right! I've been using this construction for several years and I
always though this was part of the core autoconf. Looking more closely
this is provided by Gnulib module "havelib" (See

However, it seems thought that the macro is well behaved in that it does
normalize to "_" which means that using the variable name with "_"
instead actually works. Problem solved and I still can have warning free

Thanks for the pointers! 



reply via email to

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