Mercurial > emacs
annotate configure1.in @ 4810:5ccfb9c1967f
In cmds to make src/Makefile, chmod Makefile.new before moving it.
author | Roland McGrath <roland@gnu.org> |
---|---|
date | Sun, 03 Oct 1993 19:57:50 +0000 |
parents | 176add5e2e47 |
children | 4df040383e8a |
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 | 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 | 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 | 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 | 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 | 35 |
2499
da67547eda51
* configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents:
2427
diff
changeset
|
36 ### 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
|
37 ### meet, this file is an unholy marriage of custom-baked |
3011 | 38 ### 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
|
39 ### |
da67547eda51
* configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents:
2427
diff
changeset
|
40 ### 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
|
41 ### 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
|
42 ### 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
|
43 ### |
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
44 ### 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
|
45 ### |
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
46 ### 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
|
47 ### 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
|
48 ### 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
|
49 |
2100
4c081de167f4
* configure: Recognize strings like "sysvr0" or "sysvr1" as System V.
Jim Blandy <jimb@redhat.com>
parents:
2007
diff
changeset
|
50 ### 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
|
51 ### 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
|
52 ### 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
|
53 ### 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
|
54 ### 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
|
55 ### 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
|
56 ### not. |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
57 ### |
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
58 ### 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
|
59 ### 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
|
60 ### 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
|
61 ### 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
|
62 progname="`echo $0 | sed 's:^\./\./:\./:'`" |
603 | 63 |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
64 |
4792
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
65 ### Establish some default values. |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
66 run_in_place= |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
67 single_tree= |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
68 prefix='/usr/local' |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
69 exec_prefix='${prefix}' |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
70 bindir='${exec_prefix}/bin' |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
71 datadir='${prefix}/lib' |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
72 statedir='${prefix}/lib' |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
73 libdir='${exec_prefix}/lib' |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
74 mandir='${prefix}/man/man1' |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
75 infodir='${prefix}/info' |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
76 lispdir='${datadir}/emacs/${version}/lisp' |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
77 locallisppath='${datadir}/emacs/site-lisp' |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
78 lisppath='${locallisppath}:${lispdir}' |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
79 etcdir='${datadir}/emacs/${version}/etc' |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
80 lockdir='${statedir}/emacs/lock' |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
81 archlibdir='${libdir}/emacs/${version}/${configuration}' |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
82 |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
83 # We cannot use this variable in the case statement below, because many |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
84 # /bin/sh's have broken semantics for "case". Unfortunately, you must |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
85 # actually edit the clause itself. |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
86 # path_options="prefix | exec_prefix | bindir | libdir | etcdir | datadir" |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
87 # path_options="$path_options | archlibdir | statedir | mandir | infodir" |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
88 # path_options="$path_options | lispdir | lockdir | lisppath | locallisppath" |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
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 #### Usage messages. |
603 | 91 |
2975
11c21b4d400d
* configure.in (long_usage): Removed; made short_usage describe
Jim Blandy <jimb@redhat.com>
parents:
2973
diff
changeset
|
92 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
|
93 |
603 | 94 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
|
95 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
|
96 --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
|
97 --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
|
98 --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
|
99 --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
|
100 --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
|
101 --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
|
102 --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
|
103 source tree. |
4792
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
104 --single-tree=DIR Has the effect of creating a directory tree at DIR |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
105 which looks like: |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
106 .../DIR/bin/CONFIGNAME (emacs, etags, etc.) |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
107 .../DIR/bin/CONFIGNAME/etc (movemail, etc.) |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
108 .../DIR/common/lisp (emacs' lisp files) |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
109 .../DIR/common/site-lisp (local lisp files) |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
110 .../DIR/common/lib (DOC, TUTORIAL, etc.) |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
111 .../DIR/common/lock (lockfiles) |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
112 --srcdir=DIR Look for the Emacs source files in DIR. |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
113 --prefix=DIR Install files below DIR. Defaults to \`${prefix}'. |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
114 |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
115 You may also specify any of the \`path' variables found in Makefile.in, |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
116 including --bindir, --libdir, --etcdir, --infodir, and so on. This allows |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
117 you to override a single default location when configuring. |
603 | 118 |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
119 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
|
120 unsuccessful after disturbing the status quo, it removes config.status." |
603 | 121 |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
122 |
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
123 #### Option processing. |
603 | 124 |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
125 ### 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
|
126 arguments="$@" |
638 | 127 |
4801
176add5e2e47
Don't copy ${srcdir}/src/Makefile.in; that file doesn't exist. Just
Brian Fox <bfox@gnu.org>
parents:
4792
diff
changeset
|
128 ### Shell Magic: Quote the quoted arguments in ARGUMENTS. At a later date, |
176add5e2e47
Don't copy ${srcdir}/src/Makefile.in; that file doesn't exist. Just
Brian Fox <bfox@gnu.org>
parents:
4792
diff
changeset
|
129 ### in order to get the arguments back in $@, we have to do an |
176add5e2e47
Don't copy ${srcdir}/src/Makefile.in; that file doesn't exist. Just
Brian Fox <bfox@gnu.org>
parents:
4792
diff
changeset
|
130 ### `eval set x "$quoted_arguments"; shift'. |
176add5e2e47
Don't copy ${srcdir}/src/Makefile.in; that file doesn't exist. Just
Brian Fox <bfox@gnu.org>
parents:
4792
diff
changeset
|
131 quoted_arguments= |
176add5e2e47
Don't copy ${srcdir}/src/Makefile.in; that file doesn't exist. Just
Brian Fox <bfox@gnu.org>
parents:
4792
diff
changeset
|
132 for i in "$@"; do |
176add5e2e47
Don't copy ${srcdir}/src/Makefile.in; that file doesn't exist. Just
Brian Fox <bfox@gnu.org>
parents:
4792
diff
changeset
|
133 quoted_arguments="$quoted_arguments '$i'" |
176add5e2e47
Don't copy ${srcdir}/src/Makefile.in; that file doesn't exist. Just
Brian Fox <bfox@gnu.org>
parents:
4792
diff
changeset
|
134 done |
176add5e2e47
Don't copy ${srcdir}/src/Makefile.in; that file doesn't exist. Just
Brian Fox <bfox@gnu.org>
parents:
4792
diff
changeset
|
135 |
3262
4ece9a6d1f37
* configure.in: Traverse the argument list without destroying it;
Jim Blandy <jimb@redhat.com>
parents:
3259
diff
changeset
|
136 ### 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
|
137 ### 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
|
138 ### work portably. |
4801
176add5e2e47
Don't copy ${srcdir}/src/Makefile.in; that file doesn't exist. Just
Brian Fox <bfox@gnu.org>
parents:
4792
diff
changeset
|
139 ### However, it also turns out that many shells cannot expand ${10} at all. |
176add5e2e47
Don't copy ${srcdir}/src/Makefile.in; that file doesn't exist. Just
Brian Fox <bfox@gnu.org>
parents:
4792
diff
changeset
|
140 ### So using an index variable doesn't work either. It is possible to use |
176add5e2e47
Don't copy ${srcdir}/src/Makefile.in; that file doesn't exist. Just
Brian Fox <bfox@gnu.org>
parents:
4792
diff
changeset
|
141 ### some shell magic to make 'set x "$arguments"; shift' work portably. |
176add5e2e47
Don't copy ${srcdir}/src/Makefile.in; that file doesn't exist. Just
Brian Fox <bfox@gnu.org>
parents:
4792
diff
changeset
|
142 while [ $# != 0 ]; do |
176add5e2e47
Don't copy ${srcdir}/src/Makefile.in; that file doesn't exist. Just
Brian Fox <bfox@gnu.org>
parents:
4792
diff
changeset
|
143 arg="$1"; shift |
603 | 144 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
|
145 |
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
146 ## 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
|
147 -* ) |
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
148 ## Separate the switch name from the value it's being given. |
603 | 149 case "${arg}" in |
1139 | 150 -*=*) |
1423
93ee9c5e7eec
Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents:
1139
diff
changeset
|
151 opt=`echo ${arg} | sed 's:^-*\([^=]*\)=.*$:\1:'` |
1139 | 152 val=`echo ${arg} | sed 's:^-*[^=]*=\(.*\)$:\1:'` |
603 | 153 valomitted=no |
154 ;; | |
1139 | 155 -*) |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
156 ## 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
|
157 ## --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
|
158 ## argument - see below. |
1423
93ee9c5e7eec
Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents:
1139
diff
changeset
|
159 opt=`echo ${arg} | sed 's:^-*\(.*\)$:\1:'` |
603 | 160 val="yes" |
161 valomitted=yes | |
162 ;; | |
163 esac | |
164 | |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
165 ## Change `-' in the option name to `_'. |
2345 | 166 optname="${opt}" |
1423
93ee9c5e7eec
Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents:
1139
diff
changeset
|
167 opt="`echo ${opt} | tr - _`" |
93ee9c5e7eec
Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents:
1139
diff
changeset
|
168 |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
169 ## Process the option. |
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
170 case "${opt}" in |
603 | 171 |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
172 ## 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
|
173 "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
|
174 ## Make sure the value given was either "yes" or "no". |
603 | 175 case "${val}" in |
176 y | ye | yes ) val=yes ;; | |
177 n | no ) val=no ;; | |
178 * ) | |
2345 | 179 (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
|
180 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
|
181 echo "${short_usage}") >&2 |
603 | 182 exit 1 |
183 ;; | |
184 esac | |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
185 eval "${opt}=\"${val}\"" |
603 | 186 ;; |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
187 |
1859
bf9e3f462e86
* configure (progname): New option `--with-gcc'. Make it clearer
Jim Blandy <jimb@redhat.com>
parents:
1699
diff
changeset
|
188 ## 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
|
189 "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
|
190 ## 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
|
191 case "${val}" in |
bf9e3f462e86
* configure (progname): New option `--with-gcc'. Make it clearer
Jim Blandy <jimb@redhat.com>
parents:
1699
diff
changeset
|
192 y | ye | yes ) val=yes ;; |
bf9e3f462e86
* configure (progname): New option `--with-gcc'. Make it clearer
Jim Blandy <jimb@redhat.com>
parents:
1699
diff
changeset
|
193 n | no ) val=no ;; |
bf9e3f462e86
* configure (progname): New option `--with-gcc'. Make it clearer
Jim Blandy <jimb@redhat.com>
parents:
1699
diff
changeset
|
194 * ) |
2345 | 195 (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
|
196 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
|
197 echo "${short_usage}") >&2 |
bf9e3f462e86
* configure (progname): New option `--with-gcc'. Make it clearer
Jim Blandy <jimb@redhat.com>
parents:
1699
diff
changeset
|
198 exit 1 |
bf9e3f462e86
* configure (progname): New option `--with-gcc'. Make it clearer
Jim Blandy <jimb@redhat.com>
parents:
1699
diff
changeset
|
199 ;; |
bf9e3f462e86
* configure (progname): New option `--with-gcc'. Make it clearer
Jim Blandy <jimb@redhat.com>
parents:
1699
diff
changeset
|
200 esac |
bf9e3f462e86
* configure (progname): New option `--with-gcc'. Make it clearer
Jim Blandy <jimb@redhat.com>
parents:
1699
diff
changeset
|
201 eval "${opt}=\"${val}\"" |
bf9e3f462e86
* configure (progname): New option `--with-gcc'. Make it clearer
Jim Blandy <jimb@redhat.com>
parents:
1699
diff
changeset
|
202 ;; |
bf9e3f462e86
* configure (progname): New option `--with-gcc'. Make it clearer
Jim Blandy <jimb@redhat.com>
parents:
1699
diff
changeset
|
203 |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
204 ## 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
|
205 "srcdir" ) |
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
206 ## If the value was omitted, get it from the next argument. |
603 | 207 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
|
208 ## Get the next argument from the argument list, if there is one. |
4801
176add5e2e47
Don't copy ${srcdir}/src/Makefile.in; that file doesn't exist. Just
Brian Fox <bfox@gnu.org>
parents:
4792
diff
changeset
|
209 if [ $# = 0 ]; then |
2345 | 210 (echo "${progname}: You must give a value for the \`--${optname}' option, as in |
211 \`--${optname}=FOO'." | |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
212 echo "${short_usage}") >&2 |
621 | 213 exit 1 |
214 fi | |
4801
176add5e2e47
Don't copy ${srcdir}/src/Makefile.in; that file doesn't exist. Just
Brian Fox <bfox@gnu.org>
parents:
4792
diff
changeset
|
215 val="$1"; shift |
603 | 216 fi |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
217 srcdir="${val}" |
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
218 ;; |
603 | 219 |
2329
b8028b77b69a
* configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents:
2244
diff
changeset
|
220 ## 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
|
221 ## 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
|
222 ## 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
|
223 ## installed in odd places. |
2345 | 224 "x_includes" ) |
2329
b8028b77b69a
* configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents:
2244
diff
changeset
|
225 ## 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
|
226 if [ "${valomitted}" = "yes" ]; then |
b8028b77b69a
* configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents:
2244
diff
changeset
|
227 ## Get the next argument from the argument list, if there is one. |
4801
176add5e2e47
Don't copy ${srcdir}/src/Makefile.in; that file doesn't exist. Just
Brian Fox <bfox@gnu.org>
parents:
4792
diff
changeset
|
228 if [ $# = 0 ]; then |
2345 | 229 (echo "${progname}: You must give a value for the \`--${optname}' option, as in |
4792
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
230 \`--${optname}=/usr/local/X11/include'." |
2329
b8028b77b69a
* configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents:
2244
diff
changeset
|
231 echo "${short_usage}") >&2 |
b8028b77b69a
* configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents:
2244
diff
changeset
|
232 exit 1 |
b8028b77b69a
* configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents:
2244
diff
changeset
|
233 fi |
4801
176add5e2e47
Don't copy ${srcdir}/src/Makefile.in; that file doesn't exist. Just
Brian Fox <bfox@gnu.org>
parents:
4792
diff
changeset
|
234 val="$1"; shift |
2329
b8028b77b69a
* configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents:
2244
diff
changeset
|
235 fi |
b8028b77b69a
* configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents:
2244
diff
changeset
|
236 x_includes="${val}" |
b8028b77b69a
* configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents:
2244
diff
changeset
|
237 ;; |
2345 | 238 "x_libraries" ) |
2329
b8028b77b69a
* configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents:
2244
diff
changeset
|
239 ## 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
|
240 if [ "${valomitted}" = "yes" ]; then |
b8028b77b69a
* configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents:
2244
diff
changeset
|
241 ## Get the next argument from the argument list, if there is one. |
4801
176add5e2e47
Don't copy ${srcdir}/src/Makefile.in; that file doesn't exist. Just
Brian Fox <bfox@gnu.org>
parents:
4792
diff
changeset
|
242 if [ $# = 0 ]; then |
2345 | 243 (echo "${progname}: You must give a value for the \`--${optname}' option, as in |
4792
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
244 \`--${optname}=/usr/local/X11/lib'." |
2329
b8028b77b69a
* configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents:
2244
diff
changeset
|
245 echo "${short_usage}") >&2 |
b8028b77b69a
* configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents:
2244
diff
changeset
|
246 exit 1 |
b8028b77b69a
* configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents:
2244
diff
changeset
|
247 fi |
4801
176add5e2e47
Don't copy ${srcdir}/src/Makefile.in; that file doesn't exist. Just
Brian Fox <bfox@gnu.org>
parents:
4792
diff
changeset
|
248 val="$1"; shift |
2329
b8028b77b69a
* configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents:
2244
diff
changeset
|
249 fi |
b8028b77b69a
* configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents:
2244
diff
changeset
|
250 x_libraries="${val}" |
b8028b77b69a
* configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents:
2244
diff
changeset
|
251 ;; |
b8028b77b69a
* configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents:
2244
diff
changeset
|
252 |
2624
5de08620df66
* configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents:
2516
diff
changeset
|
253 ## 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
|
254 "run_in_place" ) |
4792
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
255 single_tree= |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
256 run_in_place=1 |
2624
5de08620df66
* configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents:
2516
diff
changeset
|
257 ;; |
5de08620df66
* configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents:
2516
diff
changeset
|
258 |
4792
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
259 ## Has the user specified one of the path options? |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
260 prefix | exec_prefix | bindir | libdir | etcdir | datadir | \ |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
261 archlibdir | statedir | mandir | infodir | lispdir | lockdir | \ |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
262 lisppath | locallisppath ) |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
263 ## If the value was omitted, get it from the next argument. |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
264 if [ "${valomitted}" = "yes" ]; then |
4801
176add5e2e47
Don't copy ${srcdir}/src/Makefile.in; that file doesn't exist. Just
Brian Fox <bfox@gnu.org>
parents:
4792
diff
changeset
|
265 if [ $# = 0 ]; then |
4792
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
266 (echo \ |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
267 "$progname: You must give a value for the \`--${optname}' option,"; |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
268 echo \ |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
269 "as in \`--${optname}=`eval echo '$'$optname`.'" |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
270 echo "$short_usage") >&2 |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
271 exit 1 |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
272 fi |
4801
176add5e2e47
Don't copy ${srcdir}/src/Makefile.in; that file doesn't exist. Just
Brian Fox <bfox@gnu.org>
parents:
4792
diff
changeset
|
273 val="$1"; shift |
4792
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
274 fi |
4801
176add5e2e47
Don't copy ${srcdir}/src/Makefile.in; that file doesn't exist. Just
Brian Fox <bfox@gnu.org>
parents:
4792
diff
changeset
|
275 eval "${opt}=\"${val}\"" |
176add5e2e47
Don't copy ${srcdir}/src/Makefile.in; that file doesn't exist. Just
Brian Fox <bfox@gnu.org>
parents:
4792
diff
changeset
|
276 eval "${opt}_specified=1" |
4792
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
277 ;; |
3010
4ca5a6bd174b
* configure.in: Add support for the `--exec-prefix' option.
Jim Blandy <jimb@redhat.com>
parents:
3006
diff
changeset
|
278 |
3892
ad7559755428
* configure.in: Add --verbose flag.
Jim Blandy <jimb@redhat.com>
parents:
3820
diff
changeset
|
279 ## Verbose flag, tested by autoconf macros. |
ad7559755428
* configure.in: Add --verbose flag.
Jim Blandy <jimb@redhat.com>
parents:
3820
diff
changeset
|
280 "verbose" ) |
ad7559755428
* configure.in: Add --verbose flag.
Jim Blandy <jimb@redhat.com>
parents:
3820
diff
changeset
|
281 verbose=yes |
ad7559755428
* configure.in: Add --verbose flag.
Jim Blandy <jimb@redhat.com>
parents:
3820
diff
changeset
|
282 ;; |
ad7559755428
* configure.in: Add --verbose flag.
Jim Blandy <jimb@redhat.com>
parents:
3820
diff
changeset
|
283 |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
284 ## 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
|
285 "usage" | "help" ) |
4607
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
286 if [ "x$PAGER" = x ] |
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
287 then |
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
288 echo "${short_usage}" | more |
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
289 else |
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
290 echo "${short_usage}" | $PAGER |
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
291 fi |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
292 exit |
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
293 ;; |
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
294 |
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
295 ## 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
|
296 esac |
603 | 297 ;; |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
298 |
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
299 ## 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
|
300 ## configuration name. |
603 | 301 *) |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
302 configuration=${arg} |
603 | 303 ;; |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
304 |
603 | 305 esac |
306 done | |
307 | |
4801
176add5e2e47
Don't copy ${srcdir}/src/Makefile.in; that file doesn't exist. Just
Brian Fox <bfox@gnu.org>
parents:
4792
diff
changeset
|
308 ### Get the arguments back. See the diatribe on Shell Magic above. |
176add5e2e47
Don't copy ${srcdir}/src/Makefile.in; that file doesn't exist. Just
Brian Fox <bfox@gnu.org>
parents:
4792
diff
changeset
|
309 eval set x "$quoted_arguments"; shift |
176add5e2e47
Don't copy ${srcdir}/src/Makefile.in; that file doesn't exist. Just
Brian Fox <bfox@gnu.org>
parents:
4792
diff
changeset
|
310 |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
311 if [ "${configuration}" = "" ]; then |
3139 | 312 echo '- You did not tell me what kind of host system you want to configure. |
313 - I will attempt to guess the kind of system this is.' 1>&2 | |
314 guesssys=`echo ${progname} | sed 's/configure$/config.guess/'` | |
315 if configuration=`${guesssys}` ; then | |
316 echo "- Looks like this is a ${configuration}" 1>&2 | |
317 else | |
318 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
|
319 echo "${short_usage}" >&2 |
3139 | 320 exit 1 |
321 fi | |
603 | 322 fi |
323 | |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
324 #### 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
|
325 case "${srcdir}" in |
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
326 |
1687
2bee660c3046
* configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents:
1647
diff
changeset
|
327 ## 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
|
328 "" ) |
3059
2d8952db38ee
* configure.in: Check to see if the source lives in the same
Jim Blandy <jimb@redhat.com>
parents:
3057
diff
changeset
|
329 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
|
330 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
|
331 srcdir="${confdir}" |
1687
2bee660c3046
* configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents:
1647
diff
changeset
|
332 else |
3059
2d8952db38ee
* configure.in: Check to see if the source lives in the same
Jim Blandy <jimb@redhat.com>
parents:
3057
diff
changeset
|
333 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
|
334 srcdir='.' |
1687
2bee660c3046
* configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents:
1647
diff
changeset
|
335 else |
3059
2d8952db38ee
* configure.in: Check to see if the source lives in the same
Jim Blandy <jimb@redhat.com>
parents:
3057
diff
changeset
|
336 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
|
337 srcdir='..' |
3059
2d8952db38ee
* configure.in: Check to see if the source lives in the same
Jim Blandy <jimb@redhat.com>
parents:
3057
diff
changeset
|
338 else |
2d8952db38ee
* configure.in: Check to see if the source lives in the same
Jim Blandy <jimb@redhat.com>
parents:
3057
diff
changeset
|
339 (echo "\ |
1687
2bee660c3046
* configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents:
1647
diff
changeset
|
340 ${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
|
341 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
|
342 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
|
343 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
|
344 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
|
345 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
|
346 exit 1 |
2d8952db38ee
* configure.in: Check to see if the source lives in the same
Jim Blandy <jimb@redhat.com>
parents:
3057
diff
changeset
|
347 fi |
1687
2bee660c3046
* configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents:
1647
diff
changeset
|
348 fi |
2bee660c3046
* configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents:
1647
diff
changeset
|
349 fi |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
350 ;; |
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
351 |
1687
2bee660c3046
* configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents:
1647
diff
changeset
|
352 ## 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
|
353 * ) |
1687
2bee660c3046
* configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents:
1647
diff
changeset
|
354 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
|
355 (echo "\ |
2bee660c3046
* configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents:
1647
diff
changeset
|
356 ${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
|
357 \`${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
|
358 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
|
359 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
|
360 are." |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
361 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
|
362 exit 1 |
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
363 fi |
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
364 ;; |
3193
d4e38dec127d
* configure.in (prefix): Don't run pwd on srcdir unnecessarily.
Jim Blandy <jimb@redhat.com>
parents:
3178
diff
changeset
|
365 esac |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
366 |
3193
d4e38dec127d
* configure.in (prefix): Don't run pwd on srcdir unnecessarily.
Jim Blandy <jimb@redhat.com>
parents:
3178
diff
changeset
|
367 #### 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
|
368 #### 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
|
369 #### 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
|
370 case "${srcdir}" in |
d4e38dec127d
* configure.in (prefix): Don't run pwd on srcdir unnecessarily.
Jim Blandy <jimb@redhat.com>
parents:
3178
diff
changeset
|
371 /* ) ;; |
3200
add7f1e21bee
* configure.in: If srcdir is '.', then try using PWD to make it
Jim Blandy <jimb@redhat.com>
parents:
3196
diff
changeset
|
372 . ) |
add7f1e21bee
* configure.in: If srcdir is '.', then try using PWD to make it
Jim Blandy <jimb@redhat.com>
parents:
3196
diff
changeset
|
373 ## 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
|
374 ## absolute. But sometimes PWD is inaccurate. |
4746
8b96f2796afd
Use "sh -c pwd" when we want to avoid having the
Richard M. Stallman <rms@gnu.org>
parents:
4745
diff
changeset
|
375 if [ "${PWD}" != "" ] && [ "`(cd ${PWD} ; sh -c pwd)`" = "`pwd`" ] ; then |
3200
add7f1e21bee
* configure.in: If srcdir is '.', then try using PWD to make it
Jim Blandy <jimb@redhat.com>
parents:
3196
diff
changeset
|
376 srcdir="$PWD" |
add7f1e21bee
* configure.in: If srcdir is '.', then try using PWD to make it
Jim Blandy <jimb@redhat.com>
parents:
3196
diff
changeset
|
377 else |
add7f1e21bee
* configure.in: If srcdir is '.', then try using PWD to make it
Jim Blandy <jimb@redhat.com>
parents:
3196
diff
changeset
|
378 srcdir="`(cd ${srcdir}; pwd)`" |
3259
de18f95a692c
* configure.in: Add missing "fi".
Jim Blandy <jimb@redhat.com>
parents:
3245
diff
changeset
|
379 fi |
3200
add7f1e21bee
* configure.in: If srcdir is '.', then try using PWD to make it
Jim Blandy <jimb@redhat.com>
parents:
3196
diff
changeset
|
380 ;; |
3193
d4e38dec127d
* configure.in (prefix): Don't run pwd on srcdir unnecessarily.
Jim Blandy <jimb@redhat.com>
parents:
3178
diff
changeset
|
381 * ) 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
|
382 esac |
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
383 |
4704
b5d192c0f910
Substitute variable `vpath_sed'.
Roland McGrath <roland@gnu.org>
parents:
4695
diff
changeset
|
384 #### Check if the source directory already has a configured system in it. |
b5d192c0f910
Substitute variable `vpath_sed'.
Roland McGrath <roland@gnu.org>
parents:
4695
diff
changeset
|
385 if [ `pwd` != `(cd ${srcdir} && pwd)` ] \ |
b5d192c0f910
Substitute variable `vpath_sed'.
Roland McGrath <roland@gnu.org>
parents:
4695
diff
changeset
|
386 && [ -f "${srcdir}/src/config.h" ] ; then |
b5d192c0f910
Substitute variable `vpath_sed'.
Roland McGrath <roland@gnu.org>
parents:
4695
diff
changeset
|
387 (echo "${progname}: WARNING: The directory tree \`${srcdir}' is being used" |
b5d192c0f910
Substitute variable `vpath_sed'.
Roland McGrath <roland@gnu.org>
parents:
4695
diff
changeset
|
388 echo " as a build directory right now; it has been configured in its own" |
b5d192c0f910
Substitute variable `vpath_sed'.
Roland McGrath <roland@gnu.org>
parents:
4695
diff
changeset
|
389 echo " right. To configure in another directory as well, you MUST" |
b5d192c0f910
Substitute variable `vpath_sed'.
Roland McGrath <roland@gnu.org>
parents:
4695
diff
changeset
|
390 echo " use GNU make. If you do not have GNU make, then you must" |
b5d192c0f910
Substitute variable `vpath_sed'.
Roland McGrath <roland@gnu.org>
parents:
4695
diff
changeset
|
391 echo " now do \`make distclean' in ${srcdir}," |
b5d192c0f910
Substitute variable `vpath_sed'.
Roland McGrath <roland@gnu.org>
parents:
4695
diff
changeset
|
392 echo " and then run ${progname} again.") >&2 |
b5d192c0f910
Substitute variable `vpath_sed'.
Roland McGrath <roland@gnu.org>
parents:
4695
diff
changeset
|
393 # We need a multi-line sed script, which cannot go in a makefile. |
b5d192c0f910
Substitute variable `vpath_sed'.
Roland McGrath <roland@gnu.org>
parents:
4695
diff
changeset
|
394 vpath_sed='-f vpath.sed' |
b5d192c0f910
Substitute variable `vpath_sed'.
Roland McGrath <roland@gnu.org>
parents:
4695
diff
changeset
|
395 else |
b5d192c0f910
Substitute variable `vpath_sed'.
Roland McGrath <roland@gnu.org>
parents:
4695
diff
changeset
|
396 # Do the normal substitution for VPATH. This will not crash non-GNU make. |
4745
083140e4419f
Use AC_QUOTE_SQUOTE twice to properly quote vpath_sed value.
Roland McGrath <roland@gnu.org>
parents:
4730
diff
changeset
|
397 vpath_sed=]'AC_QUOTE_SQUOTE(AC_QUOTE_SQUOTE('-e '\''s|^\(VPATH *=\).*$$|\1 ='\''"${srcdir}/${subdir}|"'))'[ |
4704
b5d192c0f910
Substitute variable `vpath_sed'.
Roland McGrath <roland@gnu.org>
parents:
4695
diff
changeset
|
398 fi |
b5d192c0f910
Substitute variable `vpath_sed'.
Roland McGrath <roland@gnu.org>
parents:
4695
diff
changeset
|
399 ] AC_SUBST(vpath_sed) [ |
b5d192c0f910
Substitute variable `vpath_sed'.
Roland McGrath <roland@gnu.org>
parents:
4695
diff
changeset
|
400 |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
401 ### 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
|
402 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
|
403 if [ ! -d ${dir} ]; then |
72997ec201f2
* configure.in (version): Check the X libraries for XrmSetDatabase
Jim Blandy <jimb@redhat.com>
parents:
3635
diff
changeset
|
404 mkdir ${dir} |
72997ec201f2
* configure.in (version): Check the X libraries for XrmSetDatabase
Jim Blandy <jimb@redhat.com>
parents:
3635
diff
changeset
|
405 fi |
72997ec201f2
* configure.in (version): Check the X libraries for XrmSetDatabase
Jim Blandy <jimb@redhat.com>
parents:
3635
diff
changeset
|
406 done |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
407 |
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
408 #### 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
|
409 #### 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
|
410 |
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
411 ### Canonicalize the configuration name. |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
412 echo "Checking the configuration name." |
4163
f8fa30d5b7fd
(canonical): New variable holds the canonicalized
Richard M. Stallman <rms@gnu.org>
parents:
4125
diff
changeset
|
413 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
|
414 exit $? |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
415 fi |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
416 |
2100
4c081de167f4
* configure: Recognize strings like "sysvr0" or "sysvr1" as System V.
Jim Blandy <jimb@redhat.com>
parents:
2007
diff
changeset
|
417 ### 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
|
418 ### 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
|
419 ### 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
|
420 |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
421 ### 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
|
422 ### 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
|
423 ### 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
|
424 ### 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
|
425 ### 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
|
426 ### 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
|
427 ### 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
|
428 ### configuration name. |
2100
4c081de167f4
* configure: Recognize strings like "sysvr0" or "sysvr1" as System V.
Jim Blandy <jimb@redhat.com>
parents:
2007
diff
changeset
|
429 ### |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
430 ### 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
|
431 ### 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
|
432 ### /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
|
433 ### 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
|
434 ### 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
|
435 ### |
4c081de167f4
* configure: Recognize strings like "sysvr0" or "sysvr1" as System V.
Jim Blandy <jimb@redhat.com>
parents:
2007
diff
changeset
|
436 ### 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
|
437 ### "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
|
438 ### 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
|
439 |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
440 machine='' opsys='' unported='false' |
4163
f8fa30d5b7fd
(canonical): New variable holds the canonicalized
Richard M. Stallman <rms@gnu.org>
parents:
4125
diff
changeset
|
441 case "${canonical}" in |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
442 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
443 ## Alliant machines |
1423
93ee9c5e7eec
Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents:
1139
diff
changeset
|
444 ## 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
|
445 ## 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
|
446 ## 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
|
447 ## 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
|
448 ## 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
|
449 fx80-alliant-* ) |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
450 machine=alliant4 opsys=bsd4-2 |
1423
93ee9c5e7eec
Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents:
1139
diff
changeset
|
451 ;; |
93ee9c5e7eec
Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents:
1139
diff
changeset
|
452 i860-alliant-* ) |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
453 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
|
454 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
455 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
456 ## Altos 3068 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
457 m68*-altos-sysv* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
458 machine=altos opsys=usg5-2 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
459 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
460 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
461 ## Amdahl UTS |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
462 580-amdahl-sysv* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
463 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
|
464 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
465 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
466 ## 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
|
467 m68*-apollo* ) |
2711
2c2052ec537d
The GNU coding standards specify that CFLAGS should be left for
Jim Blandy <jimb@redhat.com>
parents:
2678
diff
changeset
|
468 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
|
469 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
470 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
471 ## 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
|
472 we32k-att-sysv* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
473 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
|
474 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
475 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
476 ## 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
|
477 m68*-att-sysv* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
478 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
|
479 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
480 |
4125
66f2f7838436
* configure.in (m68k-bull-sysv3): new config.
Jim Blandy <jimb@redhat.com>
parents:
4060
diff
changeset
|
481 ## Bull dpx2 |
66f2f7838436
* configure.in (m68k-bull-sysv3): new config.
Jim Blandy <jimb@redhat.com>
parents:
4060
diff
changeset
|
482 m68*-bull-sysv3* ) |
66f2f7838436
* configure.in (m68k-bull-sysv3): new config.
Jim Blandy <jimb@redhat.com>
parents:
4060
diff
changeset
|
483 machine=dpx2 opsys=usg5-3 |
66f2f7838436
* configure.in (m68k-bull-sysv3): new config.
Jim Blandy <jimb@redhat.com>
parents:
4060
diff
changeset
|
484 ;; |
66f2f7838436
* configure.in (m68k-bull-sysv3): new config.
Jim Blandy <jimb@redhat.com>
parents:
4060
diff
changeset
|
485 |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
486 ## Bull sps7 |
4125
66f2f7838436
* configure.in (m68k-bull-sysv3): new config.
Jim Blandy <jimb@redhat.com>
parents:
4060
diff
changeset
|
487 m68*-bull-sysv2* ) |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
488 machine=sps7 opsys=usg5-2 |
1423
93ee9c5e7eec
Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents:
1139
diff
changeset
|
489 ;; |
603 | 490 |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
491 ## 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
|
492 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
493 ## Celerity |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
494 ## 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
|
495 ## 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
|
496 ## in touch with us! |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
497 celerity-celerity-bsd* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
498 machine=celerity opsys=bsd4-2 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
499 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
500 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
501 ## Clipper |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
502 ## 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
|
503 ## tested on? |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
504 clipper-* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
505 machine=clipper |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
506 ## 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
|
507 ## operating system. |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
508 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
509 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
510 ## Convex |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
511 *-convex-bsd* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
512 machine=convex opsys=bsd4-3 |
1423
93ee9c5e7eec
Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents:
1139
diff
changeset
|
513 ;; |
1629
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 ## Cubix QBx/386 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
516 i386-cubix-sysv* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
517 machine=intel386 opsys=usg5-3 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
518 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
519 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
520 ## Cydra 5 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
521 cydra*-cydrome-sysv* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
522 machine=cydra5 opsys=usg5-3 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
523 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
524 |
3599
3b928190a3e8
* configure.in: Recognize configuration name for Data General
Jim Blandy <jimb@redhat.com>
parents:
3591
diff
changeset
|
525 ## Data General AViiON Machines |
3b928190a3e8
* configure.in: Recognize configuration name for Data General
Jim Blandy <jimb@redhat.com>
parents:
3591
diff
changeset
|
526 m88k-dg-dgux* ) |
3b928190a3e8
* configure.in: Recognize configuration name for Data General
Jim Blandy <jimb@redhat.com>
parents:
3591
diff
changeset
|
527 machine=aviion opsys=dgux |
3b928190a3e8
* configure.in: Recognize configuration name for Data General
Jim Blandy <jimb@redhat.com>
parents:
3591
diff
changeset
|
528 ;; |
3b928190a3e8
* configure.in: Recognize configuration name for Data General
Jim Blandy <jimb@redhat.com>
parents:
3591
diff
changeset
|
529 |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
530 ## DECstations |
4607
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
531 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
|
532 machine=pmax opsys=bsd4-2 |
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 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
|
535 machine=pmax opsys=bsd4-3 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
536 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
537 mips-dec-osf* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
538 machine=pmax opsys=osf1 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
539 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
540 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
541 ## Motorola Delta machines |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
542 m68*-motorola-sysv* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
543 machine=delta opsys=usg5-3 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
544 ;; |
3772
011935247e94
* configure.in: Add case for m88k-motorola-sysv4.
Jim Blandy <jimb@redhat.com>
parents:
3771
diff
changeset
|
545 m88k-motorola-sysv4* ) |
011935247e94
* configure.in: Add case for m88k-motorola-sysv4.
Jim Blandy <jimb@redhat.com>
parents:
3771
diff
changeset
|
546 machine=delta88k opsys=usg5-4 |
011935247e94
* configure.in: Add case for m88k-motorola-sysv4.
Jim Blandy <jimb@redhat.com>
parents:
3771
diff
changeset
|
547 ;; |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
548 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
|
549 machine=delta88k opsys=usg5-3 |
1423
93ee9c5e7eec
Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents:
1139
diff
changeset
|
550 ;; |
603 | 551 |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
552 ## Dual machines |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
553 m68*-dual-sysv* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
554 machine=dual opsys=usg5-2 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
555 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
556 m68*-dual-uniplus* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
557 machine=dual opsys=unipl5-2 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
558 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
559 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
560 ## Elxsi 6400 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
561 elxsi-elxsi-sysv* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
562 machine=elxsi opsys=usg5-2 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
563 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
564 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
565 ## Encore machines |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
566 ns16k-encore-bsd* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
567 machine=ns16000 opsys=umax |
1423
93ee9c5e7eec
Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents:
1139
diff
changeset
|
568 ;; |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
569 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
570 ## 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
|
571 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
572 ## Gould Power Node and NP1 |
4607
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
573 pn-gould-bsd4.2* ) |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
574 machine=gould opsys=bsd4-2 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
575 ;; |
4607
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
576 pn-gould-bsd4.3* ) |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
577 machine=gould opsys=bsd4-3 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
578 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
579 np1-gould-bsd* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
580 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
|
581 ;; |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
582 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
583 ## Honeywell XPS100 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
584 xps*-honeywell-sysv* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
585 machine=xps100 opsys=usg5-2 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
586 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
587 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
588 ## 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
|
589 m68*-hp-bsd* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
590 machine=hp9000s300 opsys=bsd4-3 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
591 ;; |
4695
32220a85d53b
Remove check for $srcdir being configured. This pretty much works now.
Roland McGrath <roland@gnu.org>
parents:
4615
diff
changeset
|
592 m68*-hp-netbsd* ) |
32220a85d53b
Remove check for $srcdir being configured. This pretty much works now.
Roland McGrath <roland@gnu.org>
parents:
4615
diff
changeset
|
593 machine=hp9000s300 opsys=netbsd |
32220a85d53b
Remove check for $srcdir being configured. This pretty much works now.
Roland McGrath <roland@gnu.org>
parents:
4615
diff
changeset
|
594 ;; |
3771
78c629b32fd9
* configure.in: Move clause for PC-compatible i386 box to the end
Jim Blandy <jimb@redhat.com>
parents:
3761
diff
changeset
|
595 ## 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
|
596 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
|
597 case "`uname -r`" in |
4607
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
598 ## Someone's system reports A.B8.05 for this. |
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
599 ## I wonder what other possibilities there are. |
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
600 *.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
|
601 *.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
|
602 *.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
|
603 *) 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
|
604 esac |
1423
93ee9c5e7eec
Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents:
1139
diff
changeset
|
605 ;; |
603 | 606 |
3006
7126575622da
* configure.in: Distinguish between hp800's and hp700's by calling
Jim Blandy <jimb@redhat.com>
parents:
2985
diff
changeset
|
607 ## 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
|
608 hppa*-hp-hpux7* ) |
3575
1b93c0bc8bf4
* configure.in: Remove extra ;; from hpux cases.
Jim Blandy <jimb@redhat.com>
parents:
3574
diff
changeset
|
609 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
|
610 ;; |
7ff6a8013a4d
* configure.in (machine): Fix the versions in hpux version number test.
Jim Blandy <jimb@redhat.com>
parents:
3460
diff
changeset
|
611 hppa*-hp-hpux8* ) |
3575
1b93c0bc8bf4
* configure.in: Remove extra ;; from hpux cases.
Jim Blandy <jimb@redhat.com>
parents:
3574
diff
changeset
|
612 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
|
613 ;; |
3573
7ff6a8013a4d
* configure.in (machine): Fix the versions in hpux version number test.
Jim Blandy <jimb@redhat.com>
parents:
3460
diff
changeset
|
614 hppa*-hp-hpux9* ) |
3575
1b93c0bc8bf4
* configure.in: Remove extra ;; from hpux cases.
Jim Blandy <jimb@redhat.com>
parents:
3574
diff
changeset
|
615 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
|
616 ;; |
3573
7ff6a8013a4d
* configure.in (machine): Fix the versions in hpux version number test.
Jim Blandy <jimb@redhat.com>
parents:
3460
diff
changeset
|
617 |
7ff6a8013a4d
* configure.in (machine): Fix the versions in hpux version number test.
Jim Blandy <jimb@redhat.com>
parents:
3460
diff
changeset
|
618 ## 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
|
619 hppa*-hp-hpux* ) |
7126575622da
* configure.in: Distinguish between hp800's and hp700's by calling
Jim Blandy <jimb@redhat.com>
parents:
2985
diff
changeset
|
620 ## 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
|
621 case "`uname -r`" in |
4607
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
622 ## Someone's system reports A.B8.05 for this. |
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
623 ## I wonder what other possibilities there are. |
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
624 *.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
|
625 *.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
|
626 *.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
|
627 *) 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
|
628 esac |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
629 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
630 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
631 ## Orion machines |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
632 orion-orion-bsd* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
633 machine=orion opsys=bsd4-2 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
634 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
635 clipper-orion-bsd* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
636 machine=orion105 opsys=bsd4-2 |
1423
93ee9c5e7eec
Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents:
1139
diff
changeset
|
637 ;; |
603 | 638 |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
639 ## IBM machines |
4607
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
640 i386-ibm-aix1.1* ) |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
641 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
|
642 ;; |
4607
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
643 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
|
644 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
|
645 ;; |
4461
ac7656a5f6e9
(machine): Add i370-ibm-aix*.
Richard M. Stallman <rms@gnu.org>
parents:
4437
diff
changeset
|
646 i370-ibm-aix*) |
ac7656a5f6e9
(machine): Add i370-ibm-aix*.
Richard M. Stallman <rms@gnu.org>
parents:
4437
diff
changeset
|
647 machine=ibm370aix opsys=usg5-3 |
ac7656a5f6e9
(machine): Add i370-ibm-aix*.
Richard M. Stallman <rms@gnu.org>
parents:
4437
diff
changeset
|
648 ;; |
4607
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
649 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
|
650 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
|
651 ;; |
4607
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
652 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
|
653 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
|
654 ;; |
4607
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
655 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
|
656 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
|
657 ;; |
4607
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
658 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
|
659 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
|
660 ;; |
4607
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
661 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
|
662 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
|
663 ;; |
4607
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
664 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
|
665 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
|
666 ;; |
0687b13fc461
(romp): Handle various version numbers with aos and bsd.
Richard M. Stallman <rms@gnu.org>
parents:
3217
diff
changeset
|
667 romp-ibm-aos* ) |
0687b13fc461
(romp): Handle various version numbers with aos and bsd.
Richard M. Stallman <rms@gnu.org>
parents:
3217
diff
changeset
|
668 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
|
669 ;; |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
670 romp-ibm-bsd* ) |
3245
0687b13fc461
(romp): Handle various version numbers with aos and bsd.
Richard M. Stallman <rms@gnu.org>
parents:
3217
diff
changeset
|
671 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
|
672 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
673 romp-ibm-aix* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
674 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
|
675 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
676 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
677 ## Integrated Solutions `Optimum V' |
4607
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
678 m68*-isi-bsd4.2* ) |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
679 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
|
680 ;; |
4607
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
681 m68*-isi-bsd4.3* ) |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
682 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
|
683 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
684 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
685 ## 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
|
686 i[34]86-intsys-sysv* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
687 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
|
688 ;; |
3628
3f0d7802decb
Move i386-prime-sysv* and i386-sequent-bsd*
Richard M. Stallman <rms@gnu.org>
parents:
3603
diff
changeset
|
689 |
3f0d7802decb
Move i386-prime-sysv* and i386-sequent-bsd*
Richard M. Stallman <rms@gnu.org>
parents:
3603
diff
changeset
|
690 ## Prime EXL |
3f0d7802decb
Move i386-prime-sysv* and i386-sequent-bsd*
Richard M. Stallman <rms@gnu.org>
parents:
3603
diff
changeset
|
691 i386-prime-sysv* ) |
3f0d7802decb
Move i386-prime-sysv* and i386-sequent-bsd*
Richard M. Stallman <rms@gnu.org>
parents:
3603
diff
changeset
|
692 machine=i386 opsys=usg5-3 |
3f0d7802decb
Move i386-prime-sysv* and i386-sequent-bsd*
Richard M. Stallman <rms@gnu.org>
parents:
3603
diff
changeset
|
693 ;; |
3f0d7802decb
Move i386-prime-sysv* and i386-sequent-bsd*
Richard M. Stallman <rms@gnu.org>
parents:
3603
diff
changeset
|
694 |
3f0d7802decb
Move i386-prime-sysv* and i386-sequent-bsd*
Richard M. Stallman <rms@gnu.org>
parents:
3603
diff
changeset
|
695 ## Sequent Symmetry |
3f0d7802decb
Move i386-prime-sysv* and i386-sequent-bsd*
Richard M. Stallman <rms@gnu.org>
parents:
3603
diff
changeset
|
696 i386-sequent-bsd* ) |
3f0d7802decb
Move i386-prime-sysv* and i386-sequent-bsd*
Richard M. Stallman <rms@gnu.org>
parents:
3603
diff
changeset
|
697 machine=symmetry opsys=bsd4-3 |
3f0d7802decb
Move i386-prime-sysv* and i386-sequent-bsd*
Richard M. Stallman <rms@gnu.org>
parents:
3603
diff
changeset
|
698 ;; |
3f0d7802decb
Move i386-prime-sysv* and i386-sequent-bsd*
Richard M. Stallman <rms@gnu.org>
parents:
3603
diff
changeset
|
699 |
3057
b155c80dc2c2
* configure.in: Recognize configuration names for i860 boxes
Jim Blandy <jimb@redhat.com>
parents:
3024
diff
changeset
|
700 ## Intel 860 |
4607
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
701 i860-*-sysvr4* ) |
3057
b155c80dc2c2
* configure.in: Recognize configuration names for i860 boxes
Jim Blandy <jimb@redhat.com>
parents:
3024
diff
changeset
|
702 machine=i860 opsys=usg5-4 |
b155c80dc2c2
* configure.in: Recognize configuration names for i860 boxes
Jim Blandy <jimb@redhat.com>
parents:
3024
diff
changeset
|
703 ;; |
b155c80dc2c2
* configure.in: Recognize configuration names for i860 boxes
Jim Blandy <jimb@redhat.com>
parents:
3024
diff
changeset
|
704 |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
705 ## Silicon Graphics machines |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
706 ## 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
|
707 m68*-sgi-iris3.5* ) |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
708 machine=irist opsys=iris3-5 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
709 ;; |
4607
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
710 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
|
711 machine=irist opsys=iris3-6 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
712 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
713 ## Iris 4D |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
714 mips-sgi-irix3.* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
715 machine=iris4d opsys=irix3-3 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
716 ;; |
4607
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
717 mips-sgi-irix5.* ) |
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
718 machine=iris4d opsys=irix5-0 |
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
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-sgi-irix4.* | mips-sgi-irix* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
721 machine=iris4d opsys=irix4-0 |
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 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
724 ## Masscomp machines |
4607
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
725 m68*-masscomp-rtu* ) |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
726 machine=masscomp opsys=rtu |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
727 ;; |
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 ## Megatest machines |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
730 m68*-megatest-bsd* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
731 machine=mega68 opsys=bsd4-2 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
732 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
733 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
734 ## Workstations sold by MIPS |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
735 ## 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
|
736 ## 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
|
737 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
738 ## 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
|
739 ## 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
|
740 ## 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
|
741 ## -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
|
742 ## 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
|
743 ## 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
|
744 ## 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
|
745 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
|
746 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
|
747 ## 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
|
748 ;; |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
749 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
|
750 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
|
751 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
752 mips-mips-bsd* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
753 machine=mips opsys=bsd4-3 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
754 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
755 mips-mips-* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
756 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
|
757 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
758 |
2624
5de08620df66
* configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents:
2516
diff
changeset
|
759 ## NeXT |
5de08620df66
* configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents:
2516
diff
changeset
|
760 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
|
761 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
|
762 ;; |
5de08620df66
* configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents:
2516
diff
changeset
|
763 |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
764 ## 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
|
765 ns32k-ns-genix* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
766 machine=ns32000 opsys=usg5-2 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
767 ;; |
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 ## NCR machines |
2100
4c081de167f4
* configure: Recognize strings like "sysvr0" or "sysvr1" as System V.
Jim Blandy <jimb@redhat.com>
parents:
2007
diff
changeset
|
770 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
|
771 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
|
772 ;; |
2100
4c081de167f4
* configure: Recognize strings like "sysvr0" or "sysvr1" as System V.
Jim Blandy <jimb@redhat.com>
parents:
2007
diff
changeset
|
773 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
|
774 machine=tower32v3 opsys=usg5-3 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
775 ;; |
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 ## Nixdorf Targon 31 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
778 m68*-nixdorf-sysv* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
779 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
|
780 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
781 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
782 ## Nu (TI or LMI) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
783 m68*-nu-sysv* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
784 machine=nu opsys=usg5-2 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
785 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
786 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
787 ## Plexus |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
788 m68*-plexus-sysv* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
789 machine=plexus opsys=usg5-2 |
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 ## Pyramid machines |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
793 ## 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
|
794 ## 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
|
795 pyramid-pyramid-bsd* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
796 machine=pyramid opsys=bsd4-2 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
797 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
798 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
799 ## Sequent Balance |
4607
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
800 ns32k-sequent-bsd4.2* ) |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
801 machine=sequent opsys=bsd4-2 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
802 ;; |
4607
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
803 ns32k-sequent-bsd4.3* ) |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
804 machine=sequent opsys=bsd4-3 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
805 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
806 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
807 ## SONY machines |
4607
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
808 m68*-sony-bsd4.2* ) |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
809 machine=news opsys=bsd4-2 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
810 ;; |
4607
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
811 m68*-sony-bsd4.3* ) |
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
812 machine=news opsys=bsd4-3 |
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
813 ;; |
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
814 m68*-sony-newsos3*) |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
815 machine=news opsys=bsd4-3 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
816 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
817 mips-sony-bsd* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
818 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
|
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 ## Stride |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
822 m68*-stride-sysv* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
823 machine=stride opsys=usg5-2 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
824 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
825 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
826 ## Suns |
2812
cea361c342f4
Install ${srcdir} changes from DJM.
Jim Blandy <jimb@redhat.com>
parents:
2804
diff
changeset
|
827 *-sun-sunos* | *-sun-bsd* | *-sun-solaris* ) |
4163
f8fa30d5b7fd
(canonical): New variable holds the canonicalized
Richard M. Stallman <rms@gnu.org>
parents:
4125
diff
changeset
|
828 case "${canonical}" in |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
829 m68*-sunos1* ) machine=sun1 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
830 m68*-sunos2* ) machine=sun2 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
831 m68* ) machine=sun3 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
832 i[34]86* ) machine=sun386 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
833 sparc* ) machine=sparc ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
834 * ) unported=true ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
835 esac |
4163
f8fa30d5b7fd
(canonical): New variable holds the canonicalized
Richard M. Stallman <rms@gnu.org>
parents:
4125
diff
changeset
|
836 case "${canonical}" in |
4615
feec1422d547
(i386-*-sunos4): Assume Sunos 4.0.
Richard M. Stallman <rms@gnu.org>
parents:
4607
diff
changeset
|
837 ## The Sun386 didn't get past 4.0. |
feec1422d547
(i386-*-sunos4): Assume Sunos 4.0.
Richard M. Stallman <rms@gnu.org>
parents:
4607
diff
changeset
|
838 i386-*-sunos4 ) opsys=sunos4-0 ;; |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
839 *-sunos4.0* ) opsys=sunos4-0 ;; |
3115
86652a5c442b
Handle sunos4.1.3 specially.
Richard M. Stallman <rms@gnu.org>
parents:
3091
diff
changeset
|
840 *-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
|
841 *-sunos4* | *-sunos ) opsys=sunos4-1 ;; |
2812
cea361c342f4
Install ${srcdir} changes from DJM.
Jim Blandy <jimb@redhat.com>
parents:
2804
diff
changeset
|
842 *-sunos5* | *-solaris* ) opsys=sol2 ;; |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
843 * ) opsys=bsd4-2 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
844 esac |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
845 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
846 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
847 ## Tadpole 68k |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
848 m68*-tadpole-sysv* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
849 machine=tad68k opsys=usg5-3 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
850 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
851 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
852 ## Tahoe machines |
4607
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
853 tahoe-tahoe-bsd4.2* ) |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
854 machine=tahoe opsys=bsd4-2 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
855 ;; |
4607
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
856 tahoe-tahoe-bsd4.3* ) |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
857 machine=tahoe opsys=bsd4-3 |
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 ## Tandem Integrity S2 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
861 mips-tandem-sysv* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
862 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
|
863 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
864 |
3271
dbd332a25c64
* configure.in: Add case for the Tektronix XD88.
Jim Blandy <jimb@redhat.com>
parents:
3264
diff
changeset
|
865 ## Tektronix XD88 |
4542
87c959b66ae2
(m88k-tektronix-sysv3*): Added the missing *.
Richard M. Stallman <rms@gnu.org>
parents:
4536
diff
changeset
|
866 m88k-tektronix-sysv3* ) |
87c959b66ae2
(m88k-tektronix-sysv3*): Added the missing *.
Richard M. Stallman <rms@gnu.org>
parents:
4536
diff
changeset
|
867 machine=tekxd88 opsys=usg5-3 |
3271
dbd332a25c64
* configure.in: Add case for the Tektronix XD88.
Jim Blandy <jimb@redhat.com>
parents:
3264
diff
changeset
|
868 ;; |
dbd332a25c64
* configure.in: Add case for the Tektronix XD88.
Jim Blandy <jimb@redhat.com>
parents:
3264
diff
changeset
|
869 |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
870 ## Tektronix 16000 box (6130?) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
871 ns16k-tektronix-bsd* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
872 machine=ns16000 opsys=bsd4-2 |
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 ## Tektronix 4300 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
875 ## 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
|
876 m68*-tektronix-bsd* ) |
4607
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
877 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
|
878 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
879 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
880 ## Titan P2 or P3 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
881 ## 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
|
882 titan-titan-sysv* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
883 machine=titan opsys=usg5-3 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
884 ;; |
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 ## Ustation E30 (SS5E) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
887 m68*-unisys-uniplus* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
888 machine=ustation opsystem=unipl5-2 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
889 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
890 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
891 ## Vaxen. |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
892 vax-dec-* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
893 machine=vax |
4163
f8fa30d5b7fd
(canonical): New variable holds the canonicalized
Richard M. Stallman <rms@gnu.org>
parents:
4125
diff
changeset
|
894 case "${canonical}" in |
4607
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
895 *-bsd4.1* ) opsys=bsd4-1 ;; |
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
896 *-bsd4.2* | *-ultrix[0-3].* | *-ultrix4.0* ) opsys=bsd4-2 ;; |
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
897 *-bsd4.3* | *-ultrix* ) opsys=bsd4-3 ;; |
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
898 *-bsd386* ) opsys=bsd386 ;; |
2100
4c081de167f4
* configure: Recognize strings like "sysvr0" or "sysvr1" as System V.
Jim Blandy <jimb@redhat.com>
parents:
2007
diff
changeset
|
899 *-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
|
900 *-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
|
901 *-vms* ) opsys=vms ;; |
4c081de167f4
* configure: Recognize strings like "sysvr0" or "sysvr1" as System V.
Jim Blandy <jimb@redhat.com>
parents:
2007
diff
changeset
|
902 * ) unported=true |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
903 esac |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
904 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
905 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
906 ## Whitechapel MG1 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
907 ns16k-whitechapel-* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
908 machine=mg1 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
909 ## 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
|
910 ## 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
|
911 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
912 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
913 ## Wicat |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
914 m68*-wicat-sysv* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
915 machine=wicat opsys=usg5-2 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
916 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
917 |
3761
e9b348e99645
* configure.in: Move clause for PC-compatible i386 box to the end
Jim Blandy <jimb@redhat.com>
parents:
3751
diff
changeset
|
918 ## 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
|
919 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
|
920 machine=intel386 |
4163
f8fa30d5b7fd
(canonical): New variable holds the canonicalized
Richard M. Stallman <rms@gnu.org>
parents:
4125
diff
changeset
|
921 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
|
922 *-isc1.* | *-isc2.[01]* ) opsys=386-ix ;; |
4607
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
923 *-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
|
924 *-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
|
925 *-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
|
926 *-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
|
927 *-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
|
928 *-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
|
929 *-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
|
930 *-bsd386* ) opsys=bsd386 ;; |
4607
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
931 *-386bsd* ) opsys=386bsd ;; |
4695
32220a85d53b
Remove check for $srcdir being configured. This pretty much works now.
Roland McGrath <roland@gnu.org>
parents:
4615
diff
changeset
|
932 *-netbsd* ) opsys=netbsd ;; |
3761
e9b348e99645
* configure.in: Move clause for PC-compatible i386 box to the end
Jim Blandy <jimb@redhat.com>
parents:
3751
diff
changeset
|
933 ## 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
|
934 esac |
e9b348e99645
* configure.in: Move clause for PC-compatible i386 box to the end
Jim Blandy <jimb@redhat.com>
parents:
3751
diff
changeset
|
935 ;; |
e9b348e99645
* configure.in: Move clause for PC-compatible i386 box to the end
Jim Blandy <jimb@redhat.com>
parents:
3751
diff
changeset
|
936 |
1423
93ee9c5e7eec
Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents:
1139
diff
changeset
|
937 * ) |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
938 unported=true |
1423
93ee9c5e7eec
Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents:
1139
diff
changeset
|
939 ;; |
93ee9c5e7eec
Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents:
1139
diff
changeset
|
940 esac |
603 | 941 |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
942 ### 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
|
943 ### 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
|
944 ### 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
|
945 ### 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
|
946 ### 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
|
947 ### above. |
3362 | 948 if [ x"${opsys}" = x ]; then |
4163
f8fa30d5b7fd
(canonical): New variable holds the canonicalized
Richard M. Stallman <rms@gnu.org>
parents:
4125
diff
changeset
|
949 case "${canonical}" in |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
950 *-bsd4.[01] ) opsys=bsd4-1 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
951 *-bsd4.2 ) opsys=bsd4-2 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
952 *-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
|
953 *-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
|
954 *-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
|
955 *-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
|
956 *-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
|
957 *-sysv4 | *-sysvr4 ) opsys=usg5-4 ;; |
3264
eff921d7bde6
Handle sysv4.2 and sysvr4.2.
Richard M. Stallman <rms@gnu.org>
parents:
3262
diff
changeset
|
958 *-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
|
959 * ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
960 unported=true |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
961 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
962 esac |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
963 fi |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
964 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
965 if $unported ; then |
4163
f8fa30d5b7fd
(canonical): New variable holds the canonicalized
Richard M. Stallman <rms@gnu.org>
parents:
4125
diff
changeset
|
966 (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
|
967 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
|
968 ) >&2 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
969 exit 1 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
970 fi |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
971 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
972 machfile="m/${machine}.h" |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
973 opsysfile="s/${opsys}.h" |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
974 |
2624
5de08620df66
* configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents:
2516
diff
changeset
|
975 ] |
5de08620df66
* configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents:
2516
diff
changeset
|
976 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
|
977 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
|
978 [ |
2499
da67547eda51
* configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents:
2427
diff
changeset
|
979 |
da67547eda51
* configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents:
2427
diff
changeset
|
980 #### Choose a compiler. |
da67547eda51
* configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents:
2427
diff
changeset
|
981 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
|
982 "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
|
983 "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
|
984 * ) |
2711
2c2052ec537d
The GNU coding standards specify that CFLAGS should be left for
Jim Blandy <jimb@redhat.com>
parents:
2678
diff
changeset
|
985 ] 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
|
986 esac |
da67547eda51
* configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents:
2427
diff
changeset
|
987 |
2876
ba7f0ad9aad9
* configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents:
2812
diff
changeset
|
988 #### 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
|
989 #### 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
|
990 #### #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
|
991 ] |
2876
ba7f0ad9aad9
* configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents:
2812
diff
changeset
|
992 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
|
993 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
|
994 AC_PROG_CPP |
3010
4ca5a6bd174b
* configure.in: Add support for the `--exec-prefix' option.
Jim Blandy <jimb@redhat.com>
parents:
3006
diff
changeset
|
995 AC_PROG_INSTALL |
3582
eb75df1104eb
* configure.in: Test for bison.
Jim Blandy <jimb@redhat.com>
parents:
3575
diff
changeset
|
996 AC_PROG_YACC |
2876
ba7f0ad9aad9
* configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents:
2812
diff
changeset
|
997 |
ba7f0ad9aad9
* configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents:
2812
diff
changeset
|
998 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
|
999 |
ba7f0ad9aad9
* configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents:
2812
diff
changeset
|
1000 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
|
1001 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
|
1002 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
|
1003 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
|
1004 |
ba7f0ad9aad9
* configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents:
2812
diff
changeset
|
1005 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
|
1006 AC_RETSIGTYPE |
2876
ba7f0ad9aad9
* configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents:
2812
diff
changeset
|
1007 |
ba7f0ad9aad9
* configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents:
2812
diff
changeset
|
1008 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
|
1009 AC_STRUCT_TM |
2919
2420d37c5335
* configure.in: Add AC_TIMEZONE.
Jim Blandy <jimb@redhat.com>
parents:
2914
diff
changeset
|
1010 AC_TIMEZONE |
2876
ba7f0ad9aad9
* configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents:
2812
diff
changeset
|
1011 |
ba7f0ad9aad9
* configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents:
2812
diff
changeset
|
1012 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
|
1013 AC_CONST |
2876
ba7f0ad9aad9
* configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents:
2812
diff
changeset
|
1014 |
ba7f0ad9aad9
* configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents:
2812
diff
changeset
|
1015 dnl checks for operating system services |
3603
2bef8320089c
* configure.in: Use AC_LONG_FILE_NAMES.
Jim Blandy <jimb@redhat.com>
parents:
3599
diff
changeset
|
1016 AC_LONG_FILE_NAMES |
2876
ba7f0ad9aad9
* configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents:
2812
diff
changeset
|
1017 |
ba7f0ad9aad9
* configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents:
2812
diff
changeset
|
1018 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
|
1019 [ |
da67547eda51
* configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents:
2427
diff
changeset
|
1020 |
621 | 1021 |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
1022 #### Choose a window system. |
617 | 1023 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
|
1024 |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1025 window_system='' |
1423
93ee9c5e7eec
Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents:
1139
diff
changeset
|
1026 case "${with_x}" in |
93ee9c5e7eec
Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents:
1139
diff
changeset
|
1027 yes ) |
93ee9c5e7eec
Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents:
1139
diff
changeset
|
1028 window_system=${window_system}x11 |
93ee9c5e7eec
Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents:
1139
diff
changeset
|
1029 ;; |
93ee9c5e7eec
Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents:
1139
diff
changeset
|
1030 no ) |
93ee9c5e7eec
Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents:
1139
diff
changeset
|
1031 window_system=${window_system}none |
93ee9c5e7eec
Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents:
1139
diff
changeset
|
1032 esac |
1139 | 1033 case "${with_x11}" in |
1034 yes ) | |
1035 window_system=${window_system}x11 | |
1423
93ee9c5e7eec
Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents:
1139
diff
changeset
|
1036 ;; |
1139 | 1037 esac |
1038 case "${with_x10}" in | |
1039 yes ) | |
1040 window_system=${window_system}x10 | |
1423
93ee9c5e7eec
Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents:
1139
diff
changeset
|
1041 ;; |
1139 | 1042 esac |
1043 | |
603 | 1044 case "${window_system}" in |
1045 "none" | "x11" | "x10" ) ;; | |
1046 "" ) | |
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
|
1047 # --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
|
1048 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
|
1049 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
|
1050 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
|
1051 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
|
1052 # 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
|
1053 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
|
1054 -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
|
1055 -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
|
1056 -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
|
1057 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
|
1058 fi |
617 | 1059 fi |
603 | 1060 ;; |
1061 * ) | |
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
|
1062 echo "Don't specify a window system more than once." >&2 |
603 | 1063 exit 1 |
1064 ;; | |
1065 esac | |
1066 | |
1067 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
|
1068 "" | "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
|
1069 ### 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
|
1070 ### 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
|
1071 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
|
1072 ] |
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
|
1073 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
|
1074 [ |
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
|
1075 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
|
1076 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
|
1077 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
|
1078 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
|
1079 ;; |
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
|
1080 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
|
1081 |
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
|
1082 [ -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
|
1083 |
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
|
1084 [ -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
|
1085 [ -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
|
1086 |
4785
0bb68a723b61
Avoid forcing the search of /usr/include before fixed include files by
Brian Fox <bfox@gnu.org>
parents:
4746
diff
changeset
|
1087 # Avoid forcing the search of /usr/include before fixed include files. |
0bb68a723b61
Avoid forcing the search of /usr/include before fixed include files by
Brian Fox <bfox@gnu.org>
parents:
4746
diff
changeset
|
1088 if [ "$C_SWITCH_X_SITE" = "-I/usr/include" ]; then |
0bb68a723b61
Avoid forcing the search of /usr/include before fixed include files by
Brian Fox <bfox@gnu.org>
parents:
4746
diff
changeset
|
1089 C_SWITCH_X_SITE=" " |
0bb68a723b61
Avoid forcing the search of /usr/include before fixed include files by
Brian Fox <bfox@gnu.org>
parents:
4746
diff
changeset
|
1090 fi |
0bb68a723b61
Avoid forcing the search of /usr/include before fixed include files by
Brian Fox <bfox@gnu.org>
parents:
4746
diff
changeset
|
1091 |
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
|
1092 case "${window_system}" in |
603 | 1093 x11 ) |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
1094 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
|
1095 HAVE_X11=yes |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1096 echo " Using X11." |
603 | 1097 ;; |
1098 x10 ) | |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
1099 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
|
1100 HAVE_X11=no |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1101 echo " Using X10." |
603 | 1102 ;; |
1103 none ) | |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
1104 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
|
1105 HAVE_X11=no |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1106 echo " Using no window system." |
603 | 1107 ;; |
1108 esac | |
1109 | |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
1110 ### 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
|
1111 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
|
1112 case ${HAVE_X11} in |
1423
93ee9c5e7eec
Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents:
1139
diff
changeset
|
1113 yes ) |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
1114 HAVE_X_MENU=yes |
603 | 1115 ;; |
1116 esac | |
1117 | |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
1118 #### Extract some information from the operating system and machine files. |
621 | 1119 |
617 | 1120 echo "Examining the machine- and system-dependent files to find out" |
1121 echo " - which libraries the lib-src programs will want, and" | |
1122 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
|
1123 |
5de08620df66
* configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents:
2516
diff
changeset
|
1124 ### 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
|
1125 ### 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
|
1126 ### anyway. |
5de08620df66
* configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents:
2516
diff
changeset
|
1127 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
|
1128 |
1687
2bee660c3046
* configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents:
1647
diff
changeset
|
1129 echo ' |
2bee660c3046
* configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents:
1647
diff
changeset
|
1130 #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
|
1131 #include "'${srcdir}'/src/'${machfile}'" |
603 | 1132 #ifndef LIBS_MACHINE |
1133 #define LIBS_MACHINE | |
1134 #endif | |
1135 #ifndef LIBS_SYSTEM | |
1136 #define LIBS_SYSTEM | |
1137 #endif | |
2361
b1c74a8a020b
Arrange for C compilation throughout the tree to get
Jim Blandy <jimb@redhat.com>
parents:
2345
diff
changeset
|
1138 #ifndef C_SWITCH_SYSTEM |
b1c74a8a020b
Arrange for C compilation throughout the tree to get
Jim Blandy <jimb@redhat.com>
parents:
2345
diff
changeset
|
1139 #define C_SWITCH_SYSTEM |
2363
64dadcfcdf68
Fix typo in source for `configure.tmp.$$.c'.
Jim Blandy <jimb@redhat.com>
parents:
2361
diff
changeset
|
1140 #endif |
4728
49643e1db119
In the file ${tempcname}, use configure___ instead of @configure@.
Richard M. Stallman <rms@gnu.org>
parents:
4704
diff
changeset
|
1141 configure___ libsrc_libs=LIBS_MACHINE LIBS_SYSTEM |
49643e1db119
In the file ${tempcname}, use configure___ instead of @configure@.
Richard M. Stallman <rms@gnu.org>
parents:
4704
diff
changeset
|
1142 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
|
1143 |
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
|
1144 #ifndef LIB_X11_LIB |
4607
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
1145 #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
|
1146 #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
|
1147 |
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
|
1148 #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
|
1149 #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
|
1150 #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
|
1151 |
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
|
1152 #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
|
1153 #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
|
1154 #endif |
4728
49643e1db119
In the file ${tempcname}, use configure___ instead of @configure@.
Richard M. Stallman <rms@gnu.org>
parents:
4704
diff
changeset
|
1155 configure___ LIBX=LIB_X11_LIB LIBX11_MACHINE LIBX11_SYSTEM |
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
|
1156 |
3196
c3470c4abe5e
* configure.in: Extract UNEXEC from the system configuration
Jim Blandy <jimb@redhat.com>
parents:
3193
diff
changeset
|
1157 #ifdef UNEXEC |
4728
49643e1db119
In the file ${tempcname}, use configure___ instead of @configure@.
Richard M. Stallman <rms@gnu.org>
parents:
4704
diff
changeset
|
1158 configure___ unexec=UNEXEC |
3196
c3470c4abe5e
* configure.in: Extract UNEXEC from the system configuration
Jim Blandy <jimb@redhat.com>
parents:
3193
diff
changeset
|
1159 #else |
4728
49643e1db119
In the file ${tempcname}, use configure___ instead of @configure@.
Richard M. Stallman <rms@gnu.org>
parents:
4704
diff
changeset
|
1160 configure___ unexec=unexec.o |
3196
c3470c4abe5e
* configure.in: Extract UNEXEC from the system configuration
Jim Blandy <jimb@redhat.com>
parents:
3193
diff
changeset
|
1161 #endif |
c3470c4abe5e
* configure.in: Extract UNEXEC from the system configuration
Jim Blandy <jimb@redhat.com>
parents:
3193
diff
changeset
|
1162 |
617 | 1163 #ifdef SYSTEM_MALLOC |
4728
49643e1db119
In the file ${tempcname}, use configure___ instead of @configure@.
Richard M. Stallman <rms@gnu.org>
parents:
4704
diff
changeset
|
1164 configure___ system_malloc=yes |
617 | 1165 #else |
4728
49643e1db119
In the file ${tempcname}, use configure___ instead of @configure@.
Richard M. Stallman <rms@gnu.org>
parents:
4704
diff
changeset
|
1166 configure___ system_malloc=no |
617 | 1167 #endif |
3574
b5ddfcc90902
* configure.in (CFLAGS): Don't set this according to the value of
Jim Blandy <jimb@redhat.com>
parents:
3573
diff
changeset
|
1168 |
b5ddfcc90902
* configure.in (CFLAGS): Don't set this according to the value of
Jim Blandy <jimb@redhat.com>
parents:
3573
diff
changeset
|
1169 #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
|
1170 #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
|
1171 #endif |
b5ddfcc90902
* configure.in (CFLAGS): Don't set this according to the value of
Jim Blandy <jimb@redhat.com>
parents:
3573
diff
changeset
|
1172 |
b5ddfcc90902
* configure.in (CFLAGS): Don't set this according to the value of
Jim Blandy <jimb@redhat.com>
parents:
3573
diff
changeset
|
1173 #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
|
1174 #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
|
1175 #endif |
b5ddfcc90902
* configure.in (CFLAGS): Don't set this according to the value of
Jim Blandy <jimb@redhat.com>
parents:
3573
diff
changeset
|
1176 |
b5ddfcc90902
* configure.in (CFLAGS): Don't set this according to the value of
Jim Blandy <jimb@redhat.com>
parents:
3573
diff
changeset
|
1177 #ifdef __GNUC__ |
4728
49643e1db119
In the file ${tempcname}, use configure___ instead of @configure@.
Richard M. Stallman <rms@gnu.org>
parents:
4704
diff
changeset
|
1178 configure___ CFLAGS=C_DEBUG_SWITCH C_OPTIMIZE_SWITCH |
3574
b5ddfcc90902
* configure.in (CFLAGS): Don't set this according to the value of
Jim Blandy <jimb@redhat.com>
parents:
3573
diff
changeset
|
1179 #else |
4728
49643e1db119
In the file ${tempcname}, use configure___ instead of @configure@.
Richard M. Stallman <rms@gnu.org>
parents:
4704
diff
changeset
|
1180 configure___ CFLAGS=C_DEBUG_SWITCH |
3574
b5ddfcc90902
* configure.in (CFLAGS): Don't set this according to the value of
Jim Blandy <jimb@redhat.com>
parents:
3573
diff
changeset
|
1181 #endif |
617 | 1182 ' > ${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
|
1183 # 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
|
1184 # 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
|
1185 CPP=`eval "echo $CPP"` |
b51e109425f1
* configure.in (CPP): Autoconf sets this to a shell variable
Jim Blandy <jimb@redhat.com>
parents:
3772
diff
changeset
|
1186 eval `${CPP} -Isrc ${tempcname} \ |
4728
49643e1db119
In the file ${tempcname}, use configure___ instead of @configure@.
Richard M. Stallman <rms@gnu.org>
parents:
4704
diff
changeset
|
1187 | grep 'configure___' \ |
49643e1db119
In the file ${tempcname}, use configure___ instead of @configure@.
Richard M. Stallman <rms@gnu.org>
parents:
4704
diff
changeset
|
1188 | sed -e 's/^configure___ \([^=]*=\)\(.*\)$/\1"\2"/'` |
617 | 1189 rm ${tempcname} |
1190 | |
3196
c3470c4abe5e
* configure.in: Extract UNEXEC from the system configuration
Jim Blandy <jimb@redhat.com>
parents:
3193
diff
changeset
|
1191 ### 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
|
1192 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
|
1193 |
617 | 1194 # 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
|
1195 # 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
|
1196 GNU_MALLOC=yes |
617 | 1197 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
|
1198 GNU_MALLOC=no |
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
1199 GNU_MALLOC_reason=" |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1200 (The GNU allocators don't work with this system configuration.)" |
617 | 1201 fi |
1202 | |
3362 | 1203 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
|
1204 REL_ALLOC=${GNU_MALLOC} |
617 | 1205 fi |
603 | 1206 |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
1207 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
|
1208 |
1687
2bee660c3046
* configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents:
1647
diff
changeset
|
1209 |
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
|
1210 #### 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
|
1211 |
3751
72997ec201f2
* configure.in (version): Check the X libraries for XrmSetDatabase
Jim Blandy <jimb@redhat.com>
parents:
3635
diff
changeset
|
1212 ] |
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
|
1213 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
|
1214 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
|
1215 |
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
|
1216 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
|
1217 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
|
1218 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
|
1219 |
4695
32220a85d53b
Remove check for $srcdir being configured. This pretty much works now.
Roland McGrath <roland@gnu.org>
parents:
4615
diff
changeset
|
1220 AC_HAVE_LIBRARY(-lXbsd, LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd") |
32220a85d53b
Remove check for $srcdir being configured. This pretty much works now.
Roland McGrath <roland@gnu.org>
parents:
4615
diff
changeset
|
1221 |
32220a85d53b
Remove check for $srcdir being configured. This pretty much works now.
Roland McGrath <roland@gnu.org>
parents:
4615
diff
changeset
|
1222 echo checking for XFree86 |
32220a85d53b
Remove check for $srcdir being configured. This pretty much works now.
Roland McGrath <roland@gnu.org>
parents:
4615
diff
changeset
|
1223 if test -d /usr/X386/include; then |
32220a85d53b
Remove check for $srcdir being configured. This pretty much works now.
Roland McGrath <roland@gnu.org>
parents:
4615
diff
changeset
|
1224 HAVE_XFREE386=yes |
32220a85d53b
Remove check for $srcdir being configured. This pretty much works now.
Roland McGrath <roland@gnu.org>
parents:
4615
diff
changeset
|
1225 test -z "${C_SWITCH_X_SITE}" && C_SWITCH_X_SITE="-I/usr/X386/include" |
32220a85d53b
Remove check for $srcdir being configured. This pretty much works now.
Roland McGrath <roland@gnu.org>
parents:
4615
diff
changeset
|
1226 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
|
1227 |
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
|
1228 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
|
1229 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
|
1230 LIBS="$LD_SWITCH_X_SITE $LIBX $LIBS" |
4607
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
1231 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
|
1232 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
|
1233 |
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
|
1234 AC_ALLOCA |
4536
24b5dca58fbe
Check for -lm. Then can check for frexp and logb.
Roland McGrath <roland@gnu.org>
parents:
4461
diff
changeset
|
1235 |
24b5dca58fbe
Check for -lm. Then can check for frexp and logb.
Roland McGrath <roland@gnu.org>
parents:
4461
diff
changeset
|
1236 # 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
|
1237 AC_HAVE_LIBRARY(-lm) |
4730
09e1fb3bf84d
Test for res_init in libc.
Richard M. Stallman <rms@gnu.org>
parents:
4728
diff
changeset
|
1238 AC_HAVE_FUNCS(gettimeofday gethostname dup2 rename closedir mkdir rmdir random bcopy logb frexp ftime res_init) |
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
|
1239 |
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
|
1240 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
|
1241 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
|
1242 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
|
1243 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
|
1244 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
|
1245 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
|
1246 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
|
1247 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
|
1248 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
|
1249 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
|
1250 fi |
3751
72997ec201f2
* configure.in (version): Check the X libraries for XrmSetDatabase
Jim Blandy <jimb@redhat.com>
parents:
3635
diff
changeset
|
1251 [ |
1687
2bee660c3046
* configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents:
1647
diff
changeset
|
1252 #### 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
|
1253 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
|
1254 | sed -e 's/^.*"\([0-9][0-9]*\.[0-9][0-9]*\)\..*$/\1/'` |
3362 | 1255 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
|
1256 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
|
1257 \`${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
|
1258 exit 1 |
2bee660c3046
* configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents:
1647
diff
changeset
|
1259 fi |
2bee660c3046
* configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents:
1647
diff
changeset
|
1260 |
4370
605e06926c35
* configure.in: Test for the presence of/usr/lpp/X11/bin/smt.exp,
Jim Blandy <jimb@redhat.com>
parents:
4368
diff
changeset
|
1261 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
|
1262 ] |
605e06926c35
* configure.in: Test for the presence of/usr/lpp/X11/bin/smt.exp,
Jim Blandy <jimb@redhat.com>
parents:
4368
diff
changeset
|
1263 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
|
1264 [ |
605e06926c35
* configure.in: Test for the presence of/usr/lpp/X11/bin/smt.exp,
Jim Blandy <jimb@redhat.com>
parents:
4368
diff
changeset
|
1265 fi |
605e06926c35
* configure.in: Test for the presence of/usr/lpp/X11/bin/smt.exp,
Jim Blandy <jimb@redhat.com>
parents:
4368
diff
changeset
|
1266 |
1687
2bee660c3046
* configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents:
1647
diff
changeset
|
1267 |
2711
2c2052ec537d
The GNU coding standards specify that CFLAGS should be left for
Jim Blandy <jimb@redhat.com>
parents:
2678
diff
changeset
|
1268 #### 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
|
1269 ### 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
|
1270 ] |
da67547eda51
* configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents:
2427
diff
changeset
|
1271 AC_SUBST(configuration) |
da67547eda51
* configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents:
2427
diff
changeset
|
1272 AC_SUBST(version) |
da67547eda51
* configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents:
2427
diff
changeset
|
1273 AC_SUBST(srcdir) |
4792
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1274 AC_SUBST(prefix) |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1275 AC_SUBST(exec_prefix) |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1276 AC_SUBST(bindir) |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1277 AC_SUBST(datadir) |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1278 AC_SUBST(statedir) |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1279 AC_SUBST(libdir) |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1280 AC_SUBST(mandir) |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1281 AC_SUBST(infodir) |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1282 AC_SUBST(lispdir) |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1283 AC_SUBST(locallisppath) |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1284 AC_SUBST(lisppath) |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1285 AC_SUBST(etcdir) |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1286 AC_SUBST(lockdir) |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1287 AC_SUBST(archlibdir) |
2499
da67547eda51
* configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents:
2427
diff
changeset
|
1288 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
|
1289 AC_SUBST(libsrc_libs) |
da67547eda51
* configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents:
2427
diff
changeset
|
1290 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
|
1291 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
|
1292 AC_SUBST(CFLAGS) |
2c2052ec537d
The GNU coding standards specify that CFLAGS should be left for
Jim Blandy <jimb@redhat.com>
parents:
2678
diff
changeset
|
1293 |
2938
0d26c3d15c1b
* configure.in: Remove the hack of AC_DEFINE; use
Jim Blandy <jimb@redhat.com>
parents:
2919
diff
changeset
|
1294 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
|
1295 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
|
1296 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
|
1297 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
|
1298 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
|
1299 |
2499
da67547eda51
* configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents:
2427
diff
changeset
|
1300 [ |
da67547eda51
* configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents:
2427
diff
changeset
|
1301 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
|
1302 ] 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
|
1303 fi |
da67547eda51
* configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents:
2427
diff
changeset
|
1304 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
|
1305 ] 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
|
1306 fi |
da67547eda51
* configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents:
2427
diff
changeset
|
1307 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
|
1308 ] 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
|
1309 fi |
da67547eda51
* configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents:
2427
diff
changeset
|
1310 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
|
1311 ] 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
|
1312 fi |
da67547eda51
* configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents:
2427
diff
changeset
|
1313 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
|
1314 ] 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
|
1315 fi |
da67547eda51
* configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents:
2427
diff
changeset
|
1316 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
|
1317 ] 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
|
1318 fi |
da67547eda51
* configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents:
2427
diff
changeset
|
1319 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
|
1320 ] 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
|
1321 fi |
603 | 1322 |
4792
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1323 # ====================== Developer's configuration ======================= |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1324 |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1325 # The following assignments make sense if you're running Emacs on a single |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1326 # machine, one version at a time, and you want changes to the lisp and etc |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1327 # directories in the source tree to show up immediately in your working |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1328 # environment. It saves a great deal of disk space by not duplicating the |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1329 # lisp and etc directories. |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1330 |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1331 if [ "$run_in_place" = "1" ]; then |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1332 lispdir='${srcdir}/lisp' |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1333 locallisppath='${srcdir}/site-lisp:${datadir}/emacs/site-lisp' |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1334 etcdir='${srcdir}/etc' |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1335 lockdir='${srcdir}/lock' |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1336 archlibdir='${srcdir}/lib-src' |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1337 infodir='${srcdir}/info' |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1338 elif [ "$single_tree" = "1" ]; then |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1339 if [ "$exec_prefix_specified" = "" ]; then |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1340 exec_prefix='${prefix}' |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1341 fi |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1342 if [ "$bindir_specified" = "" ]; then |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1343 bindir='${exec_prefix}/bin/${configuration}' |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1344 fi |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1345 if [ "$datadir_specified" = "" ]; then |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1346 datadir='${prefix}/common' |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1347 fi |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1348 if [ "$statedir_specified" = "" ]; then |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1349 statedir='${prefix}/common' |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1350 fi |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1351 if [ "$libdir_specified" = "" ]; then |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1352 libdir='${bindir}' |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1353 fi |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1354 if [ "$lispdir_specified" = "" ]; then |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1355 lispdir='${prefix}/common/lisp' |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1356 fi |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1357 if [ "$locallisppath_specified" = "" ]; then |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1358 locallisppath='${prefix}/common/site-lisp' |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1359 fi |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1360 if [ "$lockdir_specified" = "" ]; then |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1361 lockdir='${prefix}/common/lock' |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1362 fi |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1363 if [ "$archlibdir_specified" = "" ]; then |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1364 archlibdir='${libdir}/etc' |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1365 fi |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1366 if [ "$etcdir_specified" = "" ]; then |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1367 etcdir='${prefix}/common/data' |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1368 fi |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1369 fi |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
1370 |
2499
da67547eda51
* configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents:
2427
diff
changeset
|
1371 #### 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
|
1372 echo " |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
1373 |
4163
f8fa30d5b7fd
(canonical): New variable holds the canonicalized
Richard M. Stallman <rms@gnu.org>
parents:
4125
diff
changeset
|
1374 Configured for \`${canonical}'. |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1375 |
3200
add7f1e21bee
* configure.in: If srcdir is '.', then try using PWD to make it
Jim Blandy <jimb@redhat.com>
parents:
3196
diff
changeset
|
1376 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
|
1377 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
|
1378 \`${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
|
1379 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
|
1380 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
|
1381 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
|
1382 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
|
1383 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
|
1384 Where do we find X Windows libraries? }${x_libraries} |
605 | 1385 |
2499
da67547eda51
* configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents:
2427
diff
changeset
|
1386 " |
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
|
1387 |
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
|
1388 # 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
|
1389 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
|
1390 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
|
1391 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
|
1392 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
|
1393 ] |
4792
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1394 AC_OUTPUT(Makefile lib-src/Makefile oldXMenu/Makefile src/Makefile.in) |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1395 [ |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1396 # Build src/Makefile from ${srcdir}/src/Makefile.in. This must be done |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1397 # after src/config.h is built, since we rely on that file. Only do the |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1398 # build if "config.status" is present, since it's non-presence indicates |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1399 # an error occured. |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1400 status=$? |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1401 if [ ! -f ./config.status ]; then |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1402 exit $status |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1403 fi |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1404 topsrcdir=${srcdir} |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1405 makefile_command='echo "creating src/Makefile"; |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1406 topsrcdir='"${topsrcdir}"'; |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1407 ( cd ./src; |
4801
176add5e2e47
Don't copy ${srcdir}/src/Makefile.in; that file doesn't exist. Just
Brian Fox <bfox@gnu.org>
parents:
4792
diff
changeset
|
1408 cp Makefile.in junk.c; |
176add5e2e47
Don't copy ${srcdir}/src/Makefile.in; that file doesn't exist. Just
Brian Fox <bfox@gnu.org>
parents:
4792
diff
changeset
|
1409 eval `echo ${CPP} -I. -I${topsrcdir}/src ${CPPFLAGS} junk.c \>junk.cpp`; |
4792
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1410 < junk.cpp '\ |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1411 ' sed -e '\''s/^#.*//'\'' '\ |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1412 ' -e '\''s/^[ \f\t][ \f\t]*$//'\'' '\ |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1413 ' -e '\''s/^ / /'\'' '\ |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1414 ' | sed -n -e '\''/^..*$/p'\'' '\ |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1415 ' > Makefile.new; |
4810
5ccfb9c1967f
In cmds to make src/Makefile, chmod Makefile.new before moving it.
Roland McGrath <roland@gnu.org>
parents:
4801
diff
changeset
|
1416 dnl There is a window of lossage if you mv Makefile.new before chmoding it. |
5ccfb9c1967f
In cmds to make src/Makefile, chmod Makefile.new before moving it.
Roland McGrath <roland@gnu.org>
parents:
4801
diff
changeset
|
1417 chmod 444 Makefile.new; |
4792
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1418 mv -f Makefile.new Makefile; |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1419 rm -f junk.c junk.cpp; |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1420 )' |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1421 eval `echo $makefile_command` |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1422 # AC-OUTPUT has created `config.status' already. We need to add the above |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1423 # commands to re-create `src/Makefile', and we need to insert them before |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1424 # the final "exit 0" which appears at the end of `config.status'. |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1425 <config.status sed -e 's/^exit 0$//' >config.new |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1426 echo $makefile_command >>config.new |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1427 echo exit 0 >>config.new |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1428 mv -f config.new config.status |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1429 chmod +x config.status |
4801
176add5e2e47
Don't copy ${srcdir}/src/Makefile.in; that file doesn't exist. Just
Brian Fox <bfox@gnu.org>
parents:
4792
diff
changeset
|
1430 # Don't let the fact that we just rewrote config.status make Makefile think |
176add5e2e47
Don't copy ${srcdir}/src/Makefile.in; that file doesn't exist. Just
Brian Fox <bfox@gnu.org>
parents:
4792
diff
changeset
|
1431 # that it is now newer. We have just rewritten all of the Makefiles as well. |
176add5e2e47
Don't copy ${srcdir}/src/Makefile.in; that file doesn't exist. Just
Brian Fox <bfox@gnu.org>
parents:
4792
diff
changeset
|
1432 MFS="Makefile src/Makefile src/Makefile.in lib-src/Makefile oldXMenu/Makefile" |
176add5e2e47
Don't copy ${srcdir}/src/Makefile.in; that file doesn't exist. Just
Brian Fox <bfox@gnu.org>
parents:
4792
diff
changeset
|
1433 for file in $MFS; do |
176add5e2e47
Don't copy ${srcdir}/src/Makefile.in; that file doesn't exist. Just
Brian Fox <bfox@gnu.org>
parents:
4792
diff
changeset
|
1434 chmod a+w $file; touch $file; chmod 444 $file |
176add5e2e47
Don't copy ${srcdir}/src/Makefile.in; that file doesn't exist. Just
Brian Fox <bfox@gnu.org>
parents:
4792
diff
changeset
|
1435 done |
4792
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1436 exit 0 |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1437 ] |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1438 |