From: Glenn Morris Date: Sat, 14 May 2011 19:52:13 +0000 (-0700) Subject: Make configure.in give an error if no X-toolkit was detected. X-Git-Tag: emacs-pretest-24.0.90~104^2~618^2~269 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d681f183cfe5347915f74a38078cb13f8c4ce2c2;p=emacs.git Make configure.in give an error if no X-toolkit was detected. * configure.in: Treat failure to find an X toolkit the same way we treat failure to find X and image support. --- diff --git a/ChangeLog b/ChangeLog index 9fccc2e06f9..86aa8222f10 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-05-14 Glenn Morris + + * configure.in: Treat failure to find an X toolkit the same way we treat + failure to find X and image support. + 2011-05-12 Glenn Morris * Makefile.in (src, install-arch-indep, bootstrap-clean) diff --git a/configure.in b/configure.in index f46645c1bd2..5d2992539f0 100644 --- a/configure.in +++ b/configure.in @@ -2036,8 +2036,11 @@ if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then elif test x"${USE_X_TOOLKIT}" = xLUCID; then AC_MSG_ERROR([Lucid toolkit requires X11/Xaw include files]) else - AC_MSG_RESULT([no; do not use toolkit by default]) - USE_X_TOOLKIT=none + AC_MSG_ERROR([No X toolkit could be found. +If you are sure you want Emacs compiled without an X toolkit, pass + --with-x-toolkit=no +to configure. Otherwise, install the development libraries for the toolkit +that you want to use (e.g. Gtk+) and re-run configure.]) fi fi fi