Hello Michel,

...
>
Adding to that the check could be implemented in many different ways :
> an autoconf macro, calling a script (sdl-config for example), using
> pkgconfig...

Stick with AC_CHECK_LIBS, see reasons below.

>
> Side question : a good distro could enforce that each library will
> provide a pkgconfig file for example, or at least a .m4 file ?

AFAIK, pkg-conifg quite sucks. If you use autotools, you should rely on
libtool since the current pkg-config autotools support is quite
unsatisfactory (especially regarding to other languages that C and cross
compiling) . Writing and maintaining custom m4 macros is usually a
nightmare, this is why pkg-config was created.

That's how I see it, maybe I am wrong.

Regards,
Matej

Reply via email to