Commit d681f183 authored by Glenn Morris's avatar Glenn Morris
Browse files

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.
parent 4691905a
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)
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment