diff options
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | configure.in | 7 |
2 files changed, 10 insertions, 2 deletions
| @@ -1,3 +1,8 @@ | |||
| 1 | 2011-05-14 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * configure.in: Treat failure to find an X toolkit the same way we treat | ||
| 4 | failure to find X and image support. | ||
| 5 | |||
| 1 | 2011-05-12 Glenn Morris <rgm@gnu.org> | 6 | 2011-05-12 Glenn Morris <rgm@gnu.org> |
| 2 | 7 | ||
| 3 | * Makefile.in (src, install-arch-indep, bootstrap-clean) | 8 | * 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 | |||
| 2036 | elif test x"${USE_X_TOOLKIT}" = xLUCID; then | 2036 | elif test x"${USE_X_TOOLKIT}" = xLUCID; then |
| 2037 | AC_MSG_ERROR([Lucid toolkit requires X11/Xaw include files]) | 2037 | AC_MSG_ERROR([Lucid toolkit requires X11/Xaw include files]) |
| 2038 | else | 2038 | else |
| 2039 | AC_MSG_RESULT([no; do not use toolkit by default]) | 2039 | AC_MSG_ERROR([No X toolkit could be found. |
| 2040 | USE_X_TOOLKIT=none | 2040 | If you are sure you want Emacs compiled without an X toolkit, pass |
| 2041 | --with-x-toolkit=no | ||
| 2042 | to configure. Otherwise, install the development libraries for the toolkit | ||
| 2043 | that you want to use (e.g. Gtk+) and re-run configure.]) | ||
| 2041 | fi | 2044 | fi |
| 2042 | fi | 2045 | fi |
| 2043 | fi | 2046 | fi |