configure.in: don't look for X11 on W32 (cherry picked from commit 73730866ec198ac4c2...
authorMarc Mutz <marc@kdab.net>
Fri, 17 Apr 2009 18:02:36 +0000 (20:02 +0200)
committerRalf Habacker <ralf.habacker@freenet.de>
Tue, 1 Dec 2009 07:36:28 +0000 (08:36 +0100)
configure.in

index a8177db..f71c474 100644 (file)
@@ -944,6 +944,9 @@ AC_SUBST(DBUS_TEST_CFLAGS)
 AC_SUBST(DBUS_TEST_LIBS)
 
 ### X11 detection
+if test x$dbus_win = xyes ; then
+   enable_x11=no
+else
 AC_PATH_XTRA
 
 ## for now enable_x11 just tracks have_x11, 
@@ -967,6 +970,7 @@ fi
 
 AC_SUBST(DBUS_X_CFLAGS)
 AC_SUBST(DBUS_X_LIBS)
+fi
 
 
 #### gcc warning flags