diff options
| author | Roland McGrath | 1994-01-22 23:18:14 +0000 |
|---|---|---|
| committer | Roland McGrath | 1994-01-22 23:18:14 +0000 |
| commit | d317463ce3203abf69b570e9196dc24a4ff128bd (patch) | |
| tree | 14e6cd6ac73932e4299804d756f84e7ee1bfaeeb | |
| parent | 3797b4c3fcbc84403c0110bc063effaab53b23eb (diff) | |
| download | emacs-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-x | configure1.in | 14 |
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. | |||
| 2 | dnl To rebuild the `configure' script from this, execute the command | 2 | dnl To rebuild the `configure' script from this, execute the command |
| 3 | dnl autoconf | 3 | dnl autoconf |
| 4 | dnl in the directory containing this script. You must have autoconf | 4 | dnl in the directory containing this script. You must have autoconf |
| 5 | dnl version 1.4 or later. | 5 | dnl version 1.7 or later. |
| 6 | dnl | 6 | dnl |
| 7 | dnl The following text appears in the resulting `configure' script, | 7 | dnl The following text appears in the resulting `configure' script, |
| 8 | dnl explaining how to rebuild it. | 8 | dnl 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}) | |||
| 1395 | if [ "${HAVE_X_WINDOWS}" = "yes" ] ; then | 1395 | if [ "${HAVE_X_WINDOWS}" = "yes" ] ; then |
| 1396 | ] AC_DEFINE(HAVE_X_WINDOWS) [ | 1396 | ] AC_DEFINE(HAVE_X_WINDOWS) [ |
| 1397 | fi | 1397 | fi |
| 1398 | if [ "${USE_X_TOOLKIT}" = "yes" ] ; then | 1398 | if [ "${USE_X_TOOLKIT}" != "no" ] ; then |
| 1399 | ] AC_DEFINE(USE_X_TOOLKIT) [ | 1399 | ] AC_DEFINE(USE_X_TOOLKIT) [ |
| 1400 | fi | 1400 | fi |
| 1401 | if [ "${HAVE_X11}" = "yes" ] ; then | 1401 | if [ "${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 | ||
| 1495 | changequote(,)dnl The horror, the horror. | 1495 | changequote(,)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. |
| 1501 | srcdir_undefs="`echo $top_srcdir | | 1501 | srcdir_undefs="`echo $top_srcdir | |
| 1502 | sed -e 's/[^a-zA-Z0-9_]/ /g' -e 's/ */ -U/g' \ | 1502 | sed -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/' \ |