GNOME Bugzilla – Bug 535958
configure --without-x ignored or fails
Last modified: 2019-02-23 02:41:40 UTC
Please describe the problem: If, when building on unix or linux one specifies configure --without-x (or, I suppose, leaves off --with-x), configure will attempt to find X11 libraries anyway. If it succeeds, it happily configures Makefile to use them. If it doesn't, it fails with "libX11 not found". This is likely of concern only on OSX, as other unix-like platforms need X11 for libgnomeui. The following patch corrects the failure, but the operation of --with-x is a matter for the developers to resolve. It seems to me that the AC_ARG_WITH behavior should be inverted so that --with-x is the default and --without-x prevents X11 detection. Anyway, here's the patch: Index: configure.in =================================================================== --- configure.in (revision 5608) +++ configure.in (working copy) @@ -116,7 +116,7 @@ gnome_keyring_requirement="gnome-keyring-1 >= gnome_keyring_required_version" GNOME_KEYRING="gnome-keyring-1" - if test x$GNOME_HAVE_X11 != xyes ; then + if test x$have_x != xdisabled && test x$GNOME_HAVE_X11 != xyes ; then AC_MSG_ERROR([libX11 not found]) fi ;; Steps to reproduce: 1. 2. 3. Actual results: Expected results: Does this happen every time? Other information:
libgnome and libgnomeui were only used in GNOME 2 and are not under active development anymore. Their codebases have been archived: https://gitlab.gnome.org/Archive/libgnome/commits/master https://gitlab.gnome.org/Archive/libgnomeui/commits/master Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect reality.