On Sun, Mar 19, 2006, Robert Collins wrote: > Sure but lets not let the perfect be the enemy of the good: > There are two patches now that will correct AM_PATH_CHECK with -Werror > in CFLAGS. Both are improvements, and I'm completely happy with either > being applied which will fix the bug. Additionally, neither make > refactoring or replacing AM_PATH_CHECK later harder - they do not change > its structure or introduce additional complexity.
Exactly. Please think of backward-compatibility for people using AM_PATH_CHECK in their configure.ac. The -version mentionned previously doesn't help in the task of detecting whether libcheck is available in the build environment. What you could *add* to the library is a pkg-config (.pc) file, which would permit using pkg-config's macros to check for the availability and the version of libcheck (pkg-config now supports the static / dynamic linking flags distinction). That should be in addition to the macro (which should simply be deprecated). -- Loïc Minier <[EMAIL PROTECTED]>

