* lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Use -lX11, not

-lXt in LIBS, idea from Karsten Hopp.
This commit is contained in:
Stepan Kasal 2006-06-28 08:36:54 +00:00
parent 90da28049c
commit 239d119726
2 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,14 @@
2006-06-26 Stepan Kasal <kasal@ucw.cz>
* lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Use -lX11, not
-lXt in LIBS, idea from Karsten Hopp; this was due since
this change:
2005-09-18 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h
and XrmInitialize rather than X11/Intrinsic.h and XtMalloc
(which belong to Xt, not X itself). See Debian bug 327655.
2006-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* configure.ac (AC_INIT): Bump to 2.60a.

View File

@ -288,7 +288,7 @@ if test "$ac_x_libraries" = no; then
# See if we find them without any special options.
# Don't add to $LIBS permanently.
ac_save_LIBS=$LIBS
LIBS="-lXt $LIBS"
LIBS="-lX11 $LIBS"
AC_LINK_IFELSE([AC_LANG_PROGRAM([@%:@include <X11/Xlib.h>],
[XrmInitialize ()])],
[LIBS=$ac_save_LIBS