diff options
author | Anders Carlsson <andersca@gnu.org> | 2002-10-27 15:15:27 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@src.gnome.org> | 2002-10-27 15:15:27 +0000 |
commit | c9c67387ce50a7499de8a90fa57bad5a5c3adb23 (patch) | |
tree | 32942338330274d1c9dc3036690df0dfdaecad9a /configure.in | |
parent | 81089c2d8c2e8df8028a18c7ab38da096ef74775 (diff) | |
download | metacity-c9c67387ce50a7499de8a90fa57bad5a5c3adb23.tar.gz |
Make XRandr detection work better.
2002-10-27 Anders Carlsson <andersca@gnu.org>
* configure.in: Make XRandr detection work better.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/configure.in b/configure.in index 879e12b4..a1cb37ab 100644 --- a/configure.in +++ b/configure.in @@ -168,23 +168,23 @@ CPPFLAGS="$metacity_save_cppflags" SHAPE_LIBS= found_shape=no AC_CHECK_LIB(Xext, XShapeQueryExtension, - [AC_CHECK_HEADERS(X11/extensions/shape.h, - SHAPE_LIBS=-lXext found_shape=yes)], + [AC_CHECK_HEADER(X11/extensions/shape.h, + SHAPE_LIBS=-lXext found_shape=yes)], , $ALL_X_LIBS) -if test "$found_shape" = "no"; then +if test "x$found_shape" = "xyes"; then AC_DEFINE(HAVE_SHAPE) fi RANDR_LIBS= found_randr=no AC_CHECK_LIB(Xrandr, XRRUpdateConfiguration, - [AC_CHECK_HEADERS(X11/extensions/Xrandr.h, - RANDR_LIBS=-lXrandr, found_randr=yes, - [#include <X11/Xlib.h>])], + [AC_CHECK_HEADER(X11/extensions/Xrandr.h, + RANDR_LIBS=-lXrandr found_randr=yes,, + [#include <X11/Xlib.h>])], , -lXrender $ALL_X_LIBS) -if test "$found_randr" = "yes"; then +if test "x$found_randr" = "xyes"; then AC_DEFINE(HAVE_RANDR) fi |