]> Pileus Git - ~andy/gtk/commitdiff
./configure: fix error output for no -libXext
authorRyan Lortie <desrt@desrt.ca>
Mon, 16 Apr 2012 13:34:30 +0000 (09:34 -0400)
committerRyan Lortie <desrt@desrt.ca>
Fri, 20 Apr 2012 18:38:47 +0000 (14:38 -0400)
Due to the way the tests are structured, a missing libXext will give a
warning about a missing libX11 (even if libX11 is installed).  This is
confusing to people who are trying to build Gtk.

https://bugzilla.gnome.org/show_bug.cgi?id=674200

configure.ac

index 3cbfa036d6065dbb5b4c5821c88f7e6d51eb92af..4643a67b640743a24e96478f7a53dbacb15e70ca 100644 (file)
@@ -976,9 +976,9 @@ if test "x$enable_x11_backend" = xyes; then
   # Xext is optional, the chances a system has *none* of these things is so
   # small that we just unconditionally require it.
   AC_CHECK_FUNC(XOpenDisplay, :,
-                AC_MSG_ERROR([*** libX11 not found. Check 'config.log' for more details.]))
+                AC_MSG_ERROR([*** libX11 and libXext not found. Check 'config.log' for more details.]))
   AC_CHECK_FUNC(XextFindDisplay, :,
-                AC_MSG_ERROR([*** libXext not found. Check 'config.log' for more details.]))
+                AC_MSG_ERROR([*** libX11 and libXext not found. Check 'config.log' for more details.]))
 
   # Check for xReply