Crossfire Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CF: Redhat 5.1 Alpha Linux
Bob Tanner wrote:
> I am not an autoconf expert, but this looks correct to me:
>
> dnl Checks for libraries.
> dnl Start of X11 libraries
> AC_CHECK_LIB(X11, main, AC_DEFINE(HAVE_LIBX11) X11LIBS="$X11LIBS -lX11" )
>
> Yet, when I run configure:
>
> <snip>
> checking for main in -lX11... no
> <snip>
>
> The same behavior happens under Redhat 5.0 Intel Linux as well.
I am no autoconf expert, but that looks incorrect to me:
AC_CHECK_LIB(X11, main, AC_DEFINE(HAVE_LIBX11) X11LIBS="$X11LIBS -lX11" )
^^^^
I don't think the X11 library is supposed to have that function.
I think something like XSetFont or one of the functions actually
used is supposed to be there.
sdw
Follow-Ups: