summaryrefslogtreecommitdiff
blob: 97efd70c60d72acbd56ca827cefd8d0b2b1add34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
This makes both --with-xinerama and --without-xinerama work.

--- old-X11-1.4.2/configure.ac	2008-05-24 13:25:52.000000000 +0200
+++ new-X11-1.4.2/configure.ac	2008-05-24 13:25:52.000000000 +0200
@@ -56,11 +56,11 @@
 AC_MSG_CHECKING([whether to build Xinerama])
 AC_ARG_WITH(xinerama,
             AS_HELP_STRING([--without-xinerama], [do not build Xinerama support]),
-            want_xinerama=no,
-            want_xinerama=yes)
-AC_MSG_RESULT([$want_xinerama])
+            [],
+            [with_xinerama=yes])
+AC_MSG_RESULT([$with_xinerama])
 
-if test "$want_xinerama" = yes; then
+if test "$with_xinerama" = yes; then
     AC_CHECK_HEADERS([X11/extensions/Xinerama.h], [have_xinerama=yes])
     if test "$have_xinerama" = yes; then
         EXTRA_LIBRARIES="extra-libraries: Xinerama Xext"