aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland McGrath1994-01-22 23:18:14 +0000
committerRoland McGrath1994-01-22 23:18:14 +0000
commitd317463ce3203abf69b570e9196dc24a4ff128bd (patch)
tree14e6cd6ac73932e4299804d756f84e7ee1bfaeeb
parent3797b4c3fcbc84403c0110bc063effaab53b23eb (diff)
downloademacs-d317463ce3203abf69b570e9196dc24a4ff128bd.tar.gz
emacs-d317463ce3203abf69b570e9196dc24a4ff128bd.zip
To define USE_X_TOOLKIT, check for $USE_X_TOOLKIT being != "no", not =
"yes" (it might be "athena" or somesuch).
-rwxr-xr-xconfigure1.in14
1 files changed, 7 insertions, 7 deletions
diff --git a/configure1.in b/configure1.in
index 059f5d14d12..557a5563208 100755
--- a/configure1.in
+++ b/configure1.in
@@ -2,7 +2,7 @@ dnl This is an autoconf script.
2dnl To rebuild the `configure' script from this, execute the command 2dnl To rebuild the `configure' script from this, execute the command
3dnl autoconf 3dnl autoconf
4dnl in the directory containing this script. You must have autoconf 4dnl in the directory containing this script. You must have autoconf
5dnl version 1.4 or later. 5dnl version 1.7 or later.
6dnl 6dnl
7dnl The following text appears in the resulting `configure' script, 7dnl The following text appears in the resulting `configure' script,
8dnl explaining how to rebuild it. 8dnl explaining how to rebuild it.
@@ -15,7 +15,7 @@ dnl explaining how to rebuild it.
15### from the file `./configure.in'. 15### from the file `./configure.in'.
16### To rebuild it, execute the command 16### To rebuild it, execute the command
17### autoconf 17### autoconf
18### in the this directory. You must have autoconf version 1.4 or later. 18### in the this directory. You must have autoconf version 1.7 or later.
19 19
20### This file is part of GNU Emacs. 20### This file is part of GNU Emacs.
21 21
@@ -1395,7 +1395,7 @@ AC_DEFINE_UNQUOTED(UNEXEC_SRC, ${UNEXEC_SRC})
1395if [ "${HAVE_X_WINDOWS}" = "yes" ] ; then 1395if [ "${HAVE_X_WINDOWS}" = "yes" ] ; then
1396 ] AC_DEFINE(HAVE_X_WINDOWS) [ 1396 ] AC_DEFINE(HAVE_X_WINDOWS) [
1397fi 1397fi
1398if [ "${USE_X_TOOLKIT}" = "yes" ] ; then 1398if [ "${USE_X_TOOLKIT}" != "no" ] ; then
1399 ] AC_DEFINE(USE_X_TOOLKIT) [ 1399 ] AC_DEFINE(USE_X_TOOLKIT) [
1400fi 1400fi
1401if [ "${HAVE_X11}" = "yes" ] ; then 1401if [ "${HAVE_X11}" = "yes" ] ; then
@@ -1493,11 +1493,11 @@ AC_OUTPUT(Makefile lib-src/Makefile oldXMenu/Makefile lwlib/Makefile src/Makefil
1493# after src/config.h is built, since we rely on that file. 1493# after src/config.h is built, since we rely on that file.
1494 1494
1495changequote(,)dnl The horror, the horror. 1495changequote(,)dnl The horror, the horror.
1496# Now get this: Some word that is part of the ${srcdir} directory name 1496# Now get this: Some word that is part of the ${srcdir} directory name might,
1497# might, just might, happen to be an identifier like `i386' or something, 1497# just might, happen to be an identifier like `sun4' or `i386' or something,
1498# and be predefined by the C preprocessor to some helpful value like 1, or 1498# and be predefined by the C preprocessor to some helpful value like 1, or
1499# maybe the empty string. Needless to say consequent macro substitutions 1499# maybe the empty string. Needless to say consequent macro substitutions are
1500# are less than conducive to the makefile finding the correct directory. 1500# less than conducive to the makefile finding the correct directory.
1501srcdir_undefs="`echo $top_srcdir | 1501srcdir_undefs="`echo $top_srcdir |
1502sed -e 's/[^a-zA-Z0-9_]/ /g' -e 's/ */ -U/g' \ 1502sed -e 's/[^a-zA-Z0-9_]/ /g' -e 's/ */ -U/g' \
1503 -e 's/ -U$//' -e 's/^[^ ]/-U/' \ 1503 -e 's/ -U$//' -e 's/^[^ ]/-U/' \