Re: Problem with AC_CHECK_FUNC and order of gcc command-line parameters

2005-08-11 Thread Stepan Kasal
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

Re: Problem with AC_CHECK_FUNC and order of gcc command-line parameters

2005-08-11 Thread Horst Wagner
Thanks to Ralf Wildenhues and Stepan Kasal for providing a prompt answer. The correct approach is to use $LIBS instead of $LDFLAGS for library includes and this fixed the problem. I knew I must had done something wrong but could not figure out what. Thanks for your patience, Horst -

Re: Problem with AC_CHECK_FUNC and order of gcc command-line parameters

2005-08-11 Thread Ralf Wildenhues
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

Problem with AC_CHECK_FUNC and order of gcc command-line parameters

2005-08-10 Thread Horst Wagner
Hi, 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