put -lXext in Xrandr check, bug #115996

2003-09-29  Havoc Pennington  <hp@redhat.com>

	* configure.in: put -lXext in Xrandr check, bug #115996
This commit is contained in:
Havoc Pennington 2003-09-29 23:23:46 +00:00 committed by Havoc Pennington
parent 89ca4aab3d
commit f7c04aff1e
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2003-09-29 Havoc Pennington <hp@redhat.com>
* configure.in: put -lXext in Xrandr check, bug #115996
2003-09-29 Havoc Pennington <hp@redhat.com> 2003-09-29 Havoc Pennington <hp@redhat.com>
* src/wm-tester/test-size-hints.c: a little program to test size * src/wm-tester/test-size-hints.c: a little program to test size

View File

@ -267,7 +267,7 @@ AC_CHECK_LIB(Xrandr, XRRUpdateConfiguration,
[AC_CHECK_HEADER(X11/extensions/Xrandr.h, [AC_CHECK_HEADER(X11/extensions/Xrandr.h,
RANDR_LIBS=-lXrandr found_randr=yes,, RANDR_LIBS=-lXrandr found_randr=yes,,
[#include <X11/Xlib.h>])], [#include <X11/Xlib.h>])],
, -lXrender $ALL_X_LIBS) , -lXrender -lXext $ALL_X_LIBS)
if test "x$found_randr" = "xyes"; then if test "x$found_randr" = "xyes"; then
AC_DEFINE(HAVE_RANDR, , [Have the Xrandr extension library]) AC_DEFINE(HAVE_RANDR, , [Have the Xrandr extension library])