Commit aed870d0 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Allow to disable Xinerama. (#348065, Diego Pettenò)

2007-06-03  Matthias Clasen  <mclasen@redhat.com>

        * configure.in: Allow to disable Xinerama.  (#348065, Diego Pettenò)



svn path=/trunk/; revision=18012
parent 6a0de76b
2007-06-03 Matthias Clasen <mclasen@redhat.com>
* configure.in: Allow to disable Xinerama. (#348065, Diego Pettenò)
2007-06-03 Xan Lopez <xan@gnome.org>
* gtk/gtknotebook.c: remove index parameter in gtk_notebook_switch_page
......
......@@ -199,6 +199,10 @@ AC_ARG_ENABLE(xkb,
[AC_HELP_STRING([--enable-xkb],
[support XKB [default=maybe]])],,
[enable_xkb="maybe"])
AC_ARG_ENABLE(xinerama,
[AC_HELP_STRING([--enable-xinerama],
[support xinerama extension if available [default=yes]])],,
[enable_xinerama="yes"])
AC_ARG_ENABLE(rebuilds,
[AC_HELP_STRING([--disable-rebuilds],
[disable all source autogeneration rules])],,
......@@ -1230,12 +1234,12 @@ if test "x$gdktarget" = "xx11"; then
fi
fi
# Check for Xinerama extension (Solaris impl or Xfree impl)
gtk_save_cppflags="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS $x_cflags"
if test "x$enable_xinerama" = "xyes"; then
# Check for Xinerama extension (Solaris impl or Xfree impl)
gtk_save_cppflags="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS $x_cflags"
case "$host" in
case "$host" in
*-*-solaris*)
# Check for solaris
AC_MSG_CHECKING(for Xinerama support on Solaris)
......@@ -1278,8 +1282,9 @@ if test "x$gdktarget" = "xx11"; then
AC_MSG_RESULT(no)
fi
;;
esac
esac
fi
# set up things for XInput
if test "x$with_xinput" = "xxfree" || test "x$with_xinput" = "xyes"; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment