On Mon, Jun 04, 2001 at 05:49:41PM +0200, Peter Eisentraut wrote:
> 
> Unfortunately it's hardly possible to automatically detect dependencies
> that have not been declared anywhere by a means other than trying out all
> possible candidates.

While we're on the subject, what about this situation:
My program needs the cook_pie() function, which, depending on the
system, requires either -lfood or both -lpie and -lkitchen.

AC_CHECK_LIB(food, cook_pie) works for the first case,
AC_CHECK_LIB(pie, cook_pie,,,-lkitchen) works for the second case, but
-lkitchen does not get included in LIBS.

How should I be doing checks like these?

-jeff

Reply via email to