diff options
author | Matthias Clasen <maclas@gmx.de> | 2004-09-05 03:39:07 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2004-09-05 03:39:07 +0000 |
commit | 44bfacfc5f51ed45030fbf380e36775000f9210f (patch) | |
tree | ba07582870835e676be6bd287ed891e75a86b289 /configure.in | |
parent | 3d33052b92902ad5f4bed08f8f1027212397db43 (diff) | |
download | gtk+-44bfacfc5f51ed45030fbf380e36775000f9210f.tar.gz |
Fix the Solaris Xinerama checks. (#151754)
Sat Sep 4 23:37:56 2004 Matthias Clasen <maclas@gmx.de>
* configure.in: Fix the Solaris Xinerama checks. (#151754)
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/configure.in b/configure.in index dd6cbb4c7e..002412466f 100644 --- a/configure.in +++ b/configure.in @@ -1099,12 +1099,15 @@ if test "x$gdktarget" = "xx11"; then # Check for solaris use_solaris_xinerama=yes AC_CHECK_LIB(Xext, XineramaGetInfo, - use_solaris_xinerama=yes, use_solaris_xinerama=no) + use_solaris_xinerama=yes, + use_solaris_xinerama=no, + -lXext $x_libs_for_checks) if test "x$use_solaris_xinerama" = "xyes"; then AC_CHECK_HEADER(X11/extensions/xinerama.h, [GTK_ADD_LIB(x_extra_libs,Xext) AC_DEFINE(HAVE_SOLARIS_XINERAMA) - AC_DEFINE(HAVE_XINERAMA)], use_solaris_xinerama=no, -lXext $x_libs_for_checks) + AC_DEFINE(HAVE_XINERAMA)], + use_solaris_xinerama=no,[#include <X11/Xlib.h>]) fi AC_MSG_CHECKING(for Xinerama support on Solaris) AC_MSG_RESULT($use_solaris_xinerama); |