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)
This commit is contained in:
Matthias Clasen
2004-09-05 03:39:07 +00:00
committed by Matthias Clasen
parent 3d33052b92
commit 44bfacfc5f
5 changed files with 21 additions and 2 deletions

View File

@@ -1,3 +1,7 @@
Sat Sep 4 23:37:56 2004 Matthias Clasen <maclas@gmx.de>
* configure.in: Fix the Solaris Xinerama checks. (#151754)
Sat Sep 4 22:45:49 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkentry.c (gtk_entry_backspace): Don't refuse to delete

View File

@@ -1,3 +1,7 @@
Sat Sep 4 23:37:56 2004 Matthias Clasen <maclas@gmx.de>
* configure.in: Fix the Solaris Xinerama checks. (#151754)
Sat Sep 4 22:45:49 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkentry.c (gtk_entry_backspace): Don't refuse to delete

View File

@@ -1,3 +1,7 @@
Sat Sep 4 23:37:56 2004 Matthias Clasen <maclas@gmx.de>
* configure.in: Fix the Solaris Xinerama checks. (#151754)
Sat Sep 4 22:45:49 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkentry.c (gtk_entry_backspace): Don't refuse to delete

View File

@@ -1,3 +1,7 @@
Sat Sep 4 23:37:56 2004 Matthias Clasen <maclas@gmx.de>
* configure.in: Fix the Solaris Xinerama checks. (#151754)
Sat Sep 4 22:45:49 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkentry.c (gtk_entry_backspace): Don't refuse to delete

View File

@@ -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);