Hello, On Wed, Aug 10, 2005 at 10:10:02PM -0400, Horst Wagner wrote: > (conftest.c) is placed behind the $LDFLAGS. Latter library contains the > function I am checking for. > If I reorder the commandline such that -lgd comes after conftest.c (the way > it ought to be according to the gcc documentation) then the code compiles this is why the autoconf documentation says that -l options should go to LIBS. LDFLAGS contains all other flags. See info '(autoconf)Preset Output Variables' Happy hacking, Stepan Kasal _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf