autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Checking for function s in libs.


From: Lars Hecking
Subject: Re: Checking for function s in libs.
Date: Fri, 29 Nov 2002 18:32:16 +0000
User-agent: Mutt/1.5.1i

Lars Segerlund writes:
> 
>  Hi,
> 
>  I am packaging an old program with autoconf/make and I have a check 
> that fails without any explanation I can think of.
> 
> AC_CHECK_LIB(X11,XOpenDisplay)
> 
>  fails, however the program uses X11 and I just don't understand whats 
> going on ?
> 
>  also I have seen some checks like
> 
> AC_CHECK_LIB( GL, main)
> 
>  which are ok ? can somebody help me ?

 If you just want to check for the presence of X, see the autoconf manual for
 AC_PATH_X and AC_PATH_XTRA. Your check fails (probably) because the linker
 requires additional libraries.

 config.log usually tells you what's going on.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]