summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-10-19 16:13:36 +0000
committerJeremy Katz <katzj@src.gnome.org>2002-10-19 16:13:36 +0000
commitb006def69fa17984474e6f212792f839bcd8c772 (patch)
tree278dedbe4514b9ef8f25d2b7779eff4e256fcc6b /configure.in
parenta5803ca52383293fb6eb52f7dfeed33681a46e4c (diff)
downloadgtk+-b006def69fa17984474e6f212792f839bcd8c772.tar.gz
make configure checks for Xrandr and Xinerama extensions less noisy
2002-10-19 Jeremy Katz <katzj@redhat.com> * configure.in: make configure checks for Xrandr and Xinerama extensions less noisy (#95858)
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/configure.in b/configure.in
index a11b7db0ff..8afc218cfb 100644
--- a/configure.in
+++ b/configure.in
@@ -1117,7 +1117,8 @@ if test "x$gdktarget" = "xx11"; then
fi
AC_DEFINE(HAVE_XFREE_XINERAMA)
AC_DEFINE(HAVE_XINERAMA),
- use_xfree_xinerama=no)],
+ use_xfree_xinerama=no,
+ [#include <X11/Xlib.h>])],
use_xfree_xinerama=no, -lXext $x_libs_for_checks)
AC_MSG_CHECKING(for Xinerama support on XFree86)
AC_MSG_RESULT($use_xfree_xinerama);
@@ -1186,8 +1187,8 @@ if test "x$gdktarget" = "xx11"; then
x_extra_libs="-lXrender $x_extra_libs"
fi
x_extra_libs="-lXrandr $x_extra_libs"
- AC_DEFINE(HAVE_RANDR, 1, Have the Xrandr extension library))],
- :,
+ AC_DEFINE(HAVE_RANDR, 1, Have the Xrandr extension library),
+ :, [#include <X11/Xlib.h>])], : ,
$X_LIBS -lXrandr -lXrender -lX11 $X_EXTRA_LIBS)
# Xshm checks