Hi Horst,

* Horst Wagner wrote on Thu, Aug 11, 2005 at 04:10:02AM CEST:
> 
> I am having trouble with AC_CHECK_FUNC. It turns out that the order of
> parameters on the gcc commandline configure uses to compile code to check
> for the existence of the function is not proper in my case.
> I could not find any mention of such a problem in newsgroups, so I am
> assuming I am doing something stupid.
> The root problem is that in the compile command the source file name
> (conftest.c) is placed behind the $LDFLAGS. Latter library contains the
> function I am checking for.

LDFLAGS is not for libraries, but only for other linker flags.  LIBS is
for libraries (plus their locations, -L...).
See 'info Autoconf "Preset Output Variables"' and "Libraries" for more
info.

Cheers,
Ralf


_______________________________________________
Autoconf mailing list
Autoconf@gnu.org
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to