mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-24 10:38:38 +00:00
Signal error if Xaw libs are missing in a Lucid build.
This commit is contained in:
parent
e45f35a0bb
commit
465ace28f8
10
configure.in
10
configure.in
@ -2206,7 +2206,7 @@ fi
|
|||||||
|
|
||||||
dnl Do not put whitespace before the #include statements below.
|
dnl Do not put whitespace before the #include statements below.
|
||||||
dnl Older compilers (eg sunos4 cc) choke on it.
|
dnl Older compilers (eg sunos4 cc) choke on it.
|
||||||
if test x"${USE_X_TOOLKIT}" = xmaybe; then
|
if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then
|
||||||
if test x"${HAVE_X11R5}" = xyes; then
|
if test x"${HAVE_X11R5}" = xyes; then
|
||||||
AC_MSG_CHECKING(X11 version 5 with Xaw)
|
AC_MSG_CHECKING(X11 version 5 with Xaw)
|
||||||
AC_CACHE_VAL(emacs_cv_x11_version_5_with_xaw,
|
AC_CACHE_VAL(emacs_cv_x11_version_5_with_xaw,
|
||||||
@ -2220,8 +2220,12 @@ if test x"${USE_X_TOOLKIT}" = xmaybe; then
|
|||||||
AC_MSG_RESULT([5 or newer, with Xaw; use toolkit by default])
|
AC_MSG_RESULT([5 or newer, with Xaw; use toolkit by default])
|
||||||
USE_X_TOOLKIT=LUCID
|
USE_X_TOOLKIT=LUCID
|
||||||
else
|
else
|
||||||
AC_MSG_RESULT(before 5 or no Xaw; do not use toolkit by default)
|
if test x"${USE_X_TOOLKIT}" = xLUCID; then
|
||||||
USE_X_TOOLKIT=none
|
AC_MSG_ERROR([Lucid toolkit requires X11/Xaw include files])
|
||||||
|
else
|
||||||
|
AC_MSG_RESULT(before 5 or no Xaw; do not use toolkit by default)
|
||||||
|
USE_X_TOOLKIT=none
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
USE_X_TOOLKIT=none
|
USE_X_TOOLKIT=none
|
||||||
|
Loading…
Reference in New Issue
Block a user