annotate configure1.in @ 3137:1e7d462c176f

(hexlify-command, dehexlify-command): Use exec-directory.
author Richard M. Stallman <rms@gnu.org>
date Wed, 26 May 1993 21:17:31 +0000
parents e6338dd6e55f
children 198e8fd690de
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2984
bc54386e4fb2 * configure.in: Explain that this is an autoconf script.
Jim Blandy <jimb@redhat.com>
parents: 2983
diff changeset
1 dnl This is an autoconf script.
2985
77adcc23ca44 * configure.in: Explain that this is an autoconf script, and give
Jim Blandy <jimb@redhat.com>
parents: 2984
diff changeset
2 dnl To rebuild the `configure' script from this, execute the command
77adcc23ca44 * configure.in: Explain that this is an autoconf script, and give
Jim Blandy <jimb@redhat.com>
parents: 2984
diff changeset
3 dnl autoconf
77adcc23ca44 * configure.in: Explain that this is an autoconf script, and give
Jim Blandy <jimb@redhat.com>
parents: 2984
diff changeset
4 dnl in the directory containing this script. You must have autoconf
77adcc23ca44 * configure.in: Explain that this is an autoconf script, and give
Jim Blandy <jimb@redhat.com>
parents: 2984
diff changeset
5 dnl version 1.4 or later.
77adcc23ca44 * configure.in: Explain that this is an autoconf script, and give
Jim Blandy <jimb@redhat.com>
parents: 2984
diff changeset
6 dnl
77adcc23ca44 * configure.in: Explain that this is an autoconf script, and give
Jim Blandy <jimb@redhat.com>
parents: 2984
diff changeset
7 dnl The following text appears in the resulting `configure' script,
77adcc23ca44 * configure.in: Explain that this is an autoconf script, and give
Jim Blandy <jimb@redhat.com>
parents: 2984
diff changeset
8 dnl explaining how to rebuild it.
2983
355fee3a2100 * configure.in: Make the first line of the configure script be
Jim Blandy <jimb@redhat.com>
parents: 2975
diff changeset
9 [#!/bin/sh
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
10 #### Configuration script for GNU Emacs
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
11 #### Copyright (C) 1992 Free Software Foundation, Inc.
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
12
2985
77adcc23ca44 * configure.in: Explain that this is an autoconf script, and give
Jim Blandy <jimb@redhat.com>
parents: 2984
diff changeset
13 ### Don't edit this script!
77adcc23ca44 * configure.in: Explain that this is an autoconf script, and give
Jim Blandy <jimb@redhat.com>
parents: 2984
diff changeset
14 ### This script was automatically generated by the `autoconf' program
77adcc23ca44 * configure.in: Explain that this is an autoconf script, and give
Jim Blandy <jimb@redhat.com>
parents: 2984
diff changeset
15 ### from the file `./configure.in'.
77adcc23ca44 * configure.in: Explain that this is an autoconf script, and give
Jim Blandy <jimb@redhat.com>
parents: 2984
diff changeset
16 ### To rebuild it, execute the command
77adcc23ca44 * configure.in: Explain that this is an autoconf script, and give
Jim Blandy <jimb@redhat.com>
parents: 2984
diff changeset
17 ### autoconf
77adcc23ca44 * configure.in: Explain that this is an autoconf script, and give
Jim Blandy <jimb@redhat.com>
parents: 2984
diff changeset
18 ### in the this directory. You must have autoconf version 1.4 or later.
77adcc23ca44 * configure.in: Explain that this is an autoconf script, and give
Jim Blandy <jimb@redhat.com>
parents: 2984
diff changeset
19
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
20 ### This file is part of GNU Emacs.
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
21
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
22 ### GNU Emacs is free software; you can redistribute it and/or modify
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
23 ### it under the terms of the GNU General Public License as published by
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
24 ### the Free Software Foundation; either version 1, or (at your option)
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
25 ### any later version.
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
26
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
27 ### GNU Emacs is distributed in the hope that it will be useful,
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
28 ### but WITHOUT ANY WARRANTY; without even the implied warranty of
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
29 ### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
30 ### GNU General Public License for more details.
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
31
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
32 ### You should have received a copy of the GNU General Public License
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
33 ### along with GNU Emacs; see the file COPYING. If not, write to
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
34 ### the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
35
2499
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
36
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
37 ### Since Emacs has configuration requirements that autoconf can't
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
38 ### meet, this file is an unholy marriage of custom-baked
3011
27557cd47d75 * configure.in: Doc fix.
Jim Blandy <jimb@redhat.com>
parents: 3010
diff changeset
39 ### configuration code and autoconf macros.
2499
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
40 ###
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
41 ### We use the m4 quoting characters [ ] (as established by the
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
42 ### autoconf system) to include large sections of raw sewage - Oops, I
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
43 ### mean, shell code - in the final configuration script.
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
44 ###
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
45 ### Usage: configure config_name
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
46 ###
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
47 ### If configure succeeds, it leaves its status in config.status.
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
48 ### If configure fails after disturbing the status quo,
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
49 ### config.status is removed.
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
50
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
51
2100
4c081de167f4 * configure: Recognize strings like "sysvr0" or "sysvr1" as System V.
Jim Blandy <jimb@redhat.com>
parents: 2007
diff changeset
52 ### Remove any more than one leading "." element from the path name.
4c081de167f4 * configure: Recognize strings like "sysvr0" or "sysvr1" as System V.
Jim Blandy <jimb@redhat.com>
parents: 2007
diff changeset
53 ### If we don't remove them, then another "./" will be prepended to
4c081de167f4 * configure: Recognize strings like "sysvr0" or "sysvr1" as System V.
Jim Blandy <jimb@redhat.com>
parents: 2007
diff changeset
54 ### the file name each time we use config.status, and the program name
4c081de167f4 * configure: Recognize strings like "sysvr0" or "sysvr1" as System V.
Jim Blandy <jimb@redhat.com>
parents: 2007
diff changeset
55 ### will get larger and larger. This wouldn't be a problem, except
4c081de167f4 * configure: Recognize strings like "sysvr0" or "sysvr1" as System V.
Jim Blandy <jimb@redhat.com>
parents: 2007
diff changeset
56 ### that since progname gets recorded in all the Makefiles this script
4c081de167f4 * configure: Recognize strings like "sysvr0" or "sysvr1" as System V.
Jim Blandy <jimb@redhat.com>
parents: 2007
diff changeset
57 ### produces, move-if-change thinks they're different when they're
4c081de167f4 * configure: Recognize strings like "sysvr0" or "sysvr1" as System V.
Jim Blandy <jimb@redhat.com>
parents: 2007
diff changeset
58 ### not.
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
59 ###
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
60 ### It would be nice if we could put the ./ in a \( \) group and then
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
61 ### apply the * operator to that, so we remove as many leading ./././'s
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
62 ### as are present, but some seds (like Ultrix's sed) don't allow you to
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
63 ### apply * to a \( \) group. Bleah.
2100
4c081de167f4 * configure: Recognize strings like "sysvr0" or "sysvr1" as System V.
Jim Blandy <jimb@redhat.com>
parents: 2007
diff changeset
64 progname="`echo $0 | sed 's:^\./\./:\./:'`"
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
65
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
66
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
67 #### Usage messages.
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
68
2975
11c21b4d400d * configure.in (long_usage): Removed; made short_usage describe
Jim Blandy <jimb@redhat.com>
parents: 2973
diff changeset
69 short_usage="Usage: ${progname} CONFIGURATION [-OPTION[=VALUE] ...]
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
70
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
71 Set compilation and installation parameters for GNU Emacs, and report.
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
72 CONFIGURATION specifies the machine and operating system to build for.
2975
11c21b4d400d * configure.in (long_usage): Removed; made short_usage describe
Jim Blandy <jimb@redhat.com>
parents: 2973
diff changeset
73 --with-x Support the X Window System.
3082
950a86899def Fix some messages. Support -with-gnu-cc.
Richard M. Stallman <rms@gnu.org>
parents: 3078
diff changeset
74 --with-x=no Don't support X.
950a86899def Fix some messages. Support -with-gnu-cc.
Richard M. Stallman <rms@gnu.org>
parents: 3078
diff changeset
75 --x-includes=DIR Search for X header files in DIR.
950a86899def Fix some messages. Support -with-gnu-cc.
Richard M. Stallman <rms@gnu.org>
parents: 3078
diff changeset
76 --x-libraries=DIR Search for X libraries in DIR.
2975
11c21b4d400d * configure.in (long_usage): Removed; made short_usage describe
Jim Blandy <jimb@redhat.com>
parents: 2973
diff changeset
77 --with-gcc Use GCC to compile Emacs.
11c21b4d400d * configure.in (long_usage): Removed; made short_usage describe
Jim Blandy <jimb@redhat.com>
parents: 2973
diff changeset
78 --with-gcc=no Don't use GCC to compile Emacs.
11c21b4d400d * configure.in (long_usage): Removed; made short_usage describe
Jim Blandy <jimb@redhat.com>
parents: 2973
diff changeset
79 --run-in-place Use libraries and data files directly out of the
11c21b4d400d * configure.in (long_usage): Removed; made short_usage describe
Jim Blandy <jimb@redhat.com>
parents: 2973
diff changeset
80 source tree.
11c21b4d400d * configure.in (long_usage): Removed; made short_usage describe
Jim Blandy <jimb@redhat.com>
parents: 2973
diff changeset
81 --srcdir=DIR Look for source in DIR.
11c21b4d400d * configure.in (long_usage): Removed; made short_usage describe
Jim Blandy <jimb@redhat.com>
parents: 2973
diff changeset
82 --prefix=DIR Install files below dir.
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
83
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
84 If successful, ${progname} leaves its status in config.status. If
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
85 unsuccessful after disturbing the status quo, it removes config.status."
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
86
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
87
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
88 #### Option processing.
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
89
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
90 ### Record all the arguments, so we can save them in config.status.
1423
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
91 arguments="$@"
638
40b255f55df3 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 621
diff changeset
92
2624
5de08620df66 * configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents: 2516
diff changeset
93 ### These values are used to comment and uncomment different values
5de08620df66 * configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents: 2516
diff changeset
94 ### for the path variables in the Makefile, to choose the installed
5de08620df66 * configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents: 2516
diff changeset
95 ### configuration or the run-in-place configuration.
5de08620df66 * configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents: 2516
diff changeset
96 rip_paths='#disabled# '
5de08620df66 * configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents: 2516
diff changeset
97 inst_paths=''
5de08620df66 * configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents: 2516
diff changeset
98
2975
11c21b4d400d * configure.in (long_usage): Removed; made short_usage describe
Jim Blandy <jimb@redhat.com>
parents: 2973
diff changeset
99 ### Establish some default values.
11c21b4d400d * configure.in (long_usage): Removed; made short_usage describe
Jim Blandy <jimb@redhat.com>
parents: 2973
diff changeset
100 prefix='/usr/local'
3010
4ca5a6bd174b * configure.in: Add support for the `--exec-prefix' option.
Jim Blandy <jimb@redhat.com>
parents: 3006
diff changeset
101 exec_prefix='${prefix}'
2975
11c21b4d400d * configure.in (long_usage): Removed; made short_usage describe
Jim Blandy <jimb@redhat.com>
parents: 2973
diff changeset
102
621
eca8812e61cd *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
103 while [ $# != 0 ]; do
eca8812e61cd *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
104 arg="$1"
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
105 case "${arg}" in
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
106
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
107 ## Anything starting with a hyphen we assume is an option.
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
108 -* )
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
109
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
110 ## Separate the switch name from the value it's being given.
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
111 case "${arg}" in
1139
4875b01ff377 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 1112
diff changeset
112 -*=*)
1423
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
113 opt=`echo ${arg} | sed 's:^-*\([^=]*\)=.*$:\1:'`
1139
4875b01ff377 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 1112
diff changeset
114 val=`echo ${arg} | sed 's:^-*[^=]*=\(.*\)$:\1:'`
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
115 valomitted=no
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
116 ;;
1139
4875b01ff377 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 1112
diff changeset
117 -*)
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
118 ## If FOO is a boolean argument, --FOO is equivalent to
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
119 ## --FOO=yes. Otherwise, the value comes from the next
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
120 ## argument - see below.
1423
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
121 opt=`echo ${arg} | sed 's:^-*\(.*\)$:\1:'`
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
122 val="yes"
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
123 valomitted=yes
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
124 ;;
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
125 esac
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
126
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
127 ## Change `-' in the option name to `_'.
2345
91711632f474 * configure: Doc fix.
Jim Blandy <jimb@redhat.com>
parents: 2333
diff changeset
128 optname="${opt}"
1423
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
129 opt="`echo ${opt} | tr - _`"
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
130
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
131 ## Process the option.
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
132 case "${opt}" in
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
133
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
134 ## Has the user specified which window systems they want to support?
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
135 "with_x" | "with_x11" | "with_x10" )
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
136 ## Make sure the value given was either "yes" or "no".
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
137 case "${val}" in
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
138 y | ye | yes ) val=yes ;;
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
139 n | no ) val=no ;;
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
140 * )
2345
91711632f474 * configure: Doc fix.
Jim Blandy <jimb@redhat.com>
parents: 2333
diff changeset
141 (echo "${progname}: the \`--${optname}' option is supposed to have a boolean value.
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
142 Set it to either \`yes' or \`no'."
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
143 echo "${short_usage}") >&2
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
144 exit 1
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
145 ;;
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
146 esac
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
147 eval "${opt}=\"${val}\""
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
148 ;;
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
149
1859
bf9e3f462e86 * configure (progname): New option `--with-gcc'. Make it clearer
Jim Blandy <jimb@redhat.com>
parents: 1699
diff changeset
150 ## Has the user specified whether or not they want GCC?
3082
950a86899def Fix some messages. Support -with-gnu-cc.
Richard M. Stallman <rms@gnu.org>
parents: 3078
diff changeset
151 "with_gcc" | "with_gnu_cc" )
1859
bf9e3f462e86 * configure (progname): New option `--with-gcc'. Make it clearer
Jim Blandy <jimb@redhat.com>
parents: 1699
diff changeset
152 ## Make sure the value given was either "yes" or "no".
bf9e3f462e86 * configure (progname): New option `--with-gcc'. Make it clearer
Jim Blandy <jimb@redhat.com>
parents: 1699
diff changeset
153 case "${val}" in
bf9e3f462e86 * configure (progname): New option `--with-gcc'. Make it clearer
Jim Blandy <jimb@redhat.com>
parents: 1699
diff changeset
154 y | ye | yes ) val=yes ;;
bf9e3f462e86 * configure (progname): New option `--with-gcc'. Make it clearer
Jim Blandy <jimb@redhat.com>
parents: 1699
diff changeset
155 n | no ) val=no ;;
bf9e3f462e86 * configure (progname): New option `--with-gcc'. Make it clearer
Jim Blandy <jimb@redhat.com>
parents: 1699
diff changeset
156 * )
2345
91711632f474 * configure: Doc fix.
Jim Blandy <jimb@redhat.com>
parents: 2333
diff changeset
157 (echo "${progname}: the \`--${optname}' option is supposed to have a boolean value.
1859
bf9e3f462e86 * configure (progname): New option `--with-gcc'. Make it clearer
Jim Blandy <jimb@redhat.com>
parents: 1699
diff changeset
158 Set it to either \`yes' or \`no'."
bf9e3f462e86 * configure (progname): New option `--with-gcc'. Make it clearer
Jim Blandy <jimb@redhat.com>
parents: 1699
diff changeset
159 echo "${short_usage}") >&2
bf9e3f462e86 * configure (progname): New option `--with-gcc'. Make it clearer
Jim Blandy <jimb@redhat.com>
parents: 1699
diff changeset
160 exit 1
bf9e3f462e86 * configure (progname): New option `--with-gcc'. Make it clearer
Jim Blandy <jimb@redhat.com>
parents: 1699
diff changeset
161 ;;
bf9e3f462e86 * configure (progname): New option `--with-gcc'. Make it clearer
Jim Blandy <jimb@redhat.com>
parents: 1699
diff changeset
162 esac
bf9e3f462e86 * configure (progname): New option `--with-gcc'. Make it clearer
Jim Blandy <jimb@redhat.com>
parents: 1699
diff changeset
163 eval "${opt}=\"${val}\""
bf9e3f462e86 * configure (progname): New option `--with-gcc'. Make it clearer
Jim Blandy <jimb@redhat.com>
parents: 1699
diff changeset
164 ;;
bf9e3f462e86 * configure (progname): New option `--with-gcc'. Make it clearer
Jim Blandy <jimb@redhat.com>
parents: 1699
diff changeset
165
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
166 ## Has the user specified a source directory?
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
167 "srcdir" )
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
168 ## If the value was omitted, get it from the next argument.
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
169 if [ "${valomitted}" = "yes" ]; then
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
170 ## Get the next argument from the argument list, if there is one.
621
eca8812e61cd *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
171 if [ $# = 1 ]; then
2345
91711632f474 * configure: Doc fix.
Jim Blandy <jimb@redhat.com>
parents: 2333
diff changeset
172 (echo "${progname}: You must give a value for the \`--${optname}' option, as in
91711632f474 * configure: Doc fix.
Jim Blandy <jimb@redhat.com>
parents: 2333
diff changeset
173 \`--${optname}=FOO'."
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
174 echo "${short_usage}") >&2
621
eca8812e61cd *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
175 exit 1
eca8812e61cd *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
176 fi
eca8812e61cd *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
177 shift; val="$1"
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
178 fi
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
179 srcdir="${val}"
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
180 ;;
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
181
2329
b8028b77b69a * configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents: 2244
diff changeset
182 ## Has the user tried to tell us where the X files are?
b8028b77b69a * configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents: 2244
diff changeset
183 ## I think these are dopey, but no less than three alpha
b8028b77b69a * configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents: 2244
diff changeset
184 ## testers, at large sites, have said they have their X files
b8028b77b69a * configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents: 2244
diff changeset
185 ## installed in odd places.
2345
91711632f474 * configure: Doc fix.
Jim Blandy <jimb@redhat.com>
parents: 2333
diff changeset
186 "x_includes" )
2329
b8028b77b69a * configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents: 2244
diff changeset
187 ## If the value was omitted, get it from the next argument.
b8028b77b69a * configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents: 2244
diff changeset
188 if [ "${valomitted}" = "yes" ]; then
b8028b77b69a * configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents: 2244
diff changeset
189 ## Get the next argument from the argument list, if there is one.
b8028b77b69a * configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents: 2244
diff changeset
190 if [ $# = 1 ]; then
2345
91711632f474 * configure: Doc fix.
Jim Blandy <jimb@redhat.com>
parents: 2333
diff changeset
191 (echo "${progname}: You must give a value for the \`--${optname}' option, as in
91711632f474 * configure: Doc fix.
Jim Blandy <jimb@redhat.com>
parents: 2333
diff changeset
192 \`--${optname}=FOO'."
2329
b8028b77b69a * configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents: 2244
diff changeset
193 echo "${short_usage}") >&2
b8028b77b69a * configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents: 2244
diff changeset
194 exit 1
b8028b77b69a * configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents: 2244
diff changeset
195 fi
b8028b77b69a * configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents: 2244
diff changeset
196 shift; val="$1"
b8028b77b69a * configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents: 2244
diff changeset
197 fi
b8028b77b69a * configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents: 2244
diff changeset
198 x_includes="${val}"
2330
4420aeeb8ff9 * configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents: 2329
diff changeset
199 C_SWITCH_X_SITE="-I${x_includes}"
2329
b8028b77b69a * configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents: 2244
diff changeset
200 ;;
2345
91711632f474 * configure: Doc fix.
Jim Blandy <jimb@redhat.com>
parents: 2333
diff changeset
201 "x_libraries" )
2329
b8028b77b69a * configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents: 2244
diff changeset
202 ## If the value was omitted, get it from the next argument.
b8028b77b69a * configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents: 2244
diff changeset
203 if [ "${valomitted}" = "yes" ]; then
b8028b77b69a * configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents: 2244
diff changeset
204 ## Get the next argument from the argument list, if there is one.
b8028b77b69a * configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents: 2244
diff changeset
205 if [ $# = 1 ]; then
2345
91711632f474 * configure: Doc fix.
Jim Blandy <jimb@redhat.com>
parents: 2333
diff changeset
206 (echo "${progname}: You must give a value for the \`--${optname}' option, as in
91711632f474 * configure: Doc fix.
Jim Blandy <jimb@redhat.com>
parents: 2333
diff changeset
207 \`--${optname}=FOO'."
2329
b8028b77b69a * configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents: 2244
diff changeset
208 echo "${short_usage}") >&2
b8028b77b69a * configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents: 2244
diff changeset
209 exit 1
b8028b77b69a * configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents: 2244
diff changeset
210 fi
b8028b77b69a * configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents: 2244
diff changeset
211 shift; val="$1"
b8028b77b69a * configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents: 2244
diff changeset
212 fi
b8028b77b69a * configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents: 2244
diff changeset
213 x_libraries="${val}"
2330
4420aeeb8ff9 * configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents: 2329
diff changeset
214 LD_SWITCH_X_SITE="-L${x_libraries}"
2329
b8028b77b69a * configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents: 2244
diff changeset
215 ;;
b8028b77b69a * configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents: 2244
diff changeset
216
2624
5de08620df66 * configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents: 2516
diff changeset
217 ## Should this use the "development configuration"?
5de08620df66 * configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents: 2516
diff changeset
218 "run_in_place" )
5de08620df66 * configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents: 2516
diff changeset
219 rip_paths=''
5de08620df66 * configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents: 2516
diff changeset
220 inst_paths='#disabled# '
5de08620df66 * configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents: 2516
diff changeset
221 ;;
5de08620df66 * configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents: 2516
diff changeset
222
2975
11c21b4d400d * configure.in (long_usage): Removed; made short_usage describe
Jim Blandy <jimb@redhat.com>
parents: 2973
diff changeset
223 ## Has the user specifiec an installation prefix?
11c21b4d400d * configure.in (long_usage): Removed; made short_usage describe
Jim Blandy <jimb@redhat.com>
parents: 2973
diff changeset
224 "prefix" )
11c21b4d400d * configure.in (long_usage): Removed; made short_usage describe
Jim Blandy <jimb@redhat.com>
parents: 2973
diff changeset
225 ## If the value was omitted, get it from the next argument.
11c21b4d400d * configure.in (long_usage): Removed; made short_usage describe
Jim Blandy <jimb@redhat.com>
parents: 2973
diff changeset
226 if [ "${valomitted}" = "yes" ]; then
11c21b4d400d * configure.in (long_usage): Removed; made short_usage describe
Jim Blandy <jimb@redhat.com>
parents: 2973
diff changeset
227 ## Get the next argument from the argument list, if there is one.
11c21b4d400d * configure.in (long_usage): Removed; made short_usage describe
Jim Blandy <jimb@redhat.com>
parents: 2973
diff changeset
228 if [ $# = 1 ]; then
11c21b4d400d * configure.in (long_usage): Removed; made short_usage describe
Jim Blandy <jimb@redhat.com>
parents: 2973
diff changeset
229 (echo "${progname}: You must give a value for the \`--${optname}' option, as in
11c21b4d400d * configure.in (long_usage): Removed; made short_usage describe
Jim Blandy <jimb@redhat.com>
parents: 2973
diff changeset
230 \`--${optname}=FOO'."
11c21b4d400d * configure.in (long_usage): Removed; made short_usage describe
Jim Blandy <jimb@redhat.com>
parents: 2973
diff changeset
231 echo "${short_usage}") >&2
11c21b4d400d * configure.in (long_usage): Removed; made short_usage describe
Jim Blandy <jimb@redhat.com>
parents: 2973
diff changeset
232 exit 1
11c21b4d400d * configure.in (long_usage): Removed; made short_usage describe
Jim Blandy <jimb@redhat.com>
parents: 2973
diff changeset
233 fi
11c21b4d400d * configure.in (long_usage): Removed; made short_usage describe
Jim Blandy <jimb@redhat.com>
parents: 2973
diff changeset
234 shift; val="$1"
11c21b4d400d * configure.in (long_usage): Removed; made short_usage describe
Jim Blandy <jimb@redhat.com>
parents: 2973
diff changeset
235 fi
11c21b4d400d * configure.in (long_usage): Removed; made short_usage describe
Jim Blandy <jimb@redhat.com>
parents: 2973
diff changeset
236 prefix="${val}"
11c21b4d400d * configure.in (long_usage): Removed; made short_usage describe
Jim Blandy <jimb@redhat.com>
parents: 2973
diff changeset
237 ;;
11c21b4d400d * configure.in (long_usage): Removed; made short_usage describe
Jim Blandy <jimb@redhat.com>
parents: 2973
diff changeset
238
3010
4ca5a6bd174b * configure.in: Add support for the `--exec-prefix' option.
Jim Blandy <jimb@redhat.com>
parents: 3006
diff changeset
239 ## Has the user specifiec an installation prefix?
4ca5a6bd174b * configure.in: Add support for the `--exec-prefix' option.
Jim Blandy <jimb@redhat.com>
parents: 3006
diff changeset
240 "exec_prefix" )
4ca5a6bd174b * configure.in: Add support for the `--exec-prefix' option.
Jim Blandy <jimb@redhat.com>
parents: 3006
diff changeset
241 ## If the value was omitted, get it from the next argument.
4ca5a6bd174b * configure.in: Add support for the `--exec-prefix' option.
Jim Blandy <jimb@redhat.com>
parents: 3006
diff changeset
242 if [ "${valomitted}" = "yes" ]; then
4ca5a6bd174b * configure.in: Add support for the `--exec-prefix' option.
Jim Blandy <jimb@redhat.com>
parents: 3006
diff changeset
243 ## Get the next argument from the argument list, if there is one.
4ca5a6bd174b * configure.in: Add support for the `--exec-prefix' option.
Jim Blandy <jimb@redhat.com>
parents: 3006
diff changeset
244 if [ $# = 1 ]; then
4ca5a6bd174b * configure.in: Add support for the `--exec-prefix' option.
Jim Blandy <jimb@redhat.com>
parents: 3006
diff changeset
245 (echo "${progname}: You must give a value for the \`--${optname}' option, as in
4ca5a6bd174b * configure.in: Add support for the `--exec-prefix' option.
Jim Blandy <jimb@redhat.com>
parents: 3006
diff changeset
246 \`--${optname}=FOO'."
4ca5a6bd174b * configure.in: Add support for the `--exec-prefix' option.
Jim Blandy <jimb@redhat.com>
parents: 3006
diff changeset
247 echo "${short_usage}") >&2
4ca5a6bd174b * configure.in: Add support for the `--exec-prefix' option.
Jim Blandy <jimb@redhat.com>
parents: 3006
diff changeset
248 exit 1
4ca5a6bd174b * configure.in: Add support for the `--exec-prefix' option.
Jim Blandy <jimb@redhat.com>
parents: 3006
diff changeset
249 fi
4ca5a6bd174b * configure.in: Add support for the `--exec-prefix' option.
Jim Blandy <jimb@redhat.com>
parents: 3006
diff changeset
250 shift; val="$1"
4ca5a6bd174b * configure.in: Add support for the `--exec-prefix' option.
Jim Blandy <jimb@redhat.com>
parents: 3006
diff changeset
251 fi
4ca5a6bd174b * configure.in: Add support for the `--exec-prefix' option.
Jim Blandy <jimb@redhat.com>
parents: 3006
diff changeset
252 exec_prefix="${val}"
4ca5a6bd174b * configure.in: Add support for the `--exec-prefix' option.
Jim Blandy <jimb@redhat.com>
parents: 3006
diff changeset
253 ;;
4ca5a6bd174b * configure.in: Add support for the `--exec-prefix' option.
Jim Blandy <jimb@redhat.com>
parents: 3006
diff changeset
254
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
255 ## Has the user asked for some help?
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
256 "usage" | "help" )
2975
11c21b4d400d * configure.in (long_usage): Removed; made short_usage describe
Jim Blandy <jimb@redhat.com>
parents: 2973
diff changeset
257 echo "${short_usage}" | more
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
258 exit
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
259 ;;
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
260
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
261 ## We ignore all other options silently.
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
262 esac
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
263 ;;
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
264
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
265 ## Anything not starting with a hyphen we assume is a
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
266 ## configuration name.
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
267 *)
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
268 configuration=${arg}
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
269 ;;
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
270
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
271 esac
621
eca8812e61cd *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
272 shift
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
273 done
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
274
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
275 if [ "${configuration}" = "" ]; then
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
276 (echo "${progname}: You must specify a configuration name as an argument."
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
277 echo "${short_usage}") >&2
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
278 exit 1
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
279 fi
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
280
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
281
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
282 #### Decide where the source is.
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
283 case "${srcdir}" in
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
284
1687
2bee660c3046 * configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
285 ## If it's not specified, see if `.' or `..' might work.
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
286 "" )
3059
2d8952db38ee * configure.in: Check to see if the source lives in the same
Jim Blandy <jimb@redhat.com>
parents: 3057
diff changeset
287 confdir=`echo $0 | sed 's|//|/|' | sed 's|/[^/]*$||'`
2d8952db38ee * configure.in: Check to see if the source lives in the same
Jim Blandy <jimb@redhat.com>
parents: 3057
diff changeset
288 if [ -f $confdir/src/lisp.h -a -f $confdir/lisp/version.el ]; then
3078
572c8024d831 * configure.in: When looking for source in the same directory as
Jim Blandy <jimb@redhat.com>
parents: 3059
diff changeset
289 srcdir=`(cd $confdir ; pwd)`
1687
2bee660c3046 * configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
290 else
3059
2d8952db38ee * configure.in: Check to see if the source lives in the same
Jim Blandy <jimb@redhat.com>
parents: 3057
diff changeset
291 if [ -f "./src/lisp.h" -a -f "./lisp/version.el" ]; then
2d8952db38ee * configure.in: Check to see if the source lives in the same
Jim Blandy <jimb@redhat.com>
parents: 3057
diff changeset
292 srcdir=`pwd`
1687
2bee660c3046 * configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
293 else
3059
2d8952db38ee * configure.in: Check to see if the source lives in the same
Jim Blandy <jimb@redhat.com>
parents: 3057
diff changeset
294 if [ -f "../src/lisp.h" -a -f "../lisp/version.el" ]; then
2d8952db38ee * configure.in: Check to see if the source lives in the same
Jim Blandy <jimb@redhat.com>
parents: 3057
diff changeset
295 srcdir=`(cd .. ; pwd)`
2d8952db38ee * configure.in: Check to see if the source lives in the same
Jim Blandy <jimb@redhat.com>
parents: 3057
diff changeset
296 else
2d8952db38ee * configure.in: Check to see if the source lives in the same
Jim Blandy <jimb@redhat.com>
parents: 3057
diff changeset
297 (echo "\
1687
2bee660c3046 * configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
298 ${progname}: Neither the current directory nor its parent seem to
2bee660c3046 * configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
299 contain the Emacs sources. If you do not want to build Emacs in its
2bee660c3046 * configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
300 source tree, you should run \`${progname}' in the directory in which
2bee660c3046 * configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
301 you wish to build Emacs, using its \`--srcdir' option to say where the
2bee660c3046 * configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
302 sources may be found."
3059
2d8952db38ee * configure.in: Check to see if the source lives in the same
Jim Blandy <jimb@redhat.com>
parents: 3057
diff changeset
303 echo "${short_usage}") >&2
2d8952db38ee * configure.in: Check to see if the source lives in the same
Jim Blandy <jimb@redhat.com>
parents: 3057
diff changeset
304 exit 1
2d8952db38ee * configure.in: Check to see if the source lives in the same
Jim Blandy <jimb@redhat.com>
parents: 3057
diff changeset
305 fi
1687
2bee660c3046 * configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
306 fi
2bee660c3046 * configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
307 fi
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
308 ;;
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
309
1687
2bee660c3046 * configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
310 ## Otherwise, check if the directory they specified is okay.
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
311 * )
3078
572c8024d831 * configure.in: When looking for source in the same directory as
Jim Blandy <jimb@redhat.com>
parents: 3059
diff changeset
312 srcdir=`(cd ${srcdir}; pwd)`
1687
2bee660c3046 * configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
313 if [ ! -d "${srcdir}" -o ! -f "${srcdir}/src/lisp.h" -o ! -f "${srcdir}/lisp/version.el" ]; then
2bee660c3046 * configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
314 (echo "\
2bee660c3046 * configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
315 ${progname}: The directory specified with the \`--srcdir' option,
2bee660c3046 * configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
316 \`${srcdir}', doesn't seem to contain the Emacs sources. You should
2bee660c3046 * configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
317 either run the \`${progname}' script at the top of the Emacs source
2bee660c3046 * configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
318 tree, or use the \`--srcdir' option to specify where the Emacs sources
2bee660c3046 * configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
319 are."
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
320 echo "${short_usage}") >&2
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
321 exit 1
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
322 fi
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
323 ;;
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
324
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
325 esac
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
326
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
327 ### Make the necessary directories, if they don't exist.
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
328 if [ ! -d ./src ]; then
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
329 mkdir ./src
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
330 fi
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
331 if [ ! -d ./lib-src ]; then
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
332 mkdir ./lib-src
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
333 fi
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
334 if [ ! -d ./cpp ]; then
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
335 mkdir ./cpp
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
336 fi
1687
2bee660c3046 * configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
337 if [ ! -d ./oldXMenu ]; then
2bee660c3046 * configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
338 mkdir ./oldXMenu
2bee660c3046 * configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
339 fi
2812
cea361c342f4 Install ${srcdir} changes from DJM.
Jim Blandy <jimb@redhat.com>
parents: 2804
diff changeset
340 if [ ! -d ./etc ]; then
cea361c342f4 Install ${srcdir} changes from DJM.
Jim Blandy <jimb@redhat.com>
parents: 2804
diff changeset
341 mkdir ./etc
cea361c342f4 Install ${srcdir} changes from DJM.
Jim Blandy <jimb@redhat.com>
parents: 2804
diff changeset
342 fi
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
343
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
344 #### Given the configuration name, set machfile and opsysfile to the
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
345 #### names of the m/*.h and s/*.h files we should use.
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
346
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
347 ### Canonicalize the configuration name.
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
348 echo "Checking the configuration name."
1687
2bee660c3046 * configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
349 if configuration=`${srcdir}/config.sub "${configuration}"` ; then : ; else
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
350 exit $?
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
351 fi
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
352
2100
4c081de167f4 * configure: Recognize strings like "sysvr0" or "sysvr1" as System V.
Jim Blandy <jimb@redhat.com>
parents: 2007
diff changeset
353 ### If you add support for a new configuration, add code to this
4c081de167f4 * configure: Recognize strings like "sysvr0" or "sysvr1" as System V.
Jim Blandy <jimb@redhat.com>
parents: 2007
diff changeset
354 ### switch statement to recognize your configuration name and select
4c081de167f4 * configure: Recognize strings like "sysvr0" or "sysvr1" as System V.
Jim Blandy <jimb@redhat.com>
parents: 2007
diff changeset
355 ### the appropriate operating system and machine description files.
4c081de167f4 * configure: Recognize strings like "sysvr0" or "sysvr1" as System V.
Jim Blandy <jimb@redhat.com>
parents: 2007
diff changeset
356
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
357 ### You would hope that you could choose an m/*.h file pretty much
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
358 ### based on the machine portion of the configuration name, and an s-
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
359 ### file based on the operating system portion. However, it turns out
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
360 ### that each m/*.h file is pretty manufacturer-specific - for
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
361 ### example, apollo.h, hp9000s300.h, mega68k, news.h, and tad68k are
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
362 ### all 68000 machines; mips.h, pmax.h, and news-risc are all MIPS
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
363 ### machines. So we basically have to have a special case for each
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
364 ### configuration name.
2100
4c081de167f4 * configure: Recognize strings like "sysvr0" or "sysvr1" as System V.
Jim Blandy <jimb@redhat.com>
parents: 2007
diff changeset
365 ###
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
366 ### As far as handling version numbers on operating systems is
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
367 ### concerned, make sure things will fail in a fixable way. If
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
368 ### /etc/MACHINES doesn't say anything about version numbers, be
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
369 ### prepared to handle anything reasonably. If version numbers
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
370 ### matter, be sure /etc/MACHINES says something about it.
2100
4c081de167f4 * configure: Recognize strings like "sysvr0" or "sysvr1" as System V.
Jim Blandy <jimb@redhat.com>
parents: 2007
diff changeset
371 ###
4c081de167f4 * configure: Recognize strings like "sysvr0" or "sysvr1" as System V.
Jim Blandy <jimb@redhat.com>
parents: 2007
diff changeset
372 ### Eric Raymond says we should accept strings like "sysvr4" to mean
4c081de167f4 * configure: Recognize strings like "sysvr0" or "sysvr1" as System V.
Jim Blandy <jimb@redhat.com>
parents: 2007
diff changeset
373 ### "System V Release 4"; he writes, "The old convention encouraged
4c081de167f4 * configure: Recognize strings like "sysvr0" or "sysvr1" as System V.
Jim Blandy <jimb@redhat.com>
parents: 2007
diff changeset
374 ### confusion between `system' and `release' levels'."
4c081de167f4 * configure: Recognize strings like "sysvr0" or "sysvr1" as System V.
Jim Blandy <jimb@redhat.com>
parents: 2007
diff changeset
375
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
376 machine='' opsys='' unported='false'
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
377 case "${configuration}" in
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
378
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
379 ## Alliant machines
1423
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
380 ## Strictly speaking, we need the version of the alliant operating
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
381 ## system to choose the right machine file, but currently the
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
382 ## configuration name doesn't tell us enough to choose the right
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
383 ## one; we need to give alliants their own operating system name to
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
384 ## do this right. When someone cares, they can help us.
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
385 fx80-alliant-* )
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
386 machine=alliant4 opsys=bsd4-2
1423
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
387 ;;
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
388 i860-alliant-* )
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
389 machine=alliant-2800 opsys=bsd4-3
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
390 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
391
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
392 ## Altos 3068
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
393 m68*-altos-sysv* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
394 machine=altos opsys=usg5-2
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
395 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
396
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
397 ## Amdahl UTS
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
398 580-amdahl-sysv* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
399 machine=amdahl opsys=usg5-2-2
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
400 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
401
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
402 ## Appallings - I mean, Apollos - running Domain
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
403 m68*-apollo* )
2711
2c2052ec537d The GNU coding standards specify that CFLAGS should be left for
Jim Blandy <jimb@redhat.com>
parents: 2678
diff changeset
404 machine=apollo opsys=bsd4-2
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
405 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
406
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
407 ## AT&T 3b2, 3b5, 3b15, 3b20
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
408 we32k-att-sysv* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
409 machine=att3b opsys=usg5-2-2
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
410 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
411
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
412 ## AT&T 3b1 - The Mighty Unix PC!
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
413 m68*-att-sysv* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
414 machine=7300 opsys=usg5-2-2
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
415 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
416
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
417 ## Bull sps7
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
418 m68*-bull-sysv* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
419 machine=sps7 opsys=usg5-2
1423
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
420 ;;
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
421
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
422 ## CCI 5/32, 6/32 -- see "Tahoe".
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
423
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
424 ## Celerity
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
425 ## I don't know what configuration name to use for this; config.sub
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
426 ## doesn't seem to know anything about it. Hey, Celerity users, get
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
427 ## in touch with us!
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
428 celerity-celerity-bsd* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
429 machine=celerity opsys=bsd4-2
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
430 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
431
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
432 ## Clipper
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
433 ## What operating systems does this chip run that Emacs has been
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
434 ## tested on?
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
435 clipper-* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
436 machine=clipper
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
437 ## We'll use the catch-all code at the bottom to guess the
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
438 ## operating system.
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
439 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
440
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
441 ## Convex
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
442 *-convex-bsd* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
443 machine=convex opsys=bsd4-3
1423
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
444 ;;
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
445
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
446 ## Cubix QBx/386
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
447 i386-cubix-sysv* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
448 machine=intel386 opsys=usg5-3
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
449 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
450
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
451 ## Cydra 5
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
452 cydra*-cydrome-sysv* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
453 machine=cydra5 opsys=usg5-3
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
454 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
455
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
456 ## DECstations
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
457 mips-dec-ultrix[0-3].* | mips-dec-ultrix4.0 | mips-dec-bsd4.2 )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
458 machine=pmax opsys=bsd4-2
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
459 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
460 mips-dec-ultrix* | mips-dec-bsd* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
461 machine=pmax opsys=bsd4-3
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
462 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
463 mips-dec-osf* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
464 machine=pmax opsys=osf1
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
465 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
466
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
467 ## Motorola Delta machines
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
468 m68*-motorola-sysv* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
469 machine=delta opsys=usg5-3
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
470 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
471 m88k-motorola-sysv* | m88k-motorola-m88kbcs* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
472 machine=delta88k opsys=usg5-3
1423
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
473 ;;
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
474
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
475 ## Dual machines
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
476 m68*-dual-sysv* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
477 machine=dual opsys=usg5-2
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
478 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
479 m68*-dual-uniplus* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
480 machine=dual opsys=unipl5-2
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
481 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
482
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
483 ## Elxsi 6400
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
484 elxsi-elxsi-sysv* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
485 machine=elxsi opsys=usg5-2
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
486 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
487
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
488 ## Encore machines
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
489 ns16k-encore-bsd* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
490 machine=ns16000 opsys=umax
1423
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
491 ;;
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
492
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
493 ## The GEC 93 - apparently, this port isn't really finished yet.
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
494
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
495 ## Gould Power Node and NP1
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
496 pn-gould-bsd4.2 )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
497 machine=gould opsys=bsd4-2
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
498 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
499 pn-gould-bsd4.3 )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
500 machine=gould opsys=bsd4-3
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
501 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
502 np1-gould-bsd* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
503 machine=gould-np1 opsys=bsd4-3
1423
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
504 ;;
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
505
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
506 ## Honeywell XPS100
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
507 xps*-honeywell-sysv* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
508 machine=xps100 opsys=usg5-2
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
509 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
510
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
511 ## HP 9000 series 200 or 300
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
512 m68*-hp-bsd* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
513 machine=hp9000s300 opsys=bsd4-3
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
514 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
515 ## HP/UX 8 doesn't run on these machines, so use HP/UX 7.
1423
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
516 m68*-hp-hpux* )
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
517 machine=hp9000s300 opsys=hpux
1423
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
518 ;;
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
519
3006
7126575622da * configure.in: Distinguish between hp800's and hp700's by calling
Jim Blandy <jimb@redhat.com>
parents: 2985
diff changeset
520 ## HP 9000 series 700 and 800, running HP/UX
1423
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
521 hppa1.0-hp-hpux* )
3091
1f2e95b188ad At the end, use `set --', not `set -'.
Richard M. Stallman <rms@gnu.org>
parents: 3085
diff changeset
522 machine=hp9000s800 opsys=hpux
3006
7126575622da * configure.in: Distinguish between hp800's and hp700's by calling
Jim Blandy <jimb@redhat.com>
parents: 2985
diff changeset
523 ;;
7126575622da * configure.in: Distinguish between hp800's and hp700's by calling
Jim Blandy <jimb@redhat.com>
parents: 2985
diff changeset
524 hppa1.1-hp-hpux* )
3091
1f2e95b188ad At the end, use `set --', not `set -'.
Richard M. Stallman <rms@gnu.org>
parents: 3085
diff changeset
525 machine=hp9000s800 opsys=hpux8
3006
7126575622da * configure.in: Distinguish between hp800's and hp700's by calling
Jim Blandy <jimb@redhat.com>
parents: 2985
diff changeset
526 ;;
7126575622da * configure.in: Distinguish between hp800's and hp700's by calling
Jim Blandy <jimb@redhat.com>
parents: 2985
diff changeset
527 hppa*-hp-hpux* )
7126575622da * configure.in: Distinguish between hp800's and hp700's by calling
Jim Blandy <jimb@redhat.com>
parents: 2985
diff changeset
528 ## Cross-compilation? Nah!
3124
e6338dd6e55f * configure.in (hppa-hp-hpux): Use uname -r instead of uname -m;
Jim Blandy <jimb@redhat.com>
parents: 3115
diff changeset
529 case "`uname -r`" in
e6338dd6e55f * configure.in (hppa-hp-hpux): Use uname -r instead of uname -m;
Jim Blandy <jimb@redhat.com>
parents: 3115
diff changeset
530 *.08.* ) machine=hp9000s800 opsys=hpux ;;
e6338dd6e55f * configure.in (hppa-hp-hpux): Use uname -r instead of uname -m;
Jim Blandy <jimb@redhat.com>
parents: 3115
diff changeset
531 *.09.* ) machine=hp9000s800 opsys=hpux8 ;;
e6338dd6e55f * configure.in (hppa-hp-hpux): Use uname -r instead of uname -m;
Jim Blandy <jimb@redhat.com>
parents: 3115
diff changeset
532 *) machine=hp9000s800 opsys=hpux ;;
3006
7126575622da * configure.in: Distinguish between hp800's and hp700's by calling
Jim Blandy <jimb@redhat.com>
parents: 2985
diff changeset
533 esac
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
534 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
535
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
536 ## Orion machines
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
537 orion-orion-bsd* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
538 machine=orion opsys=bsd4-2
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
539 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
540 clipper-orion-bsd* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
541 machine=orion105 opsys=bsd4-2
1423
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
542 ;;
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
543
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
544 ## IBM machines
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
545 i386-ibm-aix1.1 )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
546 machine=ibmps2-aix opsys=usg5-2-2
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
547 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
548 i386-ibm-aix1.2 )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
549 machine=ibmps2-aix opsys=usg5-3
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
550 ;;
2244
3b5391ff2ffd * configure: Recognize rs6000-ibm-aix32 and rs6000-ibm-aix, and
Jim Blandy <jimb@redhat.com>
parents: 2173
diff changeset
551 rs6000-ibm-aix3.1 )
3b5391ff2ffd * configure: Recognize rs6000-ibm-aix32 and rs6000-ibm-aix, and
Jim Blandy <jimb@redhat.com>
parents: 2173
diff changeset
552 machine=ibmrs6000 opsys=aix3-1
2173
d4bbcd4b1378 Recognize AIX 3.2 and make it the default for -aix.
Charles Hannum <mycroft@gnu.org>
parents: 2100
diff changeset
553 ;;
2244
3b5391ff2ffd * configure: Recognize rs6000-ibm-aix32 and rs6000-ibm-aix, and
Jim Blandy <jimb@redhat.com>
parents: 2173
diff changeset
554 rs6000-ibm-aix3.2 | rs6000-ibm-aix* )
3b5391ff2ffd * configure: Recognize rs6000-ibm-aix32 and rs6000-ibm-aix, and
Jim Blandy <jimb@redhat.com>
parents: 2173
diff changeset
555 machine=ibmrs6000 opsys=aix3-2
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
556 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
557 romp-ibm-bsd* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
558 machine=ibmrt opsys=bsd4-2
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
559 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
560 romp-ibm-aix* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
561 machine=ibmrt-aix opsys=usg5-2-2
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
562 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
563
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
564 ## Integrated Solutions `Optimum V'
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
565 m68*-isi-bsd4.2 )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
566 machine=isi-ov opsys=bsd4-2
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
567 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
568 m68*-isi-bsd4.3 )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
569 machine=isi-ov opsys=bsd4-3
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
570 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
571
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
572 ## Intel 386 machines where we do care about the manufacturer
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
573 i[34]86-intsys-sysv* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
574 machine=is386 opsys=usg5-2-2
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
575 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
576 ## Intel 386 machines where we don't care about the manufacturer
3024
69f67c3e6f81 * configure.in: For generic IBM PC boxes, insist on "unknown" for
Jim Blandy <jimb@redhat.com>
parents: 3011
diff changeset
577 i[34]86-unknown-* )
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
578 machine=intel386
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
579 case "${configuration}" in
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
580 *-isc1.* | *-isc2.[01]* ) opsys=386-ix ;;
2007
b1debd92d79d * configure: Handle isc3.0 correctly. This needs a more general
Jim Blandy <jimb@redhat.com>
parents: 1900
diff changeset
581 *-isc2.2 ) opsys=isc2-2 ;;
b1debd92d79d * configure: Handle isc3.0 correctly. This needs a more general
Jim Blandy <jimb@redhat.com>
parents: 1900
diff changeset
582 *-isc* ) opsys=isc3-0 ;;
2973
6b04a0846802 * configure.in: Add case for version 5 of Esix.
Jim Blandy <jimb@redhat.com>
parents: 2938
diff changeset
583 *-esix5* ) opsys=esix5r4 ;;
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
584 *-esix* ) opsys=esix ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
585 *-xenix* ) opsys=xenix ;;
2914
eaddb57afc9f * configure.in: Recognize Linux as a valid operating system for
Jim Blandy <jimb@redhat.com>
parents: 2876
diff changeset
586 *-linux* ) opsys=linux ;;
2678
7431b5746e08 Support *-sco3.2v4* as opsystem.
Richard M. Stallman <rms@gnu.org>
parents: 2663
diff changeset
587 *-sco3.2v4* ) opsys=sco4 ;;
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
588 ## Otherwise, we'll fall through to the generic opsys code at the bottom.
1423
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
589 esac
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
590 ;;
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
591
3057
b155c80dc2c2 * configure.in: Recognize configuration names for i860 boxes
Jim Blandy <jimb@redhat.com>
parents: 3024
diff changeset
592 ## Intel 860
b155c80dc2c2 * configure.in: Recognize configuration names for i860 boxes
Jim Blandy <jimb@redhat.com>
parents: 3024
diff changeset
593 i860-*-sysvr4 )
b155c80dc2c2 * configure.in: Recognize configuration names for i860 boxes
Jim Blandy <jimb@redhat.com>
parents: 3024
diff changeset
594 machine=i860 opsys=usg5-4
b155c80dc2c2 * configure.in: Recognize configuration names for i860 boxes
Jim Blandy <jimb@redhat.com>
parents: 3024
diff changeset
595 ;;
b155c80dc2c2 * configure.in: Recognize configuration names for i860 boxes
Jim Blandy <jimb@redhat.com>
parents: 3024
diff changeset
596
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
597 ## Silicon Graphics machines
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
598 ## Iris 2500 and Iris 2500 Turbo (aka the Iris 3030)
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
599 m68*-sgi-iris3.5 )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
600 machine=irist opsys=iris3-5
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
601 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
602 m68*-sgi-iris3.6 | m68*-sgi-iris*)
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
603 machine=irist opsys=iris3-6
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
604 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
605 ## Iris 4D
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
606 mips-sgi-irix3.* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
607 machine=iris4d opsys=irix3-3
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
608 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
609 mips-sgi-irix4.* | mips-sgi-irix* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
610 machine=iris4d opsys=irix4-0
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
611 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
612
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
613 ## Masscomp machines
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
614 m68*-masscomp-rtu )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
615 machine=masscomp opsys=rtu
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
616 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
617
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
618 ## Megatest machines
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
619 m68*-megatest-bsd* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
620 machine=mega68 opsys=bsd4-2
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
621 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
622
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
623 ## Workstations sold by MIPS
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
624 ## This is not necessarily all workstations using the MIPS processor -
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
625 ## Irises are produced by SGI, and DECstations by DEC.
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
626
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
627 ## etc/MACHINES lists mips.h and mips4.h as possible machine files,
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
628 ## and usg5-2-2 and bsd4-3 as possible OS files. The only guidance
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
629 ## it gives for choosing between the alternatives seems to be "Use
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
630 ## -machine=mips4 for RISCOS version 4; use -opsystem=bsd4-3 with
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
631 ## the BSD world." I'll assume that these are instructions for
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
632 ## handling two odd situations, and that every other situation
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
633 ## should use mips.h and usg5-2-2, they being listed first.
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
634 mips-mips-riscos4* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
635 machine=mips4 opsys=usg5-2-2
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
636 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
637 mips-mips-bsd* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
638 machine=mips opsys=bsd4-3
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
639 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
640 mips-mips-* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
641 machine=mips opsys=usg5-2-2
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
642 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
643
2624
5de08620df66 * configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents: 2516
diff changeset
644 ## NeXT
5de08620df66 * configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents: 2516
diff changeset
645 m68*-next-mach* | m68*-next-bsd* )
5de08620df66 * configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents: 2516
diff changeset
646 machine=next opsys=mach2
5de08620df66 * configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents: 2516
diff changeset
647 ;;
5de08620df66 * configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents: 2516
diff changeset
648
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
649 ## The complete machine from National Semiconductor
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
650 ns32k-ns-genix* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
651 machine=ns32000 opsys=usg5-2
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
652 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
653
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
654 ## NCR machines
2100
4c081de167f4 * configure: Recognize strings like "sysvr0" or "sysvr1" as System V.
Jim Blandy <jimb@redhat.com>
parents: 2007
diff changeset
655 m68*-ncr-sysv2* | m68*-ncr-sysvr2* )
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
656 machine=tower32 opsys=usg5-2-2
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
657 ;;
2100
4c081de167f4 * configure: Recognize strings like "sysvr0" or "sysvr1" as System V.
Jim Blandy <jimb@redhat.com>
parents: 2007
diff changeset
658 m68*-ncr-sysv3* | m68*-ncr-sysvr3* )
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
659 machine=tower32v3 opsys=usg5-3
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
660 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
661
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
662 ## Nixdorf Targon 31
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
663 m68*-nixdorf-sysv* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
664 machine=targon31 opsys=usg5-2-2
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
665 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
666
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
667 ## Nu (TI or LMI)
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
668 m68*-nu-sysv* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
669 machine=nu opsys=usg5-2
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
670 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
671
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
672 ## Plexus
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
673 m68*-plexus-sysv* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
674 machine=plexus opsys=usg5-2
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
675 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
676
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
677 ## Prime EXL
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
678 i386-prime-sysv* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
679 machine=i386 opsys=usg5-3
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
680 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
681
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
682 ## Pyramid machines
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
683 ## I don't really have any idea what sort of processor the Pyramid has,
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
684 ## so I'm assuming it is its own architecture.
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
685 pyramid-pyramid-bsd* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
686 machine=pyramid opsys=bsd4-2
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
687 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
688
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
689 ## Sequent Balance
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
690 ns32k-sequent-bsd4.2 )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
691 machine=sequent opsys=bsd4-2
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
692 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
693 ns32k-sequent-bsd4.3 )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
694 machine=sequent opsys=bsd4-3
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
695 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
696 ## Sequent Symmetry
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
697 i386-sequent-bsd* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
698 machine=symmetry opsys=bsd4-3
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
699 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
700
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
701 ## SONY machines
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
702 m68*-sony-bsd4.2 )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
703 machine=news opsys=bsd4-2
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
704 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
705 m68*-sony-bsd4.3 )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
706 machine=news opsys=bsd4-3
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
707 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
708 mips-sony-bsd* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
709 machine=news-risc opsys=bsd4-3
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
710 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
711
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
712 ## Stride
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
713 m68*-stride-sysv* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
714 machine=stride opsys=usg5-2
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
715 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
716
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
717 ## Suns
2812
cea361c342f4 Install ${srcdir} changes from DJM.
Jim Blandy <jimb@redhat.com>
parents: 2804
diff changeset
718 *-sun-sunos* | *-sun-bsd* | *-sun-solaris* )
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
719 case "${configuration}" in
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
720 m68*-sunos1* ) machine=sun1 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
721 m68*-sunos2* ) machine=sun2 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
722 m68* ) machine=sun3 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
723 i[34]86* ) machine=sun386 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
724 sparc* ) machine=sparc ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
725 * ) unported=true ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
726 esac
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
727 case "${configuration}" in
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
728 *-sunos4.0* ) opsys=sunos4-0 ;;
3115
86652a5c442b Handle sunos4.1.3 specially.
Richard M. Stallman <rms@gnu.org>
parents: 3091
diff changeset
729 *-sunos4.1.3* ) opsys=sunos4-1-3 ;;
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
730 *-sunos4* | *-sunos ) opsys=sunos4-1 ;;
2812
cea361c342f4 Install ${srcdir} changes from DJM.
Jim Blandy <jimb@redhat.com>
parents: 2804
diff changeset
731 *-sunos5* | *-solaris* ) opsys=sol2 ;;
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
732 * ) opsys=bsd4-2 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
733 esac
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
734 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
735
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
736 ## Tadpole 68k
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
737 m68*-tadpole-sysv* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
738 machine=tad68k opsys=usg5-3
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
739 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
740
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
741 ## Tahoe machines
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
742 tahoe-tahoe-bsd4.2 )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
743 machine=tahoe opsys=bsd4-2
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
744 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
745 tahoe-tahoe-bsd4.3 )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
746 machine=tahoe opsys=bsd4-3
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
747 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
748
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
749 ## Tandem Integrity S2
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
750 mips-tandem-sysv* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
751 machine=tandem-s2 opsys=usg5-3
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
752 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
753
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
754 ## Tektronix 16000 box (6130?)
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
755 ns16k-tektronix-bsd* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
756 machine=ns16000 opsys=bsd4-2
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
757 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
758 ## Tektronix 4300
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
759 ## src/m/tek4300.h hints that this is a m68k machine.
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
760 m68*-tektronix-bsd* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
761 machine=tex4300 opsys=bsd4-3
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
762 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
763
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
764 ## Titan P2 or P3
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
765 ## We seem to have lost the machine-description file titan.h!
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
766 titan-titan-sysv* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
767 machine=titan opsys=usg5-3
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
768 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
769
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
770 ## Ustation E30 (SS5E)
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
771 m68*-unisys-uniplus* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
772 machine=ustation opsystem=unipl5-2
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
773 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
774
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
775 ## Vaxen.
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
776 vax-dec-* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
777 machine=vax
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
778 case "${configuration}" in
2100
4c081de167f4 * configure: Recognize strings like "sysvr0" or "sysvr1" as System V.
Jim Blandy <jimb@redhat.com>
parents: 2007
diff changeset
779 *-bsd4.1 ) opsys=bsd4-1 ;;
4c081de167f4 * configure: Recognize strings like "sysvr0" or "sysvr1" as System V.
Jim Blandy <jimb@redhat.com>
parents: 2007
diff changeset
780 *-bsd4.2 | *-ultrix[0-3].* | *-ultrix4.0 ) opsys=bsd4-2 ;;
4c081de167f4 * configure: Recognize strings like "sysvr0" or "sysvr1" as System V.
Jim Blandy <jimb@redhat.com>
parents: 2007
diff changeset
781 *-bsd4.3 | *-ultrix* ) opsys=bsd4-3 ;;
4c081de167f4 * configure: Recognize strings like "sysvr0" or "sysvr1" as System V.
Jim Blandy <jimb@redhat.com>
parents: 2007
diff changeset
782 *-sysv[01]* | *-sysvr[01]* ) opsys=usg5-0 ;;
4c081de167f4 * configure: Recognize strings like "sysvr0" or "sysvr1" as System V.
Jim Blandy <jimb@redhat.com>
parents: 2007
diff changeset
783 *-sysv2* | *-sysvr2* ) opsys=usg5-2 ;;
4c081de167f4 * configure: Recognize strings like "sysvr0" or "sysvr1" as System V.
Jim Blandy <jimb@redhat.com>
parents: 2007
diff changeset
784 *-vms* ) opsys=vms ;;
4c081de167f4 * configure: Recognize strings like "sysvr0" or "sysvr1" as System V.
Jim Blandy <jimb@redhat.com>
parents: 2007
diff changeset
785 * ) unported=true
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
786 esac
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
787 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
788
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
789 ## Whitechapel MG1
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
790 ns16k-whitechapel-* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
791 machine=mg1
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
792 ## We don't know what sort of OS runs on these; we'll let the
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
793 ## operating system guessing code below try.
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
794 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
795
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
796 ## Wicat
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
797 m68*-wicat-sysv* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
798 machine=wicat opsys=usg5-2
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
799 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
800
1423
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
801 * )
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
802 unported=true
1423
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
803 ;;
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
804 esac
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
805
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
806 ### If the code above didn't choose an operating system, just choose
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
807 ### an operating system based on the configuration name. You really
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
808 ### only want to use this when you have no idea what the right
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
809 ### operating system is; if you know what operating systems a machine
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
810 ### runs, it's cleaner to make it explicit in the case statement
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
811 ### above.
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
812 if [ ! "${opsys}" ]; then
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
813 case "${configuration}" in
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
814 *-bsd4.[01] ) opsys=bsd4-1 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
815 *-bsd4.2 ) opsys=bsd4-2 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
816 *-bsd4.3 ) opsys=bsd4-3 ;;
2100
4c081de167f4 * configure: Recognize strings like "sysvr0" or "sysvr1" as System V.
Jim Blandy <jimb@redhat.com>
parents: 2007
diff changeset
817 *-sysv0 | *-sysvr0 ) opsys=usg5-0 ;;
4c081de167f4 * configure: Recognize strings like "sysvr0" or "sysvr1" as System V.
Jim Blandy <jimb@redhat.com>
parents: 2007
diff changeset
818 *-sysv2 | *-sysvr2 ) opsys=usg5-2 ;;
4c081de167f4 * configure: Recognize strings like "sysvr0" or "sysvr1" as System V.
Jim Blandy <jimb@redhat.com>
parents: 2007
diff changeset
819 *-sysv2.2 | *-sysvr2.2 ) opsys=usg5-2-2 ;;
4c081de167f4 * configure: Recognize strings like "sysvr0" or "sysvr1" as System V.
Jim Blandy <jimb@redhat.com>
parents: 2007
diff changeset
820 *-sysv3 | *-sysvr3 ) opsys=usg5-3 ;;
4c081de167f4 * configure: Recognize strings like "sysvr0" or "sysvr1" as System V.
Jim Blandy <jimb@redhat.com>
parents: 2007
diff changeset
821 *-sysv4 | *-sysvr4 ) opsys=usg5-4 ;;
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
822 * )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
823 unported=true
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
824 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
825 esac
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
826 fi
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
827
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
828 if $unported ; then
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
829 (echo "${progname}: Emacs hasn't been ported to \`${configuration}' systems."
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
830 echo "${progname}: Check \`etc/MACHINES' for recognized configuration names."
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
831 ) >&2
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
832 exit 1
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
833 fi
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
834
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
835 machfile="m/${machine}.h"
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
836 opsysfile="s/${opsys}.h"
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
837
2624
5de08620df66 * configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents: 2516
diff changeset
838 ]
5de08620df66 * configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents: 2516
diff changeset
839 AC_PREPARE(lisp)
2711
2c2052ec537d The GNU coding standards specify that CFLAGS should be left for
Jim Blandy <jimb@redhat.com>
parents: 2678
diff changeset
840 AC_CONFIG_HEADER(src/config.h)
2624
5de08620df66 * configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents: 2516
diff changeset
841 [
2499
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
842
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
843 #### Choose a compiler.
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
844 case ${with_gcc} in
2516
a5cb0d9f5916 * configure.in: Don't set CC to "gcc -O" if the user specifies
Jim Blandy <jimb@redhat.com>
parents: 2499
diff changeset
845 "yes" ) CC="gcc" GCC=1 ;;
a5cb0d9f5916 * configure.in: Don't set CC to "gcc -O" if the user specifies
Jim Blandy <jimb@redhat.com>
parents: 2499
diff changeset
846 "no" ) CC="cc" ;;
2499
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
847 * )
2711
2c2052ec537d The GNU coding standards specify that CFLAGS should be left for
Jim Blandy <jimb@redhat.com>
parents: 2678
diff changeset
848 ] AC_PROG_CC [
2499
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
849 esac
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
850
2711
2c2052ec537d The GNU coding standards specify that CFLAGS should be left for
Jim Blandy <jimb@redhat.com>
parents: 2678
diff changeset
851 CFLAGS='-g'
2c2052ec537d The GNU coding standards specify that CFLAGS should be left for
Jim Blandy <jimb@redhat.com>
parents: 2678
diff changeset
852 if test -n "${GCC}"; then
2c2052ec537d The GNU coding standards specify that CFLAGS should be left for
Jim Blandy <jimb@redhat.com>
parents: 2678
diff changeset
853 CFLAGS='-g -O'
2516
a5cb0d9f5916 * configure.in: Don't set CC to "gcc -O" if the user specifies
Jim Blandy <jimb@redhat.com>
parents: 2499
diff changeset
854 fi
a5cb0d9f5916 * configure.in: Don't set CC to "gcc -O" if the user specifies
Jim Blandy <jimb@redhat.com>
parents: 2499
diff changeset
855
2876
ba7f0ad9aad9 * configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents: 2812
diff changeset
856 #### Some other nice autoconf tests. If you add a test here which
ba7f0ad9aad9 * configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents: 2812
diff changeset
857 #### should make an entry in src/config.h, don't forget to add an
ba7f0ad9aad9 * configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents: 2812
diff changeset
858 #### #undef clause to src/config.h.in for autoconf to modify.
2499
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
859 ]
2876
ba7f0ad9aad9 * configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents: 2812
diff changeset
860 dnl checks for programs
2711
2c2052ec537d The GNU coding standards specify that CFLAGS should be left for
Jim Blandy <jimb@redhat.com>
parents: 2678
diff changeset
861 AC_LN_S
2624
5de08620df66 * configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents: 2516
diff changeset
862 AC_PROG_CPP
3010
4ca5a6bd174b * configure.in: Add support for the `--exec-prefix' option.
Jim Blandy <jimb@redhat.com>
parents: 3006
diff changeset
863 AC_PROG_INSTALL
2876
ba7f0ad9aad9 * configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents: 2812
diff changeset
864
ba7f0ad9aad9 * configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents: 2812
diff changeset
865 dnl checks for UNIX variants that set `DEFS'
ba7f0ad9aad9 * configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents: 2812
diff changeset
866
ba7f0ad9aad9 * configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents: 2812
diff changeset
867 dnl checks for header files
2663
ed552ce28308 * configure.in: Use AC_HAVE_HEADERS to test for sys/time.h, and
Jim Blandy <jimb@redhat.com>
parents: 2624
diff changeset
868 AC_HAVE_HEADERS(sys/timeb.h sys/time.h)
2775
72277ed7609e * configure.in: Call AC_STDC_HEADERS.
Jim Blandy <jimb@redhat.com>
parents: 2739
diff changeset
869 AC_STDC_HEADERS
2804
6cbe25563857 * configure.in: Use the AC_TIME_WITH_SYS_TIME macro, for
Jim Blandy <jimb@redhat.com>
parents: 2775
diff changeset
870 AC_TIME_WITH_SYS_TIME
2876
ba7f0ad9aad9 * configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents: 2812
diff changeset
871
ba7f0ad9aad9 * configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents: 2812
diff changeset
872 dnl checks for typedefs
2499
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
873 AC_RETSIGTYPE
2876
ba7f0ad9aad9 * configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents: 2812
diff changeset
874
ba7f0ad9aad9 * configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents: 2812
diff changeset
875 dnl checks for functions
2624
5de08620df66 * configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents: 2516
diff changeset
876 AC_ALLOCA
3006
7126575622da * configure.in: Distinguish between hp800's and hp700's by calling
Jim Blandy <jimb@redhat.com>
parents: 2985
diff changeset
877 AC_HAVE_FUNCS(gettimeofday gethostname dup2 rename)
2876
ba7f0ad9aad9 * configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents: 2812
diff changeset
878
ba7f0ad9aad9 * configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents: 2812
diff changeset
879 dnl checks for structure members
2663
ed552ce28308 * configure.in: Use AC_HAVE_HEADERS to test for sys/time.h, and
Jim Blandy <jimb@redhat.com>
parents: 2624
diff changeset
880 AC_STRUCT_TM
2919
2420d37c5335 * configure.in: Add AC_TIMEZONE.
Jim Blandy <jimb@redhat.com>
parents: 2914
diff changeset
881 AC_TIMEZONE
2876
ba7f0ad9aad9 * configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents: 2812
diff changeset
882
ba7f0ad9aad9 * configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents: 2812
diff changeset
883 dnl checks for compiler characteristics
2624
5de08620df66 * configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents: 2516
diff changeset
884 AC_CONST
2876
ba7f0ad9aad9 * configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents: 2812
diff changeset
885
ba7f0ad9aad9 * configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents: 2812
diff changeset
886 dnl checks for operating system services
ba7f0ad9aad9 * configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents: 2812
diff changeset
887
ba7f0ad9aad9 * configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents: 2812
diff changeset
888 dnl other checks for UNIX variants
2499
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
889 [
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
890
621
eca8812e61cd *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
891
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
892 #### Choose a window system.
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 605
diff changeset
893 echo "Checking window system."
2624
5de08620df66 * configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents: 2516
diff changeset
894
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
895 window_system=''
1423
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
896 case "${with_x}" in
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
897 yes )
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
898 window_system=${window_system}x11
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
899 ;;
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
900 no )
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
901 window_system=${window_system}none
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
902 esac
1139
4875b01ff377 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 1112
diff changeset
903 case "${with_x11}" in
4875b01ff377 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 1112
diff changeset
904 yes )
4875b01ff377 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 1112
diff changeset
905 window_system=${window_system}x11
1423
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
906 ;;
1139
4875b01ff377 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 1112
diff changeset
907 esac
4875b01ff377 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 1112
diff changeset
908 case "${with_x10}" in
4875b01ff377 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 1112
diff changeset
909 yes )
4875b01ff377 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 1112
diff changeset
910 window_system=${window_system}x10
1423
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
911 ;;
1139
4875b01ff377 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 1112
diff changeset
912 esac
4875b01ff377 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 1112
diff changeset
913
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
914 case "${window_system}" in
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
915 "none" | "x11" | "x10" ) ;;
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
916 "" )
3082
950a86899def Fix some messages. Support -with-gnu-cc.
Richard M. Stallman <rms@gnu.org>
parents: 3078
diff changeset
917 echo " No window system specifed. Looking for X window system."
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
918 window_system=none
2333
47e301d9868b * configure: Add special code to detect XFree386, and tell
Jim Blandy <jimb@redhat.com>
parents: 2330
diff changeset
919 if [ -r /usr/lib/libX11.a \
47e301d9868b * configure: Add special code to detect XFree386, and tell
Jim Blandy <jimb@redhat.com>
parents: 2330
diff changeset
920 -o -d /usr/include/X11 \
2499
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
921 -o -d /usr/X386/include \
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
922 -o -d ${x_includes}/X11 ]; then
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
923 window_system=x11
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 605
diff changeset
924 fi
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
925 ;;
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
926 * )
3085
cb714ea94b61 Fix another message.
Richard M. Stallman <rms@gnu.org>
parents: 3082
diff changeset
927 echo "Don't specify the window system more than once." >&2
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
928 exit 1
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
929 ;;
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
930 esac
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
931
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
932 case "${window_system}" in
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
933 x11 )
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
934 HAVE_X_WINDOWS=yes
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
935 HAVE_X11=yes
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
936 echo " Using X11."
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
937 ;;
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
938 x10 )
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
939 HAVE_X_WINDOWS=yes
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
940 HAVE_X11=no
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
941 echo " Using X10."
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
942 ;;
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
943 none )
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
944 HAVE_X_WINDOWS=no
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
945 HAVE_X11=no
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
946 echo " Using no window system."
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
947 ;;
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
948 esac
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
949
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
950 ### If we're using X11, we should use the X menu package.
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
951 HAVE_X_MENU=no
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
952 case ${HAVE_X11} in
1423
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
953 yes )
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
954 HAVE_X_MENU=yes
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
955 ;;
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
956 esac
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
957
2333
47e301d9868b * configure: Add special code to detect XFree386, and tell
Jim Blandy <jimb@redhat.com>
parents: 2330
diff changeset
958 ### Check for XFree386. It needs special hacks.
2624
5de08620df66 * configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents: 2516
diff changeset
959 lib_havexbsd=no
5de08620df66 * configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents: 2516
diff changeset
960 ]
5de08620df66 * configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents: 2516
diff changeset
961 AC_HAVE_LIBRARY( Xbsd , have_libxbsd=yes , have_libxbsd=no )
5de08620df66 * configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents: 2516
diff changeset
962 [
5de08620df66 * configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents: 2516
diff changeset
963 if [ -n "${x_libraries}" ] && [ -f ${x_libraries}/libXbsd.a ]; then
5de08620df66 * configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents: 2516
diff changeset
964 have_libxbsd=yes
5de08620df66 * configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents: 2516
diff changeset
965 fi
5de08620df66 * configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents: 2516
diff changeset
966
2333
47e301d9868b * configure: Add special code to detect XFree386, and tell
Jim Blandy <jimb@redhat.com>
parents: 2330
diff changeset
967 case ${window_system} in
47e301d9868b * configure: Add special code to detect XFree386, and tell
Jim Blandy <jimb@redhat.com>
parents: 2330
diff changeset
968 x11 )
2624
5de08620df66 * configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents: 2516
diff changeset
969 if [ -d /usr/X386/include ] && [ "${have_libxbsd}" = "yes" ]; then
2333
47e301d9868b * configure: Add special code to detect XFree386, and tell
Jim Blandy <jimb@redhat.com>
parents: 2330
diff changeset
970 HAVE_XFREE386=yes
47e301d9868b * configure: Add special code to detect XFree386, and tell
Jim Blandy <jimb@redhat.com>
parents: 2330
diff changeset
971 if [ "${C_SWITCH_X_SITE}" = "" ]; then
2345
91711632f474 * configure: Doc fix.
Jim Blandy <jimb@redhat.com>
parents: 2333
diff changeset
972 C_SWITCH_X_SITE="-I/usr/X386/include"
2333
47e301d9868b * configure: Add special code to detect XFree386, and tell
Jim Blandy <jimb@redhat.com>
parents: 2330
diff changeset
973 fi
47e301d9868b * configure: Add special code to detect XFree386, and tell
Jim Blandy <jimb@redhat.com>
parents: 2330
diff changeset
974 fi
47e301d9868b * configure: Add special code to detect XFree386, and tell
Jim Blandy <jimb@redhat.com>
parents: 2330
diff changeset
975 ;;
47e301d9868b * configure: Add special code to detect XFree386, and tell
Jim Blandy <jimb@redhat.com>
parents: 2330
diff changeset
976 esac
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
977
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
978 #### Extract some information from the operating system and machine files.
621
eca8812e61cd *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
979
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 605
diff changeset
980 echo "Examining the machine- and system-dependent files to find out"
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 605
diff changeset
981 echo " - which libraries the lib-src programs will want, and"
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 605
diff changeset
982 echo " - whether the GNU malloc routines are usable."
2624
5de08620df66 * configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents: 2516
diff changeset
983
5de08620df66 * configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents: 2516
diff changeset
984 ### It's not important that this name contain the PID; you can't run
5de08620df66 * configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents: 2516
diff changeset
985 ### two configures in the same directory and have anything work
5de08620df66 * configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents: 2516
diff changeset
986 ### anyway.
5de08620df66 * configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents: 2516
diff changeset
987 tempcname="conftest.c"
5de08620df66 * configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents: 2516
diff changeset
988
1687
2bee660c3046 * configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
989 echo '
2bee660c3046 * configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
990 #include "'${srcdir}'/src/'${opsysfile}'"
2bee660c3046 * configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
991 #include "'${srcdir}'/src/'${machfile}'"
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
992 #ifndef LIBS_MACHINE
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
993 #define LIBS_MACHINE
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
994 #endif
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
995 #ifndef LIBS_SYSTEM
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
996 #define LIBS_SYSTEM
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
997 #endif
2361
b1c74a8a020b Arrange for C compilation throughout the tree to get
Jim Blandy <jimb@redhat.com>
parents: 2345
diff changeset
998 #ifndef C_SWITCH_SYSTEM
b1c74a8a020b Arrange for C compilation throughout the tree to get
Jim Blandy <jimb@redhat.com>
parents: 2345
diff changeset
999 #define C_SWITCH_SYSTEM
2363
64dadcfcdf68 Fix typo in source for `configure.tmp.$$.c'.
Jim Blandy <jimb@redhat.com>
parents: 2361
diff changeset
1000 #endif
621
eca8812e61cd *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
1001 @configure@ libsrc_libs=LIBS_MACHINE LIBS_SYSTEM
2361
b1c74a8a020b Arrange for C compilation throughout the tree to get
Jim Blandy <jimb@redhat.com>
parents: 2345
diff changeset
1002 @configure@ c_switch_system=C_SWITCH_SYSTEM
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 605
diff changeset
1003 #ifdef SYSTEM_MALLOC
621
eca8812e61cd *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
1004 @configure@ system_malloc=yes
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 605
diff changeset
1005 #else
621
eca8812e61cd *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
1006 @configure@ system_malloc=no
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 605
diff changeset
1007 #endif
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 605
diff changeset
1008 ' > ${tempcname}
2663
ed552ce28308 * configure.in: Use AC_HAVE_HEADERS to test for sys/time.h, and
Jim Blandy <jimb@redhat.com>
parents: 2624
diff changeset
1009 # The value of CPP is a quoted variable reference, so we need to do this
ed552ce28308 * configure.in: Use AC_HAVE_HEADERS to test for sys/time.h, and
Jim Blandy <jimb@redhat.com>
parents: 2624
diff changeset
1010 # to get its actual value...
ed552ce28308 * configure.in: Use AC_HAVE_HEADERS to test for sys/time.h, and
Jim Blandy <jimb@redhat.com>
parents: 2624
diff changeset
1011 foo=`eval "echo $CPP"`
ed552ce28308 * configure.in: Use AC_HAVE_HEADERS to test for sys/time.h, and
Jim Blandy <jimb@redhat.com>
parents: 2624
diff changeset
1012 eval `${foo} ${tempcname} \
2333
47e301d9868b * configure: Add special code to detect XFree386, and tell
Jim Blandy <jimb@redhat.com>
parents: 2330
diff changeset
1013 | grep '@configure@' \
47e301d9868b * configure: Add special code to detect XFree386, and tell
Jim Blandy <jimb@redhat.com>
parents: 2330
diff changeset
1014 | sed -e 's/^@configure@ \([^=]*=\)\(.*\)$/\1"\2"/'`
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 605
diff changeset
1015 rm ${tempcname}
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 605
diff changeset
1016
2499
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
1017
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 605
diff changeset
1018 # Do the opsystem or machine files prohibit the use of the GNU malloc?
1687
2bee660c3046 * configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
1019 # Assume not, until told otherwise.
2bee660c3046 * configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
1020 GNU_MALLOC=yes
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 605
diff changeset
1021 if [ "${system_malloc}" = "yes" ]; then
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
1022 GNU_MALLOC=no
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
1023 GNU_MALLOC_reason="
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
1024 (The GNU allocators don't work with this system configuration.)"
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 605
diff changeset
1025 fi
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 605
diff changeset
1026
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
1027 if [ ! "${REL_ALLOC}" ]; then
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
1028 REL_ALLOC=${GNU_MALLOC}
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 605
diff changeset
1029 fi
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
1030
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
1031 LISP_FLOAT_TYPE=yes
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
1032
1687
2bee660c3046 * configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
1033
2bee660c3046 * configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
1034 #### Find out which version of Emacs this is.
2bee660c3046 * configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
1035 version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \
2bee660c3046 * configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
1036 | sed -e 's/^.*"\([0-9][0-9]*\.[0-9][0-9]*\)\..*$/\1/'`
2bee660c3046 * configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
1037 if [ ! "${version}" ]; then
2bee660c3046 * configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
1038 echo "${progname}: can't find current emacs version in
2bee660c3046 * configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
1039 \`${srcdir}/lisp/version.el'." >&2
2bee660c3046 * configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
1040 exit 1
2bee660c3046 * configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
1041 fi
2bee660c3046 * configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
1042
2bee660c3046 * configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
1043
2711
2c2052ec537d The GNU coding standards specify that CFLAGS should be left for
Jim Blandy <jimb@redhat.com>
parents: 2678
diff changeset
1044 #### Specify what sort of things we'll be editing into Makefile and config.h.
2499
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
1045 ]
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
1046 AC_SUBST(configuration)
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
1047 AC_SUBST(version)
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
1048 AC_SUBST(srcdir)
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
1049 AC_SUBST(c_switch_system)
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
1050 AC_SUBST(libsrc_libs)
2624
5de08620df66 * configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents: 2516
diff changeset
1051 AC_SUBST(rip_paths)
5de08620df66 * configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents: 2516
diff changeset
1052 AC_SUBST(inst_paths)
2499
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
1053 AC_SUBST(LD_SWITCH_X_SITE)
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
1054 AC_SUBST(C_SWITCH_X_SITE)
2711
2c2052ec537d The GNU coding standards specify that CFLAGS should be left for
Jim Blandy <jimb@redhat.com>
parents: 2678
diff changeset
1055 AC_SUBST(CFLAGS)
2975
11c21b4d400d * configure.in (long_usage): Removed; made short_usage describe
Jim Blandy <jimb@redhat.com>
parents: 2973
diff changeset
1056 AC_SUBST(prefix)
3010
4ca5a6bd174b * configure.in: Add support for the `--exec-prefix' option.
Jim Blandy <jimb@redhat.com>
parents: 3006
diff changeset
1057 AC_SUBST(exec_prefix)
2711
2c2052ec537d The GNU coding standards specify that CFLAGS should be left for
Jim Blandy <jimb@redhat.com>
parents: 2678
diff changeset
1058
2938
0d26c3d15c1b * configure.in: Remove the hack of AC_DEFINE; use
Jim Blandy <jimb@redhat.com>
parents: 2919
diff changeset
1059 AC_DEFINE_UNQUOTED(config_machfile, "\"${machfile}\"")
0d26c3d15c1b * configure.in: Remove the hack of AC_DEFINE; use
Jim Blandy <jimb@redhat.com>
parents: 2919
diff changeset
1060 AC_DEFINE_UNQUOTED(config_opsysfile, "\"${opsysfile}\"")
0d26c3d15c1b * configure.in: Remove the hack of AC_DEFINE; use
Jim Blandy <jimb@redhat.com>
parents: 2919
diff changeset
1061 AC_DEFINE_UNQUOTED(LD_SWITCH_X_SITE, ${LD_SWITCH_X_SITE})
0d26c3d15c1b * configure.in: Remove the hack of AC_DEFINE; use
Jim Blandy <jimb@redhat.com>
parents: 2919
diff changeset
1062 AC_DEFINE_UNQUOTED(C_SWITCH_X_SITE, ${C_SWITCH_X_SITE})
2737
443605a261b3 * configure.in: Sidestep autoconf's quoting of the second argument
Jim Blandy <jimb@redhat.com>
parents: 2711
diff changeset
1063
2499
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
1064 [
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
1065 if [ "${HAVE_X_WINDOWS}" = "yes" ] ; then
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
1066 ] AC_DEFINE(HAVE_X_WINDOWS) [
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
1067 fi
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
1068 if [ "${HAVE_X11}" = "yes" ] ; then
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
1069 ] AC_DEFINE(HAVE_X11) [
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
1070 fi
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
1071 if [ "${HAVE_XFREE386}" = "yes" ] ; then
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
1072 ] AC_DEFINE(HAVE_XFREE386) [
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
1073 fi
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
1074 if [ "${HAVE_X_MENU}" = "yes" ] ; then
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
1075 ] AC_DEFINE(HAVE_X_MENU) [
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
1076 fi
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
1077 if [ "${GNU_MALLOC}" = "yes" ] ; then
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
1078 ] AC_DEFINE(GNU_MALLOC) [
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
1079 fi
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
1080 if [ "${REL_ALLOC}" = "yes" ] ; then
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
1081 ] AC_DEFINE(REL_ALLOC) [
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
1082 fi
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
1083 if [ "${LISP_FLOAT_TYPE}" = "yes" ] ; then
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
1084 ] AC_DEFINE(LISP_FLOAT_TYPE) [
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
1085 fi
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
1086
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
1087
2499
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
1088 #### Report on what we decided to do.
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
1089 echo "
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
1090
2499
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
1091 Configured for \`${configuration}'.
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
1092
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
1093 What operating system and machine description files should Emacs use?
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
1094 \`${opsysfile}' and \`${machfile}'
2711
2c2052ec537d The GNU coding standards specify that CFLAGS should be left for
Jim Blandy <jimb@redhat.com>
parents: 2678
diff changeset
1095 What compiler should emacs be built with? ${CC} ${CFLAGS}
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
1096 Should Emacs use the GNU version of malloc? ${GNU_MALLOC}${GNU_MALLOC_reason}
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
1097 Should Emacs use the relocating allocator for buffers? ${REL_ALLOC}
2499
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
1098 What window system should Emacs use? ${window_system}${x_includes+
2329
b8028b77b69a * configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents: 2244
diff changeset
1099 Where do we find X Windows header files? }${x_includes}${x_libraries+
2499
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
1100 Where do we find X Windows libraries? }${x_libraries}
605
5f36058e31f9 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 603
diff changeset
1101
2499
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
1102 "
605
5f36058e31f9 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 603
diff changeset
1103
2499
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
1104 ### Restore the arguments to this script, so autoconf can record them
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
1105 ### in the config.status file.
3091
1f2e95b188ad At the end, use `set --', not `set -'.
Richard M. Stallman <rms@gnu.org>
parents: 3085
diff changeset
1106 set -- ${arguments}
2499
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
1107 ]
2711
2c2052ec537d The GNU coding standards specify that CFLAGS should be left for
Jim Blandy <jimb@redhat.com>
parents: 2678
diff changeset
1108 AC_OUTPUT(Makefile)