Re: Checking for a library ... different ways ...

2008-10-26 Thread Ralf Wildenhues
Hello Michel, Matěj, * Matěj Týč wrote on Thu, Oct 23, 2008 at 04:13:49PM CEST: > > > 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. T

Re: Checking for a library ... different ways ...

2008-10-23 Thread Matěj Týč
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 > pr

Checking for a library ... different ways ...

2008-10-23 Thread Michel Briand
Hello, a very naive review of many configure.[in,ac] to find out how do others do makes me ask this question : Why the library developer does not provide a consistent way to check for its library with automake/autoconf ? The bad thing is that the library user will have to do the job of 1/ search