[libdispatch-dev] [PATCH 2/4] check whether to add -lm for testing to compile

Paolo Bonzini bonzini at gnu.org
Wed Nov 18 08:53:02 PST 2009

On 11/18/2009 05:20 PM, Robert Watson wrote:
> Has anyone else noticed that getting libdispatch to run on a new OS is
> the easy bit, and that figuring out the auto*/libtool/pkg-config/etc
> stuff is the hard bit? :-)

Uhm, I disagree.  The libtool and pkg-config bits required a bit of 
learning curve for some people, and next time they would have quite a 
headstart.  Mark has been great in incorporating pkg-config and libtool 
into libkqueue for example!

And the autoconf parts (including libm and the like) are _intrinsically_ 
part of getting libdispatch to run on a new OS.  It would be worse 
without autoconf, though autoconf is no global optimum (there is none), 
and it's definitely worth it.

Hopefully, we're just a couple of patches away from running a 
libkqueue-based libdispatch on Linux, and of the last 40-50 patches 
definitely not all of them were configury fixes.  In fact, I wouldn't 
underestimate _your_ work in getting libdispatch to run a non-BSD 
systems.  For example the conversion of the testsuite to automake was 
very helpful.

Just my 2 cents on "Autoconf is hard, let's go shopping" :-)


More information about the libdispatch-dev mailing list