emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/configure.in,v


From: Chong Yidong
Subject: [Emacs-diffs] Changes to emacs/configure.in,v
Date: Thu, 19 Apr 2007 18:07:26 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Chong Yidong <cyd>      07/04/19 18:07:26

Index: configure.in
===================================================================
RCS file: /cvsroot/emacs/emacs/configure.in,v
retrieving revision 1.443
retrieving revision 1.444
diff -u -b -r1.443 -r1.444
--- configure.in        19 Apr 2007 17:02:37 -0000      1.443
+++ configure.in        19 Apr 2007 18:07:26 -0000      1.444
@@ -2206,7 +2206,7 @@
 
 dnl Do not put whitespace before the #include statements below.
 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
     AC_MSG_CHECKING(X11 version 5 with Xaw)
     AC_CACHE_VAL(emacs_cv_x11_version_5_with_xaw,
@@ -2220,9 +2220,13 @@
       AC_MSG_RESULT([5 or newer, with Xaw; use toolkit by default])
       USE_X_TOOLKIT=LUCID
     else
+      if test x"${USE_X_TOOLKIT}" = xLUCID; then
+        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
   else
     USE_X_TOOLKIT=none
   fi




reply via email to

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