]> git.eshelyaron.com Git - emacs.git/commitdiff
Make configure.in give an error if no X-toolkit was detected.
authorGlenn Morris <rgm@gnu.org>
Sat, 14 May 2011 19:52:13 +0000 (12:52 -0700)
committerGlenn Morris <rgm@gnu.org>
Sat, 14 May 2011 19:52:13 +0000 (12:52 -0700)
* configure.in: Treat failure to find an X toolkit the same way we treat
failure to find X and image support.

ChangeLog
configure.in

index 9fccc2e06f950671689cf6267eab217a96c4837b..86aa8222f1094714949f9e186c4ec8e8410968e7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-05-14  Glenn Morris  <rgm@gnu.org>
+
+       * 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  <rgm@gnu.org>
 
        * Makefile.in (src, install-arch-indep, bootstrap-clean)
index f46645c1bd238f2d90da1ff388ec77c06d364a7b..5d2992539f03dd81ad336759c81601ef5cd94bf1 100644 (file)
@@ -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