Add prerequisite to Xrandr.h test.

SVN revision: 9374
This commit is contained in:
Kim Woelders 2004-03-16 22:06:04 +00:00
parent 0e1b7ec508
commit 8a96cf4e25
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@ AC_ARG_ENABLE(xrandr,
if test "x$enable_xrandr" = "xyes"; then
AC_CHECK_LIB(Xrandr, XRRQueryExtension,
AC_DEFINE(HAS_XRANDR, 1, [RandR support]) XRANDR_LIBS=-lXrandr, ,$X_LIBS)
AC_CHECK_HEADERS(X11/extensions/Xrandr.h)
AC_CHECK_HEADERS(X11/extensions/Xrandr.h,,,[#include <X11/Xlib.h>])
LIBS="$XRANDR_LIBS $LIBS"
fi