[gtk+] ./configure: fix error output for no -libXext



commit e84809c56a9d5e008f1dd7ec69f1fe647590a97f
Author: Ryan Lortie <desrt desrt ca>
Date:   Mon Apr 16 09:34:30 2012 -0400

    ./configure: fix error output for no -libXext
    
    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 |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 3cbfa03..4643a67 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]