It seems bad form to abort in the middle of the build though. A small
addition to configure.in makes it clearer IMO:


*** configure.in        02 Apr 2007 16:10:31 -0700      1.442
--- configure.in        19 Apr 2007 00:21:22 -0700      
***************
*** 2204,2210 ****
  
  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"${HAVE_X11R5}" = xyes; then
      AC_MSG_CHECKING(X11 version 5 with Xaw)
      AC_CACHE_VAL(emacs_cv_x11_version_5_with_xaw,
--- 2204,2210 ----
  
  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 || 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,
***************
*** 2218,2226 ****
--- 2218,2230 ----
        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



_______________________________________________
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to