1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-22 10:26:20 +00:00

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.
This commit is contained in:
Glenn Morris 2011-05-14 12:52:13 -07:00
parent 4691905a95
commit d681f183cf
2 changed files with 10 additions and 2 deletions

View File

@ -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)

View 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