GNOME Bugzilla – Bug 674200
./configure gives wrong error message if -lXext is not installed
Last modified: 2012-04-20 18:40:16 UTC
we have these checks: AC_CHECK_FUNC(XOpenDisplay, :, AC_MSG_ERROR([*** libX11 not found. Check 'config.log' for more details.])) AC_CHECK_FUNC(XextFindDisplay, :, AC_MSG_ERROR([*** libXext not found. Check 'config.log' for more details.])) They both try to link '-lX11 -lXext', which means that even the first one will fail if libXext is missing, but you will get an error about missing libX11.
Created attachment 212145 [details] [review] ./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.
Review of attachment 212145 [details] [review]: sure
Attachment 212145 [details] pushed as e84809c - ./configure: fix error output for no -libXext