emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/trunk r104231: Make configure.in give an er


From: Glenn Morris
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r104231: Make configure.in give an error if no X-toolkit was detected.
Date: Sat, 14 May 2011 12:52:13 -0700
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 104231
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Sat 2011-05-14 12:52:13 -0700
message:
  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.
modified:
  ChangeLog
  configure.in
=== modified file 'ChangeLog'
--- a/ChangeLog 2011-05-12 16:30:17 +0000
+++ b/ChangeLog 2011-05-14 19:52:13 +0000
@@ -1,3 +1,8 @@
+2011-05-14  Glenn Morris  <address@hidden>
+
+       * 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  <address@hidden>
 
        * Makefile.in (src, install-arch-indep, bootstrap-clean)

=== modified file 'configure.in'
--- a/configure.in      2011-05-09 10:40:26 +0000
+++ b/configure.in      2011-05-14 19:52:13 +0000
@@ -2036,8 +2036,11 @@
     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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]