comparison configure1.in @ 5662:32d7d340bec8

To define USE_X_TOOLKIT, check for $USE_X_TOOLKIT being != "no", not = "yes" (it might be "athena" or somesuch).
author Roland McGrath <roland@gnu.org>
date Sat, 22 Jan 1994 23:18:14 +0000
parents 98f1c53b0ce6
children 18518992600c
comparison
equal deleted inserted replaced
5661:066830a71a63 5662:32d7d340bec8
1 dnl This is an autoconf script. 1 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.
9 [#!/bin/sh 9 [#!/bin/sh
10 #### Configuration script for GNU Emacs 10 #### Configuration script for GNU Emacs
13 ### Don't edit this script! 13 ### Don't edit this script!
14 ### This script was automatically generated by the `autoconf' program 14 ### This script was automatically generated by the `autoconf' program
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
22 ### GNU Emacs is free software; you can redistribute it and/or modify 22 ### GNU Emacs is free software; you can redistribute it and/or modify
23 ### it under the terms of the GNU General Public License as published by 23 ### it under the terms of the GNU General Public License as published by
1393 1393
1394 [ 1394 [
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
1402 ] AC_DEFINE(HAVE_X11) [ 1402 ] AC_DEFINE(HAVE_X11) [
1403 fi 1403 fi
1491 AC_OUTPUT(Makefile lib-src/Makefile oldXMenu/Makefile lwlib/Makefile src/Makefile.in, [ 1491 AC_OUTPUT(Makefile lib-src/Makefile oldXMenu/Makefile lwlib/Makefile src/Makefile.in, [
1492 # Build src/Makefile from ${srcdir}/src/Makefile.in. This must be done 1492 # Build src/Makefile from ${srcdir}/src/Makefile.in. This must be done
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/' \
1504 -e 's/-U[0-9][^ ]*//g' \ 1504 -e 's/-U[0-9][^ ]*//g' \
1505 `" 1505 `"