annotate configure1.in @ 4607:81ee2854ccb5

Check for XScreenNumberOfScreen. Add * to end of all configuration alternatives. (m68*-sony-newsos3*): New alternative. For --help, use $PAGER if it is set. (LIB_X11_LIB): Default to -lX11. (mips-sgi-irix5.*): New alternative. (m68*-hp-hpux*, hppa*-hp-hpux*): Recognize *.B8.* as hpux version 8. (m68*-tektronix-bsd*): Fix typo in tek4300. (AC_HAVE_FUNCS): Add ftime.
author Richard M. Stallman <rms@gnu.org>
date Fri, 13 Aug 1993 22:18:34 +0000
parents 87c959b66ae2
children feec1422d547
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
3262
4ece9a6d1f37 * configure.in: Traverse the argument list without destroying it;
Jim Blandy <jimb@redhat.com>
parents: 3259
diff changeset
103 ### Don't use shift -- that destroys the argument list, which autoconf needs
4ece9a6d1f37 * configure.in: Traverse the argument list without destroying it;
Jim Blandy <jimb@redhat.com>
parents: 3259
diff changeset
104 ### to produce config.status. It turns out that "set - ${arguments}" doesn't
4ece9a6d1f37 * configure.in: Traverse the argument list without destroying it;
Jim Blandy <jimb@redhat.com>
parents: 3259
diff changeset
105 ### work portably.
4ece9a6d1f37 * configure.in: Traverse the argument list without destroying it;
Jim Blandy <jimb@redhat.com>
parents: 3259
diff changeset
106 index=0
4ece9a6d1f37 * configure.in: Traverse the argument list without destroying it;
Jim Blandy <jimb@redhat.com>
parents: 3259
diff changeset
107 while [ $index -lt $# ]; do
4ece9a6d1f37 * configure.in: Traverse the argument list without destroying it;
Jim Blandy <jimb@redhat.com>
parents: 3259
diff changeset
108 index=`expr $index + 1`
4ece9a6d1f37 * configure.in: Traverse the argument list without destroying it;
Jim Blandy <jimb@redhat.com>
parents: 3259
diff changeset
109 arg=`eval echo '$'$index`
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
110 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
111
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
112 ## 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
113 -* )
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
114
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
115 ## Separate the switch name from the value it's being given.
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
116 case "${arg}" in
1139
4875b01ff377 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 1112
diff changeset
117 -*=*)
1423
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
118 opt=`echo ${arg} | sed 's:^-*\([^=]*\)=.*$:\1:'`
1139
4875b01ff377 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 1112
diff changeset
119 val=`echo ${arg} | sed 's:^-*[^=]*=\(.*\)$:\1:'`
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
120 valomitted=no
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
121 ;;
1139
4875b01ff377 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 1112
diff changeset
122 -*)
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
123 ## 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
124 ## --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
125 ## argument - see below.
1423
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
126 opt=`echo ${arg} | sed 's:^-*\(.*\)$:\1:'`
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
127 val="yes"
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
128 valomitted=yes
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
129 ;;
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
130 esac
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
131
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
132 ## Change `-' in the option name to `_'.
2345
91711632f474 * configure: Doc fix.
Jim Blandy <jimb@redhat.com>
parents: 2333
diff changeset
133 optname="${opt}"
1423
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
134 opt="`echo ${opt} | tr - _`"
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
135
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
136 ## Process the option.
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
137 case "${opt}" in
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
138
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
139 ## 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
140 "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
141 ## Make sure the value given was either "yes" or "no".
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
142 case "${val}" in
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
143 y | ye | yes ) val=yes ;;
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
144 n | no ) val=no ;;
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
145 * )
2345
91711632f474 * configure: Doc fix.
Jim Blandy <jimb@redhat.com>
parents: 2333
diff changeset
146 (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
147 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
148 echo "${short_usage}") >&2
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
149 exit 1
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
150 ;;
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
151 esac
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
152 eval "${opt}=\"${val}\""
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
153 ;;
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
154
1859
bf9e3f462e86 * configure (progname): New option `--with-gcc'. Make it clearer
Jim Blandy <jimb@redhat.com>
parents: 1699
diff changeset
155 ## 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
156 "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
157 ## 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
158 case "${val}" in
bf9e3f462e86 * configure (progname): New option `--with-gcc'. Make it clearer
Jim Blandy <jimb@redhat.com>
parents: 1699
diff changeset
159 y | ye | yes ) val=yes ;;
bf9e3f462e86 * configure (progname): New option `--with-gcc'. Make it clearer
Jim Blandy <jimb@redhat.com>
parents: 1699
diff changeset
160 n | no ) val=no ;;
bf9e3f462e86 * configure (progname): New option `--with-gcc'. Make it clearer
Jim Blandy <jimb@redhat.com>
parents: 1699
diff changeset
161 * )
2345
91711632f474 * configure: Doc fix.
Jim Blandy <jimb@redhat.com>
parents: 2333
diff changeset
162 (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
163 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
164 echo "${short_usage}") >&2
bf9e3f462e86 * configure (progname): New option `--with-gcc'. Make it clearer
Jim Blandy <jimb@redhat.com>
parents: 1699
diff changeset
165 exit 1
bf9e3f462e86 * configure (progname): New option `--with-gcc'. Make it clearer
Jim Blandy <jimb@redhat.com>
parents: 1699
diff changeset
166 ;;
bf9e3f462e86 * configure (progname): New option `--with-gcc'. Make it clearer
Jim Blandy <jimb@redhat.com>
parents: 1699
diff changeset
167 esac
bf9e3f462e86 * configure (progname): New option `--with-gcc'. Make it clearer
Jim Blandy <jimb@redhat.com>
parents: 1699
diff changeset
168 eval "${opt}=\"${val}\""
bf9e3f462e86 * configure (progname): New option `--with-gcc'. Make it clearer
Jim Blandy <jimb@redhat.com>
parents: 1699
diff changeset
169 ;;
bf9e3f462e86 * configure (progname): New option `--with-gcc'. Make it clearer
Jim Blandy <jimb@redhat.com>
parents: 1699
diff changeset
170
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
171 ## 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
172 "srcdir" )
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
173 ## If the value was omitted, get it from the next argument.
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
174 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
175 ## Get the next argument from the argument list, if there is one.
3262
4ece9a6d1f37 * configure.in: Traverse the argument list without destroying it;
Jim Blandy <jimb@redhat.com>
parents: 3259
diff changeset
176 if [ $index = $# ]; then
2345
91711632f474 * configure: Doc fix.
Jim Blandy <jimb@redhat.com>
parents: 2333
diff changeset
177 (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
178 \`--${optname}=FOO'."
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
179 echo "${short_usage}") >&2
621
eca8812e61cd *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
180 exit 1
eca8812e61cd *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
181 fi
3262
4ece9a6d1f37 * configure.in: Traverse the argument list without destroying it;
Jim Blandy <jimb@redhat.com>
parents: 3259
diff changeset
182 index=`expr $index + 1`
4ece9a6d1f37 * configure.in: Traverse the argument list without destroying it;
Jim Blandy <jimb@redhat.com>
parents: 3259
diff changeset
183 val=`eval echo '$'$index`
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
184 fi
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
185 srcdir="${val}"
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
186 ;;
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
187
2329
b8028b77b69a * configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents: 2244
diff changeset
188 ## 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
189 ## 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
190 ## 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
191 ## installed in odd places.
2345
91711632f474 * configure: Doc fix.
Jim Blandy <jimb@redhat.com>
parents: 2333
diff changeset
192 "x_includes" )
2329
b8028b77b69a * configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents: 2244
diff changeset
193 ## 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
194 if [ "${valomitted}" = "yes" ]; then
b8028b77b69a * configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents: 2244
diff changeset
195 ## Get the next argument from the argument list, if there is one.
3262
4ece9a6d1f37 * configure.in: Traverse the argument list without destroying it;
Jim Blandy <jimb@redhat.com>
parents: 3259
diff changeset
196 if [ $index = $# ]; then
2345
91711632f474 * configure: Doc fix.
Jim Blandy <jimb@redhat.com>
parents: 2333
diff changeset
197 (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
198 \`--${optname}=FOO'."
2329
b8028b77b69a * configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents: 2244
diff changeset
199 echo "${short_usage}") >&2
b8028b77b69a * configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents: 2244
diff changeset
200 exit 1
b8028b77b69a * configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents: 2244
diff changeset
201 fi
3262
4ece9a6d1f37 * configure.in: Traverse the argument list without destroying it;
Jim Blandy <jimb@redhat.com>
parents: 3259
diff changeset
202 index=`expr $index + 1`
4ece9a6d1f37 * configure.in: Traverse the argument list without destroying it;
Jim Blandy <jimb@redhat.com>
parents: 3259
diff changeset
203 val=`eval echo '$'$index`
2329
b8028b77b69a * configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents: 2244
diff changeset
204 fi
b8028b77b69a * configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents: 2244
diff changeset
205 x_includes="${val}"
b8028b77b69a * configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents: 2244
diff changeset
206 ;;
2345
91711632f474 * configure: Doc fix.
Jim Blandy <jimb@redhat.com>
parents: 2333
diff changeset
207 "x_libraries" )
2329
b8028b77b69a * configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents: 2244
diff changeset
208 ## 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
209 if [ "${valomitted}" = "yes" ]; then
b8028b77b69a * configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents: 2244
diff changeset
210 ## Get the next argument from the argument list, if there is one.
3262
4ece9a6d1f37 * configure.in: Traverse the argument list without destroying it;
Jim Blandy <jimb@redhat.com>
parents: 3259
diff changeset
211 if [ $index = $# ]; then
2345
91711632f474 * configure: Doc fix.
Jim Blandy <jimb@redhat.com>
parents: 2333
diff changeset
212 (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
213 \`--${optname}=FOO'."
2329
b8028b77b69a * configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents: 2244
diff changeset
214 echo "${short_usage}") >&2
b8028b77b69a * configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents: 2244
diff changeset
215 exit 1
b8028b77b69a * configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents: 2244
diff changeset
216 fi
3262
4ece9a6d1f37 * configure.in: Traverse the argument list without destroying it;
Jim Blandy <jimb@redhat.com>
parents: 3259
diff changeset
217 index=`expr $index + 1`
4ece9a6d1f37 * configure.in: Traverse the argument list without destroying it;
Jim Blandy <jimb@redhat.com>
parents: 3259
diff changeset
218 val=`eval echo '$'$index`
2329
b8028b77b69a * configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents: 2244
diff changeset
219 fi
b8028b77b69a * configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents: 2244
diff changeset
220 x_libraries="${val}"
b8028b77b69a * configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents: 2244
diff changeset
221 ;;
b8028b77b69a * configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents: 2244
diff changeset
222
2624
5de08620df66 * configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents: 2516
diff changeset
223 ## 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
224 "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
225 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
226 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
227 ;;
5de08620df66 * configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents: 2516
diff changeset
228
3591
507f64624555 Apply typo patches from Paul Eggert.
Jim Blandy <jimb@redhat.com>
parents: 3582
diff changeset
229 ## Has the user specified an installation prefix?
2975
11c21b4d400d * configure.in (long_usage): Removed; made short_usage describe
Jim Blandy <jimb@redhat.com>
parents: 2973
diff changeset
230 "prefix" )
11c21b4d400d * configure.in (long_usage): Removed; made short_usage describe
Jim Blandy <jimb@redhat.com>
parents: 2973
diff changeset
231 ## 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
232 if [ "${valomitted}" = "yes" ]; then
11c21b4d400d * configure.in (long_usage): Removed; made short_usage describe
Jim Blandy <jimb@redhat.com>
parents: 2973
diff changeset
233 ## Get the next argument from the argument list, if there is one.
3262
4ece9a6d1f37 * configure.in: Traverse the argument list without destroying it;
Jim Blandy <jimb@redhat.com>
parents: 3259
diff changeset
234 if [ $index = $# ]; then
2975
11c21b4d400d * configure.in (long_usage): Removed; made short_usage describe
Jim Blandy <jimb@redhat.com>
parents: 2973
diff changeset
235 (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
236 \`--${optname}=FOO'."
11c21b4d400d * configure.in (long_usage): Removed; made short_usage describe
Jim Blandy <jimb@redhat.com>
parents: 2973
diff changeset
237 echo "${short_usage}") >&2
11c21b4d400d * configure.in (long_usage): Removed; made short_usage describe
Jim Blandy <jimb@redhat.com>
parents: 2973
diff changeset
238 exit 1
11c21b4d400d * configure.in (long_usage): Removed; made short_usage describe
Jim Blandy <jimb@redhat.com>
parents: 2973
diff changeset
239 fi
3262
4ece9a6d1f37 * configure.in: Traverse the argument list without destroying it;
Jim Blandy <jimb@redhat.com>
parents: 3259
diff changeset
240 index=`expr $index + 1`
4ece9a6d1f37 * configure.in: Traverse the argument list without destroying it;
Jim Blandy <jimb@redhat.com>
parents: 3259
diff changeset
241 val=`eval echo '$'$index`
2975
11c21b4d400d * configure.in (long_usage): Removed; made short_usage describe
Jim Blandy <jimb@redhat.com>
parents: 2973
diff changeset
242 fi
11c21b4d400d * configure.in (long_usage): Removed; made short_usage describe
Jim Blandy <jimb@redhat.com>
parents: 2973
diff changeset
243 prefix="${val}"
11c21b4d400d * configure.in (long_usage): Removed; made short_usage describe
Jim Blandy <jimb@redhat.com>
parents: 2973
diff changeset
244 ;;
11c21b4d400d * configure.in (long_usage): Removed; made short_usage describe
Jim Blandy <jimb@redhat.com>
parents: 2973
diff changeset
245
3591
507f64624555 Apply typo patches from Paul Eggert.
Jim Blandy <jimb@redhat.com>
parents: 3582
diff changeset
246 ## Has the user specified an installation prefix?
3010
4ca5a6bd174b * configure.in: Add support for the `--exec-prefix' option.
Jim Blandy <jimb@redhat.com>
parents: 3006
diff changeset
247 "exec_prefix" )
4ca5a6bd174b * configure.in: Add support for the `--exec-prefix' option.
Jim Blandy <jimb@redhat.com>
parents: 3006
diff changeset
248 ## 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
249 if [ "${valomitted}" = "yes" ]; then
4ca5a6bd174b * configure.in: Add support for the `--exec-prefix' option.
Jim Blandy <jimb@redhat.com>
parents: 3006
diff changeset
250 ## Get the next argument from the argument list, if there is one.
3262
4ece9a6d1f37 * configure.in: Traverse the argument list without destroying it;
Jim Blandy <jimb@redhat.com>
parents: 3259
diff changeset
251 if [ $index = $# ]; then
3010
4ca5a6bd174b * configure.in: Add support for the `--exec-prefix' option.
Jim Blandy <jimb@redhat.com>
parents: 3006
diff changeset
252 (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
253 \`--${optname}=FOO'."
4ca5a6bd174b * configure.in: Add support for the `--exec-prefix' option.
Jim Blandy <jimb@redhat.com>
parents: 3006
diff changeset
254 echo "${short_usage}") >&2
4ca5a6bd174b * configure.in: Add support for the `--exec-prefix' option.
Jim Blandy <jimb@redhat.com>
parents: 3006
diff changeset
255 exit 1
4ca5a6bd174b * configure.in: Add support for the `--exec-prefix' option.
Jim Blandy <jimb@redhat.com>
parents: 3006
diff changeset
256 fi
3262
4ece9a6d1f37 * configure.in: Traverse the argument list without destroying it;
Jim Blandy <jimb@redhat.com>
parents: 3259
diff changeset
257 index=`expr $index + 1`
4ece9a6d1f37 * configure.in: Traverse the argument list without destroying it;
Jim Blandy <jimb@redhat.com>
parents: 3259
diff changeset
258 val=`eval echo '$'$index`
3010
4ca5a6bd174b * configure.in: Add support for the `--exec-prefix' option.
Jim Blandy <jimb@redhat.com>
parents: 3006
diff changeset
259 fi
4ca5a6bd174b * configure.in: Add support for the `--exec-prefix' option.
Jim Blandy <jimb@redhat.com>
parents: 3006
diff changeset
260 exec_prefix="${val}"
4ca5a6bd174b * configure.in: Add support for the `--exec-prefix' option.
Jim Blandy <jimb@redhat.com>
parents: 3006
diff changeset
261 ;;
4ca5a6bd174b * configure.in: Add support for the `--exec-prefix' option.
Jim Blandy <jimb@redhat.com>
parents: 3006
diff changeset
262
3892
ad7559755428 * configure.in: Add --verbose flag.
Jim Blandy <jimb@redhat.com>
parents: 3820
diff changeset
263 ## Verbose flag, tested by autoconf macros.
ad7559755428 * configure.in: Add --verbose flag.
Jim Blandy <jimb@redhat.com>
parents: 3820
diff changeset
264 "verbose" )
ad7559755428 * configure.in: Add --verbose flag.
Jim Blandy <jimb@redhat.com>
parents: 3820
diff changeset
265 verbose=yes
ad7559755428 * configure.in: Add --verbose flag.
Jim Blandy <jimb@redhat.com>
parents: 3820
diff changeset
266 ;;
ad7559755428 * configure.in: Add --verbose flag.
Jim Blandy <jimb@redhat.com>
parents: 3820
diff changeset
267
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
268 ## 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
269 "usage" | "help" )
4607
81ee2854ccb5 Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents: 4542
diff changeset
270 if [ "x$PAGER" = x ]
81ee2854ccb5 Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents: 4542
diff changeset
271 then
81ee2854ccb5 Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents: 4542
diff changeset
272 echo "${short_usage}" | more
81ee2854ccb5 Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents: 4542
diff changeset
273 else
81ee2854ccb5 Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents: 4542
diff changeset
274 echo "${short_usage}" | $PAGER
81ee2854ccb5 Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents: 4542
diff changeset
275 fi
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
276 exit
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
277 ;;
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
278
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
279 ## 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
280 esac
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
281 ;;
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
282
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
283 ## 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
284 ## configuration name.
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
285 *)
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
286 configuration=${arg}
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
287 ;;
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
288
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
289 esac
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
290 done
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
291
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
292 if [ "${configuration}" = "" ]; then
3139
198e8fd690de * config.guess: New file.
Jim Blandy <jimb@redhat.com>
parents: 3124
diff changeset
293 echo '- You did not tell me what kind of host system you want to configure.
198e8fd690de * config.guess: New file.
Jim Blandy <jimb@redhat.com>
parents: 3124
diff changeset
294 - I will attempt to guess the kind of system this is.' 1>&2
198e8fd690de * config.guess: New file.
Jim Blandy <jimb@redhat.com>
parents: 3124
diff changeset
295 guesssys=`echo ${progname} | sed 's/configure$/config.guess/'`
198e8fd690de * config.guess: New file.
Jim Blandy <jimb@redhat.com>
parents: 3124
diff changeset
296 if configuration=`${guesssys}` ; then
198e8fd690de * config.guess: New file.
Jim Blandy <jimb@redhat.com>
parents: 3124
diff changeset
297 echo "- Looks like this is a ${configuration}" 1>&2
198e8fd690de * config.guess: New file.
Jim Blandy <jimb@redhat.com>
parents: 3124
diff changeset
298 else
198e8fd690de * config.guess: New file.
Jim Blandy <jimb@redhat.com>
parents: 3124
diff changeset
299 echo '- Failed to guess the system type. You need to tell me.' 1>&2
3178
241c63a9aaa1 Delete spurious paren outputting short_usage.
Richard M. Stallman <rms@gnu.org>
parents: 3139
diff changeset
300 echo "${short_usage}" >&2
3139
198e8fd690de * config.guess: New file.
Jim Blandy <jimb@redhat.com>
parents: 3124
diff changeset
301 exit 1
198e8fd690de * config.guess: New file.
Jim Blandy <jimb@redhat.com>
parents: 3124
diff changeset
302 fi
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
303 fi
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
304
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
305 #### 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
306 case "${srcdir}" in
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
307
1687
2bee660c3046 * configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
308 ## 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
309 "" )
3059
2d8952db38ee * configure.in: Check to see if the source lives in the same
Jim Blandy <jimb@redhat.com>
parents: 3057
diff changeset
310 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
311 if [ -f $confdir/src/lisp.h -a -f $confdir/lisp/version.el ]; then
3193
d4e38dec127d * configure.in (prefix): Don't run pwd on srcdir unnecessarily.
Jim Blandy <jimb@redhat.com>
parents: 3178
diff changeset
312 srcdir="${confdir}"
1687
2bee660c3046 * configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
313 else
3059
2d8952db38ee * configure.in: Check to see if the source lives in the same
Jim Blandy <jimb@redhat.com>
parents: 3057
diff changeset
314 if [ -f "./src/lisp.h" -a -f "./lisp/version.el" ]; then
3304
eed494603359 When looking for sources, use '.', not `.`. Also '..'.
Richard M. Stallman <rms@gnu.org>
parents: 3300
diff changeset
315 srcdir='.'
1687
2bee660c3046 * configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
316 else
3059
2d8952db38ee * configure.in: Check to see if the source lives in the same
Jim Blandy <jimb@redhat.com>
parents: 3057
diff changeset
317 if [ -f "../src/lisp.h" -a -f "../lisp/version.el" ]; then
3304
eed494603359 When looking for sources, use '.', not `.`. Also '..'.
Richard M. Stallman <rms@gnu.org>
parents: 3300
diff changeset
318 srcdir='..'
3059
2d8952db38ee * configure.in: Check to see if the source lives in the same
Jim Blandy <jimb@redhat.com>
parents: 3057
diff changeset
319 else
2d8952db38ee * configure.in: Check to see if the source lives in the same
Jim Blandy <jimb@redhat.com>
parents: 3057
diff changeset
320 (echo "\
1687
2bee660c3046 * configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
321 ${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
322 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
323 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
324 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
325 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
326 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
327 exit 1
2d8952db38ee * configure.in: Check to see if the source lives in the same
Jim Blandy <jimb@redhat.com>
parents: 3057
diff changeset
328 fi
1687
2bee660c3046 * configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
329 fi
2bee660c3046 * configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
330 fi
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
331 ;;
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
332
1687
2bee660c3046 * configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
333 ## 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
334 * )
1687
2bee660c3046 * configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
335 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
336 (echo "\
2bee660c3046 * configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
337 ${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
338 \`${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
339 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
340 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
341 are."
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
342 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
343 exit 1
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
344 fi
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
345 ;;
3193
d4e38dec127d * configure.in (prefix): Don't run pwd on srcdir unnecessarily.
Jim Blandy <jimb@redhat.com>
parents: 3178
diff changeset
346 esac
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
347
3193
d4e38dec127d * configure.in (prefix): Don't run pwd on srcdir unnecessarily.
Jim Blandy <jimb@redhat.com>
parents: 3178
diff changeset
348 #### Make srcdir absolute, if it isn't already. It's important to
d4e38dec127d * configure.in (prefix): Don't run pwd on srcdir unnecessarily.
Jim Blandy <jimb@redhat.com>
parents: 3178
diff changeset
349 #### avoid running the path through pwd unnecessary, since pwd can
d4e38dec127d * configure.in (prefix): Don't run pwd on srcdir unnecessarily.
Jim Blandy <jimb@redhat.com>
parents: 3178
diff changeset
350 #### give you automounter prefixes, which can go away.
d4e38dec127d * configure.in (prefix): Don't run pwd on srcdir unnecessarily.
Jim Blandy <jimb@redhat.com>
parents: 3178
diff changeset
351 case "${srcdir}" in
d4e38dec127d * configure.in (prefix): Don't run pwd on srcdir unnecessarily.
Jim Blandy <jimb@redhat.com>
parents: 3178
diff changeset
352 /* ) ;;
3200
add7f1e21bee * configure.in: If srcdir is '.', then try using PWD to make it
Jim Blandy <jimb@redhat.com>
parents: 3196
diff changeset
353 . )
add7f1e21bee * configure.in: If srcdir is '.', then try using PWD to make it
Jim Blandy <jimb@redhat.com>
parents: 3196
diff changeset
354 ## We may be able to use the $PWD environment variable to make this
add7f1e21bee * configure.in: If srcdir is '.', then try using PWD to make it
Jim Blandy <jimb@redhat.com>
parents: 3196
diff changeset
355 ## absolute. But sometimes PWD is inaccurate.
add7f1e21bee * configure.in: If srcdir is '.', then try using PWD to make it
Jim Blandy <jimb@redhat.com>
parents: 3196
diff changeset
356 if [ "${PWD}" != "" ] && [ "`(cd ${PWD} ; pwd)`" = "`pwd`" ] ; then
add7f1e21bee * configure.in: If srcdir is '.', then try using PWD to make it
Jim Blandy <jimb@redhat.com>
parents: 3196
diff changeset
357 srcdir="$PWD"
add7f1e21bee * configure.in: If srcdir is '.', then try using PWD to make it
Jim Blandy <jimb@redhat.com>
parents: 3196
diff changeset
358 else
add7f1e21bee * configure.in: If srcdir is '.', then try using PWD to make it
Jim Blandy <jimb@redhat.com>
parents: 3196
diff changeset
359 srcdir="`(cd ${srcdir}; pwd)`"
3259
de18f95a692c * configure.in: Add missing "fi".
Jim Blandy <jimb@redhat.com>
parents: 3245
diff changeset
360 fi
3200
add7f1e21bee * configure.in: If srcdir is '.', then try using PWD to make it
Jim Blandy <jimb@redhat.com>
parents: 3196
diff changeset
361 ;;
3193
d4e38dec127d * configure.in (prefix): Don't run pwd on srcdir unnecessarily.
Jim Blandy <jimb@redhat.com>
parents: 3178
diff changeset
362 * ) srcdir="`(cd ${srcdir}; pwd)`" ;;
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
363 esac
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
364
3300
3ac8efebf586 * configure.in: Complain if srcdir points at an already-configured
Jim Blandy <jimb@redhat.com>
parents: 3271
diff changeset
365 #### Make sure that the source directory doesn't already have a
3ac8efebf586 * configure.in: Complain if srcdir points at an already-configured
Jim Blandy <jimb@redhat.com>
parents: 3271
diff changeset
366 #### configured system in it.
3322
6cfb031aabc7 * configure.in: Use s/bsd4-3.h for mips-mips-riscos4.
Jim Blandy <jimb@redhat.com>
parents: 3304
diff changeset
367 if [ `pwd` != `(cd ${srcdir} && pwd)` ] \
6cfb031aabc7 * configure.in: Use s/bsd4-3.h for mips-mips-riscos4.
Jim Blandy <jimb@redhat.com>
parents: 3304
diff changeset
368 && [ -f "${srcdir}/src/config.h" ] ; then
6cfb031aabc7 * configure.in: Use s/bsd4-3.h for mips-mips-riscos4.
Jim Blandy <jimb@redhat.com>
parents: 3304
diff changeset
369 (echo "${progname}: the directory tree \`${srcdir}' is being used"
6cfb031aabc7 * configure.in: Use s/bsd4-3.h for mips-mips-riscos4.
Jim Blandy <jimb@redhat.com>
parents: 3304
diff changeset
370 echo " as a build directory right now; it has been configured in its own"
6cfb031aabc7 * configure.in: Use s/bsd4-3.h for mips-mips-riscos4.
Jim Blandy <jimb@redhat.com>
parents: 3304
diff changeset
371 echo " right. You can't use srcdir in this situation.") >&2
3300
3ac8efebf586 * configure.in: Complain if srcdir points at an already-configured
Jim Blandy <jimb@redhat.com>
parents: 3271
diff changeset
372 exit 1
3ac8efebf586 * configure.in: Complain if srcdir points at an already-configured
Jim Blandy <jimb@redhat.com>
parents: 3271
diff changeset
373 fi
3193
d4e38dec127d * configure.in (prefix): Don't run pwd on srcdir unnecessarily.
Jim Blandy <jimb@redhat.com>
parents: 3178
diff changeset
374
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
375 ### Make the necessary directories, if they don't exist.
3751
72997ec201f2 * configure.in (version): Check the X libraries for XrmSetDatabase
Jim Blandy <jimb@redhat.com>
parents: 3635
diff changeset
376 for dir in ./src ./lib-src ./cpp ./oldXMenu ./etc ; do
72997ec201f2 * configure.in (version): Check the X libraries for XrmSetDatabase
Jim Blandy <jimb@redhat.com>
parents: 3635
diff changeset
377 if [ ! -d ${dir} ]; then
72997ec201f2 * configure.in (version): Check the X libraries for XrmSetDatabase
Jim Blandy <jimb@redhat.com>
parents: 3635
diff changeset
378 mkdir ${dir}
72997ec201f2 * configure.in (version): Check the X libraries for XrmSetDatabase
Jim Blandy <jimb@redhat.com>
parents: 3635
diff changeset
379 fi
72997ec201f2 * configure.in (version): Check the X libraries for XrmSetDatabase
Jim Blandy <jimb@redhat.com>
parents: 3635
diff changeset
380 done
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
381
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
382 #### 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
383 #### 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
384
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
385 ### Canonicalize the configuration name.
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
386 echo "Checking the configuration name."
4163
f8fa30d5b7fd (canonical): New variable holds the canonicalized
Richard M. Stallman <rms@gnu.org>
parents: 4125
diff changeset
387 if canonical=`${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
388 exit $?
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
389 fi
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
390
2100
4c081de167f4 * configure: Recognize strings like "sysvr0" or "sysvr1" as System V.
Jim Blandy <jimb@redhat.com>
parents: 2007
diff changeset
391 ### 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
392 ### 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
393 ### 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
394
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
395 ### 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
396 ### 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
397 ### 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
398 ### 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
399 ### 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
400 ### 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
401 ### 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
402 ### configuration name.
2100
4c081de167f4 * configure: Recognize strings like "sysvr0" or "sysvr1" as System V.
Jim Blandy <jimb@redhat.com>
parents: 2007
diff changeset
403 ###
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
404 ### 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
405 ### 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
406 ### /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
407 ### 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
408 ### 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
409 ###
4c081de167f4 * configure: Recognize strings like "sysvr0" or "sysvr1" as System V.
Jim Blandy <jimb@redhat.com>
parents: 2007
diff changeset
410 ### 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
411 ### "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
412 ### 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
413
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
414 machine='' opsys='' unported='false'
4163
f8fa30d5b7fd (canonical): New variable holds the canonicalized
Richard M. Stallman <rms@gnu.org>
parents: 4125
diff changeset
415 case "${canonical}" in
1629
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 ## Alliant machines
1423
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
418 ## 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
419 ## 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
420 ## 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
421 ## 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
422 ## 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
423 fx80-alliant-* )
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
424 machine=alliant4 opsys=bsd4-2
1423
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
425 ;;
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
426 i860-alliant-* )
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
427 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
428 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
429
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
430 ## Altos 3068
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
431 m68*-altos-sysv* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
432 machine=altos opsys=usg5-2
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
433 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
434
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
435 ## Amdahl UTS
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
436 580-amdahl-sysv* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
437 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
438 ;;
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 ## 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
441 m68*-apollo* )
2711
2c2052ec537d The GNU coding standards specify that CFLAGS should be left for
Jim Blandy <jimb@redhat.com>
parents: 2678
diff changeset
442 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
443 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
444
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
445 ## 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
446 we32k-att-sysv* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
447 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
448 ;;
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 ## 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
451 m68*-att-sysv* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
452 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
453 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
454
4125
66f2f7838436 * configure.in (m68k-bull-sysv3): new config.
Jim Blandy <jimb@redhat.com>
parents: 4060
diff changeset
455 ## Bull dpx2
66f2f7838436 * configure.in (m68k-bull-sysv3): new config.
Jim Blandy <jimb@redhat.com>
parents: 4060
diff changeset
456 m68*-bull-sysv3* )
66f2f7838436 * configure.in (m68k-bull-sysv3): new config.
Jim Blandy <jimb@redhat.com>
parents: 4060
diff changeset
457 machine=dpx2 opsys=usg5-3
66f2f7838436 * configure.in (m68k-bull-sysv3): new config.
Jim Blandy <jimb@redhat.com>
parents: 4060
diff changeset
458 ;;
66f2f7838436 * configure.in (m68k-bull-sysv3): new config.
Jim Blandy <jimb@redhat.com>
parents: 4060
diff changeset
459
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
460 ## Bull sps7
4125
66f2f7838436 * configure.in (m68k-bull-sysv3): new config.
Jim Blandy <jimb@redhat.com>
parents: 4060
diff changeset
461 m68*-bull-sysv2* )
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
462 machine=sps7 opsys=usg5-2
1423
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
463 ;;
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
464
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
465 ## 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
466
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
467 ## Celerity
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
468 ## 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
469 ## 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
470 ## in touch with us!
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
471 celerity-celerity-bsd* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
472 machine=celerity opsys=bsd4-2
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
473 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
474
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
475 ## Clipper
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
476 ## 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
477 ## tested on?
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
478 clipper-* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
479 machine=clipper
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
480 ## 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
481 ## operating system.
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
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
484 ## Convex
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
485 *-convex-bsd* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
486 machine=convex opsys=bsd4-3
1423
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
487 ;;
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
488
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
489 ## Cubix QBx/386
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
490 i386-cubix-sysv* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
491 machine=intel386 opsys=usg5-3
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
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
494 ## Cydra 5
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
495 cydra*-cydrome-sysv* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
496 machine=cydra5 opsys=usg5-3
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
497 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
498
3599
3b928190a3e8 * configure.in: Recognize configuration name for Data General
Jim Blandy <jimb@redhat.com>
parents: 3591
diff changeset
499 ## Data General AViiON Machines
3b928190a3e8 * configure.in: Recognize configuration name for Data General
Jim Blandy <jimb@redhat.com>
parents: 3591
diff changeset
500 m88k-dg-dgux* )
3b928190a3e8 * configure.in: Recognize configuration name for Data General
Jim Blandy <jimb@redhat.com>
parents: 3591
diff changeset
501 machine=aviion opsys=dgux
3b928190a3e8 * configure.in: Recognize configuration name for Data General
Jim Blandy <jimb@redhat.com>
parents: 3591
diff changeset
502 ;;
3b928190a3e8 * configure.in: Recognize configuration name for Data General
Jim Blandy <jimb@redhat.com>
parents: 3591
diff changeset
503
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
504 ## DECstations
4607
81ee2854ccb5 Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents: 4542
diff changeset
505 mips-dec-ultrix[0-3].* | mips-dec-ultrix4.0* | mips-dec-bsd4.2* )
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
506 machine=pmax opsys=bsd4-2
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
507 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
508 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
509 machine=pmax opsys=bsd4-3
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 mips-dec-osf* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
512 machine=pmax opsys=osf1
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
513 ;;
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 ## Motorola Delta machines
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
516 m68*-motorola-sysv* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
517 machine=delta opsys=usg5-3
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
518 ;;
3772
011935247e94 * configure.in: Add case for m88k-motorola-sysv4.
Jim Blandy <jimb@redhat.com>
parents: 3771
diff changeset
519 m88k-motorola-sysv4* )
011935247e94 * configure.in: Add case for m88k-motorola-sysv4.
Jim Blandy <jimb@redhat.com>
parents: 3771
diff changeset
520 machine=delta88k opsys=usg5-4
011935247e94 * configure.in: Add case for m88k-motorola-sysv4.
Jim Blandy <jimb@redhat.com>
parents: 3771
diff changeset
521 ;;
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
522 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
523 machine=delta88k opsys=usg5-3
1423
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
524 ;;
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
525
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
526 ## Dual machines
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
527 m68*-dual-sysv* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
528 machine=dual opsys=usg5-2
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
529 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
530 m68*-dual-uniplus* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
531 machine=dual opsys=unipl5-2
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
532 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
533
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
534 ## Elxsi 6400
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
535 elxsi-elxsi-sysv* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
536 machine=elxsi opsys=usg5-2
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
537 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
538
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
539 ## Encore machines
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
540 ns16k-encore-bsd* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
541 machine=ns16000 opsys=umax
1423
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
542 ;;
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
543
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
544 ## 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
545
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
546 ## Gould Power Node and NP1
4607
81ee2854ccb5 Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents: 4542
diff changeset
547 pn-gould-bsd4.2* )
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
548 machine=gould opsys=bsd4-2
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
549 ;;
4607
81ee2854ccb5 Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents: 4542
diff changeset
550 pn-gould-bsd4.3* )
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
551 machine=gould opsys=bsd4-3
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
552 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
553 np1-gould-bsd* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
554 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
555 ;;
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 ## Honeywell XPS100
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
558 xps*-honeywell-sysv* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
559 machine=xps100 opsys=usg5-2
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
560 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
561
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
562 ## 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
563 m68*-hp-bsd* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
564 machine=hp9000s300 opsys=bsd4-3
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
565 ;;
3771
78c629b32fd9 * configure.in: Move clause for PC-compatible i386 box to the end
Jim Blandy <jimb@redhat.com>
parents: 3761
diff changeset
566 ## HP/UX 7, 8 and 9 are supported on these machines.
1423
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
567 m68*-hp-hpux* )
3771
78c629b32fd9 * configure.in: Move clause for PC-compatible i386 box to the end
Jim Blandy <jimb@redhat.com>
parents: 3761
diff changeset
568 case "`uname -r`" in
4607
81ee2854ccb5 Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents: 4542
diff changeset
569 ## Someone's system reports A.B8.05 for this.
81ee2854ccb5 Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents: 4542
diff changeset
570 ## I wonder what other possibilities there are.
81ee2854ccb5 Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents: 4542
diff changeset
571 *.B8.* ) machine=hp9000s300 opsys=hpux8 ;;
3771
78c629b32fd9 * configure.in: Move clause for PC-compatible i386 box to the end
Jim Blandy <jimb@redhat.com>
parents: 3761
diff changeset
572 *.08.* ) machine=hp9000s300 opsys=hpux8 ;;
78c629b32fd9 * configure.in: Move clause for PC-compatible i386 box to the end
Jim Blandy <jimb@redhat.com>
parents: 3761
diff changeset
573 *.09.* ) machine=hp9000s300 opsys=hpux9 ;;
78c629b32fd9 * configure.in: Move clause for PC-compatible i386 box to the end
Jim Blandy <jimb@redhat.com>
parents: 3761
diff changeset
574 *) machine=hp9000s300 opsys=hpux ;;
78c629b32fd9 * configure.in: Move clause for PC-compatible i386 box to the end
Jim Blandy <jimb@redhat.com>
parents: 3761
diff changeset
575 esac
1423
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
576 ;;
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
577
3006
7126575622da * configure.in: Distinguish between hp800's and hp700's by calling
Jim Blandy <jimb@redhat.com>
parents: 2985
diff changeset
578 ## HP 9000 series 700 and 800, running HP/UX
3573
7ff6a8013a4d * configure.in (machine): Fix the versions in hpux version number test.
Jim Blandy <jimb@redhat.com>
parents: 3460
diff changeset
579 hppa*-hp-hpux7* )
3575
1b93c0bc8bf4 * configure.in: Remove extra ;; from hpux cases.
Jim Blandy <jimb@redhat.com>
parents: 3574
diff changeset
580 machine=hp9000s800 opsys=hpux
3573
7ff6a8013a4d * configure.in (machine): Fix the versions in hpux version number test.
Jim Blandy <jimb@redhat.com>
parents: 3460
diff changeset
581 ;;
7ff6a8013a4d * configure.in (machine): Fix the versions in hpux version number test.
Jim Blandy <jimb@redhat.com>
parents: 3460
diff changeset
582 hppa*-hp-hpux8* )
3575
1b93c0bc8bf4 * configure.in: Remove extra ;; from hpux cases.
Jim Blandy <jimb@redhat.com>
parents: 3574
diff changeset
583 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
584 ;;
3573
7ff6a8013a4d * configure.in (machine): Fix the versions in hpux version number test.
Jim Blandy <jimb@redhat.com>
parents: 3460
diff changeset
585 hppa*-hp-hpux9* )
3575
1b93c0bc8bf4 * configure.in: Remove extra ;; from hpux cases.
Jim Blandy <jimb@redhat.com>
parents: 3574
diff changeset
586 machine=hp9000s800 opsys=hpux9
3006
7126575622da * configure.in: Distinguish between hp800's and hp700's by calling
Jim Blandy <jimb@redhat.com>
parents: 2985
diff changeset
587 ;;
3573
7ff6a8013a4d * configure.in (machine): Fix the versions in hpux version number test.
Jim Blandy <jimb@redhat.com>
parents: 3460
diff changeset
588
7ff6a8013a4d * configure.in (machine): Fix the versions in hpux version number test.
Jim Blandy <jimb@redhat.com>
parents: 3460
diff changeset
589 ## HP 9000 series 700 and 800, running HP/UX
3006
7126575622da * configure.in: Distinguish between hp800's and hp700's by calling
Jim Blandy <jimb@redhat.com>
parents: 2985
diff changeset
590 hppa*-hp-hpux* )
7126575622da * configure.in: Distinguish between hp800's and hp700's by calling
Jim Blandy <jimb@redhat.com>
parents: 2985
diff changeset
591 ## 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
592 case "`uname -r`" in
4607
81ee2854ccb5 Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents: 4542
diff changeset
593 ## Someone's system reports A.B8.05 for this.
81ee2854ccb5 Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents: 4542
diff changeset
594 ## I wonder what other possibilities there are.
81ee2854ccb5 Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents: 4542
diff changeset
595 *.B8.* ) machine=hp9000s800 opsys=hpux8 ;;
3573
7ff6a8013a4d * configure.in (machine): Fix the versions in hpux version number test.
Jim Blandy <jimb@redhat.com>
parents: 3460
diff changeset
596 *.08.* ) machine=hp9000s800 opsys=hpux8 ;;
7ff6a8013a4d * configure.in (machine): Fix the versions in hpux version number test.
Jim Blandy <jimb@redhat.com>
parents: 3460
diff changeset
597 *.09.* ) machine=hp9000s800 opsys=hpux9 ;;
3124
e6338dd6e55f * configure.in (hppa-hp-hpux): Use uname -r instead of uname -m;
Jim Blandy <jimb@redhat.com>
parents: 3115
diff changeset
598 *) 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
599 esac
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
600 ;;
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 ## Orion machines
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
603 orion-orion-bsd* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
604 machine=orion opsys=bsd4-2
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
605 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
606 clipper-orion-bsd* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
607 machine=orion105 opsys=bsd4-2
1423
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
608 ;;
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
609
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
610 ## IBM machines
4607
81ee2854ccb5 Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents: 4542
diff changeset
611 i386-ibm-aix1.1* )
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
612 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
613 ;;
4607
81ee2854ccb5 Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents: 4542
diff changeset
614 i386-ibm-aix1.[23]* | i386-ibm-aix* )
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
615 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
616 ;;
4461
ac7656a5f6e9 (machine): Add i370-ibm-aix*.
Richard M. Stallman <rms@gnu.org>
parents: 4437
diff changeset
617 i370-ibm-aix*)
ac7656a5f6e9 (machine): Add i370-ibm-aix*.
Richard M. Stallman <rms@gnu.org>
parents: 4437
diff changeset
618 machine=ibm370aix opsys=usg5-3
ac7656a5f6e9 (machine): Add i370-ibm-aix*.
Richard M. Stallman <rms@gnu.org>
parents: 4437
diff changeset
619 ;;
4607
81ee2854ccb5 Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents: 4542
diff changeset
620 rs6000-ibm-aix3.1* )
2244
3b5391ff2ffd * configure: Recognize rs6000-ibm-aix32 and rs6000-ibm-aix, and
Jim Blandy <jimb@redhat.com>
parents: 2173
diff changeset
621 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
622 ;;
4607
81ee2854ccb5 Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents: 4542
diff changeset
623 rs6000-ibm-aix3.2* | rs6000-ibm-aix* )
2244
3b5391ff2ffd * configure: Recognize rs6000-ibm-aix32 and rs6000-ibm-aix, and
Jim Blandy <jimb@redhat.com>
parents: 2173
diff changeset
624 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
625 ;;
4607
81ee2854ccb5 Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents: 4542
diff changeset
626 romp-ibm-bsd4.3* )
3245
0687b13fc461 (romp): Handle various version numbers with aos and bsd.
Richard M. Stallman <rms@gnu.org>
parents: 3217
diff changeset
627 machine=ibmrt opsys=bsd4-3
0687b13fc461 (romp): Handle various version numbers with aos and bsd.
Richard M. Stallman <rms@gnu.org>
parents: 3217
diff changeset
628 ;;
4607
81ee2854ccb5 Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents: 4542
diff changeset
629 romp-ibm-bsd4.2* )
3245
0687b13fc461 (romp): Handle various version numbers with aos and bsd.
Richard M. Stallman <rms@gnu.org>
parents: 3217
diff changeset
630 machine=ibmrt opsys=bsd4-2
0687b13fc461 (romp): Handle various version numbers with aos and bsd.
Richard M. Stallman <rms@gnu.org>
parents: 3217
diff changeset
631 ;;
4607
81ee2854ccb5 Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents: 4542
diff changeset
632 romp-ibm-aos4.3* )
3245
0687b13fc461 (romp): Handle various version numbers with aos and bsd.
Richard M. Stallman <rms@gnu.org>
parents: 3217
diff changeset
633 machine=ibmrt opsys=bsd4-3
0687b13fc461 (romp): Handle various version numbers with aos and bsd.
Richard M. Stallman <rms@gnu.org>
parents: 3217
diff changeset
634 ;;
4607
81ee2854ccb5 Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents: 4542
diff changeset
635 romp-ibm-aos4.2* )
3245
0687b13fc461 (romp): Handle various version numbers with aos and bsd.
Richard M. Stallman <rms@gnu.org>
parents: 3217
diff changeset
636 machine=ibmrt opsys=bsd4-2
0687b13fc461 (romp): Handle various version numbers with aos and bsd.
Richard M. Stallman <rms@gnu.org>
parents: 3217
diff changeset
637 ;;
0687b13fc461 (romp): Handle various version numbers with aos and bsd.
Richard M. Stallman <rms@gnu.org>
parents: 3217
diff changeset
638 romp-ibm-aos* )
0687b13fc461 (romp): Handle various version numbers with aos and bsd.
Richard M. Stallman <rms@gnu.org>
parents: 3217
diff changeset
639 machine=ibmrt opsys=bsd4-3
0687b13fc461 (romp): Handle various version numbers with aos and bsd.
Richard M. Stallman <rms@gnu.org>
parents: 3217
diff changeset
640 ;;
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
641 romp-ibm-bsd* )
3245
0687b13fc461 (romp): Handle various version numbers with aos and bsd.
Richard M. Stallman <rms@gnu.org>
parents: 3217
diff changeset
642 machine=ibmrt opsys=bsd4-3
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
643 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
644 romp-ibm-aix* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
645 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
646 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
647
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
648 ## Integrated Solutions `Optimum V'
4607
81ee2854ccb5 Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents: 4542
diff changeset
649 m68*-isi-bsd4.2* )
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
650 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
651 ;;
4607
81ee2854ccb5 Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents: 4542
diff changeset
652 m68*-isi-bsd4.3* )
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
653 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
654 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
655
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
656 ## 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
657 i[34]86-intsys-sysv* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
658 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
659 ;;
3628
3f0d7802decb Move i386-prime-sysv* and i386-sequent-bsd*
Richard M. Stallman <rms@gnu.org>
parents: 3603
diff changeset
660
3f0d7802decb Move i386-prime-sysv* and i386-sequent-bsd*
Richard M. Stallman <rms@gnu.org>
parents: 3603
diff changeset
661 ## Prime EXL
3f0d7802decb Move i386-prime-sysv* and i386-sequent-bsd*
Richard M. Stallman <rms@gnu.org>
parents: 3603
diff changeset
662 i386-prime-sysv* )
3f0d7802decb Move i386-prime-sysv* and i386-sequent-bsd*
Richard M. Stallman <rms@gnu.org>
parents: 3603
diff changeset
663 machine=i386 opsys=usg5-3
3f0d7802decb Move i386-prime-sysv* and i386-sequent-bsd*
Richard M. Stallman <rms@gnu.org>
parents: 3603
diff changeset
664 ;;
3f0d7802decb Move i386-prime-sysv* and i386-sequent-bsd*
Richard M. Stallman <rms@gnu.org>
parents: 3603
diff changeset
665
3f0d7802decb Move i386-prime-sysv* and i386-sequent-bsd*
Richard M. Stallman <rms@gnu.org>
parents: 3603
diff changeset
666 ## Sequent Symmetry
3f0d7802decb Move i386-prime-sysv* and i386-sequent-bsd*
Richard M. Stallman <rms@gnu.org>
parents: 3603
diff changeset
667 i386-sequent-bsd* )
3f0d7802decb Move i386-prime-sysv* and i386-sequent-bsd*
Richard M. Stallman <rms@gnu.org>
parents: 3603
diff changeset
668 machine=symmetry opsys=bsd4-3
3f0d7802decb Move i386-prime-sysv* and i386-sequent-bsd*
Richard M. Stallman <rms@gnu.org>
parents: 3603
diff changeset
669 ;;
3f0d7802decb Move i386-prime-sysv* and i386-sequent-bsd*
Richard M. Stallman <rms@gnu.org>
parents: 3603
diff changeset
670
3057
b155c80dc2c2 * configure.in: Recognize configuration names for i860 boxes
Jim Blandy <jimb@redhat.com>
parents: 3024
diff changeset
671 ## Intel 860
4607
81ee2854ccb5 Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents: 4542
diff changeset
672 i860-*-sysvr4* )
3057
b155c80dc2c2 * configure.in: Recognize configuration names for i860 boxes
Jim Blandy <jimb@redhat.com>
parents: 3024
diff changeset
673 machine=i860 opsys=usg5-4
b155c80dc2c2 * configure.in: Recognize configuration names for i860 boxes
Jim Blandy <jimb@redhat.com>
parents: 3024
diff changeset
674 ;;
b155c80dc2c2 * configure.in: Recognize configuration names for i860 boxes
Jim Blandy <jimb@redhat.com>
parents: 3024
diff changeset
675
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
676 ## Silicon Graphics machines
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
677 ## Iris 2500 and Iris 2500 Turbo (aka the Iris 3030)
4607
81ee2854ccb5 Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents: 4542
diff changeset
678 m68*-sgi-iris3.5* )
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
679 machine=irist opsys=iris3-5
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
680 ;;
4607
81ee2854ccb5 Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents: 4542
diff changeset
681 m68*-sgi-iris3.6* | m68*-sgi-iris*)
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
682 machine=irist opsys=iris3-6
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
683 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
684 ## Iris 4D
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
685 mips-sgi-irix3.* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
686 machine=iris4d opsys=irix3-3
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
687 ;;
4607
81ee2854ccb5 Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents: 4542
diff changeset
688 mips-sgi-irix5.* )
81ee2854ccb5 Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents: 4542
diff changeset
689 machine=iris4d opsys=irix5-0
81ee2854ccb5 Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents: 4542
diff changeset
690 ;;
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
691 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
692 machine=iris4d opsys=irix4-0
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
693 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
694
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
695 ## Masscomp machines
4607
81ee2854ccb5 Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents: 4542
diff changeset
696 m68*-masscomp-rtu* )
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
697 machine=masscomp opsys=rtu
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
698 ;;
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 ## Megatest machines
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
701 m68*-megatest-bsd* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
702 machine=mega68 opsys=bsd4-2
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
703 ;;
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 ## Workstations sold by MIPS
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
706 ## 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
707 ## 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
708
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
709 ## 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
710 ## 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
711 ## 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
712 ## -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
713 ## 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
714 ## 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
715 ## should use mips.h and usg5-2-2, they being listed first.
3325
4e23ef20e03c * configure.in: Use s/bsd4-3.h for mips-mips-riscos4, and add
Jim Blandy <jimb@redhat.com>
parents: 3322
diff changeset
716 mips-mips-usg* )
4e23ef20e03c * configure.in: Use s/bsd4-3.h for mips-mips-riscos4, and add
Jim Blandy <jimb@redhat.com>
parents: 3322
diff changeset
717 machine=mips4
4e23ef20e03c * configure.in: Use s/bsd4-3.h for mips-mips-riscos4, and add
Jim Blandy <jimb@redhat.com>
parents: 3322
diff changeset
718 ## Fall through to the general code at the bottom to decide on the OS.
4e23ef20e03c * configure.in: Use s/bsd4-3.h for mips-mips-riscos4, and add
Jim Blandy <jimb@redhat.com>
parents: 3322
diff changeset
719 ;;
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
720 mips-mips-riscos4* )
3322
6cfb031aabc7 * configure.in: Use s/bsd4-3.h for mips-mips-riscos4.
Jim Blandy <jimb@redhat.com>
parents: 3304
diff changeset
721 machine=mips4 opsys=bsd4-3
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
722 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
723 mips-mips-bsd* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
724 machine=mips opsys=bsd4-3
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
725 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
726 mips-mips-* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
727 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
728 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
729
2624
5de08620df66 * configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents: 2516
diff changeset
730 ## NeXT
5de08620df66 * configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents: 2516
diff changeset
731 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
732 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
733 ;;
5de08620df66 * configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents: 2516
diff changeset
734
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
735 ## 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
736 ns32k-ns-genix* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
737 machine=ns32000 opsys=usg5-2
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
738 ;;
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 ## NCR machines
2100
4c081de167f4 * configure: Recognize strings like "sysvr0" or "sysvr1" as System V.
Jim Blandy <jimb@redhat.com>
parents: 2007
diff changeset
741 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
742 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
743 ;;
2100
4c081de167f4 * configure: Recognize strings like "sysvr0" or "sysvr1" as System V.
Jim Blandy <jimb@redhat.com>
parents: 2007
diff changeset
744 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
745 machine=tower32v3 opsys=usg5-3
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
746 ;;
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 ## Nixdorf Targon 31
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
749 m68*-nixdorf-sysv* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
750 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
751 ;;
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 ## Nu (TI or LMI)
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
754 m68*-nu-sysv* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
755 machine=nu opsys=usg5-2
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
756 ;;
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 ## Plexus
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
759 m68*-plexus-sysv* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
760 machine=plexus opsys=usg5-2
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
761 ;;
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 ## Pyramid machines
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
764 ## 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
765 ## 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
766 pyramid-pyramid-bsd* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
767 machine=pyramid opsys=bsd4-2
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 ## Sequent Balance
4607
81ee2854ccb5 Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents: 4542
diff changeset
771 ns32k-sequent-bsd4.2* )
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
772 machine=sequent opsys=bsd4-2
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
773 ;;
4607
81ee2854ccb5 Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents: 4542
diff changeset
774 ns32k-sequent-bsd4.3* )
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
775 machine=sequent opsys=bsd4-3
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
776 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
777
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
778 ## SONY machines
4607
81ee2854ccb5 Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents: 4542
diff changeset
779 m68*-sony-bsd4.2* )
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
780 machine=news opsys=bsd4-2
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
781 ;;
4607
81ee2854ccb5 Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents: 4542
diff changeset
782 m68*-sony-bsd4.3* )
81ee2854ccb5 Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents: 4542
diff changeset
783 machine=news opsys=bsd4-3
81ee2854ccb5 Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents: 4542
diff changeset
784 ;;
81ee2854ccb5 Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents: 4542
diff changeset
785 m68*-sony-newsos3*)
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
786 machine=news opsys=bsd4-3
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 mips-sony-bsd* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
789 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
790 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
791
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
792 ## Stride
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
793 m68*-stride-sysv* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
794 machine=stride opsys=usg5-2
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
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
797 ## Suns
2812
cea361c342f4 Install ${srcdir} changes from DJM.
Jim Blandy <jimb@redhat.com>
parents: 2804
diff changeset
798 *-sun-sunos* | *-sun-bsd* | *-sun-solaris* )
4163
f8fa30d5b7fd (canonical): New variable holds the canonicalized
Richard M. Stallman <rms@gnu.org>
parents: 4125
diff changeset
799 case "${canonical}" in
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
800 m68*-sunos1* ) machine=sun1 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
801 m68*-sunos2* ) machine=sun2 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
802 m68* ) machine=sun3 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
803 i[34]86* ) machine=sun386 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
804 sparc* ) machine=sparc ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
805 * ) unported=true ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
806 esac
4163
f8fa30d5b7fd (canonical): New variable holds the canonicalized
Richard M. Stallman <rms@gnu.org>
parents: 4125
diff changeset
807 case "${canonical}" in
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
808 *-sunos4.0* ) opsys=sunos4-0 ;;
3115
86652a5c442b Handle sunos4.1.3 specially.
Richard M. Stallman <rms@gnu.org>
parents: 3091
diff changeset
809 *-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
810 *-sunos4* | *-sunos ) opsys=sunos4-1 ;;
2812
cea361c342f4 Install ${srcdir} changes from DJM.
Jim Blandy <jimb@redhat.com>
parents: 2804
diff changeset
811 *-sunos5* | *-solaris* ) opsys=sol2 ;;
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
812 * ) opsys=bsd4-2 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
813 esac
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
814 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
815
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
816 ## Tadpole 68k
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
817 m68*-tadpole-sysv* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
818 machine=tad68k opsys=usg5-3
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
819 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
820
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
821 ## Tahoe machines
4607
81ee2854ccb5 Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents: 4542
diff changeset
822 tahoe-tahoe-bsd4.2* )
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
823 machine=tahoe opsys=bsd4-2
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
824 ;;
4607
81ee2854ccb5 Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents: 4542
diff changeset
825 tahoe-tahoe-bsd4.3* )
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
826 machine=tahoe opsys=bsd4-3
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
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
829 ## Tandem Integrity S2
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
830 mips-tandem-sysv* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
831 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
832 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
833
3271
dbd332a25c64 * configure.in: Add case for the Tektronix XD88.
Jim Blandy <jimb@redhat.com>
parents: 3264
diff changeset
834 ## Tektronix XD88
4542
87c959b66ae2 (m88k-tektronix-sysv3*): Added the missing *.
Richard M. Stallman <rms@gnu.org>
parents: 4536
diff changeset
835 m88k-tektronix-sysv3* )
87c959b66ae2 (m88k-tektronix-sysv3*): Added the missing *.
Richard M. Stallman <rms@gnu.org>
parents: 4536
diff changeset
836 machine=tekxd88 opsys=usg5-3
3271
dbd332a25c64 * configure.in: Add case for the Tektronix XD88.
Jim Blandy <jimb@redhat.com>
parents: 3264
diff changeset
837 ;;
dbd332a25c64 * configure.in: Add case for the Tektronix XD88.
Jim Blandy <jimb@redhat.com>
parents: 3264
diff changeset
838
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
839 ## Tektronix 16000 box (6130?)
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
840 ns16k-tektronix-bsd* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
841 machine=ns16000 opsys=bsd4-2
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
842 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
843 ## Tektronix 4300
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
844 ## 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
845 m68*-tektronix-bsd* )
4607
81ee2854ccb5 Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents: 4542
diff changeset
846 machine=tek4300 opsys=bsd4-3
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
847 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
848
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
849 ## Titan P2 or P3
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
850 ## 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
851 titan-titan-sysv* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
852 machine=titan opsys=usg5-3
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
853 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
854
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
855 ## Ustation E30 (SS5E)
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
856 m68*-unisys-uniplus* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
857 machine=ustation opsystem=unipl5-2
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
858 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
859
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
860 ## Vaxen.
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
861 vax-dec-* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
862 machine=vax
4163
f8fa30d5b7fd (canonical): New variable holds the canonicalized
Richard M. Stallman <rms@gnu.org>
parents: 4125
diff changeset
863 case "${canonical}" in
4607
81ee2854ccb5 Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents: 4542
diff changeset
864 *-bsd4.1* ) opsys=bsd4-1 ;;
81ee2854ccb5 Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents: 4542
diff changeset
865 *-bsd4.2* | *-ultrix[0-3].* | *-ultrix4.0* ) opsys=bsd4-2 ;;
81ee2854ccb5 Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents: 4542
diff changeset
866 *-bsd4.3* | *-ultrix* ) opsys=bsd4-3 ;;
81ee2854ccb5 Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents: 4542
diff changeset
867 *-bsd386* ) opsys=bsd386 ;;
2100
4c081de167f4 * configure: Recognize strings like "sysvr0" or "sysvr1" as System V.
Jim Blandy <jimb@redhat.com>
parents: 2007
diff changeset
868 *-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
869 *-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
870 *-vms* ) opsys=vms ;;
4c081de167f4 * configure: Recognize strings like "sysvr0" or "sysvr1" as System V.
Jim Blandy <jimb@redhat.com>
parents: 2007
diff changeset
871 * ) unported=true
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
872 esac
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
873 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
874
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
875 ## Whitechapel MG1
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
876 ns16k-whitechapel-* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
877 machine=mg1
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
878 ## 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
879 ## 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
880 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
881
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
882 ## Wicat
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
883 m68*-wicat-sysv* )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
884 machine=wicat opsys=usg5-2
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
885 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
886
3761
e9b348e99645 * configure.in: Move clause for PC-compatible i386 box to the end
Jim Blandy <jimb@redhat.com>
parents: 3751
diff changeset
887 ## Intel 386 machines where we don't care about the manufacturer
e9b348e99645 * configure.in: Move clause for PC-compatible i386 box to the end
Jim Blandy <jimb@redhat.com>
parents: 3751
diff changeset
888 i[34]86-*-* )
e9b348e99645 * configure.in: Move clause for PC-compatible i386 box to the end
Jim Blandy <jimb@redhat.com>
parents: 3751
diff changeset
889 machine=intel386
4163
f8fa30d5b7fd (canonical): New variable holds the canonicalized
Richard M. Stallman <rms@gnu.org>
parents: 4125
diff changeset
890 case "${canonical}" in
3761
e9b348e99645 * configure.in: Move clause for PC-compatible i386 box to the end
Jim Blandy <jimb@redhat.com>
parents: 3751
diff changeset
891 *-isc1.* | *-isc2.[01]* ) opsys=386-ix ;;
4607
81ee2854ccb5 Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents: 4542
diff changeset
892 *-isc2.2* ) opsys=isc2-2 ;;
3761
e9b348e99645 * configure.in: Move clause for PC-compatible i386 box to the end
Jim Blandy <jimb@redhat.com>
parents: 3751
diff changeset
893 *-isc* ) opsys=isc3-0 ;;
e9b348e99645 * configure.in: Move clause for PC-compatible i386 box to the end
Jim Blandy <jimb@redhat.com>
parents: 3751
diff changeset
894 *-esix5* ) opsys=esix5r4 ;;
e9b348e99645 * configure.in: Move clause for PC-compatible i386 box to the end
Jim Blandy <jimb@redhat.com>
parents: 3751
diff changeset
895 *-esix* ) opsys=esix ;;
e9b348e99645 * configure.in: Move clause for PC-compatible i386 box to the end
Jim Blandy <jimb@redhat.com>
parents: 3751
diff changeset
896 *-xenix* ) opsys=xenix ;;
e9b348e99645 * configure.in: Move clause for PC-compatible i386 box to the end
Jim Blandy <jimb@redhat.com>
parents: 3751
diff changeset
897 *-linux* ) opsys=linux ;;
e9b348e99645 * configure.in: Move clause for PC-compatible i386 box to the end
Jim Blandy <jimb@redhat.com>
parents: 3751
diff changeset
898 *-sco3.2v4* ) opsys=sco4 ;;
e9b348e99645 * configure.in: Move clause for PC-compatible i386 box to the end
Jim Blandy <jimb@redhat.com>
parents: 3751
diff changeset
899 *-bsd386* ) opsys=bsd386 ;;
4607
81ee2854ccb5 Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents: 4542
diff changeset
900 *-386bsd* ) opsys=386bsd ;;
3761
e9b348e99645 * configure.in: Move clause for PC-compatible i386 box to the end
Jim Blandy <jimb@redhat.com>
parents: 3751
diff changeset
901 ## Otherwise, we'll fall through to the generic opsys code at the bottom.
e9b348e99645 * configure.in: Move clause for PC-compatible i386 box to the end
Jim Blandy <jimb@redhat.com>
parents: 3751
diff changeset
902 esac
e9b348e99645 * configure.in: Move clause for PC-compatible i386 box to the end
Jim Blandy <jimb@redhat.com>
parents: 3751
diff changeset
903 ;;
e9b348e99645 * configure.in: Move clause for PC-compatible i386 box to the end
Jim Blandy <jimb@redhat.com>
parents: 3751
diff changeset
904
1423
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
905 * )
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
906 unported=true
1423
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
907 ;;
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
908 esac
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
909
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
910 ### 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
911 ### 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
912 ### 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
913 ### 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
914 ### 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
915 ### above.
3362
9dfdffd26d9c Handle bsd386.
Richard M. Stallman <rms@gnu.org>
parents: 3341
diff changeset
916 if [ x"${opsys}" = x ]; then
4163
f8fa30d5b7fd (canonical): New variable holds the canonicalized
Richard M. Stallman <rms@gnu.org>
parents: 4125
diff changeset
917 case "${canonical}" in
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
918 *-bsd4.[01] ) opsys=bsd4-1 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
919 *-bsd4.2 ) opsys=bsd4-2 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
920 *-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
921 *-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
922 *-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
923 *-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
924 *-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
925 *-sysv4 | *-sysvr4 ) opsys=usg5-4 ;;
3264
eff921d7bde6 Handle sysv4.2 and sysvr4.2.
Richard M. Stallman <rms@gnu.org>
parents: 3262
diff changeset
926 *-sysv4.2 | *-sysvr4.2 ) opsys=usg5-4-2 ;;
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
927 * )
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
928 unported=true
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
929 ;;
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
930 esac
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
931 fi
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
932
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
933 if $unported ; then
4163
f8fa30d5b7fd (canonical): New variable holds the canonicalized
Richard M. Stallman <rms@gnu.org>
parents: 4125
diff changeset
934 (echo "${progname}: Emacs hasn't been ported to \`${canonical}' systems."
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
935 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
936 ) >&2
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
937 exit 1
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
938 fi
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
939
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
940 machfile="m/${machine}.h"
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
941 opsysfile="s/${opsys}.h"
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
942
2624
5de08620df66 * configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents: 2516
diff changeset
943 ]
5de08620df66 * configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents: 2516
diff changeset
944 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
945 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
946 [
2499
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
947
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
948 #### Choose a compiler.
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
949 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
950 "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
951 "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
952 * )
2711
2c2052ec537d The GNU coding standards specify that CFLAGS should be left for
Jim Blandy <jimb@redhat.com>
parents: 2678
diff changeset
953 ] 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
954 esac
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
955
2876
ba7f0ad9aad9 * configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents: 2812
diff changeset
956 #### 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
957 #### 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
958 #### #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
959 ]
2876
ba7f0ad9aad9 * configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents: 2812
diff changeset
960 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
961 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
962 AC_PROG_CPP
3010
4ca5a6bd174b * configure.in: Add support for the `--exec-prefix' option.
Jim Blandy <jimb@redhat.com>
parents: 3006
diff changeset
963 AC_PROG_INSTALL
3582
eb75df1104eb * configure.in: Test for bison.
Jim Blandy <jimb@redhat.com>
parents: 3575
diff changeset
964 AC_PROG_YACC
2876
ba7f0ad9aad9 * configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents: 2812
diff changeset
965
ba7f0ad9aad9 * configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents: 2812
diff changeset
966 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
967
ba7f0ad9aad9 * configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents: 2812
diff changeset
968 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
969 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
970 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
971 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
972
ba7f0ad9aad9 * configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents: 2812
diff changeset
973 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
974 AC_RETSIGTYPE
2876
ba7f0ad9aad9 * configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents: 2812
diff changeset
975
ba7f0ad9aad9 * configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents: 2812
diff changeset
976 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
977 AC_STRUCT_TM
2919
2420d37c5335 * configure.in: Add AC_TIMEZONE.
Jim Blandy <jimb@redhat.com>
parents: 2914
diff changeset
978 AC_TIMEZONE
2876
ba7f0ad9aad9 * configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents: 2812
diff changeset
979
ba7f0ad9aad9 * configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents: 2812
diff changeset
980 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
981 AC_CONST
2876
ba7f0ad9aad9 * configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents: 2812
diff changeset
982
ba7f0ad9aad9 * configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents: 2812
diff changeset
983 dnl checks for operating system services
3603
2bef8320089c * configure.in: Use AC_LONG_FILE_NAMES.
Jim Blandy <jimb@redhat.com>
parents: 3599
diff changeset
984 AC_LONG_FILE_NAMES
2876
ba7f0ad9aad9 * configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents: 2812
diff changeset
985
ba7f0ad9aad9 * configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents: 2812
diff changeset
986 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
987 [
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
988
621
eca8812e61cd *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
989
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
990 #### Choose a window system.
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 605
diff changeset
991 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
992
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
993 window_system=''
1423
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
994 case "${with_x}" in
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
995 yes )
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
996 window_system=${window_system}x11
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
997 ;;
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
998 no )
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
999 window_system=${window_system}none
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
1000 esac
1139
4875b01ff377 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 1112
diff changeset
1001 case "${with_x11}" in
4875b01ff377 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 1112
diff changeset
1002 yes )
4875b01ff377 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 1112
diff changeset
1003 window_system=${window_system}x11
1423
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
1004 ;;
1139
4875b01ff377 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 1112
diff changeset
1005 esac
4875b01ff377 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 1112
diff changeset
1006 case "${with_x10}" in
4875b01ff377 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 1112
diff changeset
1007 yes )
4875b01ff377 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 1112
diff changeset
1008 window_system=${window_system}x10
1423
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
1009 ;;
1139
4875b01ff377 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 1112
diff changeset
1010 esac
4875b01ff377 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents: 1112
diff changeset
1011
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
1012 case "${window_system}" in
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
1013 "none" | "x11" | "x10" ) ;;
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
1014 "" )
4361
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1015 # --x-includes or --x-libraries implies --with-x11.
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1016 if [ -n "${x_includes}" ] || [ -n "${x_libraries}" ]; then
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1017 window_system=x11
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1018 else
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1019 echo " No window system specified. Looking for X11."
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1020 # If the user didn't specify a window system and we found X11, use it.
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1021 if [ -r /usr/lib/libX11.a \
2333
47e301d9868b * configure: Add special code to detect XFree386, and tell
Jim Blandy <jimb@redhat.com>
parents: 2330
diff changeset
1022 -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
1023 -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
1024 -o -d ${x_includes}/X11 ]; then
4361
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1025 window_system=x11
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1026 fi
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 605
diff changeset
1027 fi
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
1028 ;;
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
1029 * )
4361
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1030 echo "Don't specify a window system more than once." >&2
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
1031 exit 1
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
1032 ;;
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
1033 esac
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
1034
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
1035 case "${window_system}" in
4361
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1036 "" | "x11" )
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1037 ### If the user hasn't specified where we should find X, try
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1038 ### letting autoconf figure that out.
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1039 if [ -z "${x_includes}" ] && [ -z "${x_libraries}" ]; then
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1040 ]
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1041 AC_FIND_X
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1042 [
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1043 fi
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1044 if [ -n "${x_includes}" ] || [ -n "${x_libraries}" ]; then
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1045 window_system=x11
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1046 fi
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1047 ;;
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1048 esac
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1049
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1050 [ -z "${window_system}" ] && window_system=none
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1051
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1052 [ -n "${x_libraries}" ] && LD_SWITCH_X_SITE="-L${x_libraries}"
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1053 [ -n "${x_includes}" ] && C_SWITCH_X_SITE="-I${x_includes}"
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1054
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1055 case "${window_system}" in
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
1056 x11 )
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
1057 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
1058 HAVE_X11=yes
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
1059 echo " Using X11."
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
1060 ;;
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
1061 x10 )
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
1062 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
1063 HAVE_X11=no
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
1064 echo " Using X10."
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
1065 ;;
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
1066 none )
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
1067 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
1068 HAVE_X11=no
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
1069 echo " Using no window system."
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
1070 ;;
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
1071 esac
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
1072
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
1073 ### 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
1074 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
1075 case ${HAVE_X11} in
1423
93ee9c5e7eec Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents: 1139
diff changeset
1076 yes )
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
1077 HAVE_X_MENU=yes
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
1078 ;;
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
1079 esac
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
1080
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
1081 #### Extract some information from the operating system and machine files.
621
eca8812e61cd *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
1082
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 605
diff changeset
1083 echo "Examining the machine- and system-dependent files to find out"
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 605
diff changeset
1084 echo " - which libraries the lib-src programs will want, and"
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 605
diff changeset
1085 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
1086
5de08620df66 * configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents: 2516
diff changeset
1087 ### 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
1088 ### 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
1089 ### anyway.
5de08620df66 * configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents: 2516
diff changeset
1090 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
1091
1687
2bee660c3046 * configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
1092 echo '
2bee660c3046 * configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
1093 #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
1094 #include "'${srcdir}'/src/'${machfile}'"
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
1095 #ifndef LIBS_MACHINE
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
1096 #define LIBS_MACHINE
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
1097 #endif
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
1098 #ifndef LIBS_SYSTEM
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
1099 #define LIBS_SYSTEM
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
1100 #endif
2361
b1c74a8a020b Arrange for C compilation throughout the tree to get
Jim Blandy <jimb@redhat.com>
parents: 2345
diff changeset
1101 #ifndef C_SWITCH_SYSTEM
b1c74a8a020b Arrange for C compilation throughout the tree to get
Jim Blandy <jimb@redhat.com>
parents: 2345
diff changeset
1102 #define C_SWITCH_SYSTEM
2363
64dadcfcdf68 Fix typo in source for `configure.tmp.$$.c'.
Jim Blandy <jimb@redhat.com>
parents: 2361
diff changeset
1103 #endif
621
eca8812e61cd *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
1104 @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
1105 @configure@ c_switch_system=C_SWITCH_SYSTEM
3196
c3470c4abe5e * configure.in: Extract UNEXEC from the system configuration
Jim Blandy <jimb@redhat.com>
parents: 3193
diff changeset
1106
4361
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1107 #ifndef LIB_X11_LIB
4607
81ee2854ccb5 Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents: 4542
diff changeset
1108 #define LIB_X11_LIB -lX11
4361
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1109 #endif
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1110
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1111 #ifndef LIBX11_MACHINE
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1112 #define LIBX11_MACHINE
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1113 #endif
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1114
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1115 #ifndef LIBX11_SYSTEM
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1116 #define LIBX11_SYSTEM
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1117 #endif
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1118 @configure@ LIBX=LIB_X11_LIB LIBX11_MACHINE LIBX11_SYSTEM
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1119
3196
c3470c4abe5e * configure.in: Extract UNEXEC from the system configuration
Jim Blandy <jimb@redhat.com>
parents: 3193
diff changeset
1120 #ifdef UNEXEC
c3470c4abe5e * configure.in: Extract UNEXEC from the system configuration
Jim Blandy <jimb@redhat.com>
parents: 3193
diff changeset
1121 @configure@ unexec=UNEXEC
c3470c4abe5e * configure.in: Extract UNEXEC from the system configuration
Jim Blandy <jimb@redhat.com>
parents: 3193
diff changeset
1122 #else
c3470c4abe5e * configure.in: Extract UNEXEC from the system configuration
Jim Blandy <jimb@redhat.com>
parents: 3193
diff changeset
1123 @configure@ unexec=unexec.o
c3470c4abe5e * configure.in: Extract UNEXEC from the system configuration
Jim Blandy <jimb@redhat.com>
parents: 3193
diff changeset
1124 #endif
c3470c4abe5e * configure.in: Extract UNEXEC from the system configuration
Jim Blandy <jimb@redhat.com>
parents: 3193
diff changeset
1125
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 605
diff changeset
1126 #ifdef SYSTEM_MALLOC
621
eca8812e61cd *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
1127 @configure@ system_malloc=yes
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 605
diff changeset
1128 #else
621
eca8812e61cd *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
1129 @configure@ system_malloc=no
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 605
diff changeset
1130 #endif
3574
b5ddfcc90902 * configure.in (CFLAGS): Don't set this according to the value of
Jim Blandy <jimb@redhat.com>
parents: 3573
diff changeset
1131
b5ddfcc90902 * configure.in (CFLAGS): Don't set this according to the value of
Jim Blandy <jimb@redhat.com>
parents: 3573
diff changeset
1132 #ifndef C_DEBUG_SWITCH
b5ddfcc90902 * configure.in (CFLAGS): Don't set this according to the value of
Jim Blandy <jimb@redhat.com>
parents: 3573
diff changeset
1133 #define C_DEBUG_SWITCH -g
b5ddfcc90902 * configure.in (CFLAGS): Don't set this according to the value of
Jim Blandy <jimb@redhat.com>
parents: 3573
diff changeset
1134 #endif
b5ddfcc90902 * configure.in (CFLAGS): Don't set this according to the value of
Jim Blandy <jimb@redhat.com>
parents: 3573
diff changeset
1135
b5ddfcc90902 * configure.in (CFLAGS): Don't set this according to the value of
Jim Blandy <jimb@redhat.com>
parents: 3573
diff changeset
1136 #ifndef C_OPTIMIZE_SWITCH
b5ddfcc90902 * configure.in (CFLAGS): Don't set this according to the value of
Jim Blandy <jimb@redhat.com>
parents: 3573
diff changeset
1137 #define C_OPTIMIZE_SWITCH -O
b5ddfcc90902 * configure.in (CFLAGS): Don't set this according to the value of
Jim Blandy <jimb@redhat.com>
parents: 3573
diff changeset
1138 #endif
b5ddfcc90902 * configure.in (CFLAGS): Don't set this according to the value of
Jim Blandy <jimb@redhat.com>
parents: 3573
diff changeset
1139
b5ddfcc90902 * configure.in (CFLAGS): Don't set this according to the value of
Jim Blandy <jimb@redhat.com>
parents: 3573
diff changeset
1140 #ifdef __GNUC__
b5ddfcc90902 * configure.in (CFLAGS): Don't set this according to the value of
Jim Blandy <jimb@redhat.com>
parents: 3573
diff changeset
1141 @configure@ CFLAGS=C_DEBUG_SWITCH C_OPTIMIZE_SWITCH
b5ddfcc90902 * configure.in (CFLAGS): Don't set this according to the value of
Jim Blandy <jimb@redhat.com>
parents: 3573
diff changeset
1142 #else
b5ddfcc90902 * configure.in (CFLAGS): Don't set this according to the value of
Jim Blandy <jimb@redhat.com>
parents: 3573
diff changeset
1143 @configure@ CFLAGS=C_DEBUG_SWITCH
b5ddfcc90902 * configure.in (CFLAGS): Don't set this according to the value of
Jim Blandy <jimb@redhat.com>
parents: 3573
diff changeset
1144 #endif
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 605
diff changeset
1145 ' > ${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
1146 # 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
1147 # to get its actual value...
3791
b51e109425f1 * configure.in (CPP): Autoconf sets this to a shell variable
Jim Blandy <jimb@redhat.com>
parents: 3772
diff changeset
1148 CPP=`eval "echo $CPP"`
b51e109425f1 * configure.in (CPP): Autoconf sets this to a shell variable
Jim Blandy <jimb@redhat.com>
parents: 3772
diff changeset
1149 eval `${CPP} -Isrc ${tempcname} \
2333
47e301d9868b * configure: Add special code to detect XFree386, and tell
Jim Blandy <jimb@redhat.com>
parents: 2330
diff changeset
1150 | grep '@configure@' \
47e301d9868b * configure: Add special code to detect XFree386, and tell
Jim Blandy <jimb@redhat.com>
parents: 2330
diff changeset
1151 | sed -e 's/^@configure@ \([^=]*=\)\(.*\)$/\1"\2"/'`
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 605
diff changeset
1152 rm ${tempcname}
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 605
diff changeset
1153
3196
c3470c4abe5e * configure.in: Extract UNEXEC from the system configuration
Jim Blandy <jimb@redhat.com>
parents: 3193
diff changeset
1154 ### Compute the unexec source name from the object name.
c3470c4abe5e * configure.in: Extract UNEXEC from the system configuration
Jim Blandy <jimb@redhat.com>
parents: 3193
diff changeset
1155 UNEXEC_SRC="`echo ${unexec} | sed 's/\.o/.c/'`"
2499
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
1156
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 605
diff changeset
1157 # 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
1158 # 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
1159 GNU_MALLOC=yes
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 605
diff changeset
1160 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
1161 GNU_MALLOC=no
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
1162 GNU_MALLOC_reason="
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
1163 (The GNU allocators don't work with this system configuration.)"
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 605
diff changeset
1164 fi
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 605
diff changeset
1165
3362
9dfdffd26d9c Handle bsd386.
Richard M. Stallman <rms@gnu.org>
parents: 3341
diff changeset
1166 if [ x"${REL_ALLOC}" = x ]; then
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
1167 REL_ALLOC=${GNU_MALLOC}
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 605
diff changeset
1168 fi
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
1169
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
1170 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
1171
1687
2bee660c3046 * configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
1172
4361
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1173 #### Add the libraries to LIBS and check for some functions.
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1174
3751
72997ec201f2 * configure.in (version): Check the X libraries for XrmSetDatabase
Jim Blandy <jimb@redhat.com>
parents: 3635
diff changeset
1175 ]
4361
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1176 DEFS="$c_switch_system $DEFS"
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1177 LIBS="$libsrc_libs"
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1178
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1179 dnl If found, this defines HAVE_LIBDNET, which m/pmax.h checks,
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1180 dnl and also adds -ldnet to LIBS, which Autoconf uses for checks.
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1181 AC_HAVE_LIBRARY(-ldnet)
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1182
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1183 AC_HAVE_LIBRARY(-lXbsd, LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd"
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1184 if test -d /usr/X386/include; then
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1185 HAVE_XFREE386=yes
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1186 test -z "${C_SWITCH_X_SITE}" && C_SWITCH_X_SITE="-I/usr/X386/include"
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1187 fi)
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1188
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1189 if test "${HAVE_X11}" = "yes"; then
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1190 DEFS="$C_SWITCH_X_SITE $DEFS"
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1191 LIBS="$LD_SWITCH_X_SITE $LIBX $LIBS"
4607
81ee2854ccb5 Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents: 4542
diff changeset
1192 AC_HAVE_FUNCS(XrmSetDatabase XScreenResourceString XScreenNumberOfScreen)
3751
72997ec201f2 * configure.in (version): Check the X libraries for XrmSetDatabase
Jim Blandy <jimb@redhat.com>
parents: 3635
diff changeset
1193 fi
4361
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1194
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1195 AC_ALLOCA
4536
24b5dca58fbe Check for -lm. Then can check for frexp and logb.
Roland McGrath <roland@gnu.org>
parents: 4461
diff changeset
1196
24b5dca58fbe Check for -lm. Then can check for frexp and logb.
Roland McGrath <roland@gnu.org>
parents: 4461
diff changeset
1197 # logb and frexp are found in -lm on most systems.
24b5dca58fbe Check for -lm. Then can check for frexp and logb.
Roland McGrath <roland@gnu.org>
parents: 4461
diff changeset
1198 AC_HAVE_LIBRARY(-lm)
4607
81ee2854ccb5 Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents: 4542
diff changeset
1199 AC_HAVE_FUNCS(gettimeofday gethostname dup2 rename closedir mkdir rmdir random bcopy logb frexp ftime)
4361
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1200
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1201 ok_so_far=true
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1202 AC_FUNC_CHECK(socket, , ok_so_far=)
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1203 if test -n "$ok_so_far"; then
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1204 AC_HEADER_CHECK(netinet/in.h, , ok_so_far=)
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1205 fi
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1206 if test -n "$ok_so_far"; then
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1207 AC_HEADER_CHECK(arpa/inet.h, , ok_so_far=)
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1208 fi
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1209 if test -n "$ok_so_far"; then
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1210 AC_DEFINE(HAVE_INET_SOCKETS)
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1211 fi
3751
72997ec201f2 * configure.in (version): Check the X libraries for XrmSetDatabase
Jim Blandy <jimb@redhat.com>
parents: 3635
diff changeset
1212 [
1687
2bee660c3046 * configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
1213 #### 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
1214 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
1215 | sed -e 's/^.*"\([0-9][0-9]*\.[0-9][0-9]*\)\..*$/\1/'`
3362
9dfdffd26d9c Handle bsd386.
Richard M. Stallman <rms@gnu.org>
parents: 3341
diff changeset
1216 if [ x"${version}" = x ]; then
1687
2bee660c3046 * configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
1217 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
1218 \`${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
1219 exit 1
2bee660c3046 * configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
1220 fi
2bee660c3046 * configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
1221
4370
605e06926c35 * configure.in: Test for the presence of/usr/lpp/X11/bin/smt.exp,
Jim Blandy <jimb@redhat.com>
parents: 4368
diff changeset
1222 if [ -f /usr/lpp/X11/bin/smt.exp ]; then
605e06926c35 * configure.in: Test for the presence of/usr/lpp/X11/bin/smt.exp,
Jim Blandy <jimb@redhat.com>
parents: 4368
diff changeset
1223 ]
605e06926c35 * configure.in: Test for the presence of/usr/lpp/X11/bin/smt.exp,
Jim Blandy <jimb@redhat.com>
parents: 4368
diff changeset
1224 AC_DEFINE(HAVE_AIX_SMT_EXP)
605e06926c35 * configure.in: Test for the presence of/usr/lpp/X11/bin/smt.exp,
Jim Blandy <jimb@redhat.com>
parents: 4368
diff changeset
1225 [
605e06926c35 * configure.in: Test for the presence of/usr/lpp/X11/bin/smt.exp,
Jim Blandy <jimb@redhat.com>
parents: 4368
diff changeset
1226 fi
605e06926c35 * configure.in: Test for the presence of/usr/lpp/X11/bin/smt.exp,
Jim Blandy <jimb@redhat.com>
parents: 4368
diff changeset
1227
1687
2bee660c3046 * configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents: 1647
diff changeset
1228
2711
2c2052ec537d The GNU coding standards specify that CFLAGS should be left for
Jim Blandy <jimb@redhat.com>
parents: 2678
diff changeset
1229 #### Specify what sort of things we'll be editing into Makefile and config.h.
4163
f8fa30d5b7fd (canonical): New variable holds the canonicalized
Richard M. Stallman <rms@gnu.org>
parents: 4125
diff changeset
1230 ### Use configuration here uncanonicalized to avoid exceeding size limits.
2499
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
1231 ]
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
1232 AC_SUBST(configuration)
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
1233 AC_SUBST(version)
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
1234 AC_SUBST(srcdir)
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
1235 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
1236 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
1237 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
1238 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
1239 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
1240 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
1241 AC_SUBST(CFLAGS)
2975
11c21b4d400d * configure.in (long_usage): Removed; made short_usage describe
Jim Blandy <jimb@redhat.com>
parents: 2973
diff changeset
1242 AC_SUBST(prefix)
3010
4ca5a6bd174b * configure.in: Add support for the `--exec-prefix' option.
Jim Blandy <jimb@redhat.com>
parents: 3006
diff changeset
1243 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
1244
2938
0d26c3d15c1b * configure.in: Remove the hack of AC_DEFINE; use
Jim Blandy <jimb@redhat.com>
parents: 2919
diff changeset
1245 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
1246 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
1247 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
1248 AC_DEFINE_UNQUOTED(C_SWITCH_X_SITE, ${C_SWITCH_X_SITE})
3196
c3470c4abe5e * configure.in: Extract UNEXEC from the system configuration
Jim Blandy <jimb@redhat.com>
parents: 3193
diff changeset
1249 AC_DEFINE_UNQUOTED(UNEXEC_SRC, ${UNEXEC_SRC})
2737
443605a261b3 * configure.in: Sidestep autoconf's quoting of the second argument
Jim Blandy <jimb@redhat.com>
parents: 2711
diff changeset
1250
2499
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
1251 [
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
1252 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
1253 ] 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
1254 fi
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
1255 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
1256 ] 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
1257 fi
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
1258 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
1259 ] 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
1260 fi
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
1261 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
1262 ] 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
1263 fi
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
1264 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
1265 ] 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
1266 fi
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
1267 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
1268 ] 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
1269 fi
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
1270 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
1271 ] 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
1272 fi
603
470f556a9453 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
1273
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
1274
2499
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
1275 #### 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
1276 echo "
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1629
diff changeset
1277
4163
f8fa30d5b7fd (canonical): New variable holds the canonicalized
Richard M. Stallman <rms@gnu.org>
parents: 4125
diff changeset
1278 Configured for \`${canonical}'.
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
1279
3200
add7f1e21bee * configure.in: If srcdir is '.', then try using PWD to make it
Jim Blandy <jimb@redhat.com>
parents: 3196
diff changeset
1280 Where should the build process find the source code? ${srcdir}
1629
b57feef74718 * configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents: 1559
diff changeset
1281 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
1282 \`${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
1283 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
1284 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
1285 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
1286 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
1287 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
1288 Where do we find X Windows libraries? }${x_libraries}
605
5f36058e31f9 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 603
diff changeset
1289
2499
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
1290 "
4361
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1291
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1292 # Remove any trailing slashes in these variables.
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1293 test -n "${prefix}" &&
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1294 prefix=`echo "${prefix}" | sed 's,\([^/]\)/*$,\1,'`
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1295 test -n "${exec_prefix}" &&
81016e10e279 * configure.in: If we found X on our own, set C_SWITCH_X_SITE and
Jim Blandy <jimb@redhat.com>
parents: 4354
diff changeset
1296 exec_prefix=`echo "${exec_prefix}" | sed 's,\([^/]\)/*$,\1,'`
2499
da67547eda51 * configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents: 2427
diff changeset
1297 ]
2711
2c2052ec537d The GNU coding standards specify that CFLAGS should be left for
Jim Blandy <jimb@redhat.com>
parents: 2678
diff changeset
1298 AC_OUTPUT(Makefile)