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