Mercurial > emacs
annotate configure1.in @ 26668:d36fa3fb6939
*** empty log message ***
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 01 Dec 1999 00:33:22 +0000 |
parents | c1e70445780e |
children |
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 |
7725
4c80934ca1b2
(*-sun-sunos4*): Set GCC_TEST_OPTIONS, NON_GCC_TEST_OPTIONS.
Richard M. Stallman <rms@gnu.org>
parents:
7665
diff
changeset
|
4 dnl in the directory containing this script. |
2983
355fee3a2100
* configure.in: Make the first line of the configure script be
Jim Blandy <jimb@redhat.com>
parents:
2975
diff
changeset
|
5 [#!/bin/sh |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
6 #### Configuration script for GNU Emacs |
5519 | 7 #### Copyright (C) 1992, 1994 Free Software Foundation, Inc. |
7725
4c80934ca1b2
(*-sun-sunos4*): Set GCC_TEST_OPTIONS, NON_GCC_TEST_OPTIONS.
Richard M. Stallman <rms@gnu.org>
parents:
7665
diff
changeset
|
8 #### This script requires autoconf version 1.9 or later. |
603 | 9 |
2985
77adcc23ca44
* configure.in: Explain that this is an autoconf script, and give
Jim Blandy <jimb@redhat.com>
parents:
2984
diff
changeset
|
10 ### 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
|
11 ### 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
|
12 ### 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
|
13 ### 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
|
14 ### autoconf |
7725
4c80934ca1b2
(*-sun-sunos4*): Set GCC_TEST_OPTIONS, NON_GCC_TEST_OPTIONS.
Richard M. Stallman <rms@gnu.org>
parents:
7665
diff
changeset
|
15 ### in the this directory. |
2985
77adcc23ca44
* configure.in: Explain that this is an autoconf script, and give
Jim Blandy <jimb@redhat.com>
parents:
2984
diff
changeset
|
16 |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
17 ### This file is part of GNU Emacs. |
603 | 18 |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
19 ### 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
|
20 ### it under the terms of the GNU General Public License as published by |
5519 | 21 ### the Free Software Foundation; either version 2, or (at your option) |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
22 ### any later version. |
603 | 23 |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
24 ### 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
|
25 ### 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
|
26 ### 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
|
27 ### GNU General Public License for more details. |
603 | 28 |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
29 ### 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
|
30 ### 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
|
31 ### the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. |
603 | 32 |
2499
da67547eda51
* configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents:
2427
diff
changeset
|
33 ### 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
|
34 ### meet, this file is an unholy marriage of custom-baked |
3011 | 35 ### 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
|
36 ### |
da67547eda51
* configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents:
2427
diff
changeset
|
37 ### 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
|
38 ### 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
|
39 ### 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
|
40 ### |
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
41 ### 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
|
42 ### |
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
43 ### 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
|
44 ### 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
|
45 ### 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
|
46 |
2100
4c081de167f4
* configure: Recognize strings like "sysvr0" or "sysvr1" as System V.
Jim Blandy <jimb@redhat.com>
parents:
2007
diff
changeset
|
47 ### 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
|
48 ### 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
|
49 ### 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
|
50 ### 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
|
51 ### 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
|
52 ### 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
|
53 ### not. |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
54 ### |
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
55 ### 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
|
56 ### 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
|
57 ### 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
|
58 ### 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
|
59 progname="`echo $0 | sed 's:^\./\./:\./:'`" |
603 | 60 |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
61 |
4792
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
62 ### 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
|
63 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
|
64 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
|
65 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
|
66 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
|
67 bindir='${exec_prefix}/bin' |
9456
5c972afd73c4
(libexecdir): Renamed from libdir. New default.
Richard M. Stallman <rms@gnu.org>
parents:
9373
diff
changeset
|
68 datadir='${prefix}/share' |
5c972afd73c4
(libexecdir): Renamed from libdir. New default.
Richard M. Stallman <rms@gnu.org>
parents:
9373
diff
changeset
|
69 sharedstatedir='${prefix}/com' |
5c972afd73c4
(libexecdir): Renamed from libdir. New default.
Richard M. Stallman <rms@gnu.org>
parents:
9373
diff
changeset
|
70 libexecdir='${exec_prefix}/libexec' |
4792
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
71 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
|
72 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
|
73 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
|
74 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
|
75 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
|
76 etcdir='${datadir}/emacs/${version}/etc' |
9456
5c972afd73c4
(libexecdir): Renamed from libdir. New default.
Richard M. Stallman <rms@gnu.org>
parents:
9373
diff
changeset
|
77 lockdir='${sharedstatedir}/emacs/lock' |
5c972afd73c4
(libexecdir): Renamed from libdir. New default.
Richard M. Stallman <rms@gnu.org>
parents:
9373
diff
changeset
|
78 archlibdir='${libexecdir}/emacs/${version}/${configuration}' |
6073 | 79 docdir='${datadir}/emacs/${version}/etc' |
4792
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
80 |
5641
e3854e6846a0
Handle --with-x-toolkit. Produce lwlib/Makefile.
Richard M. Stallman <rms@gnu.org>
parents:
5607
diff
changeset
|
81 # On Sun systems, people sometimes set up the variable CPP |
e3854e6846a0
Handle --with-x-toolkit. Produce lwlib/Makefile.
Richard M. Stallman <rms@gnu.org>
parents:
5607
diff
changeset
|
82 # with a value that is a directory, not an executable at all. |
e3854e6846a0
Handle --with-x-toolkit. Produce lwlib/Makefile.
Richard M. Stallman <rms@gnu.org>
parents:
5607
diff
changeset
|
83 # Detect that case, and ignore that value. |
e3854e6846a0
Handle --with-x-toolkit. Produce lwlib/Makefile.
Richard M. Stallman <rms@gnu.org>
parents:
5607
diff
changeset
|
84 if [ "x$CPP" != x ] && [ -d "$CPP" ]; |
e3854e6846a0
Handle --with-x-toolkit. Produce lwlib/Makefile.
Richard M. Stallman <rms@gnu.org>
parents:
5607
diff
changeset
|
85 then |
e3854e6846a0
Handle --with-x-toolkit. Produce lwlib/Makefile.
Richard M. Stallman <rms@gnu.org>
parents:
5607
diff
changeset
|
86 CPP= |
e3854e6846a0
Handle --with-x-toolkit. Produce lwlib/Makefile.
Richard M. Stallman <rms@gnu.org>
parents:
5607
diff
changeset
|
87 fi |
e3854e6846a0
Handle --with-x-toolkit. Produce lwlib/Makefile.
Richard M. Stallman <rms@gnu.org>
parents:
5607
diff
changeset
|
88 |
4792
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
89 # 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
|
90 # /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
|
91 # actually edit the clause itself. |
9456
5c972afd73c4
(libexecdir): Renamed from libdir. New default.
Richard M. Stallman <rms@gnu.org>
parents:
9373
diff
changeset
|
92 # path_options="prefix | exec_prefix | bindir | libexecdir | etcdir | datadir" |
5c972afd73c4
(libexecdir): Renamed from libdir. New default.
Richard M. Stallman <rms@gnu.org>
parents:
9373
diff
changeset
|
93 # path_options="$path_options | archlibdir | sharedstatedir | mandir | infodir" |
4792
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
94 # 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
|
95 |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
96 #### Usage messages. |
603 | 97 |
2975
11c21b4d400d
* configure.in (long_usage): Removed; made short_usage describe
Jim Blandy <jimb@redhat.com>
parents:
2973
diff
changeset
|
98 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
|
99 |
603 | 100 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
|
101 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
|
102 --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
|
103 --with-x=no Don't support X. |
9223
da3ee9703b44
Added Motif changes for usage and option checking.
Paul Reilly <pmr@pajato.com>
parents:
9155
diff
changeset
|
104 --with-x-toolkit=yes Use the X toolkit. Default to Lucid/Athena widgets. |
da3ee9703b44
Added Motif changes for usage and option checking.
Paul Reilly <pmr@pajato.com>
parents:
9155
diff
changeset
|
105 --with-x-toolkit=athena Use the X toolkit with Athena widgets. |
da3ee9703b44
Added Motif changes for usage and option checking.
Paul Reilly <pmr@pajato.com>
parents:
9155
diff
changeset
|
106 --with-x-toolkit=lucid Use the X toolkit with Lucid widgets. |
da3ee9703b44
Added Motif changes for usage and option checking.
Paul Reilly <pmr@pajato.com>
parents:
9155
diff
changeset
|
107 --with-x-toolkit=motif Use the X toolkit with Motif widgets. |
5641
e3854e6846a0
Handle --with-x-toolkit. Produce lwlib/Makefile.
Richard M. Stallman <rms@gnu.org>
parents:
5607
diff
changeset
|
108 --with-x-toolkit=no Don't use an X toolkit. |
e3854e6846a0
Handle --with-x-toolkit. Produce lwlib/Makefile.
Richard M. Stallman <rms@gnu.org>
parents:
5607
diff
changeset
|
109 --with-gcc Use GCC to compile Emacs. |
e3854e6846a0
Handle --with-x-toolkit. Produce lwlib/Makefile.
Richard M. Stallman <rms@gnu.org>
parents:
5607
diff
changeset
|
110 --with-gcc=no Don't use GCC to compile Emacs. |
3082
950a86899def
Fix some messages. Support -with-gnu-cc.
Richard M. Stallman <rms@gnu.org>
parents:
3078
diff
changeset
|
111 --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
|
112 --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
|
113 --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
|
114 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
|
115 --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
|
116 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
|
117 .../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
|
118 .../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
|
119 .../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
|
120 .../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
|
121 .../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
|
122 .../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
|
123 --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
|
124 --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
|
125 |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
126 You may also specify any of the \`path' variables found in Makefile.in, |
9456
5c972afd73c4
(libexecdir): Renamed from libdir. New default.
Richard M. Stallman <rms@gnu.org>
parents:
9373
diff
changeset
|
127 including --bindir, --libexecdir, --etcdir, --infodir, and so on. This allows |
4792
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
128 you to override a single default location when configuring. |
603 | 129 |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
130 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
|
131 unsuccessful after disturbing the status quo, it removes config.status." |
603 | 132 |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
133 |
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
134 #### Option processing. |
603 | 135 |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
136 ### 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
|
137 arguments="$@" |
638 | 138 |
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 ### 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
|
140 ### 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
|
141 ### `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
|
142 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
|
143 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
|
144 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
|
145 done |
176add5e2e47
Don't copy ${srcdir}/src/Makefile.in; that file doesn't exist. Just
Brian Fox <bfox@gnu.org>
parents:
4792
diff
changeset
|
146 |
3262
4ece9a6d1f37
* configure.in: Traverse the argument list without destroying it;
Jim Blandy <jimb@redhat.com>
parents:
3259
diff
changeset
|
147 ### 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
|
148 ### 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
|
149 ### 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
|
150 ### 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
|
151 ### 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
|
152 ### some shell magic to make 'set x "$arguments"; shift' work portably. |
8923
ef81e9d0a532
(config_options): Save all arguments, not just some.
Karl Heuer <kwzh@gnu.org>
parents:
8891
diff
changeset
|
153 config_options="$*" |
4801
176add5e2e47
Don't copy ${srcdir}/src/Makefile.in; that file doesn't exist. Just
Brian Fox <bfox@gnu.org>
parents:
4792
diff
changeset
|
154 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
|
155 arg="$1"; shift |
603 | 156 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
|
157 |
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
158 ## 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
|
159 -* ) |
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
160 ## Separate the switch name from the value it's being given. |
603 | 161 case "${arg}" in |
1139 | 162 -*=*) |
1423
93ee9c5e7eec
Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents:
1139
diff
changeset
|
163 opt=`echo ${arg} | sed 's:^-*\([^=]*\)=.*$:\1:'` |
1139 | 164 val=`echo ${arg} | sed 's:^-*[^=]*=\(.*\)$:\1:'` |
603 | 165 valomitted=no |
166 ;; | |
1139 | 167 -*) |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
168 ## 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
|
169 ## --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
|
170 ## argument - see below. |
8870
1ac291531d73
(parsing options): Simplify sed command to delete -'s.
Richard M. Stallman <rms@gnu.org>
parents:
8844
diff
changeset
|
171 opt=`echo ${arg} | sed 's:^-*::'` |
603 | 172 val="yes" |
173 valomitted=yes | |
174 ;; | |
175 esac | |
176 | |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
177 ## Change `-' in the option name to `_'. |
2345 | 178 optname="${opt}" |
1423
93ee9c5e7eec
Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents:
1139
diff
changeset
|
179 opt="`echo ${opt} | tr - _`" |
93ee9c5e7eec
Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents:
1139
diff
changeset
|
180 |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
181 ## Process the option. |
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
182 case "${opt}" in |
603 | 183 |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
184 ## 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
|
185 "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
|
186 ## Make sure the value given was either "yes" or "no". |
603 | 187 case "${val}" in |
188 y | ye | yes ) val=yes ;; | |
189 n | no ) val=no ;; | |
190 * ) | |
2345 | 191 (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
|
192 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
|
193 echo "${short_usage}") >&2 |
603 | 194 exit 1 |
195 ;; | |
196 esac | |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
197 eval "${opt}=\"${val}\"" |
603 | 198 ;; |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
199 |
5641
e3854e6846a0
Handle --with-x-toolkit. Produce lwlib/Makefile.
Richard M. Stallman <rms@gnu.org>
parents:
5607
diff
changeset
|
200 ## Has the user specified which toolkit they want to support? |
e3854e6846a0
Handle --with-x-toolkit. Produce lwlib/Makefile.
Richard M. Stallman <rms@gnu.org>
parents:
5607
diff
changeset
|
201 "with_x_toolkit" ) |
e3854e6846a0
Handle --with-x-toolkit. Produce lwlib/Makefile.
Richard M. Stallman <rms@gnu.org>
parents:
5607
diff
changeset
|
202 case "${val}" in |
e3854e6846a0
Handle --with-x-toolkit. Produce lwlib/Makefile.
Richard M. Stallman <rms@gnu.org>
parents:
5607
diff
changeset
|
203 y | ye | yes ) val=athena ;; |
e3854e6846a0
Handle --with-x-toolkit. Produce lwlib/Makefile.
Richard M. Stallman <rms@gnu.org>
parents:
5607
diff
changeset
|
204 n | no ) val=no ;; |
e3854e6846a0
Handle --with-x-toolkit. Produce lwlib/Makefile.
Richard M. Stallman <rms@gnu.org>
parents:
5607
diff
changeset
|
205 l | lu | luc | luci | lucid ) val=lucid ;; |
e3854e6846a0
Handle --with-x-toolkit. Produce lwlib/Makefile.
Richard M. Stallman <rms@gnu.org>
parents:
5607
diff
changeset
|
206 a | at | ath | athe | athena ) val=athena ;; |
9223
da3ee9703b44
Added Motif changes for usage and option checking.
Paul Reilly <pmr@pajato.com>
parents:
9155
diff
changeset
|
207 m | mo | mot | moti | motif ) val=motif ;; |
6105
31d2f3e0cf64
(with_x_toolkit): Don't allow motif or open-look.
Richard M. Stallman <rms@gnu.org>
parents:
6073
diff
changeset
|
208 # These don't currently work. |
31d2f3e0cf64
(with_x_toolkit): Don't allow motif or open-look.
Richard M. Stallman <rms@gnu.org>
parents:
6073
diff
changeset
|
209 # o | op | ope | open | open- | open-l | open-lo \ |
31d2f3e0cf64
(with_x_toolkit): Don't allow motif or open-look.
Richard M. Stallman <rms@gnu.org>
parents:
6073
diff
changeset
|
210 # | open-loo | open-look ) val=open-look ;; |
5641
e3854e6846a0
Handle --with-x-toolkit. Produce lwlib/Makefile.
Richard M. Stallman <rms@gnu.org>
parents:
5607
diff
changeset
|
211 * ) |
6105
31d2f3e0cf64
(with_x_toolkit): Don't allow motif or open-look.
Richard M. Stallman <rms@gnu.org>
parents:
6073
diff
changeset
|
212 ( |
31d2f3e0cf64
(with_x_toolkit): Don't allow motif or open-look.
Richard M. Stallman <rms@gnu.org>
parents:
6073
diff
changeset
|
213 #echo "${progname}: the \`--${optname}' option is supposed to have a value |
31d2f3e0cf64
(with_x_toolkit): Don't allow motif or open-look.
Richard M. Stallman <rms@gnu.org>
parents:
6073
diff
changeset
|
214 #which is \`yes', \`no', \`lucid', \`athena', \`motif' or \`open-look'." |
31d2f3e0cf64
(with_x_toolkit): Don't allow motif or open-look.
Richard M. Stallman <rms@gnu.org>
parents:
6073
diff
changeset
|
215 echo "${progname}: the \`--${optname}' option is supposed to have a value |
9223
da3ee9703b44
Added Motif changes for usage and option checking.
Paul Reilly <pmr@pajato.com>
parents:
9155
diff
changeset
|
216 which is \`yes', \`no', \`lucid', \`athena', or \`motif'. |
7141
3d4e66b17fe5
Improve error message for bad --with-x-toolkit value.
Richard M. Stallman <rms@gnu.org>
parents:
7139
diff
changeset
|
217 Currently, \`yes', \`athena' and \`lucid' are synonyms." |
5641
e3854e6846a0
Handle --with-x-toolkit. Produce lwlib/Makefile.
Richard M. Stallman <rms@gnu.org>
parents:
5607
diff
changeset
|
218 echo "${short_usage}") >&2 |
e3854e6846a0
Handle --with-x-toolkit. Produce lwlib/Makefile.
Richard M. Stallman <rms@gnu.org>
parents:
5607
diff
changeset
|
219 exit 1 |
e3854e6846a0
Handle --with-x-toolkit. Produce lwlib/Makefile.
Richard M. Stallman <rms@gnu.org>
parents:
5607
diff
changeset
|
220 ;; |
e3854e6846a0
Handle --with-x-toolkit. Produce lwlib/Makefile.
Richard M. Stallman <rms@gnu.org>
parents:
5607
diff
changeset
|
221 esac |
e3854e6846a0
Handle --with-x-toolkit. Produce lwlib/Makefile.
Richard M. Stallman <rms@gnu.org>
parents:
5607
diff
changeset
|
222 eval "${opt}=\"${val}\"" |
e3854e6846a0
Handle --with-x-toolkit. Produce lwlib/Makefile.
Richard M. Stallman <rms@gnu.org>
parents:
5607
diff
changeset
|
223 ;; |
e3854e6846a0
Handle --with-x-toolkit. Produce lwlib/Makefile.
Richard M. Stallman <rms@gnu.org>
parents:
5607
diff
changeset
|
224 |
1859
bf9e3f462e86
* configure (progname): New option `--with-gcc'. Make it clearer
Jim Blandy <jimb@redhat.com>
parents:
1699
diff
changeset
|
225 ## 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
|
226 "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
|
227 ## 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
|
228 case "${val}" in |
bf9e3f462e86
* configure (progname): New option `--with-gcc'. Make it clearer
Jim Blandy <jimb@redhat.com>
parents:
1699
diff
changeset
|
229 y | ye | yes ) val=yes ;; |
bf9e3f462e86
* configure (progname): New option `--with-gcc'. Make it clearer
Jim Blandy <jimb@redhat.com>
parents:
1699
diff
changeset
|
230 n | no ) val=no ;; |
bf9e3f462e86
* configure (progname): New option `--with-gcc'. Make it clearer
Jim Blandy <jimb@redhat.com>
parents:
1699
diff
changeset
|
231 * ) |
2345 | 232 (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
|
233 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
|
234 echo "${short_usage}") >&2 |
bf9e3f462e86
* configure (progname): New option `--with-gcc'. Make it clearer
Jim Blandy <jimb@redhat.com>
parents:
1699
diff
changeset
|
235 exit 1 |
bf9e3f462e86
* configure (progname): New option `--with-gcc'. Make it clearer
Jim Blandy <jimb@redhat.com>
parents:
1699
diff
changeset
|
236 ;; |
bf9e3f462e86
* configure (progname): New option `--with-gcc'. Make it clearer
Jim Blandy <jimb@redhat.com>
parents:
1699
diff
changeset
|
237 esac |
bf9e3f462e86
* configure (progname): New option `--with-gcc'. Make it clearer
Jim Blandy <jimb@redhat.com>
parents:
1699
diff
changeset
|
238 eval "${opt}=\"${val}\"" |
bf9e3f462e86
* configure (progname): New option `--with-gcc'. Make it clearer
Jim Blandy <jimb@redhat.com>
parents:
1699
diff
changeset
|
239 ;; |
bf9e3f462e86
* configure (progname): New option `--with-gcc'. Make it clearer
Jim Blandy <jimb@redhat.com>
parents:
1699
diff
changeset
|
240 |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
241 ## 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
|
242 "srcdir" ) |
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
243 ## If the value was omitted, get it from the next argument. |
603 | 244 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
|
245 ## 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
|
246 if [ $# = 0 ]; then |
2345 | 247 (echo "${progname}: You must give a value for the \`--${optname}' option, as in |
248 \`--${optname}=FOO'." | |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
249 echo "${short_usage}") >&2 |
621 | 250 exit 1 |
251 fi | |
4820
fdc2ebb95bed
Make sure that config.status contains the correct commands for
Brian Fox <bfox@gnu.org>
parents:
4815
diff
changeset
|
252 val="$1"; shift |
603 | 253 fi |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
254 srcdir="${val}" |
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
255 ;; |
603 | 256 |
2329
b8028b77b69a
* configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents:
2244
diff
changeset
|
257 ## 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
|
258 ## 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
|
259 ## 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
|
260 ## installed in odd places. |
2345 | 261 "x_includes" ) |
2329
b8028b77b69a
* configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents:
2244
diff
changeset
|
262 ## 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
|
263 if [ "${valomitted}" = "yes" ]; then |
b8028b77b69a
* configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents:
2244
diff
changeset
|
264 ## 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
|
265 if [ $# = 0 ]; then |
2345 | 266 (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
|
267 \`--${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
|
268 echo "${short_usage}") >&2 |
b8028b77b69a
* configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents:
2244
diff
changeset
|
269 exit 1 |
b8028b77b69a
* configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents:
2244
diff
changeset
|
270 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
|
271 val="$1"; shift |
2329
b8028b77b69a
* configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents:
2244
diff
changeset
|
272 fi |
b8028b77b69a
* configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents:
2244
diff
changeset
|
273 x_includes="${val}" |
b8028b77b69a
* configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents:
2244
diff
changeset
|
274 ;; |
2345 | 275 "x_libraries" ) |
2329
b8028b77b69a
* configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents:
2244
diff
changeset
|
276 ## 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
|
277 if [ "${valomitted}" = "yes" ]; then |
b8028b77b69a
* configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents:
2244
diff
changeset
|
278 ## 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
|
279 if [ $# = 0 ]; then |
2345 | 280 (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
|
281 \`--${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
|
282 echo "${short_usage}") >&2 |
b8028b77b69a
* configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents:
2244
diff
changeset
|
283 exit 1 |
b8028b77b69a
* configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents:
2244
diff
changeset
|
284 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
|
285 val="$1"; shift |
2329
b8028b77b69a
* configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents:
2244
diff
changeset
|
286 fi |
b8028b77b69a
* configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents:
2244
diff
changeset
|
287 x_libraries="${val}" |
b8028b77b69a
* configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents:
2244
diff
changeset
|
288 ;; |
b8028b77b69a
* configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents:
2244
diff
changeset
|
289 |
7540
8ecd40fe3a65
Define EMACS_CONFIGURATION instead of CONFIGURATION.
Richard M. Stallman <rms@gnu.org>
parents:
7522
diff
changeset
|
290 ## Should this use the "development" file organization? |
2624
5de08620df66
* configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents:
2516
diff
changeset
|
291 "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
|
292 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
|
293 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
|
294 ;; |
5de08620df66
* configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents:
2516
diff
changeset
|
295 |
7540
8ecd40fe3a65
Define EMACS_CONFIGURATION instead of CONFIGURATION.
Richard M. Stallman <rms@gnu.org>
parents:
7522
diff
changeset
|
296 ## Should this use the "single tree" file organization? |
4820
fdc2ebb95bed
Make sure that config.status contains the correct commands for
Brian Fox <bfox@gnu.org>
parents:
4815
diff
changeset
|
297 "single_tree" ) |
fdc2ebb95bed
Make sure that config.status contains the correct commands for
Brian Fox <bfox@gnu.org>
parents:
4815
diff
changeset
|
298 run_in_place= |
fdc2ebb95bed
Make sure that config.status contains the correct commands for
Brian Fox <bfox@gnu.org>
parents:
4815
diff
changeset
|
299 single_tree=1 |
fdc2ebb95bed
Make sure that config.status contains the correct commands for
Brian Fox <bfox@gnu.org>
parents:
4815
diff
changeset
|
300 ;; |
fdc2ebb95bed
Make sure that config.status contains the correct commands for
Brian Fox <bfox@gnu.org>
parents:
4815
diff
changeset
|
301 |
4792
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
302 ## Has the user specified one of the path options? |
9456
5c972afd73c4
(libexecdir): Renamed from libdir. New default.
Richard M. Stallman <rms@gnu.org>
parents:
9373
diff
changeset
|
303 prefix | exec_prefix | bindir | libexecdir | etcdir | datadir | \ |
5c972afd73c4
(libexecdir): Renamed from libdir. New default.
Richard M. Stallman <rms@gnu.org>
parents:
9373
diff
changeset
|
304 archlibdir | sharedstatedir | mandir | infodir | lispdir | lockdir | \ |
6034
5d1524e58d71
New variable docdir to control where the docstring file goes.
Karl Heuer <kwzh@gnu.org>
parents:
6028
diff
changeset
|
305 lisppath | locallisppath | docdir ) |
4792
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
306 ## 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
|
307 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
|
308 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
|
309 (echo \ |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
310 "$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
|
311 echo \ |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
312 "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
|
313 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
|
314 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
|
315 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
|
316 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
|
317 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
|
318 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
|
319 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
|
320 ;; |
3010
4ca5a6bd174b
* configure.in: Add support for the `--exec-prefix' option.
Jim Blandy <jimb@redhat.com>
parents:
3006
diff
changeset
|
321 |
3892
ad7559755428
* configure.in: Add --verbose flag.
Jim Blandy <jimb@redhat.com>
parents:
3820
diff
changeset
|
322 ## Verbose flag, tested by autoconf macros. |
ad7559755428
* configure.in: Add --verbose flag.
Jim Blandy <jimb@redhat.com>
parents:
3820
diff
changeset
|
323 "verbose" ) |
ad7559755428
* configure.in: Add --verbose flag.
Jim Blandy <jimb@redhat.com>
parents:
3820
diff
changeset
|
324 verbose=yes |
ad7559755428
* configure.in: Add --verbose flag.
Jim Blandy <jimb@redhat.com>
parents:
3820
diff
changeset
|
325 ;; |
ad7559755428
* configure.in: Add --verbose flag.
Jim Blandy <jimb@redhat.com>
parents:
3820
diff
changeset
|
326 |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
327 ## 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
|
328 "usage" | "help" ) |
4607
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
329 if [ "x$PAGER" = x ] |
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
330 then |
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
331 echo "${short_usage}" | more |
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
332 else |
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
333 echo "${short_usage}" | $PAGER |
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
334 fi |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
335 exit |
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
336 ;; |
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
337 |
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
338 ## 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
|
339 esac |
603 | 340 ;; |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
341 |
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
342 ## 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
|
343 ## configuration name. |
603 | 344 *) |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
345 configuration=${arg} |
603 | 346 ;; |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
347 |
603 | 348 esac |
349 done | |
350 | |
4801
176add5e2e47
Don't copy ${srcdir}/src/Makefile.in; that file doesn't exist. Just
Brian Fox <bfox@gnu.org>
parents:
4792
diff
changeset
|
351 ### 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
|
352 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
|
353 |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
354 if [ "${configuration}" = "" ]; then |
3139 | 355 echo '- You did not tell me what kind of host system you want to configure. |
356 - I will attempt to guess the kind of system this is.' 1>&2 | |
357 guesssys=`echo ${progname} | sed 's/configure$/config.guess/'` | |
358 if configuration=`${guesssys}` ; then | |
359 echo "- Looks like this is a ${configuration}" 1>&2 | |
360 else | |
361 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
|
362 echo "${short_usage}" >&2 |
3139 | 363 exit 1 |
364 fi | |
603 | 365 fi |
366 | |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
367 #### 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
|
368 case "${srcdir}" in |
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
369 |
1687
2bee660c3046
* configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents:
1647
diff
changeset
|
370 ## 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
|
371 "" ) |
3059
2d8952db38ee
* configure.in: Check to see if the source lives in the same
Jim Blandy <jimb@redhat.com>
parents:
3057
diff
changeset
|
372 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
|
373 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
|
374 srcdir="${confdir}" |
1687
2bee660c3046
* configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents:
1647
diff
changeset
|
375 else |
3059
2d8952db38ee
* configure.in: Check to see if the source lives in the same
Jim Blandy <jimb@redhat.com>
parents:
3057
diff
changeset
|
376 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
|
377 srcdir='.' |
1687
2bee660c3046
* configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents:
1647
diff
changeset
|
378 else |
3059
2d8952db38ee
* configure.in: Check to see if the source lives in the same
Jim Blandy <jimb@redhat.com>
parents:
3057
diff
changeset
|
379 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
|
380 srcdir='..' |
3059
2d8952db38ee
* configure.in: Check to see if the source lives in the same
Jim Blandy <jimb@redhat.com>
parents:
3057
diff
changeset
|
381 else |
2d8952db38ee
* configure.in: Check to see if the source lives in the same
Jim Blandy <jimb@redhat.com>
parents:
3057
diff
changeset
|
382 (echo "\ |
1687
2bee660c3046
* configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents:
1647
diff
changeset
|
383 ${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
|
384 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
|
385 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
|
386 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
|
387 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
|
388 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
|
389 exit 1 |
2d8952db38ee
* configure.in: Check to see if the source lives in the same
Jim Blandy <jimb@redhat.com>
parents:
3057
diff
changeset
|
390 fi |
1687
2bee660c3046
* configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents:
1647
diff
changeset
|
391 fi |
2bee660c3046
* configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents:
1647
diff
changeset
|
392 fi |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
393 ;; |
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
394 |
1687
2bee660c3046
* configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents:
1647
diff
changeset
|
395 ## 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
|
396 * ) |
1687
2bee660c3046
* configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents:
1647
diff
changeset
|
397 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
|
398 (echo "\ |
2bee660c3046
* configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents:
1647
diff
changeset
|
399 ${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
|
400 \`${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
|
401 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
|
402 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
|
403 are." |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
404 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
|
405 exit 1 |
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
406 fi |
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
407 ;; |
3193
d4e38dec127d
* configure.in (prefix): Don't run pwd on srcdir unnecessarily.
Jim Blandy <jimb@redhat.com>
parents:
3178
diff
changeset
|
408 esac |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
409 |
3193
d4e38dec127d
* configure.in (prefix): Don't run pwd on srcdir unnecessarily.
Jim Blandy <jimb@redhat.com>
parents:
3178
diff
changeset
|
410 #### 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
|
411 #### 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
|
412 #### 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
|
413 case "${srcdir}" in |
d4e38dec127d
* configure.in (prefix): Don't run pwd on srcdir unnecessarily.
Jim Blandy <jimb@redhat.com>
parents:
3178
diff
changeset
|
414 /* ) ;; |
3200
add7f1e21bee
* configure.in: If srcdir is '.', then try using PWD to make it
Jim Blandy <jimb@redhat.com>
parents:
3196
diff
changeset
|
415 . ) |
add7f1e21bee
* configure.in: If srcdir is '.', then try using PWD to make it
Jim Blandy <jimb@redhat.com>
parents:
3196
diff
changeset
|
416 ## 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
|
417 ## 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
|
418 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
|
419 srcdir="$PWD" |
add7f1e21bee
* configure.in: If srcdir is '.', then try using PWD to make it
Jim Blandy <jimb@redhat.com>
parents:
3196
diff
changeset
|
420 else |
add7f1e21bee
* configure.in: If srcdir is '.', then try using PWD to make it
Jim Blandy <jimb@redhat.com>
parents:
3196
diff
changeset
|
421 srcdir="`(cd ${srcdir}; pwd)`" |
3259
de18f95a692c
* configure.in: Add missing "fi".
Jim Blandy <jimb@redhat.com>
parents:
3245
diff
changeset
|
422 fi |
3200
add7f1e21bee
* configure.in: If srcdir is '.', then try using PWD to make it
Jim Blandy <jimb@redhat.com>
parents:
3196
diff
changeset
|
423 ;; |
3193
d4e38dec127d
* configure.in (prefix): Don't run pwd on srcdir unnecessarily.
Jim Blandy <jimb@redhat.com>
parents:
3178
diff
changeset
|
424 * ) 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
|
425 esac |
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
426 |
8971
69ac91e85d1e
remove trailing slashes from srcdir
David J. MacKenzie <djm@gnu.org>
parents:
8968
diff
changeset
|
427 ### Remove trailing slashes. |
69ac91e85d1e
remove trailing slashes from srcdir
David J. MacKenzie <djm@gnu.org>
parents:
8968
diff
changeset
|
428 srcdir=`echo "${srcdir}" | sed 's,\([^/]\)/*$,\1,'` |
69ac91e85d1e
remove trailing slashes from srcdir
David J. MacKenzie <djm@gnu.org>
parents:
8968
diff
changeset
|
429 |
4704
b5d192c0f910
Substitute variable `vpath_sed'.
Roland McGrath <roland@gnu.org>
parents:
4695
diff
changeset
|
430 #### 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
|
431 if [ `pwd` != `(cd ${srcdir} && pwd)` ] \ |
b5d192c0f910
Substitute variable `vpath_sed'.
Roland McGrath <roland@gnu.org>
parents:
4695
diff
changeset
|
432 && [ -f "${srcdir}/src/config.h" ] ; then |
b5d192c0f910
Substitute variable `vpath_sed'.
Roland McGrath <roland@gnu.org>
parents:
4695
diff
changeset
|
433 (echo "${progname}: WARNING: The directory tree \`${srcdir}' is being used" |
b5d192c0f910
Substitute variable `vpath_sed'.
Roland McGrath <roland@gnu.org>
parents:
4695
diff
changeset
|
434 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
|
435 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
|
436 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
|
437 echo " now do \`make distclean' in ${srcdir}," |
b5d192c0f910
Substitute variable `vpath_sed'.
Roland McGrath <roland@gnu.org>
parents:
4695
diff
changeset
|
438 echo " and then run ${progname} again.") >&2 |
4811
4df040383e8a
No longer use vpath_sed. Instead, when we notice srcdir already
Roland McGrath <roland@gnu.org>
parents:
4810
diff
changeset
|
439 extrasub='/^VPATH[ ]*=/c\ |
4df040383e8a
No longer use vpath_sed. Instead, when we notice srcdir already
Roland McGrath <roland@gnu.org>
parents:
4810
diff
changeset
|
440 vpath %.c $(srcdir)\ |
4df040383e8a
No longer use vpath_sed. Instead, when we notice srcdir already
Roland McGrath <roland@gnu.org>
parents:
4810
diff
changeset
|
441 vpath %.h $(srcdir)\ |
4815
682bab7525fb
(extrasub): Add vpath patterns for %.[yls].
Roland McGrath <roland@gnu.org>
parents:
4813
diff
changeset
|
442 vpath %.y $(srcdir)\ |
682bab7525fb
(extrasub): Add vpath patterns for %.[yls].
Roland McGrath <roland@gnu.org>
parents:
4813
diff
changeset
|
443 vpath %.l $(srcdir)\ |
682bab7525fb
(extrasub): Add vpath patterns for %.[yls].
Roland McGrath <roland@gnu.org>
parents:
4813
diff
changeset
|
444 vpath %.s $(srcdir)\ |
4811
4df040383e8a
No longer use vpath_sed. Instead, when we notice srcdir already
Roland McGrath <roland@gnu.org>
parents:
4810
diff
changeset
|
445 vpath %.in $(srcdir)' |
4704
b5d192c0f910
Substitute variable `vpath_sed'.
Roland McGrath <roland@gnu.org>
parents:
4695
diff
changeset
|
446 fi |
b5d192c0f910
Substitute variable `vpath_sed'.
Roland McGrath <roland@gnu.org>
parents:
4695
diff
changeset
|
447 |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
448 ### Make the necessary directories, if they don't exist. |
5641
e3854e6846a0
Handle --with-x-toolkit. Produce lwlib/Makefile.
Richard M. Stallman <rms@gnu.org>
parents:
5607
diff
changeset
|
449 for dir in ./src ./lib-src ./cpp ./oldXMenu ./lwlib ./etc ; do |
3751
72997ec201f2
* configure.in (version): Check the X libraries for XrmSetDatabase
Jim Blandy <jimb@redhat.com>
parents:
3635
diff
changeset
|
450 if [ ! -d ${dir} ]; then |
72997ec201f2
* configure.in (version): Check the X libraries for XrmSetDatabase
Jim Blandy <jimb@redhat.com>
parents:
3635
diff
changeset
|
451 mkdir ${dir} |
72997ec201f2
* configure.in (version): Check the X libraries for XrmSetDatabase
Jim Blandy <jimb@redhat.com>
parents:
3635
diff
changeset
|
452 fi |
72997ec201f2
* configure.in (version): Check the X libraries for XrmSetDatabase
Jim Blandy <jimb@redhat.com>
parents:
3635
diff
changeset
|
453 done |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
454 |
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
455 #### 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
|
456 #### 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
|
457 |
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
458 ### Canonicalize the configuration name. |
8328
40551ba18423
Make "checking..." messages' style consistent.
Richard M. Stallman <rms@gnu.org>
parents:
8324
diff
changeset
|
459 echo "Checking the configuration name" |
4163
f8fa30d5b7fd
(canonical): New variable holds the canonicalized
Richard M. Stallman <rms@gnu.org>
parents:
4125
diff
changeset
|
460 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
|
461 exit $? |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
462 fi |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
463 |
2100
4c081de167f4
* configure: Recognize strings like "sysvr0" or "sysvr1" as System V.
Jim Blandy <jimb@redhat.com>
parents:
2007
diff
changeset
|
464 ### 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
|
465 ### 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
|
466 ### 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
|
467 |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
468 ### 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
|
469 ### 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
|
470 ### 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
|
471 ### 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
|
472 ### 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
|
473 ### 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
|
474 ### 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
|
475 ### configuration name. |
2100
4c081de167f4
* configure: Recognize strings like "sysvr0" or "sysvr1" as System V.
Jim Blandy <jimb@redhat.com>
parents:
2007
diff
changeset
|
476 ### |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
477 ### 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
|
478 ### 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
|
479 ### /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
|
480 ### 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
|
481 ### 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
|
482 ### |
4c081de167f4
* configure: Recognize strings like "sysvr0" or "sysvr1" as System V.
Jim Blandy <jimb@redhat.com>
parents:
2007
diff
changeset
|
483 ### 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
|
484 ### "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
|
485 ### 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
|
486 |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
487 machine='' opsys='' unported='false' |
4163
f8fa30d5b7fd
(canonical): New variable holds the canonicalized
Richard M. Stallman <rms@gnu.org>
parents:
4125
diff
changeset
|
488 case "${canonical}" in |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
489 |
8306
2291bfe14170
Add more NetBSD ports; rearrange how they're handled.
Charles Hannum <mycroft@gnu.org>
parents:
8235
diff
changeset
|
490 ## NetBSD ports |
2291bfe14170
Add more NetBSD ports; rearrange how they're handled.
Charles Hannum <mycroft@gnu.org>
parents:
8235
diff
changeset
|
491 *-*-netbsd* ) |
2291bfe14170
Add more NetBSD ports; rearrange how they're handled.
Charles Hannum <mycroft@gnu.org>
parents:
8235
diff
changeset
|
492 opsys=netbsd |
2291bfe14170
Add more NetBSD ports; rearrange how they're handled.
Charles Hannum <mycroft@gnu.org>
parents:
8235
diff
changeset
|
493 case "${canonical}" in |
8621
e292e9adde9b
Update to match config.sub changes for NetBSD.
Charles Hannum <mycroft@gnu.org>
parents:
8573
diff
changeset
|
494 i[345]86-*-netbsd*) machine=intel386 ;; |
e292e9adde9b
Update to match config.sub changes for NetBSD.
Charles Hannum <mycroft@gnu.org>
parents:
8573
diff
changeset
|
495 m68k-*-netbsd*) |
e292e9adde9b
Update to match config.sub changes for NetBSD.
Charles Hannum <mycroft@gnu.org>
parents:
8573
diff
changeset
|
496 # This is somewhat bogus. |
e292e9adde9b
Update to match config.sub changes for NetBSD.
Charles Hannum <mycroft@gnu.org>
parents:
8573
diff
changeset
|
497 machine=hp9000s300 ;; |
e292e9adde9b
Update to match config.sub changes for NetBSD.
Charles Hannum <mycroft@gnu.org>
parents:
8573
diff
changeset
|
498 mips-*-netbsd*) machine=pmax ;; |
e292e9adde9b
Update to match config.sub changes for NetBSD.
Charles Hannum <mycroft@gnu.org>
parents:
8573
diff
changeset
|
499 ns32k-*-netbsd*) machine=ns32000 ;; |
8306
2291bfe14170
Add more NetBSD ports; rearrange how they're handled.
Charles Hannum <mycroft@gnu.org>
parents:
8235
diff
changeset
|
500 sparc-*-netbsd*) machine=sparc ;; |
2291bfe14170
Add more NetBSD ports; rearrange how they're handled.
Charles Hannum <mycroft@gnu.org>
parents:
8235
diff
changeset
|
501 esac |
2291bfe14170
Add more NetBSD ports; rearrange how they're handled.
Charles Hannum <mycroft@gnu.org>
parents:
8235
diff
changeset
|
502 ;; |
2291bfe14170
Add more NetBSD ports; rearrange how they're handled.
Charles Hannum <mycroft@gnu.org>
parents:
8235
diff
changeset
|
503 |
8978
60851a1fb44e
(arm-acorn-riscix1.1*, arm-acorn-riscix1.2*): New configurations.
Richard M. Stallman <rms@gnu.org>
parents:
8971
diff
changeset
|
504 ## Acorn RISCiX: |
60851a1fb44e
(arm-acorn-riscix1.1*, arm-acorn-riscix1.2*): New configurations.
Richard M. Stallman <rms@gnu.org>
parents:
8971
diff
changeset
|
505 arm-acorn-riscix1.1* ) |
8979
fdc863ceba78
(arm-acorn-riscix1.1*, arm-acorn-riscix1.2*): riscix.h renamed to acorn.h.
Richard M. Stallman <rms@gnu.org>
parents:
8978
diff
changeset
|
506 machine=acorn opsys=riscix1-1 |
8978
60851a1fb44e
(arm-acorn-riscix1.1*, arm-acorn-riscix1.2*): New configurations.
Richard M. Stallman <rms@gnu.org>
parents:
8971
diff
changeset
|
507 ;; |
60851a1fb44e
(arm-acorn-riscix1.1*, arm-acorn-riscix1.2*): New configurations.
Richard M. Stallman <rms@gnu.org>
parents:
8971
diff
changeset
|
508 arm-acorn-riscix1.2* | arm-acorn-riscix ) |
8979
fdc863ceba78
(arm-acorn-riscix1.1*, arm-acorn-riscix1.2*): riscix.h renamed to acorn.h.
Richard M. Stallman <rms@gnu.org>
parents:
8978
diff
changeset
|
509 machine=acorn opsys=riscix1-2 |
8978
60851a1fb44e
(arm-acorn-riscix1.1*, arm-acorn-riscix1.2*): New configurations.
Richard M. Stallman <rms@gnu.org>
parents:
8971
diff
changeset
|
510 ;; |
60851a1fb44e
(arm-acorn-riscix1.1*, arm-acorn-riscix1.2*): New configurations.
Richard M. Stallman <rms@gnu.org>
parents:
8971
diff
changeset
|
511 |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
512 ## Alliant machines |
1423
93ee9c5e7eec
Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents:
1139
diff
changeset
|
513 ## 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
|
514 ## 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
|
515 ## 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
|
516 ## 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
|
517 ## 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
|
518 fx80-alliant-* ) |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
519 machine=alliant4 opsys=bsd4-2 |
1423
93ee9c5e7eec
Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents:
1139
diff
changeset
|
520 ;; |
93ee9c5e7eec
Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents:
1139
diff
changeset
|
521 i860-alliant-* ) |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
522 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
|
523 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
524 |
8813
53653f0b322d
(alpha-dec-osf*): New target.
Richard M. Stallman <rms@gnu.org>
parents:
8700
diff
changeset
|
525 alpha-dec-osf* ) |
53653f0b322d
(alpha-dec-osf*): New target.
Richard M. Stallman <rms@gnu.org>
parents:
8700
diff
changeset
|
526 machine=alpha opsys=osf1 |
53653f0b322d
(alpha-dec-osf*): New target.
Richard M. Stallman <rms@gnu.org>
parents:
8700
diff
changeset
|
527 ;; |
53653f0b322d
(alpha-dec-osf*): New target.
Richard M. Stallman <rms@gnu.org>
parents:
8700
diff
changeset
|
528 |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
529 ## Altos 3068 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
530 m68*-altos-sysv* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
531 machine=altos opsys=usg5-2 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
532 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
533 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
534 ## Amdahl UTS |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
535 580-amdahl-sysv* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
536 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
|
537 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
538 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
539 ## 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
|
540 m68*-apollo* ) |
2711
2c2052ec537d
The GNU coding standards specify that CFLAGS should be left for
Jim Blandy <jimb@redhat.com>
parents:
2678
diff
changeset
|
541 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
|
542 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
543 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
544 ## 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
|
545 we32k-att-sysv* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
546 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
|
547 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
548 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
549 ## 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
|
550 m68*-att-sysv* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
551 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
|
552 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
553 |
5962
e09d853d0378
(rs6000-bull-bosx*): New configuration.
Fred Pierresteguy <F.Pierresteguy@frcl.bull.fr>
parents:
5923
diff
changeset
|
554 ## Bull dpx20 |
e09d853d0378
(rs6000-bull-bosx*): New configuration.
Fred Pierresteguy <F.Pierresteguy@frcl.bull.fr>
parents:
5923
diff
changeset
|
555 rs6000-bull-bosx* ) |
e09d853d0378
(rs6000-bull-bosx*): New configuration.
Fred Pierresteguy <F.Pierresteguy@frcl.bull.fr>
parents:
5923
diff
changeset
|
556 machine=ibmrs6000 opsys=aix3-2 |
e09d853d0378
(rs6000-bull-bosx*): New configuration.
Fred Pierresteguy <F.Pierresteguy@frcl.bull.fr>
parents:
5923
diff
changeset
|
557 ;; |
e09d853d0378
(rs6000-bull-bosx*): New configuration.
Fred Pierresteguy <F.Pierresteguy@frcl.bull.fr>
parents:
5923
diff
changeset
|
558 |
4125
66f2f7838436
* configure.in (m68k-bull-sysv3): new config.
Jim Blandy <jimb@redhat.com>
parents:
4060
diff
changeset
|
559 ## Bull dpx2 |
66f2f7838436
* configure.in (m68k-bull-sysv3): new config.
Jim Blandy <jimb@redhat.com>
parents:
4060
diff
changeset
|
560 m68*-bull-sysv3* ) |
66f2f7838436
* configure.in (m68k-bull-sysv3): new config.
Jim Blandy <jimb@redhat.com>
parents:
4060
diff
changeset
|
561 machine=dpx2 opsys=usg5-3 |
66f2f7838436
* configure.in (m68k-bull-sysv3): new config.
Jim Blandy <jimb@redhat.com>
parents:
4060
diff
changeset
|
562 ;; |
66f2f7838436
* configure.in (m68k-bull-sysv3): new config.
Jim Blandy <jimb@redhat.com>
parents:
4060
diff
changeset
|
563 |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
564 ## Bull sps7 |
4125
66f2f7838436
* configure.in (m68k-bull-sysv3): new config.
Jim Blandy <jimb@redhat.com>
parents:
4060
diff
changeset
|
565 m68*-bull-sysv2* ) |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
566 machine=sps7 opsys=usg5-2 |
1423
93ee9c5e7eec
Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents:
1139
diff
changeset
|
567 ;; |
603 | 568 |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
569 ## 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
|
570 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
571 ## Celerity |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
572 ## 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
|
573 ## 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
|
574 ## in touch with us! |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
575 celerity-celerity-bsd* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
576 machine=celerity opsys=bsd4-2 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
577 ;; |
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 ## Clipper |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
580 ## 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
|
581 ## tested on? |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
582 clipper-* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
583 machine=clipper |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
584 ## 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
|
585 ## operating system. |
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 ## Convex |
8030
d5d12df7b186
(*-convex-convexos*): Accept this as alias.
Richard M. Stallman <rms@gnu.org>
parents:
8024
diff
changeset
|
589 *-convex-bsd* | *-convex-convexos* ) |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
590 machine=convex opsys=bsd4-3 |
8024 | 591 ## Prevents suprious white space in makefiles - d.m.cooke@larc.nasa.gov |
592 NON_GNU_CPP="cc -E -P" | |
1423
93ee9c5e7eec
Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents:
1139
diff
changeset
|
593 ;; |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
594 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
595 ## Cubix QBx/386 |
8573
a93b8c18e07a
Accept i586 and i486 along with i386.
Richard M. Stallman <rms@gnu.org>
parents:
8548
diff
changeset
|
596 i[345]86-cubix-sysv* ) |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
597 machine=intel386 opsys=usg5-3 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
598 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
599 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
600 ## Cydra 5 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
601 cydra*-cydrome-sysv* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
602 machine=cydra5 opsys=usg5-3 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
603 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
604 |
3599
3b928190a3e8
* configure.in: Recognize configuration name for Data General
Jim Blandy <jimb@redhat.com>
parents:
3591
diff
changeset
|
605 ## Data General AViiON Machines |
7314
1d78b0a43c59
Recognize m88k-dg-dgux5.4.3* and m88k-dg-dgux5.4.2*.
Richard M. Stallman <rms@gnu.org>
parents:
7226
diff
changeset
|
606 m88k-dg-dgux5.4R3* | m88k-dg-dgux5.4.3* ) |
1d78b0a43c59
Recognize m88k-dg-dgux5.4.3* and m88k-dg-dgux5.4.2*.
Richard M. Stallman <rms@gnu.org>
parents:
7226
diff
changeset
|
607 machine=aviion opsys=dgux5-4r3 |
7226
6b202e759f69
configure.in (m88k-dg-dgux5.4R3): Use dgux5-4R3.
Paul Reilly <pmr@pajato.com>
parents:
7201
diff
changeset
|
608 ;; |
7314
1d78b0a43c59
Recognize m88k-dg-dgux5.4.3* and m88k-dg-dgux5.4.2*.
Richard M. Stallman <rms@gnu.org>
parents:
7226
diff
changeset
|
609 m88k-dg-dgux5.4R2* | m88k-dg-dgux5.4.2* ) |
1d78b0a43c59
Recognize m88k-dg-dgux5.4.3* and m88k-dg-dgux5.4.2*.
Richard M. Stallman <rms@gnu.org>
parents:
7226
diff
changeset
|
610 machine=aviion opsys=dgux5-4r2 |
7226
6b202e759f69
configure.in (m88k-dg-dgux5.4R3): Use dgux5-4R3.
Paul Reilly <pmr@pajato.com>
parents:
7201
diff
changeset
|
611 ;; |
3599
3b928190a3e8
* configure.in: Recognize configuration name for Data General
Jim Blandy <jimb@redhat.com>
parents:
3591
diff
changeset
|
612 m88k-dg-dgux* ) |
3b928190a3e8
* configure.in: Recognize configuration name for Data General
Jim Blandy <jimb@redhat.com>
parents:
3591
diff
changeset
|
613 machine=aviion opsys=dgux |
3b928190a3e8
* configure.in: Recognize configuration name for Data General
Jim Blandy <jimb@redhat.com>
parents:
3591
diff
changeset
|
614 ;; |
3b928190a3e8
* configure.in: Recognize configuration name for Data General
Jim Blandy <jimb@redhat.com>
parents:
3591
diff
changeset
|
615 |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
616 ## DECstations |
4607
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
617 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
|
618 machine=pmax opsys=bsd4-2 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
619 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
620 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
|
621 machine=pmax opsys=bsd4-3 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
622 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
623 mips-dec-osf* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
624 machine=pmax opsys=osf1 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
625 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
626 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
627 ## Motorola Delta machines |
5867
907e14c58c65
(m68*-motorola-sysv*): Set CC. Require cpu type to be m68k or m68000.
Richard M. Stallman <rms@gnu.org>
parents:
5866
diff
changeset
|
628 m68k-motorola-sysv* | m68000-motorola-sysv* ) |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
629 machine=delta opsys=usg5-3 |
5906 | 630 if [ -z "`type gnucc | grep 'not found'`" ] |
631 then CC=gnucc | |
632 else | |
633 if [ -z "`type gcc | grep 'not found'`" ] | |
634 then CC=gcc | |
635 else CC=cc | |
636 fi | |
637 fi | |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
638 ;; |
3772
011935247e94
* configure.in: Add case for m88k-motorola-sysv4.
Jim Blandy <jimb@redhat.com>
parents:
3771
diff
changeset
|
639 m88k-motorola-sysv4* ) |
011935247e94
* configure.in: Add case for m88k-motorola-sysv4.
Jim Blandy <jimb@redhat.com>
parents:
3771
diff
changeset
|
640 machine=delta88k opsys=usg5-4 |
011935247e94
* configure.in: Add case for m88k-motorola-sysv4.
Jim Blandy <jimb@redhat.com>
parents:
3771
diff
changeset
|
641 ;; |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
642 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
|
643 machine=delta88k opsys=usg5-3 |
1423
93ee9c5e7eec
Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents:
1139
diff
changeset
|
644 ;; |
603 | 645 |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
646 ## Dual machines |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
647 m68*-dual-sysv* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
648 machine=dual opsys=usg5-2 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
649 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
650 m68*-dual-uniplus* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
651 machine=dual opsys=unipl5-2 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
652 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
653 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
654 ## Elxsi 6400 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
655 elxsi-elxsi-sysv* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
656 machine=elxsi opsys=usg5-2 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
657 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
658 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
659 ## Encore machines |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
660 ns16k-encore-bsd* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
661 machine=ns16000 opsys=umax |
1423
93ee9c5e7eec
Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents:
1139
diff
changeset
|
662 ;; |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
663 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
664 ## 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
|
665 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
666 ## Gould Power Node and NP1 |
4607
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
667 pn-gould-bsd4.2* ) |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
668 machine=gould opsys=bsd4-2 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
669 ;; |
4607
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
670 pn-gould-bsd4.3* ) |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
671 machine=gould opsys=bsd4-3 |
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 np1-gould-bsd* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
674 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
|
675 ;; |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
676 |
5584
a5bb8db5c4e7
(m68k-harris-cxux*, m88k-harris-cxux*): New configs.
Richard M. Stallman <rms@gnu.org>
parents:
5531
diff
changeset
|
677 ## Harris Night Hawk machines running CX/UX (a 5000 looks just like a 4000 |
a5bb8db5c4e7
(m68k-harris-cxux*, m88k-harris-cxux*): New configs.
Richard M. Stallman <rms@gnu.org>
parents:
5531
diff
changeset
|
678 ## as far as Emacs is concerned). |
a5bb8db5c4e7
(m68k-harris-cxux*, m88k-harris-cxux*): New configs.
Richard M. Stallman <rms@gnu.org>
parents:
5531
diff
changeset
|
679 m88k-harris-cxux* ) |
a5bb8db5c4e7
(m68k-harris-cxux*, m88k-harris-cxux*): New configs.
Richard M. Stallman <rms@gnu.org>
parents:
5531
diff
changeset
|
680 # Build needs to be different on 7.0 and later releases |
a5bb8db5c4e7
(m68k-harris-cxux*, m88k-harris-cxux*): New configs.
Richard M. Stallman <rms@gnu.org>
parents:
5531
diff
changeset
|
681 case "`uname -r`" in |
a5bb8db5c4e7
(m68k-harris-cxux*, m88k-harris-cxux*): New configs.
Richard M. Stallman <rms@gnu.org>
parents:
5531
diff
changeset
|
682 [56].[0-9] ) machine=nh4000 opsys=cxux ;; |
a5bb8db5c4e7
(m68k-harris-cxux*, m88k-harris-cxux*): New configs.
Richard M. Stallman <rms@gnu.org>
parents:
5531
diff
changeset
|
683 [7].[0-9] ) machine=nh4000 opsys=cxux7 ;; |
a5bb8db5c4e7
(m68k-harris-cxux*, m88k-harris-cxux*): New configs.
Richard M. Stallman <rms@gnu.org>
parents:
5531
diff
changeset
|
684 esac |
a5bb8db5c4e7
(m68k-harris-cxux*, m88k-harris-cxux*): New configs.
Richard M. Stallman <rms@gnu.org>
parents:
5531
diff
changeset
|
685 ;; |
a5bb8db5c4e7
(m68k-harris-cxux*, m88k-harris-cxux*): New configs.
Richard M. Stallman <rms@gnu.org>
parents:
5531
diff
changeset
|
686 ## Harris ecx or gcx running CX/UX (Series 1200, Series 3000) |
a5bb8db5c4e7
(m68k-harris-cxux*, m88k-harris-cxux*): New configs.
Richard M. Stallman <rms@gnu.org>
parents:
5531
diff
changeset
|
687 m68k-harris-cxux* ) |
a5bb8db5c4e7
(m68k-harris-cxux*, m88k-harris-cxux*): New configs.
Richard M. Stallman <rms@gnu.org>
parents:
5531
diff
changeset
|
688 machine=nh3000 opsys=cxux |
a5bb8db5c4e7
(m68k-harris-cxux*, m88k-harris-cxux*): New configs.
Richard M. Stallman <rms@gnu.org>
parents:
5531
diff
changeset
|
689 ;; |
a5bb8db5c4e7
(m68k-harris-cxux*, m88k-harris-cxux*): New configs.
Richard M. Stallman <rms@gnu.org>
parents:
5531
diff
changeset
|
690 |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
691 ## Honeywell XPS100 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
692 xps*-honeywell-sysv* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
693 machine=xps100 opsys=usg5-2 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
694 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
695 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
696 ## 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
|
697 m68*-hp-bsd* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
698 machine=hp9000s300 opsys=bsd4-3 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
699 ;; |
3771
78c629b32fd9
* configure.in: Move clause for PC-compatible i386 box to the end
Jim Blandy <jimb@redhat.com>
parents:
3761
diff
changeset
|
700 ## 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
|
701 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
|
702 case "`uname -r`" in |
4607
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
703 ## Someone's system reports A.B8.05 for this. |
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
704 ## I wonder what other possibilities there are. |
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
705 *.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
|
706 *.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
|
707 *.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
|
708 *) 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
|
709 esac |
1423
93ee9c5e7eec
Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents:
1139
diff
changeset
|
710 ;; |
603 | 711 |
3006
7126575622da
* configure.in: Distinguish between hp800's and hp700's by calling
Jim Blandy <jimb@redhat.com>
parents:
2985
diff
changeset
|
712 ## 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
|
713 hppa*-hp-hpux7* ) |
7160
ff15f545744a
Use m/hp800.h in place of m/hp9000s800.h.
Richard M. Stallman <rms@gnu.org>
parents:
7141
diff
changeset
|
714 machine=hp800 opsys=hpux |
3573
7ff6a8013a4d
* configure.in (machine): Fix the versions in hpux version number test.
Jim Blandy <jimb@redhat.com>
parents:
3460
diff
changeset
|
715 ;; |
7ff6a8013a4d
* configure.in (machine): Fix the versions in hpux version number test.
Jim Blandy <jimb@redhat.com>
parents:
3460
diff
changeset
|
716 hppa*-hp-hpux8* ) |
7160
ff15f545744a
Use m/hp800.h in place of m/hp9000s800.h.
Richard M. Stallman <rms@gnu.org>
parents:
7141
diff
changeset
|
717 machine=hp800 opsys=hpux8 |
3006
7126575622da
* configure.in: Distinguish between hp800's and hp700's by calling
Jim Blandy <jimb@redhat.com>
parents:
2985
diff
changeset
|
718 ;; |
7725
4c80934ca1b2
(*-sun-sunos4*): Set GCC_TEST_OPTIONS, NON_GCC_TEST_OPTIONS.
Richard M. Stallman <rms@gnu.org>
parents:
7665
diff
changeset
|
719 hppa*-hp-hpux9shr* ) |
4c80934ca1b2
(*-sun-sunos4*): Set GCC_TEST_OPTIONS, NON_GCC_TEST_OPTIONS.
Richard M. Stallman <rms@gnu.org>
parents:
7665
diff
changeset
|
720 machine=hp800 opsys=hpux9shr |
4c80934ca1b2
(*-sun-sunos4*): Set GCC_TEST_OPTIONS, NON_GCC_TEST_OPTIONS.
Richard M. Stallman <rms@gnu.org>
parents:
7665
diff
changeset
|
721 ;; |
3573
7ff6a8013a4d
* configure.in (machine): Fix the versions in hpux version number test.
Jim Blandy <jimb@redhat.com>
parents:
3460
diff
changeset
|
722 hppa*-hp-hpux9* ) |
7160
ff15f545744a
Use m/hp800.h in place of m/hp9000s800.h.
Richard M. Stallman <rms@gnu.org>
parents:
7141
diff
changeset
|
723 machine=hp800 opsys=hpux9 |
3006
7126575622da
* configure.in: Distinguish between hp800's and hp700's by calling
Jim Blandy <jimb@redhat.com>
parents:
2985
diff
changeset
|
724 ;; |
3573
7ff6a8013a4d
* configure.in (machine): Fix the versions in hpux version number test.
Jim Blandy <jimb@redhat.com>
parents:
3460
diff
changeset
|
725 |
7ff6a8013a4d
* configure.in (machine): Fix the versions in hpux version number test.
Jim Blandy <jimb@redhat.com>
parents:
3460
diff
changeset
|
726 ## 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
|
727 hppa*-hp-hpux* ) |
7126575622da
* configure.in: Distinguish between hp800's and hp700's by calling
Jim Blandy <jimb@redhat.com>
parents:
2985
diff
changeset
|
728 ## 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
|
729 case "`uname -r`" in |
4607
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
730 ## Someone's system reports A.B8.05 for this. |
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
731 ## I wonder what other possibilities there are. |
7160
ff15f545744a
Use m/hp800.h in place of m/hp9000s800.h.
Richard M. Stallman <rms@gnu.org>
parents:
7141
diff
changeset
|
732 *.B8.* ) machine=hp800 opsys=hpux8 ;; |
ff15f545744a
Use m/hp800.h in place of m/hp9000s800.h.
Richard M. Stallman <rms@gnu.org>
parents:
7141
diff
changeset
|
733 *.08.* ) machine=hp800 opsys=hpux8 ;; |
ff15f545744a
Use m/hp800.h in place of m/hp9000s800.h.
Richard M. Stallman <rms@gnu.org>
parents:
7141
diff
changeset
|
734 *.09.* ) machine=hp800 opsys=hpux9 ;; |
ff15f545744a
Use m/hp800.h in place of m/hp9000s800.h.
Richard M. Stallman <rms@gnu.org>
parents:
7141
diff
changeset
|
735 *) machine=hp800 opsys=hpux ;; |
3006
7126575622da
* configure.in: Distinguish between hp800's and hp700's by calling
Jim Blandy <jimb@redhat.com>
parents:
2985
diff
changeset
|
736 esac |
1629
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 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
739 ## Orion machines |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
740 orion-orion-bsd* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
741 machine=orion opsys=bsd4-2 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
742 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
743 clipper-orion-bsd* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
744 machine=orion105 opsys=bsd4-2 |
1423
93ee9c5e7eec
Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents:
1139
diff
changeset
|
745 ;; |
603 | 746 |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
747 ## IBM machines |
8573
a93b8c18e07a
Accept i586 and i486 along with i386.
Richard M. Stallman <rms@gnu.org>
parents:
8548
diff
changeset
|
748 i[345]86-ibm-aix1.1* ) |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
749 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
|
750 ;; |
8573
a93b8c18e07a
Accept i586 and i486 along with i386.
Richard M. Stallman <rms@gnu.org>
parents:
8548
diff
changeset
|
751 i[345]86-ibm-aix1.[23]* | i[345]86-ibm-aix* ) |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
752 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
|
753 ;; |
4461
ac7656a5f6e9
(machine): Add i370-ibm-aix*.
Richard M. Stallman <rms@gnu.org>
parents:
4437
diff
changeset
|
754 i370-ibm-aix*) |
ac7656a5f6e9
(machine): Add i370-ibm-aix*.
Richard M. Stallman <rms@gnu.org>
parents:
4437
diff
changeset
|
755 machine=ibm370aix opsys=usg5-3 |
ac7656a5f6e9
(machine): Add i370-ibm-aix*.
Richard M. Stallman <rms@gnu.org>
parents:
4437
diff
changeset
|
756 ;; |
8693
a85d4593d45f
(powerpc-ibm-aix3.1*, powerpc-ibm-aix3.2.5*)
Richard M. Stallman <rms@gnu.org>
parents:
8621
diff
changeset
|
757 rs6000-ibm-aix3.1* | powerpc-ibm-aix3.1* ) |
2244
3b5391ff2ffd
* configure: Recognize rs6000-ibm-aix32 and rs6000-ibm-aix, and
Jim Blandy <jimb@redhat.com>
parents:
2173
diff
changeset
|
758 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
|
759 ;; |
8693
a85d4593d45f
(powerpc-ibm-aix3.1*, powerpc-ibm-aix3.2.5*)
Richard M. Stallman <rms@gnu.org>
parents:
8621
diff
changeset
|
760 rs6000-ibm-aix3.2.5 | powerpc-ibm-aix3.2.5 ) |
6129
9498f9251e32
New s-file for rs60000-ibm-aix3.2.5.
Karl Heuer <kwzh@gnu.org>
parents:
6105
diff
changeset
|
761 machine=ibmrs6000 opsys=aix3-2-5 |
9498f9251e32
New s-file for rs60000-ibm-aix3.2.5.
Karl Heuer <kwzh@gnu.org>
parents:
6105
diff
changeset
|
762 ;; |
8693
a85d4593d45f
(powerpc-ibm-aix3.1*, powerpc-ibm-aix3.2.5*)
Richard M. Stallman <rms@gnu.org>
parents:
8621
diff
changeset
|
763 rs6000-ibm-aix* | powerpc-ibm-aix* ) |
2244
3b5391ff2ffd
* configure: Recognize rs6000-ibm-aix32 and rs6000-ibm-aix, and
Jim Blandy <jimb@redhat.com>
parents:
2173
diff
changeset
|
764 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
|
765 ;; |
4607
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
766 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
|
767 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
|
768 ;; |
4607
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
769 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
|
770 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
|
771 ;; |
4607
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
772 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
|
773 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
|
774 ;; |
4607
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
775 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
|
776 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
|
777 ;; |
0687b13fc461
(romp): Handle various version numbers with aos and bsd.
Richard M. Stallman <rms@gnu.org>
parents:
3217
diff
changeset
|
778 romp-ibm-aos* ) |
0687b13fc461
(romp): Handle various version numbers with aos and bsd.
Richard M. Stallman <rms@gnu.org>
parents:
3217
diff
changeset
|
779 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
|
780 ;; |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
781 romp-ibm-bsd* ) |
3245
0687b13fc461
(romp): Handle various version numbers with aos and bsd.
Richard M. Stallman <rms@gnu.org>
parents:
3217
diff
changeset
|
782 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
|
783 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
784 romp-ibm-aix* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
785 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
|
786 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
787 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
788 ## Integrated Solutions `Optimum V' |
4607
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
789 m68*-isi-bsd4.2* ) |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
790 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
|
791 ;; |
4607
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
792 m68*-isi-bsd4.3* ) |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
793 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
|
794 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
795 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
796 ## Intel 386 machines where we do care about the manufacturer |
8573
a93b8c18e07a
Accept i586 and i486 along with i386.
Richard M. Stallman <rms@gnu.org>
parents:
8548
diff
changeset
|
797 i[345]86-intsys-sysv* ) |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
798 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
|
799 ;; |
3628
3f0d7802decb
Move i386-prime-sysv* and i386-sequent-bsd*
Richard M. Stallman <rms@gnu.org>
parents:
3603
diff
changeset
|
800 |
3f0d7802decb
Move i386-prime-sysv* and i386-sequent-bsd*
Richard M. Stallman <rms@gnu.org>
parents:
3603
diff
changeset
|
801 ## Prime EXL |
8573
a93b8c18e07a
Accept i586 and i486 along with i386.
Richard M. Stallman <rms@gnu.org>
parents:
8548
diff
changeset
|
802 i[345]86-prime-sysv* ) |
3628
3f0d7802decb
Move i386-prime-sysv* and i386-sequent-bsd*
Richard M. Stallman <rms@gnu.org>
parents:
3603
diff
changeset
|
803 machine=i386 opsys=usg5-3 |
3f0d7802decb
Move i386-prime-sysv* and i386-sequent-bsd*
Richard M. Stallman <rms@gnu.org>
parents:
3603
diff
changeset
|
804 ;; |
3f0d7802decb
Move i386-prime-sysv* and i386-sequent-bsd*
Richard M. Stallman <rms@gnu.org>
parents:
3603
diff
changeset
|
805 |
8968
8ec5fb79c772
(i[345]86-sequent-ptx*): Handle
Richard M. Stallman <rms@gnu.org>
parents:
8923
diff
changeset
|
806 ## Sequent Symmetry running Dynix |
8573
a93b8c18e07a
Accept i586 and i486 along with i386.
Richard M. Stallman <rms@gnu.org>
parents:
8548
diff
changeset
|
807 i[345]86-sequent-bsd* ) |
3628
3f0d7802decb
Move i386-prime-sysv* and i386-sequent-bsd*
Richard M. Stallman <rms@gnu.org>
parents:
3603
diff
changeset
|
808 machine=symmetry opsys=bsd4-3 |
3f0d7802decb
Move i386-prime-sysv* and i386-sequent-bsd*
Richard M. Stallman <rms@gnu.org>
parents:
3603
diff
changeset
|
809 ;; |
3f0d7802decb
Move i386-prime-sysv* and i386-sequent-bsd*
Richard M. Stallman <rms@gnu.org>
parents:
3603
diff
changeset
|
810 |
8968
8ec5fb79c772
(i[345]86-sequent-ptx*): Handle
Richard M. Stallman <rms@gnu.org>
parents:
8923
diff
changeset
|
811 ## Sequent Symmetry running DYNIX/ptx |
8ec5fb79c772
(i[345]86-sequent-ptx*): Handle
Richard M. Stallman <rms@gnu.org>
parents:
8923
diff
changeset
|
812 ## Use the old cpp rather than the newer ANSI one. |
8ec5fb79c772
(i[345]86-sequent-ptx*): Handle
Richard M. Stallman <rms@gnu.org>
parents:
8923
diff
changeset
|
813 i[345]86-sequent-ptx* ) |
8ec5fb79c772
(i[345]86-sequent-ptx*): Handle
Richard M. Stallman <rms@gnu.org>
parents:
8923
diff
changeset
|
814 machine=sequent-ptx opsys=ptx |
8ec5fb79c772
(i[345]86-sequent-ptx*): Handle
Richard M. Stallman <rms@gnu.org>
parents:
8923
diff
changeset
|
815 NON_GNU_CPP="/lib/cpp" |
8ec5fb79c772
(i[345]86-sequent-ptx*): Handle
Richard M. Stallman <rms@gnu.org>
parents:
8923
diff
changeset
|
816 ;; |
8ec5fb79c772
(i[345]86-sequent-ptx*): Handle
Richard M. Stallman <rms@gnu.org>
parents:
8923
diff
changeset
|
817 |
6916
b8a9395c1b3f
(lib-src/Makefile.in): Make this from Makefile.in.in
Richard M. Stallman <rms@gnu.org>
parents:
6869
diff
changeset
|
818 ## Unspecified sysv on an ncr machine defaults to svr4.2. |
b8a9395c1b3f
(lib-src/Makefile.in): Make this from Makefile.in.in
Richard M. Stallman <rms@gnu.org>
parents:
6869
diff
changeset
|
819 ## (Plain usg5-4 doesn't turn on POSIX signals, which we need.) |
8573
a93b8c18e07a
Accept i586 and i486 along with i386.
Richard M. Stallman <rms@gnu.org>
parents:
8548
diff
changeset
|
820 i[345]86-ncr-sysv* ) |
6916
b8a9395c1b3f
(lib-src/Makefile.in): Make this from Makefile.in.in
Richard M. Stallman <rms@gnu.org>
parents:
6869
diff
changeset
|
821 machine=intel386 opsys=usg5-4-2 |
5093
51d2f91b2ce1
(i[34]86-ncr-sysv*): New specific alternative.
Richard M. Stallman <rms@gnu.org>
parents:
5080
diff
changeset
|
822 ;; |
51d2f91b2ce1
(i[34]86-ncr-sysv*): New specific alternative.
Richard M. Stallman <rms@gnu.org>
parents:
5080
diff
changeset
|
823 |
3057
b155c80dc2c2
* configure.in: Recognize configuration names for i860 boxes
Jim Blandy <jimb@redhat.com>
parents:
3024
diff
changeset
|
824 ## Intel 860 |
5320
ada749d7f88c
(*-sun-solaris*): Add special case for Solaris 2.3.
Richard M. Stallman <rms@gnu.org>
parents:
5093
diff
changeset
|
825 i860-*-sysv4* ) |
3057
b155c80dc2c2
* configure.in: Recognize configuration names for i860 boxes
Jim Blandy <jimb@redhat.com>
parents:
3024
diff
changeset
|
826 machine=i860 opsys=usg5-4 |
8324
fee9047f3b14
(i860-*-sysv4*): Set NON_GNU_CC and NON_GNU_CPP.
Richard M. Stallman <rms@gnu.org>
parents:
8306
diff
changeset
|
827 NON_GNU_CC="/bin/cc" # Ie, not the one in /usr/ucb/cc. |
fee9047f3b14
(i860-*-sysv4*): Set NON_GNU_CC and NON_GNU_CPP.
Richard M. Stallman <rms@gnu.org>
parents:
8306
diff
changeset
|
828 NON_GNU_CPP="/usr/ccs/lib/cpp" # cc -E tokenizes macro expansion. |
3057
b155c80dc2c2
* configure.in: Recognize configuration names for i860 boxes
Jim Blandy <jimb@redhat.com>
parents:
3024
diff
changeset
|
829 ;; |
b155c80dc2c2
* configure.in: Recognize configuration names for i860 boxes
Jim Blandy <jimb@redhat.com>
parents:
3024
diff
changeset
|
830 |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
831 ## Masscomp machines |
4607
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
832 m68*-masscomp-rtu* ) |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
833 machine=masscomp opsys=rtu |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
834 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
835 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
836 ## Megatest machines |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
837 m68*-megatest-bsd* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
838 machine=mega68 opsys=bsd4-2 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
839 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
840 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
841 ## Workstations sold by MIPS |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
842 ## 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
|
843 ## 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
|
844 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
845 ## 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
|
846 ## 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
|
847 ## 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
|
848 ## -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
|
849 ## 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
|
850 ## 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
|
851 ## 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
|
852 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
|
853 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
|
854 ## 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
|
855 ;; |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
856 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
|
857 machine=mips4 opsys=bsd4-3 |
5320
ada749d7f88c
(*-sun-solaris*): Add special case for Solaris 2.3.
Richard M. Stallman <rms@gnu.org>
parents:
5093
diff
changeset
|
858 NON_GNU_CC="cc -systype bsd43" |
5748
96f85cde2fb4
(mips-mips-riscos4*): Set NON_GNU_CPP.
Richard M. Stallman <rms@gnu.org>
parents:
5727
diff
changeset
|
859 NON_GNU_CPP="cc -systype bsd43 -E" |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
860 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
861 mips-mips-bsd* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
862 machine=mips opsys=bsd4-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 mips-mips-* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
865 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
|
866 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
867 |
2624
5de08620df66
* configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents:
2516
diff
changeset
|
868 ## NeXT |
8573
a93b8c18e07a
Accept i586 and i486 along with i386.
Richard M. Stallman <rms@gnu.org>
parents:
8548
diff
changeset
|
869 m68*-next-* | i[345]86-next-* ) |
2624
5de08620df66
* configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents:
2516
diff
changeset
|
870 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
|
871 ;; |
5de08620df66
* configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents:
2516
diff
changeset
|
872 |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
873 ## 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
|
874 ns32k-ns-genix* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
875 machine=ns32000 opsys=usg5-2 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
876 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
877 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
878 ## NCR machines |
2100
4c081de167f4
* configure: Recognize strings like "sysvr0" or "sysvr1" as System V.
Jim Blandy <jimb@redhat.com>
parents:
2007
diff
changeset
|
879 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
|
880 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
|
881 ;; |
2100
4c081de167f4
* configure: Recognize strings like "sysvr0" or "sysvr1" as System V.
Jim Blandy <jimb@redhat.com>
parents:
2007
diff
changeset
|
882 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
|
883 machine=tower32v3 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 ## Nixdorf Targon 31 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
887 m68*-nixdorf-sysv* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
888 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
|
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 ## Nu (TI or LMI) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
892 m68*-nu-sysv* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
893 machine=nu opsys=usg5-2 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
894 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
895 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
896 ## Plexus |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
897 m68*-plexus-sysv* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
898 machine=plexus opsys=usg5-2 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
899 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
900 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
901 ## Pyramid machines |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
902 ## 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
|
903 ## 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
|
904 pyramid-pyramid-bsd* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
905 machine=pyramid opsys=bsd4-2 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
906 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
907 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
908 ## Sequent Balance |
4607
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
909 ns32k-sequent-bsd4.2* ) |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
910 machine=sequent opsys=bsd4-2 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
911 ;; |
4607
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
912 ns32k-sequent-bsd4.3* ) |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
913 machine=sequent opsys=bsd4-3 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
914 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
915 |
7046 | 916 ## Siemens Nixdorf |
917 mips-siemens-sysv* ) | |
918 machine=mips-siemens opsys=usg5-4 | |
919 NON_GNU_CC=/usr/ccs/bin/cc | |
7812
084809a28904
(mips-siemens-sysv*): Use cpp, not cc -E.
Richard M. Stallman <rms@gnu.org>
parents:
7804
diff
changeset
|
920 NON_GNU_CPP=/usr/ccs/lib/cpp |
7046 | 921 ;; |
922 | |
923 ## Silicon Graphics machines | |
924 ## Iris 2500 and Iris 2500 Turbo (aka the Iris 3030) | |
925 m68*-sgi-iris3.5* ) | |
926 machine=irist opsys=iris3-5 | |
927 ;; | |
928 m68*-sgi-iris3.6* | m68*-sgi-iris*) | |
929 machine=irist opsys=iris3-6 | |
930 ;; | |
931 ## Iris 4D | |
7725
4c80934ca1b2
(*-sun-sunos4*): Set GCC_TEST_OPTIONS, NON_GCC_TEST_OPTIONS.
Richard M. Stallman <rms@gnu.org>
parents:
7665
diff
changeset
|
932 mips-sgi-irix3* ) |
7046 | 933 machine=iris4d opsys=irix3-3 |
934 ;; | |
7725
4c80934ca1b2
(*-sun-sunos4*): Set GCC_TEST_OPTIONS, NON_GCC_TEST_OPTIONS.
Richard M. Stallman <rms@gnu.org>
parents:
7665
diff
changeset
|
935 mips-sgi-irix5* ) |
7046 | 936 machine=iris4d opsys=irix5-0 |
937 ;; | |
7725
4c80934ca1b2
(*-sun-sunos4*): Set GCC_TEST_OPTIONS, NON_GCC_TEST_OPTIONS.
Richard M. Stallman <rms@gnu.org>
parents:
7665
diff
changeset
|
938 mips-sgi-irix4* | mips-sgi-irix* ) |
7046 | 939 machine=iris4d opsys=irix4-0 |
940 ;; | |
941 | |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
942 ## SONY machines |
4607
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
943 m68*-sony-bsd4.2* ) |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
944 machine=news opsys=bsd4-2 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
945 ;; |
4607
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
946 m68*-sony-bsd4.3* ) |
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
947 machine=news opsys=bsd4-3 |
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
948 ;; |
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
949 m68*-sony-newsos3*) |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
950 machine=news opsys=bsd4-3 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
951 ;; |
8077
edcb7fcf3f28
(mips-sony-newsos4*): New alias.
Richard M. Stallman <rms@gnu.org>
parents:
8030
diff
changeset
|
952 mips-sony-bsd* | mips-sony-newsos4* ) |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
953 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
|
954 ;; |
5963
468b56386da3
(mips-sony-newsos*): New configuration.
Richard M. Stallman <rms@gnu.org>
parents:
5962
diff
changeset
|
955 mips-sony-newsos* ) |
7786
1f3e23273349
(mips-sony-newsos*): Use news-risc.h.
Richard M. Stallman <rms@gnu.org>
parents:
7725
diff
changeset
|
956 machine=news-risc opsys=newsos5 |
5963
468b56386da3
(mips-sony-newsos*): New configuration.
Richard M. Stallman <rms@gnu.org>
parents:
5962
diff
changeset
|
957 ;; |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
958 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
959 ## Stride |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
960 m68*-stride-sysv* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
961 machine=stride opsys=usg5-2 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
962 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
963 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
964 ## Suns |
8573
a93b8c18e07a
Accept i586 and i486 along with i386.
Richard M. Stallman <rms@gnu.org>
parents:
8548
diff
changeset
|
965 *-sun-sunos* | *-sun-bsd* | *-sun-solaris* | i[345]86-*-solaris2* | i[345]86-*-sunos5* ) |
4163
f8fa30d5b7fd
(canonical): New variable holds the canonicalized
Richard M. Stallman <rms@gnu.org>
parents:
4125
diff
changeset
|
966 case "${canonical}" in |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
967 m68*-sunos1* ) machine=sun1 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
968 m68*-sunos2* ) machine=sun2 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
969 m68* ) machine=sun3 ;; |
8573
a93b8c18e07a
Accept i586 and i486 along with i386.
Richard M. Stallman <rms@gnu.org>
parents:
8548
diff
changeset
|
970 i[345]86-sun-sunos[34]* ) machine=sun386 ;; |
a93b8c18e07a
Accept i586 and i486 along with i386.
Richard M. Stallman <rms@gnu.org>
parents:
8548
diff
changeset
|
971 i[345]86-*-* ) machine=intel386 ;; |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
972 sparc* ) machine=sparc ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
973 * ) unported=true ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
974 esac |
4163
f8fa30d5b7fd
(canonical): New variable holds the canonicalized
Richard M. Stallman <rms@gnu.org>
parents:
4125
diff
changeset
|
975 case "${canonical}" in |
4615
feec1422d547
(i386-*-sunos4): Assume Sunos 4.0.
Richard M. Stallman <rms@gnu.org>
parents:
4607
diff
changeset
|
976 ## The Sun386 didn't get past 4.0. |
8573
a93b8c18e07a
Accept i586 and i486 along with i386.
Richard M. Stallman <rms@gnu.org>
parents:
8548
diff
changeset
|
977 i[345]86-*-sunos4 ) opsys=sunos4-0 ;; |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
978 *-sunos4.0* ) opsys=sunos4-0 ;; |
7622
db2138db6dab
(GCC_TEST_OPTIONS, NON_GCC_TEST_OPTIONS): New vars.
Richard M. Stallman <rms@gnu.org>
parents:
7540
diff
changeset
|
979 *-sunos4.1.3* ) opsys=sunos4-1-3 |
db2138db6dab
(GCC_TEST_OPTIONS, NON_GCC_TEST_OPTIONS): New vars.
Richard M. Stallman <rms@gnu.org>
parents:
7540
diff
changeset
|
980 NON_GCC_TEST_OPTIONS=-Bstatic |
db2138db6dab
(GCC_TEST_OPTIONS, NON_GCC_TEST_OPTIONS): New vars.
Richard M. Stallman <rms@gnu.org>
parents:
7540
diff
changeset
|
981 GCC_TEST_OPTIONS=-static |
db2138db6dab
(GCC_TEST_OPTIONS, NON_GCC_TEST_OPTIONS): New vars.
Richard M. Stallman <rms@gnu.org>
parents:
7540
diff
changeset
|
982 ;; |
6816
46ea2fa4a4c5
Add sunos4shr as alternative for suns.
Richard M. Stallman <rms@gnu.org>
parents:
6776
diff
changeset
|
983 *-sunos4shr* ) opsys=sunos4shr ;; |
7725
4c80934ca1b2
(*-sun-sunos4*): Set GCC_TEST_OPTIONS, NON_GCC_TEST_OPTIONS.
Richard M. Stallman <rms@gnu.org>
parents:
7665
diff
changeset
|
984 *-sunos4* | *-sunos ) opsys=sunos4-1 |
4c80934ca1b2
(*-sun-sunos4*): Set GCC_TEST_OPTIONS, NON_GCC_TEST_OPTIONS.
Richard M. Stallman <rms@gnu.org>
parents:
7665
diff
changeset
|
985 NON_GCC_TEST_OPTIONS=-Bstatic |
4c80934ca1b2
(*-sun-sunos4*): Set GCC_TEST_OPTIONS, NON_GCC_TEST_OPTIONS.
Richard M. Stallman <rms@gnu.org>
parents:
7665
diff
changeset
|
986 GCC_TEST_OPTIONS=-static |
4c80934ca1b2
(*-sun-sunos4*): Set GCC_TEST_OPTIONS, NON_GCC_TEST_OPTIONS.
Richard M. Stallman <rms@gnu.org>
parents:
7665
diff
changeset
|
987 ;; |
5320
ada749d7f88c
(*-sun-solaris*): Add special case for Solaris 2.3.
Richard M. Stallman <rms@gnu.org>
parents:
5093
diff
changeset
|
988 *-sunos5.3* | *-solaris2.3* ) |
ada749d7f88c
(*-sun-solaris*): Add special case for Solaris 2.3.
Richard M. Stallman <rms@gnu.org>
parents:
5093
diff
changeset
|
989 opsys=sol2-3 |
ada749d7f88c
(*-sun-solaris*): Add special case for Solaris 2.3.
Richard M. Stallman <rms@gnu.org>
parents:
5093
diff
changeset
|
990 NON_GNU_CPP=/usr/ccs/lib/cpp |
ada749d7f88c
(*-sun-solaris*): Add special case for Solaris 2.3.
Richard M. Stallman <rms@gnu.org>
parents:
5093
diff
changeset
|
991 ;; |
8450 | 992 *-sunos5.4* | *-solaris2.4* ) |
993 opsys=sol2-4 | |
994 NON_GNU_CPP=/usr/ccs/lib/cpp | |
995 ;; | |
5320
ada749d7f88c
(*-sun-solaris*): Add special case for Solaris 2.3.
Richard M. Stallman <rms@gnu.org>
parents:
5093
diff
changeset
|
996 *-sunos5* | *-solaris* ) |
ada749d7f88c
(*-sun-solaris*): Add special case for Solaris 2.3.
Richard M. Stallman <rms@gnu.org>
parents:
5093
diff
changeset
|
997 opsys=sol2 |
ada749d7f88c
(*-sun-solaris*): Add special case for Solaris 2.3.
Richard M. Stallman <rms@gnu.org>
parents:
5093
diff
changeset
|
998 NON_GNU_CPP=/usr/ccs/lib/cpp |
ada749d7f88c
(*-sun-solaris*): Add special case for Solaris 2.3.
Richard M. Stallman <rms@gnu.org>
parents:
5093
diff
changeset
|
999 ;; |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1000 * ) opsys=bsd4-2 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1001 esac |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1002 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1003 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1004 ## Tadpole 68k |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1005 m68*-tadpole-sysv* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1006 machine=tad68k opsys=usg5-3 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1007 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1008 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1009 ## Tahoe machines |
4607
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
1010 tahoe-tahoe-bsd4.2* ) |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1011 machine=tahoe opsys=bsd4-2 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1012 ;; |
4607
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
1013 tahoe-tahoe-bsd4.3* ) |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1014 machine=tahoe opsys=bsd4-3 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1015 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1016 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1017 ## Tandem Integrity S2 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1018 mips-tandem-sysv* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1019 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
|
1020 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1021 |
3271
dbd332a25c64
* configure.in: Add case for the Tektronix XD88.
Jim Blandy <jimb@redhat.com>
parents:
3264
diff
changeset
|
1022 ## Tektronix XD88 |
4542
87c959b66ae2
(m88k-tektronix-sysv3*): Added the missing *.
Richard M. Stallman <rms@gnu.org>
parents:
4536
diff
changeset
|
1023 m88k-tektronix-sysv3* ) |
87c959b66ae2
(m88k-tektronix-sysv3*): Added the missing *.
Richard M. Stallman <rms@gnu.org>
parents:
4536
diff
changeset
|
1024 machine=tekxd88 opsys=usg5-3 |
3271
dbd332a25c64
* configure.in: Add case for the Tektronix XD88.
Jim Blandy <jimb@redhat.com>
parents:
3264
diff
changeset
|
1025 ;; |
dbd332a25c64
* configure.in: Add case for the Tektronix XD88.
Jim Blandy <jimb@redhat.com>
parents:
3264
diff
changeset
|
1026 |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1027 ## Tektronix 16000 box (6130?) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1028 ns16k-tektronix-bsd* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1029 machine=ns16000 opsys=bsd4-2 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1030 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1031 ## Tektronix 4300 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1032 ## 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
|
1033 m68*-tektronix-bsd* ) |
4607
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
1034 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
|
1035 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1036 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1037 ## Titan P2 or P3 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1038 ## 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
|
1039 titan-titan-sysv* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1040 machine=titan opsys=usg5-3 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1041 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1042 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1043 ## Ustation E30 (SS5E) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1044 m68*-unisys-uniplus* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1045 machine=ustation opsystem=unipl5-2 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1046 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1047 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1048 ## Vaxen. |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1049 vax-dec-* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1050 machine=vax |
4163
f8fa30d5b7fd
(canonical): New variable holds the canonicalized
Richard M. Stallman <rms@gnu.org>
parents:
4125
diff
changeset
|
1051 case "${canonical}" in |
4607
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
1052 *-bsd4.1* ) opsys=bsd4-1 ;; |
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
1053 *-bsd4.2* | *-ultrix[0-3].* | *-ultrix4.0* ) opsys=bsd4-2 ;; |
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
1054 *-bsd4.3* | *-ultrix* ) opsys=bsd4-3 ;; |
7804
781655f97fee
Accept bsdi as opsys, like bsd386.
Richard M. Stallman <rms@gnu.org>
parents:
7786
diff
changeset
|
1055 *-bsd386* | *-bsdi* ) opsys=bsd386 ;; |
2100
4c081de167f4
* configure: Recognize strings like "sysvr0" or "sysvr1" as System V.
Jim Blandy <jimb@redhat.com>
parents:
2007
diff
changeset
|
1056 *-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
|
1057 *-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
|
1058 *-vms* ) opsys=vms ;; |
4c081de167f4
* configure: Recognize strings like "sysvr0" or "sysvr1" as System V.
Jim Blandy <jimb@redhat.com>
parents:
2007
diff
changeset
|
1059 * ) unported=true |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1060 esac |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1061 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1062 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1063 ## Whitechapel MG1 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1064 ns16k-whitechapel-* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1065 machine=mg1 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1066 ## 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
|
1067 ## 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
|
1068 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1069 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1070 ## Wicat |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1071 m68*-wicat-sysv* ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1072 machine=wicat opsys=usg5-2 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1073 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1074 |
3761
e9b348e99645
* configure.in: Move clause for PC-compatible i386 box to the end
Jim Blandy <jimb@redhat.com>
parents:
3751
diff
changeset
|
1075 ## Intel 386 machines where we don't care about the manufacturer |
8573
a93b8c18e07a
Accept i586 and i486 along with i386.
Richard M. Stallman <rms@gnu.org>
parents:
8548
diff
changeset
|
1076 i[345]86-*-* ) |
3761
e9b348e99645
* configure.in: Move clause for PC-compatible i386 box to the end
Jim Blandy <jimb@redhat.com>
parents:
3751
diff
changeset
|
1077 machine=intel386 |
4163
f8fa30d5b7fd
(canonical): New variable holds the canonicalized
Richard M. Stallman <rms@gnu.org>
parents:
4125
diff
changeset
|
1078 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
|
1079 *-isc1.* | *-isc2.[01]* ) opsys=386-ix ;; |
4607
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
1080 *-isc2.2* ) opsys=isc2-2 ;; |
6776 | 1081 *-isc4.0* ) opsys=isc4-0 ;; |
3761
e9b348e99645
* configure.in: Move clause for PC-compatible i386 box to the end
Jim Blandy <jimb@redhat.com>
parents:
3751
diff
changeset
|
1082 *-isc* ) opsys=isc3-0 ;; |
6601
fb0929970d84
(esix5): Set NON_GNU_CPP.
Richard M. Stallman <rms@gnu.org>
parents:
6259
diff
changeset
|
1083 *-esix5* ) opsys=esix5r4; NON_GNU_CPP=/usr/lib/cpp ;; |
3761
e9b348e99645
* configure.in: Move clause for PC-compatible i386 box to the end
Jim Blandy <jimb@redhat.com>
parents:
3751
diff
changeset
|
1084 *-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
|
1085 *-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
|
1086 *-linux* ) opsys=linux ;; |
8546
0dafd20c6716
(i[34]86-*-*): For SCO 3.2v4, fix NON_GNU_CPP value.
Richard M. Stallman <rms@gnu.org>
parents:
8535
diff
changeset
|
1087 *-sco3.2v4* ) opsys=sco4 ; NON_GNU_CPP=/lib/cpp ;; |
7804
781655f97fee
Accept bsdi as opsys, like bsd386.
Richard M. Stallman <rms@gnu.org>
parents:
7786
diff
changeset
|
1088 *-bsd386* | *-bsdi* ) opsys=bsd386 ;; |
4607
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
1089 *-386bsd* ) opsys=386bsd ;; |
6259 | 1090 *-freebsd* ) opsys=freebsd ;; |
5408
22536a487155
(i[34]86-*-*): Check for *-nextstop*.
Richard M. Stallman <rms@gnu.org>
parents:
5407
diff
changeset
|
1091 *-nextstep* ) opsys=mach2 ;; |
3761
e9b348e99645
* configure.in: Move clause for PC-compatible i386 box to the end
Jim Blandy <jimb@redhat.com>
parents:
3751
diff
changeset
|
1092 ## 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
|
1093 esac |
e9b348e99645
* configure.in: Move clause for PC-compatible i386 box to the end
Jim Blandy <jimb@redhat.com>
parents:
3751
diff
changeset
|
1094 ;; |
e9b348e99645
* configure.in: Move clause for PC-compatible i386 box to the end
Jim Blandy <jimb@redhat.com>
parents:
3751
diff
changeset
|
1095 |
1423
93ee9c5e7eec
Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents:
1139
diff
changeset
|
1096 * ) |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1097 unported=true |
1423
93ee9c5e7eec
Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents:
1139
diff
changeset
|
1098 ;; |
93ee9c5e7eec
Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents:
1139
diff
changeset
|
1099 esac |
603 | 1100 |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1101 ### 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
|
1102 ### 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
|
1103 ### 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
|
1104 ### 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
|
1105 ### 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
|
1106 ### above. |
3362 | 1107 if [ x"${opsys}" = x ]; then |
4163
f8fa30d5b7fd
(canonical): New variable holds the canonicalized
Richard M. Stallman <rms@gnu.org>
parents:
4125
diff
changeset
|
1108 case "${canonical}" in |
7439 | 1109 *-gnu* ) opsys=gnu ;; |
1110 *-bsd4.[01] ) opsys=bsd4-1 ;; | |
1111 *-bsd4.2 ) opsys=bsd4-2 ;; | |
1112 *-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
|
1113 *-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
|
1114 *-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
|
1115 *-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
|
1116 *-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
|
1117 *-sysv4 | *-sysvr4 ) opsys=usg5-4 ;; |
6070
8784f8ebbb6b
(*-sysv4.1): Set NON_GNU_CPP.
Richard M. Stallman <rms@gnu.org>
parents:
6034
diff
changeset
|
1118 *-sysv4.1 | *-sysvr4.1 ) |
8784f8ebbb6b
(*-sysv4.1): Set NON_GNU_CPP.
Richard M. Stallman <rms@gnu.org>
parents:
6034
diff
changeset
|
1119 NON_GNU_CPP=/usr/lib/cpp |
8784f8ebbb6b
(*-sysv4.1): Set NON_GNU_CPP.
Richard M. Stallman <rms@gnu.org>
parents:
6034
diff
changeset
|
1120 opsys=usg5-4 ;; |
3264
eff921d7bde6
Handle sysv4.2 and sysvr4.2.
Richard M. Stallman <rms@gnu.org>
parents:
3262
diff
changeset
|
1121 *-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
|
1122 * ) |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1123 unported=true |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1124 ;; |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1125 esac |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1126 fi |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1127 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1128 if $unported ; then |
4163
f8fa30d5b7fd
(canonical): New variable holds the canonicalized
Richard M. Stallman <rms@gnu.org>
parents:
4125
diff
changeset
|
1129 (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
|
1130 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
|
1131 ) >&2 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1132 exit 1 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1133 fi |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1134 |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1135 machfile="m/${machine}.h" |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1136 opsysfile="s/${opsys}.h" |
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1137 |
2624
5de08620df66
* configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents:
2516
diff
changeset
|
1138 ] |
5de08620df66
* configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents:
2516
diff
changeset
|
1139 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
|
1140 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
|
1141 [ |
2499
da67547eda51
* configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents:
2427
diff
changeset
|
1142 |
da67547eda51
* configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents:
2427
diff
changeset
|
1143 #### Choose a compiler. |
5777
c3a89c49ab5d
(Using NON_GNU_CPP): Don't lose if it has spaces.
Richard M. Stallman <rms@gnu.org>
parents:
5757
diff
changeset
|
1144 if [ "x$CC" = x ] |
6827
2fade2496b79
Conditionals testing for null $CC were backwards.
Richard M. Stallman <rms@gnu.org>
parents:
6816
diff
changeset
|
1145 then true |
2fade2496b79
Conditionals testing for null $CC were backwards.
Richard M. Stallman <rms@gnu.org>
parents:
6816
diff
changeset
|
1146 else cc_specified=1 |
5777
c3a89c49ab5d
(Using NON_GNU_CPP): Don't lose if it has spaces.
Richard M. Stallman <rms@gnu.org>
parents:
5757
diff
changeset
|
1147 fi |
c3a89c49ab5d
(Using NON_GNU_CPP): Don't lose if it has spaces.
Richard M. Stallman <rms@gnu.org>
parents:
5757
diff
changeset
|
1148 |
2499
da67547eda51
* configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents:
2427
diff
changeset
|
1149 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
|
1150 "yes" ) CC="gcc" GCC=1 ;; |
5777
c3a89c49ab5d
(Using NON_GNU_CPP): Don't lose if it has spaces.
Richard M. Stallman <rms@gnu.org>
parents:
5757
diff
changeset
|
1151 "no" ) |
c3a89c49ab5d
(Using NON_GNU_CPP): Don't lose if it has spaces.
Richard M. Stallman <rms@gnu.org>
parents:
5757
diff
changeset
|
1152 if [ "x$CC" = x ] |
6827
2fade2496b79
Conditionals testing for null $CC were backwards.
Richard M. Stallman <rms@gnu.org>
parents:
6816
diff
changeset
|
1153 then CC=cc; |
2fade2496b79
Conditionals testing for null $CC were backwards.
Richard M. Stallman <rms@gnu.org>
parents:
6816
diff
changeset
|
1154 else true; |
5777
c3a89c49ab5d
(Using NON_GNU_CPP): Don't lose if it has spaces.
Richard M. Stallman <rms@gnu.org>
parents:
5757
diff
changeset
|
1155 fi |
c3a89c49ab5d
(Using NON_GNU_CPP): Don't lose if it has spaces.
Richard M. Stallman <rms@gnu.org>
parents:
5757
diff
changeset
|
1156 ;; |
2499
da67547eda51
* configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents:
2427
diff
changeset
|
1157 * ) |
2711
2c2052ec537d
The GNU coding standards specify that CFLAGS should be left for
Jim Blandy <jimb@redhat.com>
parents:
2678
diff
changeset
|
1158 ] 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
|
1159 esac |
da67547eda51
* configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents:
2427
diff
changeset
|
1160 |
5320
ada749d7f88c
(*-sun-solaris*): Add special case for Solaris 2.3.
Richard M. Stallman <rms@gnu.org>
parents:
5093
diff
changeset
|
1161 #### Some systems specify a CPP to use unless we are using GCC. |
ada749d7f88c
(*-sun-solaris*): Add special case for Solaris 2.3.
Richard M. Stallman <rms@gnu.org>
parents:
5093
diff
changeset
|
1162 #### Now that we know whether we are using GCC, we can decide whether |
ada749d7f88c
(*-sun-solaris*): Add special case for Solaris 2.3.
Richard M. Stallman <rms@gnu.org>
parents:
5093
diff
changeset
|
1163 #### to use that one. |
7438
5e075fbbef1d
(using NON_GNU_CPP): Fix test for CPP already set.
Richard M. Stallman <rms@gnu.org>
parents:
7417
diff
changeset
|
1164 if [ "x$NON_GNU_CPP" = x ] || [ x$GCC = x1 ] || [ "x$CPP" != x ] |
5320
ada749d7f88c
(*-sun-solaris*): Add special case for Solaris 2.3.
Richard M. Stallman <rms@gnu.org>
parents:
5093
diff
changeset
|
1165 then true |
ada749d7f88c
(*-sun-solaris*): Add special case for Solaris 2.3.
Richard M. Stallman <rms@gnu.org>
parents:
5093
diff
changeset
|
1166 else |
5757
a2346a4ebfe2
(Using NON_GNU_CPP): Don't lose if it has spaces.
Richard M. Stallman <rms@gnu.org>
parents:
5748
diff
changeset
|
1167 CPP="$NON_GNU_CPP" |
5320
ada749d7f88c
(*-sun-solaris*): Add special case for Solaris 2.3.
Richard M. Stallman <rms@gnu.org>
parents:
5093
diff
changeset
|
1168 fi |
ada749d7f88c
(*-sun-solaris*): Add special case for Solaris 2.3.
Richard M. Stallman <rms@gnu.org>
parents:
5093
diff
changeset
|
1169 |
ada749d7f88c
(*-sun-solaris*): Add special case for Solaris 2.3.
Richard M. Stallman <rms@gnu.org>
parents:
5093
diff
changeset
|
1170 #### Some systems specify a CC to use unless we are using GCC. |
ada749d7f88c
(*-sun-solaris*): Add special case for Solaris 2.3.
Richard M. Stallman <rms@gnu.org>
parents:
5093
diff
changeset
|
1171 #### Now that we know whether we are using GCC, we can decide whether |
ada749d7f88c
(*-sun-solaris*): Add special case for Solaris 2.3.
Richard M. Stallman <rms@gnu.org>
parents:
5093
diff
changeset
|
1172 #### to use that one. |
5777
c3a89c49ab5d
(Using NON_GNU_CPP): Don't lose if it has spaces.
Richard M. Stallman <rms@gnu.org>
parents:
5757
diff
changeset
|
1173 if [ "x$NON_GNU_CC" = x ] || [ x$GCC = x1 ] || [ x$cc_specified = x1 ] |
5320
ada749d7f88c
(*-sun-solaris*): Add special case for Solaris 2.3.
Richard M. Stallman <rms@gnu.org>
parents:
5093
diff
changeset
|
1174 then true |
ada749d7f88c
(*-sun-solaris*): Add special case for Solaris 2.3.
Richard M. Stallman <rms@gnu.org>
parents:
5093
diff
changeset
|
1175 else |
5777
c3a89c49ab5d
(Using NON_GNU_CPP): Don't lose if it has spaces.
Richard M. Stallman <rms@gnu.org>
parents:
5757
diff
changeset
|
1176 CC="$NON_GNU_CC" |
5320
ada749d7f88c
(*-sun-solaris*): Add special case for Solaris 2.3.
Richard M. Stallman <rms@gnu.org>
parents:
5093
diff
changeset
|
1177 fi |
ada749d7f88c
(*-sun-solaris*): Add special case for Solaris 2.3.
Richard M. Stallman <rms@gnu.org>
parents:
5093
diff
changeset
|
1178 |
7622
db2138db6dab
(GCC_TEST_OPTIONS, NON_GCC_TEST_OPTIONS): New vars.
Richard M. Stallman <rms@gnu.org>
parents:
7540
diff
changeset
|
1179 if [ x$GCC = x1 ] && [ "x$GCC_TEST_OPTIONS" != x ] |
db2138db6dab
(GCC_TEST_OPTIONS, NON_GCC_TEST_OPTIONS): New vars.
Richard M. Stallman <rms@gnu.org>
parents:
7540
diff
changeset
|
1180 then |
db2138db6dab
(GCC_TEST_OPTIONS, NON_GCC_TEST_OPTIONS): New vars.
Richard M. Stallman <rms@gnu.org>
parents:
7540
diff
changeset
|
1181 CC="$CC $GCC_TEST_OPTIONS" |
db2138db6dab
(GCC_TEST_OPTIONS, NON_GCC_TEST_OPTIONS): New vars.
Richard M. Stallman <rms@gnu.org>
parents:
7540
diff
changeset
|
1182 fi |
db2138db6dab
(GCC_TEST_OPTIONS, NON_GCC_TEST_OPTIONS): New vars.
Richard M. Stallman <rms@gnu.org>
parents:
7540
diff
changeset
|
1183 |
db2138db6dab
(GCC_TEST_OPTIONS, NON_GCC_TEST_OPTIONS): New vars.
Richard M. Stallman <rms@gnu.org>
parents:
7540
diff
changeset
|
1184 if [ x$GCC = x ] && [ "x$NON_GCC_TEST_OPTIONS" != x ] |
db2138db6dab
(GCC_TEST_OPTIONS, NON_GCC_TEST_OPTIONS): New vars.
Richard M. Stallman <rms@gnu.org>
parents:
7540
diff
changeset
|
1185 then |
db2138db6dab
(GCC_TEST_OPTIONS, NON_GCC_TEST_OPTIONS): New vars.
Richard M. Stallman <rms@gnu.org>
parents:
7540
diff
changeset
|
1186 CC="$CC $NON_GCC_TEST_OPTIONS" |
db2138db6dab
(GCC_TEST_OPTIONS, NON_GCC_TEST_OPTIONS): New vars.
Richard M. Stallman <rms@gnu.org>
parents:
7540
diff
changeset
|
1187 fi |
db2138db6dab
(GCC_TEST_OPTIONS, NON_GCC_TEST_OPTIONS): New vars.
Richard M. Stallman <rms@gnu.org>
parents:
7540
diff
changeset
|
1188 |
2876
ba7f0ad9aad9
* configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents:
2812
diff
changeset
|
1189 #### 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
|
1190 #### 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
|
1191 #### #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
|
1192 ] |
2876
ba7f0ad9aad9
* configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents:
2812
diff
changeset
|
1193 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
|
1194 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
|
1195 AC_PROG_CPP |
3010
4ca5a6bd174b
* configure.in: Add support for the `--exec-prefix' option.
Jim Blandy <jimb@redhat.com>
parents:
3006
diff
changeset
|
1196 AC_PROG_INSTALL |
3582
eb75df1104eb
* configure.in: Test for bison.
Jim Blandy <jimb@redhat.com>
parents:
3575
diff
changeset
|
1197 AC_PROG_YACC |
2876
ba7f0ad9aad9
* configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents:
2812
diff
changeset
|
1198 |
ba7f0ad9aad9
* configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents:
2812
diff
changeset
|
1199 dnl checks for UNIX variants that set `DEFS' |
8877 | 1200 AC_AIX |
2876
ba7f0ad9aad9
* configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents:
2812
diff
changeset
|
1201 |
ba7f0ad9aad9
* configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents:
2812
diff
changeset
|
1202 dnl checks for header files |
8880 | 1203 AC_HAVE_HEADERS(sys/timeb.h sys/time.h unistd.h utime.h) |
2775
72277ed7609e
* configure.in: Call AC_STDC_HEADERS.
Jim Blandy <jimb@redhat.com>
parents:
2739
diff
changeset
|
1204 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
|
1205 AC_TIME_WITH_SYS_TIME |
5906 | 1206 dnl In Autoconf 1.8 use AC_SYS_SIGLIST_DECLARED instead of this. |
1207 AC_COMPILE_CHECK(sys_siglist declaration in signal.h or unistd.h, | |
1208 [#include <signal.h> | |
1209 /* NetBSD declares sys_siglist in <unistd.h>. */ | |
1210 #ifdef HAVE_UNISTD_H | |
1211 #include <unistd.h> | |
1212 #endif], [char *msg = *(sys_siglist + 1);], | |
1213 AC_DEFINE(SYS_SIGLIST_DECLARED)) | |
8880 | 1214 dnl Some systems have utime.h but don't declare the struct anyplace. |
1215 AC_COMPILE_CHECK(struct utimbuf, [#ifdef TIME_WITH_SYS_TIME | |
1216 #include <sys/time.h> | |
1217 #include <time.h> | |
1218 #else | |
1219 #ifdef HAVE_SYS_TIME_H | |
1220 #include <sys/time.h> | |
1221 #else | |
1222 #include <time.h> | |
1223 #endif | |
1224 #endif | |
1225 #ifdef HAVE_UTIME_H | |
1226 #include <utime.h> | |
1227 #endif], [static struct utimbuf x; x.actime = x.modtime;], | |
1228 AC_DEFINE(HAVE_STRUCT_UTIMBUF)) | |
2876
ba7f0ad9aad9
* configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents:
2812
diff
changeset
|
1229 |
ba7f0ad9aad9
* configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents:
2812
diff
changeset
|
1230 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
|
1231 AC_RETSIGTYPE |
8891
6f72d6c642e3
Add checks to set HAVE_TIMEVAL and HAVE_SELECT.
Karl Heuer <kwzh@gnu.org>
parents:
8880
diff
changeset
|
1232 AC_COMPILE_CHECK(struct timeval, [#ifdef TIME_WITH_SYS_TIME |
6f72d6c642e3
Add checks to set HAVE_TIMEVAL and HAVE_SELECT.
Karl Heuer <kwzh@gnu.org>
parents:
8880
diff
changeset
|
1233 #include <sys/time.h> |
6f72d6c642e3
Add checks to set HAVE_TIMEVAL and HAVE_SELECT.
Karl Heuer <kwzh@gnu.org>
parents:
8880
diff
changeset
|
1234 #include <time.h> |
6f72d6c642e3
Add checks to set HAVE_TIMEVAL and HAVE_SELECT.
Karl Heuer <kwzh@gnu.org>
parents:
8880
diff
changeset
|
1235 #else |
6f72d6c642e3
Add checks to set HAVE_TIMEVAL and HAVE_SELECT.
Karl Heuer <kwzh@gnu.org>
parents:
8880
diff
changeset
|
1236 #ifdef HAVE_SYS_TIME_H |
6f72d6c642e3
Add checks to set HAVE_TIMEVAL and HAVE_SELECT.
Karl Heuer <kwzh@gnu.org>
parents:
8880
diff
changeset
|
1237 #include <sys/time.h> |
6f72d6c642e3
Add checks to set HAVE_TIMEVAL and HAVE_SELECT.
Karl Heuer <kwzh@gnu.org>
parents:
8880
diff
changeset
|
1238 #else |
6f72d6c642e3
Add checks to set HAVE_TIMEVAL and HAVE_SELECT.
Karl Heuer <kwzh@gnu.org>
parents:
8880
diff
changeset
|
1239 #include <time.h> |
6f72d6c642e3
Add checks to set HAVE_TIMEVAL and HAVE_SELECT.
Karl Heuer <kwzh@gnu.org>
parents:
8880
diff
changeset
|
1240 #endif |
6f72d6c642e3
Add checks to set HAVE_TIMEVAL and HAVE_SELECT.
Karl Heuer <kwzh@gnu.org>
parents:
8880
diff
changeset
|
1241 #endif], [static struct timeval x; x.tv_sec = x.tv_usec;], |
6f72d6c642e3
Add checks to set HAVE_TIMEVAL and HAVE_SELECT.
Karl Heuer <kwzh@gnu.org>
parents:
8880
diff
changeset
|
1242 AC_DEFINE(HAVE_TIMEVAL)) |
2876
ba7f0ad9aad9
* configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents:
2812
diff
changeset
|
1243 |
ba7f0ad9aad9
* configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents:
2812
diff
changeset
|
1244 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
|
1245 AC_STRUCT_TM |
2919
2420d37c5335
* configure.in: Add AC_TIMEZONE.
Jim Blandy <jimb@redhat.com>
parents:
2914
diff
changeset
|
1246 AC_TIMEZONE |
2876
ba7f0ad9aad9
* configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents:
2812
diff
changeset
|
1247 |
ba7f0ad9aad9
* configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents:
2812
diff
changeset
|
1248 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
|
1249 AC_CONST |
2876
ba7f0ad9aad9
* configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents:
2812
diff
changeset
|
1250 |
6917 | 1251 dnl check for Make feature |
1252 AC_SET_MAKE | |
1253 | |
2876
ba7f0ad9aad9
* configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents:
2812
diff
changeset
|
1254 dnl checks for operating system services |
3603
2bef8320089c
* configure.in: Use AC_LONG_FILE_NAMES.
Jim Blandy <jimb@redhat.com>
parents:
3599
diff
changeset
|
1255 AC_LONG_FILE_NAMES |
2876
ba7f0ad9aad9
* configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents:
2812
diff
changeset
|
1256 |
ba7f0ad9aad9
* configure.in: Include remarks saying what order the autoconf
Jim Blandy <jimb@redhat.com>
parents:
2812
diff
changeset
|
1257 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
|
1258 [ |
da67547eda51
* configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents:
2427
diff
changeset
|
1259 |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
1260 #### Choose a window system. |
8328
40551ba18423
Make "checking..." messages' style consistent.
Richard M. Stallman <rms@gnu.org>
parents:
8324
diff
changeset
|
1261 echo "checking for specified 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
|
1262 |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1263 window_system='' |
1423
93ee9c5e7eec
Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents:
1139
diff
changeset
|
1264 case "${with_x}" in |
93ee9c5e7eec
Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents:
1139
diff
changeset
|
1265 yes ) |
93ee9c5e7eec
Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents:
1139
diff
changeset
|
1266 window_system=${window_system}x11 |
93ee9c5e7eec
Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents:
1139
diff
changeset
|
1267 ;; |
93ee9c5e7eec
Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents:
1139
diff
changeset
|
1268 no ) |
93ee9c5e7eec
Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents:
1139
diff
changeset
|
1269 window_system=${window_system}none |
93ee9c5e7eec
Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents:
1139
diff
changeset
|
1270 ;; |
1139 | 1271 esac |
6955
b44a0c16d7ad
(window_system): Obey --with-x11=no and --with-x10=no.
Richard M. Stallman <rms@gnu.org>
parents:
6929
diff
changeset
|
1272 case "${window_system}" in |
b44a0c16d7ad
(window_system): Obey --with-x11=no and --with-x10=no.
Richard M. Stallman <rms@gnu.org>
parents:
6929
diff
changeset
|
1273 .* ) |
b44a0c16d7ad
(window_system): Obey --with-x11=no and --with-x10=no.
Richard M. Stallman <rms@gnu.org>
parents:
6929
diff
changeset
|
1274 ;; |
b44a0c16d7ad
(window_system): Obey --with-x11=no and --with-x10=no.
Richard M. Stallman <rms@gnu.org>
parents:
6929
diff
changeset
|
1275 * ) |
b44a0c16d7ad
(window_system): Obey --with-x11=no and --with-x10=no.
Richard M. Stallman <rms@gnu.org>
parents:
6929
diff
changeset
|
1276 case "${with_x11}" in |
b44a0c16d7ad
(window_system): Obey --with-x11=no and --with-x10=no.
Richard M. Stallman <rms@gnu.org>
parents:
6929
diff
changeset
|
1277 yes ) |
b44a0c16d7ad
(window_system): Obey --with-x11=no and --with-x10=no.
Richard M. Stallman <rms@gnu.org>
parents:
6929
diff
changeset
|
1278 window_system=x11 |
b44a0c16d7ad
(window_system): Obey --with-x11=no and --with-x10=no.
Richard M. Stallman <rms@gnu.org>
parents:
6929
diff
changeset
|
1279 ;; |
b44a0c16d7ad
(window_system): Obey --with-x11=no and --with-x10=no.
Richard M. Stallman <rms@gnu.org>
parents:
6929
diff
changeset
|
1280 no ) |
b44a0c16d7ad
(window_system): Obey --with-x11=no and --with-x10=no.
Richard M. Stallman <rms@gnu.org>
parents:
6929
diff
changeset
|
1281 window_system=none |
b44a0c16d7ad
(window_system): Obey --with-x11=no and --with-x10=no.
Richard M. Stallman <rms@gnu.org>
parents:
6929
diff
changeset
|
1282 ;; |
b44a0c16d7ad
(window_system): Obey --with-x11=no and --with-x10=no.
Richard M. Stallman <rms@gnu.org>
parents:
6929
diff
changeset
|
1283 esac |
b44a0c16d7ad
(window_system): Obey --with-x11=no and --with-x10=no.
Richard M. Stallman <rms@gnu.org>
parents:
6929
diff
changeset
|
1284 case "${with_x10}" in |
b44a0c16d7ad
(window_system): Obey --with-x11=no and --with-x10=no.
Richard M. Stallman <rms@gnu.org>
parents:
6929
diff
changeset
|
1285 yes ) |
b44a0c16d7ad
(window_system): Obey --with-x11=no and --with-x10=no.
Richard M. Stallman <rms@gnu.org>
parents:
6929
diff
changeset
|
1286 window_system=x10 |
b44a0c16d7ad
(window_system): Obey --with-x11=no and --with-x10=no.
Richard M. Stallman <rms@gnu.org>
parents:
6929
diff
changeset
|
1287 ;; |
b44a0c16d7ad
(window_system): Obey --with-x11=no and --with-x10=no.
Richard M. Stallman <rms@gnu.org>
parents:
6929
diff
changeset
|
1288 no ) |
b44a0c16d7ad
(window_system): Obey --with-x11=no and --with-x10=no.
Richard M. Stallman <rms@gnu.org>
parents:
6929
diff
changeset
|
1289 window_system=none |
b44a0c16d7ad
(window_system): Obey --with-x11=no and --with-x10=no.
Richard M. Stallman <rms@gnu.org>
parents:
6929
diff
changeset
|
1290 ;; |
b44a0c16d7ad
(window_system): Obey --with-x11=no and --with-x10=no.
Richard M. Stallman <rms@gnu.org>
parents:
6929
diff
changeset
|
1291 esac |
1423
93ee9c5e7eec
Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents:
1139
diff
changeset
|
1292 ;; |
1139 | 1293 esac |
1294 | |
603 | 1295 case "${window_system}" in |
1296 "none" | "x11" | "x10" ) ;; | |
1297 "" ) | |
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
|
1298 # --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
|
1299 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
|
1300 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
|
1301 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
|
1302 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
|
1303 # 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
|
1304 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
|
1305 -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
|
1306 -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
|
1307 -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
|
1308 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
|
1309 fi |
617 | 1310 fi |
603 | 1311 ;; |
1312 * ) | |
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
|
1313 echo "Don't specify a window system more than once." >&2 |
603 | 1314 exit 1 |
1315 ;; | |
1316 esac | |
1317 | |
7201
417ba9b88185
(window_system): Restore accidentally deleted code that uses AC_FIND_X.
Richard M. Stallman <rms@gnu.org>
parents:
7181
diff
changeset
|
1318 case "${window_system}" in |
417ba9b88185
(window_system): Restore accidentally deleted code that uses AC_FIND_X.
Richard M. Stallman <rms@gnu.org>
parents:
7181
diff
changeset
|
1319 "" | "x11" ) |
417ba9b88185
(window_system): Restore accidentally deleted code that uses AC_FIND_X.
Richard M. Stallman <rms@gnu.org>
parents:
7181
diff
changeset
|
1320 ### If the user hasn't specified where we should find X, try |
417ba9b88185
(window_system): Restore accidentally deleted code that uses AC_FIND_X.
Richard M. Stallman <rms@gnu.org>
parents:
7181
diff
changeset
|
1321 ### letting autoconf figure that out. |
417ba9b88185
(window_system): Restore accidentally deleted code that uses AC_FIND_X.
Richard M. Stallman <rms@gnu.org>
parents:
7181
diff
changeset
|
1322 if [ -z "${x_includes}" ] && [ -z "${x_libraries}" ]; then |
417ba9b88185
(window_system): Restore accidentally deleted code that uses AC_FIND_X.
Richard M. Stallman <rms@gnu.org>
parents:
7181
diff
changeset
|
1323 ] |
417ba9b88185
(window_system): Restore accidentally deleted code that uses AC_FIND_X.
Richard M. Stallman <rms@gnu.org>
parents:
7181
diff
changeset
|
1324 AC_FIND_X |
417ba9b88185
(window_system): Restore accidentally deleted code that uses AC_FIND_X.
Richard M. Stallman <rms@gnu.org>
parents:
7181
diff
changeset
|
1325 [ |
417ba9b88185
(window_system): Restore accidentally deleted code that uses AC_FIND_X.
Richard M. Stallman <rms@gnu.org>
parents:
7181
diff
changeset
|
1326 fi |
417ba9b88185
(window_system): Restore accidentally deleted code that uses AC_FIND_X.
Richard M. Stallman <rms@gnu.org>
parents:
7181
diff
changeset
|
1327 if [ -n "${x_includes}" ] || [ -n "${x_libraries}" ]; then |
417ba9b88185
(window_system): Restore accidentally deleted code that uses AC_FIND_X.
Richard M. Stallman <rms@gnu.org>
parents:
7181
diff
changeset
|
1328 window_system=x11 |
417ba9b88185
(window_system): Restore accidentally deleted code that uses AC_FIND_X.
Richard M. Stallman <rms@gnu.org>
parents:
7181
diff
changeset
|
1329 fi |
417ba9b88185
(window_system): Restore accidentally deleted code that uses AC_FIND_X.
Richard M. Stallman <rms@gnu.org>
parents:
7181
diff
changeset
|
1330 ;; |
417ba9b88185
(window_system): Restore accidentally deleted code that uses AC_FIND_X.
Richard M. Stallman <rms@gnu.org>
parents:
7181
diff
changeset
|
1331 esac |
417ba9b88185
(window_system): Restore accidentally deleted code that uses AC_FIND_X.
Richard M. Stallman <rms@gnu.org>
parents:
7181
diff
changeset
|
1332 |
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
|
1333 [ -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
|
1334 |
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
|
1335 [ -n "${x_libraries}" ] && LD_SWITCH_X_SITE="-L${x_libraries}" |
5598
8572f378835e
Provide for variable LD_SWITCH_X_SITE_AUX. (See src/s/sol2.h.)
Richard M. Stallman <rms@gnu.org>
parents:
5584
diff
changeset
|
1336 [ -n "${x_libraries}" ] && LD_SWITCH_X_SITE_AUX="-R${x_libraries}" |
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
|
1337 [ -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
|
1338 |
9562
46e38c41b66c
(bitmapdirs): Default to /usr/include/X11/bitmaps.
Richard M. Stallman <rms@gnu.org>
parents:
9558
diff
changeset
|
1339 if [ x"${x_includes}" = x ]; then |
46e38c41b66c
(bitmapdirs): Default to /usr/include/X11/bitmaps.
Richard M. Stallman <rms@gnu.org>
parents:
9558
diff
changeset
|
1340 bitmapdir=/usr/include/X11/bitmaps; |
46e38c41b66c
(bitmapdirs): Default to /usr/include/X11/bitmaps.
Richard M. Stallman <rms@gnu.org>
parents:
9558
diff
changeset
|
1341 else |
46e38c41b66c
(bitmapdirs): Default to /usr/include/X11/bitmaps.
Richard M. Stallman <rms@gnu.org>
parents:
9558
diff
changeset
|
1342 bitmapdir="${x_includes}/bitmaps"; |
46e38c41b66c
(bitmapdirs): Default to /usr/include/X11/bitmaps.
Richard M. Stallman <rms@gnu.org>
parents:
9558
diff
changeset
|
1343 fi |
9557
0a0e77a9c472
(canonical): Substitute var into makefiles.
Richard M. Stallman <rms@gnu.org>
parents:
9456
diff
changeset
|
1344 |
4785
0bb68a723b61
Avoid forcing the search of /usr/include before fixed include files by
Brian Fox <bfox@gnu.org>
parents:
4746
diff
changeset
|
1345 # 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
|
1346 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
|
1347 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
|
1348 fi |
0bb68a723b61
Avoid forcing the search of /usr/include before fixed include files by
Brian Fox <bfox@gnu.org>
parents:
4746
diff
changeset
|
1349 |
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
|
1350 case "${window_system}" in |
603 | 1351 x11 ) |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
1352 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
|
1353 HAVE_X11=yes |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1354 echo " Using X11." |
5641
e3854e6846a0
Handle --with-x-toolkit. Produce lwlib/Makefile.
Richard M. Stallman <rms@gnu.org>
parents:
5607
diff
changeset
|
1355 case "${with_x_toolkit}" in |
5651
98f1c53b0ce6
(with_x_toolkit): Treat values athena and lucid alike.
Richard M. Stallman <rms@gnu.org>
parents:
5641
diff
changeset
|
1356 athena | lucid ) |
98f1c53b0ce6
(with_x_toolkit): Treat values athena and lucid alike.
Richard M. Stallman <rms@gnu.org>
parents:
5641
diff
changeset
|
1357 USE_X_TOOLKIT=LUCID |
5641
e3854e6846a0
Handle --with-x-toolkit. Produce lwlib/Makefile.
Richard M. Stallman <rms@gnu.org>
parents:
5607
diff
changeset
|
1358 echo " Using Xt toolkit." |
e3854e6846a0
Handle --with-x-toolkit. Produce lwlib/Makefile.
Richard M. Stallman <rms@gnu.org>
parents:
5607
diff
changeset
|
1359 ;; |
e3854e6846a0
Handle --with-x-toolkit. Produce lwlib/Makefile.
Richard M. Stallman <rms@gnu.org>
parents:
5607
diff
changeset
|
1360 motif ) |
e3854e6846a0
Handle --with-x-toolkit. Produce lwlib/Makefile.
Richard M. Stallman <rms@gnu.org>
parents:
5607
diff
changeset
|
1361 USE_X_TOOLKIT=MOTIF |
e3854e6846a0
Handle --with-x-toolkit. Produce lwlib/Makefile.
Richard M. Stallman <rms@gnu.org>
parents:
5607
diff
changeset
|
1362 echo " Using Motif toolkit." |
e3854e6846a0
Handle --with-x-toolkit. Produce lwlib/Makefile.
Richard M. Stallman <rms@gnu.org>
parents:
5607
diff
changeset
|
1363 ;; |
e3854e6846a0
Handle --with-x-toolkit. Produce lwlib/Makefile.
Richard M. Stallman <rms@gnu.org>
parents:
5607
diff
changeset
|
1364 open-look ) |
e3854e6846a0
Handle --with-x-toolkit. Produce lwlib/Makefile.
Richard M. Stallman <rms@gnu.org>
parents:
5607
diff
changeset
|
1365 USE_X_TOOLKIT=OPEN_LOOK |
e3854e6846a0
Handle --with-x-toolkit. Produce lwlib/Makefile.
Richard M. Stallman <rms@gnu.org>
parents:
5607
diff
changeset
|
1366 echo " Using Open-Look toolkit." |
e3854e6846a0
Handle --with-x-toolkit. Produce lwlib/Makefile.
Richard M. Stallman <rms@gnu.org>
parents:
5607
diff
changeset
|
1367 ;; |
e3854e6846a0
Handle --with-x-toolkit. Produce lwlib/Makefile.
Richard M. Stallman <rms@gnu.org>
parents:
5607
diff
changeset
|
1368 * ) |
6869
41479037ffec
(CFLAGS): Exclude ${CFLAGS} from singlequotes.
Richard M. Stallman <rms@gnu.org>
parents:
6849
diff
changeset
|
1369 USE_X_TOOLKIT=none |
5641
e3854e6846a0
Handle --with-x-toolkit. Produce lwlib/Makefile.
Richard M. Stallman <rms@gnu.org>
parents:
5607
diff
changeset
|
1370 echo " Using Xlib directly." |
e3854e6846a0
Handle --with-x-toolkit. Produce lwlib/Makefile.
Richard M. Stallman <rms@gnu.org>
parents:
5607
diff
changeset
|
1371 ;; |
e3854e6846a0
Handle --with-x-toolkit. Produce lwlib/Makefile.
Richard M. Stallman <rms@gnu.org>
parents:
5607
diff
changeset
|
1372 esac |
603 | 1373 ;; |
1374 x10 ) | |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
1375 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
|
1376 HAVE_X11=no |
6869
41479037ffec
(CFLAGS): Exclude ${CFLAGS} from singlequotes.
Richard M. Stallman <rms@gnu.org>
parents:
6849
diff
changeset
|
1377 USE_X_TOOLKIT=none |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1378 echo " Using X10." |
603 | 1379 ;; |
1380 none ) | |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
1381 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
|
1382 HAVE_X11=no |
6869
41479037ffec
(CFLAGS): Exclude ${CFLAGS} from singlequotes.
Richard M. Stallman <rms@gnu.org>
parents:
6849
diff
changeset
|
1383 USE_X_TOOLKIT=none |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1384 echo " Using no window system." |
603 | 1385 ;; |
1386 esac | |
5641
e3854e6846a0
Handle --with-x-toolkit. Produce lwlib/Makefile.
Richard M. Stallman <rms@gnu.org>
parents:
5607
diff
changeset
|
1387 X_TOOLKIT_TYPE=$USE_X_TOOLKIT |
603 | 1388 |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
1389 ### 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
|
1390 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
|
1391 case ${HAVE_X11} in |
1423
93ee9c5e7eec
Partially changed to use GCC-style configuration names.
Jim Blandy <jimb@redhat.com>
parents:
1139
diff
changeset
|
1392 yes ) |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
1393 HAVE_X_MENU=yes |
603 | 1394 ;; |
1395 esac | |
1396 | |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
1397 #### Extract some information from the operating system and machine files. |
621 | 1398 |
8328
40551ba18423
Make "checking..." messages' style consistent.
Richard M. Stallman <rms@gnu.org>
parents:
8324
diff
changeset
|
1399 echo "examining the machine- and system-dependent files to find out" |
617 | 1400 echo " - which libraries the lib-src programs will want, and" |
8328
40551ba18423
Make "checking..." messages' style consistent.
Richard M. Stallman <rms@gnu.org>
parents:
8324
diff
changeset
|
1401 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
|
1402 |
7965
a563319a7968
Get CFLAGS both with and without THIS_IS_CONFIGURE,
Richard M. Stallman <rms@gnu.org>
parents:
7920
diff
changeset
|
1403 ### First figure out CFLAGS (which we use for running the compiler here) |
a563319a7968
Get CFLAGS both with and without THIS_IS_CONFIGURE,
Richard M. Stallman <rms@gnu.org>
parents:
7920
diff
changeset
|
1404 ### and REAL_CFLAGS (which we use for real compilation). |
a563319a7968
Get CFLAGS both with and without THIS_IS_CONFIGURE,
Richard M. Stallman <rms@gnu.org>
parents:
7920
diff
changeset
|
1405 ### The two are the same except on a few systems, where they are made |
a563319a7968
Get CFLAGS both with and without THIS_IS_CONFIGURE,
Richard M. Stallman <rms@gnu.org>
parents:
7920
diff
changeset
|
1406 ### different to work around various lossages. For example, |
a563319a7968
Get CFLAGS both with and without THIS_IS_CONFIGURE,
Richard M. Stallman <rms@gnu.org>
parents:
7920
diff
changeset
|
1407 ### GCC 2.5 on Linux needs them to be different because it treats -g |
a563319a7968
Get CFLAGS both with and without THIS_IS_CONFIGURE,
Richard M. Stallman <rms@gnu.org>
parents:
7920
diff
changeset
|
1408 ### as implying static linking. |
a563319a7968
Get CFLAGS both with and without THIS_IS_CONFIGURE,
Richard M. Stallman <rms@gnu.org>
parents:
7920
diff
changeset
|
1409 |
8235
bc485f942c5e
(CFLAGS): If the envvar was specified, use that.
Richard M. Stallman <rms@gnu.org>
parents:
8077
diff
changeset
|
1410 ### If the CFLAGS env var is specified, we use that value |
bc485f942c5e
(CFLAGS): If the envvar was specified, use that.
Richard M. Stallman <rms@gnu.org>
parents:
8077
diff
changeset
|
1411 ### instead of the default. |
bc485f942c5e
(CFLAGS): If the envvar was specified, use that.
Richard M. Stallman <rms@gnu.org>
parents:
8077
diff
changeset
|
1412 |
2624
5de08620df66
* configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents:
2516
diff
changeset
|
1413 ### 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
|
1414 ### 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
|
1415 ### anyway. |
5de08620df66
* configure.in: Use the AC_PROG_CPP macro, and then use the CPP
Jim Blandy <jimb@redhat.com>
parents:
2516
diff
changeset
|
1416 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
|
1417 |
1687
2bee660c3046
* configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents:
1647
diff
changeset
|
1418 echo ' |
2bee660c3046
* configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents:
1647
diff
changeset
|
1419 #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
|
1420 #include "'${srcdir}'/src/'${machfile}'" |
603 | 1421 #ifndef LIBS_MACHINE |
1422 #define LIBS_MACHINE | |
1423 #endif | |
1424 #ifndef LIBS_SYSTEM | |
1425 #define LIBS_SYSTEM | |
1426 #endif | |
2361
b1c74a8a020b
Arrange for C compilation throughout the tree to get
Jim Blandy <jimb@redhat.com>
parents:
2345
diff
changeset
|
1427 #ifndef C_SWITCH_SYSTEM |
b1c74a8a020b
Arrange for C compilation throughout the tree to get
Jim Blandy <jimb@redhat.com>
parents:
2345
diff
changeset
|
1428 #define C_SWITCH_SYSTEM |
2363
64dadcfcdf68
Fix typo in source for `configure.tmp.$$.c'.
Jim Blandy <jimb@redhat.com>
parents:
2361
diff
changeset
|
1429 #endif |
5866
92d91d7479a2
Get, use, and substitute C_SWITCH_MACHINE like C_SWITCH_SYSTEM.
Richard M. Stallman <rms@gnu.org>
parents:
5778
diff
changeset
|
1430 #ifndef C_SWITCH_MACHINE |
92d91d7479a2
Get, use, and substitute C_SWITCH_MACHINE like C_SWITCH_SYSTEM.
Richard M. Stallman <rms@gnu.org>
parents:
5778
diff
changeset
|
1431 #define C_SWITCH_MACHINE |
92d91d7479a2
Get, use, and substitute C_SWITCH_MACHINE like C_SWITCH_SYSTEM.
Richard M. Stallman <rms@gnu.org>
parents:
5778
diff
changeset
|
1432 #endif |
4728
49643e1db119
In the file ${tempcname}, use configure___ instead of @configure@.
Richard M. Stallman <rms@gnu.org>
parents:
4704
diff
changeset
|
1433 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
|
1434 configure___ c_switch_system=C_SWITCH_SYSTEM |
5866
92d91d7479a2
Get, use, and substitute C_SWITCH_MACHINE like C_SWITCH_SYSTEM.
Richard M. Stallman <rms@gnu.org>
parents:
5778
diff
changeset
|
1435 configure___ c_switch_machine=C_SWITCH_MACHINE |
3196
c3470c4abe5e
* configure.in: Extract UNEXEC from the system configuration
Jim Blandy <jimb@redhat.com>
parents:
3193
diff
changeset
|
1436 |
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
|
1437 #ifndef LIB_X11_LIB |
4607
81ee2854ccb5
Check for XScreenNumberOfScreen.
Richard M. Stallman <rms@gnu.org>
parents:
4542
diff
changeset
|
1438 #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
|
1439 #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
|
1440 |
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
|
1441 #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
|
1442 #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
|
1443 #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
|
1444 |
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
|
1445 #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
|
1446 #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
|
1447 #endif |
4728
49643e1db119
In the file ${tempcname}, use configure___ instead of @configure@.
Richard M. Stallman <rms@gnu.org>
parents:
4704
diff
changeset
|
1448 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
|
1449 |
3196
c3470c4abe5e
* configure.in: Extract UNEXEC from the system configuration
Jim Blandy <jimb@redhat.com>
parents:
3193
diff
changeset
|
1450 #ifdef UNEXEC |
4728
49643e1db119
In the file ${tempcname}, use configure___ instead of @configure@.
Richard M. Stallman <rms@gnu.org>
parents:
4704
diff
changeset
|
1451 configure___ unexec=UNEXEC |
3196
c3470c4abe5e
* configure.in: Extract UNEXEC from the system configuration
Jim Blandy <jimb@redhat.com>
parents:
3193
diff
changeset
|
1452 #else |
4728
49643e1db119
In the file ${tempcname}, use configure___ instead of @configure@.
Richard M. Stallman <rms@gnu.org>
parents:
4704
diff
changeset
|
1453 configure___ unexec=unexec.o |
3196
c3470c4abe5e
* configure.in: Extract UNEXEC from the system configuration
Jim Blandy <jimb@redhat.com>
parents:
3193
diff
changeset
|
1454 #endif |
c3470c4abe5e
* configure.in: Extract UNEXEC from the system configuration
Jim Blandy <jimb@redhat.com>
parents:
3193
diff
changeset
|
1455 |
617 | 1456 #ifdef SYSTEM_MALLOC |
4728
49643e1db119
In the file ${tempcname}, use configure___ instead of @configure@.
Richard M. Stallman <rms@gnu.org>
parents:
4704
diff
changeset
|
1457 configure___ system_malloc=yes |
617 | 1458 #else |
4728
49643e1db119
In the file ${tempcname}, use configure___ instead of @configure@.
Richard M. Stallman <rms@gnu.org>
parents:
4704
diff
changeset
|
1459 configure___ system_malloc=no |
617 | 1460 #endif |
3574
b5ddfcc90902
* configure.in (CFLAGS): Don't set this according to the value of
Jim Blandy <jimb@redhat.com>
parents:
3573
diff
changeset
|
1461 |
b5ddfcc90902
* configure.in (CFLAGS): Don't set this according to the value of
Jim Blandy <jimb@redhat.com>
parents:
3573
diff
changeset
|
1462 #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
|
1463 #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
|
1464 #endif |
b5ddfcc90902
* configure.in (CFLAGS): Don't set this according to the value of
Jim Blandy <jimb@redhat.com>
parents:
3573
diff
changeset
|
1465 |
b5ddfcc90902
* configure.in (CFLAGS): Don't set this according to the value of
Jim Blandy <jimb@redhat.com>
parents:
3573
diff
changeset
|
1466 #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
|
1467 #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
|
1468 #endif |
b5ddfcc90902
* configure.in (CFLAGS): Don't set this according to the value of
Jim Blandy <jimb@redhat.com>
parents:
3573
diff
changeset
|
1469 |
7965
a563319a7968
Get CFLAGS both with and without THIS_IS_CONFIGURE,
Richard M. Stallman <rms@gnu.org>
parents:
7920
diff
changeset
|
1470 #ifdef THIS_IS_CONFIGURE |
a563319a7968
Get CFLAGS both with and without THIS_IS_CONFIGURE,
Richard M. Stallman <rms@gnu.org>
parents:
7920
diff
changeset
|
1471 |
a563319a7968
Get CFLAGS both with and without THIS_IS_CONFIGURE,
Richard M. Stallman <rms@gnu.org>
parents:
7920
diff
changeset
|
1472 /* Get the CFLAGS for tests in configure. */ |
3574
b5ddfcc90902
* configure.in (CFLAGS): Don't set this according to the value of
Jim Blandy <jimb@redhat.com>
parents:
3573
diff
changeset
|
1473 #ifdef __GNUC__ |
6849
e0b9e757376c
(CFLAGS): Exclude ${CFLAGS} from singlequotes.
Richard M. Stallman <rms@gnu.org>
parents:
6848
diff
changeset
|
1474 configure___ CFLAGS=C_DEBUG_SWITCH C_OPTIMIZE_SWITCH '${CFLAGS}' |
3574
b5ddfcc90902
* configure.in (CFLAGS): Don't set this according to the value of
Jim Blandy <jimb@redhat.com>
parents:
3573
diff
changeset
|
1475 #else |
6849
e0b9e757376c
(CFLAGS): Exclude ${CFLAGS} from singlequotes.
Richard M. Stallman <rms@gnu.org>
parents:
6848
diff
changeset
|
1476 configure___ CFLAGS=C_DEBUG_SWITCH '${CFLAGS}' |
3574
b5ddfcc90902
* configure.in (CFLAGS): Don't set this according to the value of
Jim Blandy <jimb@redhat.com>
parents:
3573
diff
changeset
|
1477 #endif |
7965
a563319a7968
Get CFLAGS both with and without THIS_IS_CONFIGURE,
Richard M. Stallman <rms@gnu.org>
parents:
7920
diff
changeset
|
1478 |
a563319a7968
Get CFLAGS both with and without THIS_IS_CONFIGURE,
Richard M. Stallman <rms@gnu.org>
parents:
7920
diff
changeset
|
1479 #else /* not THIS_IS_CONFIGURE */ |
a563319a7968
Get CFLAGS both with and without THIS_IS_CONFIGURE,
Richard M. Stallman <rms@gnu.org>
parents:
7920
diff
changeset
|
1480 |
a563319a7968
Get CFLAGS both with and without THIS_IS_CONFIGURE,
Richard M. Stallman <rms@gnu.org>
parents:
7920
diff
changeset
|
1481 /* Get the CFLAGS for real compilation. */ |
a563319a7968
Get CFLAGS both with and without THIS_IS_CONFIGURE,
Richard M. Stallman <rms@gnu.org>
parents:
7920
diff
changeset
|
1482 #ifdef __GNUC__ |
a563319a7968
Get CFLAGS both with and without THIS_IS_CONFIGURE,
Richard M. Stallman <rms@gnu.org>
parents:
7920
diff
changeset
|
1483 configure___ REAL_CFLAGS=C_DEBUG_SWITCH C_OPTIMIZE_SWITCH '${CFLAGS}' |
a563319a7968
Get CFLAGS both with and without THIS_IS_CONFIGURE,
Richard M. Stallman <rms@gnu.org>
parents:
7920
diff
changeset
|
1484 #else |
a563319a7968
Get CFLAGS both with and without THIS_IS_CONFIGURE,
Richard M. Stallman <rms@gnu.org>
parents:
7920
diff
changeset
|
1485 configure___ REAL_CFLAGS=C_DEBUG_SWITCH '${CFLAGS}' |
a563319a7968
Get CFLAGS both with and without THIS_IS_CONFIGURE,
Richard M. Stallman <rms@gnu.org>
parents:
7920
diff
changeset
|
1486 #endif |
a563319a7968
Get CFLAGS both with and without THIS_IS_CONFIGURE,
Richard M. Stallman <rms@gnu.org>
parents:
7920
diff
changeset
|
1487 |
a563319a7968
Get CFLAGS both with and without THIS_IS_CONFIGURE,
Richard M. Stallman <rms@gnu.org>
parents:
7920
diff
changeset
|
1488 #endif /* not THIS_IS_CONFIGURE */ |
617 | 1489 ' > ${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
|
1490 # 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
|
1491 # 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
|
1492 CPP=`eval "echo $CPP"` |
8548
46da92c1706c
Do compute unexec, LIBX, system_malloc, etc
Richard M. Stallman <rms@gnu.org>
parents:
8546
diff
changeset
|
1493 eval `${CPP} -Isrc ${tempcname} \ |
46da92c1706c
Do compute unexec, LIBX, system_malloc, etc
Richard M. Stallman <rms@gnu.org>
parents:
8546
diff
changeset
|
1494 | grep 'configure___' \ |
46da92c1706c
Do compute unexec, LIBX, system_malloc, etc
Richard M. Stallman <rms@gnu.org>
parents:
8546
diff
changeset
|
1495 | sed -e 's/^configure___ \([^=]*=\)\(.*\)$/\1"\2"/'` |
8235
bc485f942c5e
(CFLAGS): If the envvar was specified, use that.
Richard M. Stallman <rms@gnu.org>
parents:
8077
diff
changeset
|
1496 if [ "x$CFLAGS" = x ]; then |
bc485f942c5e
(CFLAGS): If the envvar was specified, use that.
Richard M. Stallman <rms@gnu.org>
parents:
8077
diff
changeset
|
1497 eval `${CPP} -Isrc -DTHIS_IS_CONFIGURE ${tempcname} \ |
bc485f942c5e
(CFLAGS): If the envvar was specified, use that.
Richard M. Stallman <rms@gnu.org>
parents:
8077
diff
changeset
|
1498 | grep 'configure___' \ |
bc485f942c5e
(CFLAGS): If the envvar was specified, use that.
Richard M. Stallman <rms@gnu.org>
parents:
8077
diff
changeset
|
1499 | sed -e 's/^configure___ \([^=]*=\)\(.*\)$/\1"\2"/'` |
bc485f942c5e
(CFLAGS): If the envvar was specified, use that.
Richard M. Stallman <rms@gnu.org>
parents:
8077
diff
changeset
|
1500 else |
bc485f942c5e
(CFLAGS): If the envvar was specified, use that.
Richard M. Stallman <rms@gnu.org>
parents:
8077
diff
changeset
|
1501 REAL_CFLAGS="$CFLAGS" |
bc485f942c5e
(CFLAGS): If the envvar was specified, use that.
Richard M. Stallman <rms@gnu.org>
parents:
8077
diff
changeset
|
1502 fi |
617 | 1503 rm ${tempcname} |
1504 | |
3196
c3470c4abe5e
* configure.in: Extract UNEXEC from the system configuration
Jim Blandy <jimb@redhat.com>
parents:
3193
diff
changeset
|
1505 ### 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
|
1506 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
|
1507 |
617 | 1508 # 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
|
1509 # 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
|
1510 GNU_MALLOC=yes |
617 | 1511 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
|
1512 GNU_MALLOC=no |
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
1513 GNU_MALLOC_reason=" |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1514 (The GNU allocators don't work with this system configuration.)" |
617 | 1515 fi |
1516 | |
3362 | 1517 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
|
1518 REL_ALLOC=${GNU_MALLOC} |
617 | 1519 fi |
603 | 1520 |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
1521 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
|
1522 |
1687
2bee660c3046
* configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents:
1647
diff
changeset
|
1523 |
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
|
1524 #### 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
|
1525 |
3751
72997ec201f2
* configure.in (version): Check the X libraries for XrmSetDatabase
Jim Blandy <jimb@redhat.com>
parents:
3635
diff
changeset
|
1526 ] |
5866
92d91d7479a2
Get, use, and substitute C_SWITCH_MACHINE like C_SWITCH_SYSTEM.
Richard M. Stallman <rms@gnu.org>
parents:
5778
diff
changeset
|
1527 DEFS="$c_switch_system $c_switch_machine $DEFS" |
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
|
1528 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
|
1529 |
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
|
1530 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
|
1531 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
|
1532 AC_HAVE_LIBRARY(-ldnet) |
7181
459c47388834
Fix syntax in previous change.
Richard M. Stallman <rms@gnu.org>
parents:
7180
diff
changeset
|
1533 dnl This causes -lresolv to get used in subsequent tests, |
459c47388834
Fix syntax in previous change.
Richard M. Stallman <rms@gnu.org>
parents:
7180
diff
changeset
|
1534 dnl which causes failures on some systems such as HPUX 9. |
459c47388834
Fix syntax in previous change.
Richard M. Stallman <rms@gnu.org>
parents:
7180
diff
changeset
|
1535 dnl AC_HAVE_LIBRARY(-lresolv) |
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
|
1536 |
4695
32220a85d53b
Remove check for $srcdir being configured. This pretty much works now.
Roland McGrath <roland@gnu.org>
parents:
4615
diff
changeset
|
1537 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
|
1538 |
32220a85d53b
Remove check for $srcdir being configured. This pretty much works now.
Roland McGrath <roland@gnu.org>
parents:
4615
diff
changeset
|
1539 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
|
1540 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
|
1541 HAVE_XFREE386=yes |
32220a85d53b
Remove check for $srcdir being configured. This pretty much works now.
Roland McGrath <roland@gnu.org>
parents:
4615
diff
changeset
|
1542 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
|
1543 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
|
1544 |
7522
3049e726a161
[HAVE_X11]: Merge $C_SWITCH_X_SITE into CFLAGS
Richard M. Stallman <rms@gnu.org>
parents:
7503
diff
changeset
|
1545 # We change CFLAGS temporarily so that C_SWITCH_X_SITE gets used |
3049e726a161
[HAVE_X11]: Merge $C_SWITCH_X_SITE into CFLAGS
Richard M. Stallman <rms@gnu.org>
parents:
7503
diff
changeset
|
1546 # for the tests that follow. |
3049e726a161
[HAVE_X11]: Merge $C_SWITCH_X_SITE into CFLAGS
Richard M. Stallman <rms@gnu.org>
parents:
7503
diff
changeset
|
1547 |
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
|
1548 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
|
1549 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
|
1550 LIBS="$LD_SWITCH_X_SITE $LIBX $LIBS" |
7522
3049e726a161
[HAVE_X11]: Merge $C_SWITCH_X_SITE into CFLAGS
Richard M. Stallman <rms@gnu.org>
parents:
7503
diff
changeset
|
1551 CFLAGS="$C_SWITCH_X_SITE $CFLAGS" |
6251 | 1552 AC_HAVE_FUNCS(XrmSetDatabase XScreenResourceString \ |
1553 XScreenNumberOfScreen XSetWMProtocols) | |
3751
72997ec201f2
* configure.in (version): Check the X libraries for XrmSetDatabase
Jim Blandy <jimb@redhat.com>
parents:
3635
diff
changeset
|
1554 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
|
1555 |
7490
e1d50e2d4cc6
(HAVE_X11XTR6): Arrange to define it.
Richard M. Stallman <rms@gnu.org>
parents:
7468
diff
changeset
|
1556 if test "${USE_X_TOOLKIT}" != "none"; then |
e1d50e2d4cc6
(HAVE_X11XTR6): Arrange to define it.
Richard M. Stallman <rms@gnu.org>
parents:
7468
diff
changeset
|
1557 AC_COMPILE_CHECK(X11 toolkit version, |
e1d50e2d4cc6
(HAVE_X11XTR6): Arrange to define it.
Richard M. Stallman <rms@gnu.org>
parents:
7468
diff
changeset
|
1558 [#include <X11/Intrinsic.h>], |
7503
166f360f788e
(HAVE_X11XTR6): Add newline before #if.
Richard M. Stallman <rms@gnu.org>
parents:
7490
diff
changeset
|
1559 [ |
166f360f788e
(HAVE_X11XTR6): Add newline before #if.
Richard M. Stallman <rms@gnu.org>
parents:
7490
diff
changeset
|
1560 #if XtSpecificationRelease < 6 |
7490
e1d50e2d4cc6
(HAVE_X11XTR6): Arrange to define it.
Richard M. Stallman <rms@gnu.org>
parents:
7468
diff
changeset
|
1561 fail; |
7522
3049e726a161
[HAVE_X11]: Merge $C_SWITCH_X_SITE into CFLAGS
Richard M. Stallman <rms@gnu.org>
parents:
7503
diff
changeset
|
1562 #endif |
3049e726a161
[HAVE_X11]: Merge $C_SWITCH_X_SITE into CFLAGS
Richard M. Stallman <rms@gnu.org>
parents:
7503
diff
changeset
|
1563 ], |
7490
e1d50e2d4cc6
(HAVE_X11XTR6): Arrange to define it.
Richard M. Stallman <rms@gnu.org>
parents:
7468
diff
changeset
|
1564 AC_DEFINE(HAVE_X11XTR6)) |
e1d50e2d4cc6
(HAVE_X11XTR6): Arrange to define it.
Richard M. Stallman <rms@gnu.org>
parents:
7468
diff
changeset
|
1565 fi |
e1d50e2d4cc6
(HAVE_X11XTR6): Arrange to define it.
Richard M. Stallman <rms@gnu.org>
parents:
7468
diff
changeset
|
1566 |
8328
40551ba18423
Make "checking..." messages' style consistent.
Richard M. Stallman <rms@gnu.org>
parents:
8324
diff
changeset
|
1567 # If netdb.h doesn't declare h_errno, we must declare it by hand. |
40551ba18423
Make "checking..." messages' style consistent.
Richard M. Stallman <rms@gnu.org>
parents:
8324
diff
changeset
|
1568 AC_COMPILE_CHECK(declaration of h_errno in netdb.h, |
40551ba18423
Make "checking..." messages' style consistent.
Richard M. Stallman <rms@gnu.org>
parents:
8324
diff
changeset
|
1569 [#include <netdb.h>], |
40551ba18423
Make "checking..." messages' style consistent.
Richard M. Stallman <rms@gnu.org>
parents:
8324
diff
changeset
|
1570 [ |
40551ba18423
Make "checking..." messages' style consistent.
Richard M. Stallman <rms@gnu.org>
parents:
8324
diff
changeset
|
1571 int |
40551ba18423
Make "checking..." messages' style consistent.
Richard M. Stallman <rms@gnu.org>
parents:
8324
diff
changeset
|
1572 foo () |
40551ba18423
Make "checking..." messages' style consistent.
Richard M. Stallman <rms@gnu.org>
parents:
8324
diff
changeset
|
1573 { |
40551ba18423
Make "checking..." messages' style consistent.
Richard M. Stallman <rms@gnu.org>
parents:
8324
diff
changeset
|
1574 return h_errno; |
40551ba18423
Make "checking..." messages' style consistent.
Richard M. Stallman <rms@gnu.org>
parents:
8324
diff
changeset
|
1575 } |
40551ba18423
Make "checking..." messages' style consistent.
Richard M. Stallman <rms@gnu.org>
parents:
8324
diff
changeset
|
1576 ], |
40551ba18423
Make "checking..." messages' style consistent.
Richard M. Stallman <rms@gnu.org>
parents:
8324
diff
changeset
|
1577 AC_DEFINE(HAVE_H_ERRNO)) |
40551ba18423
Make "checking..." messages' style consistent.
Richard M. Stallman <rms@gnu.org>
parents:
8324
diff
changeset
|
1578 |
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
|
1579 AC_ALLOCA |
4536
24b5dca58fbe
Check for -lm. Then can check for frexp and logb.
Roland McGrath <roland@gnu.org>
parents:
4461
diff
changeset
|
1580 |
24b5dca58fbe
Check for -lm. Then can check for frexp and logb.
Roland McGrath <roland@gnu.org>
parents:
4461
diff
changeset
|
1581 # 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
|
1582 AC_HAVE_LIBRARY(-lm) |
5519 | 1583 AC_HAVE_FUNCS(gettimeofday gethostname dup2 rename closedir mkdir rmdir \ |
8700
c9b81faf1b2a
Check for lrand48, not rand48.
Richard M. Stallman <rms@gnu.org>
parents:
8693
diff
changeset
|
1584 random lrand48 bcopy bcmp logb frexp fmod drem ftime res_init setsid \ |
9719 | 1585 strerror fpathconf select mktime eaccess getpagesize) |
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
|
1586 |
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
|
1587 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
|
1588 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
|
1589 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
|
1590 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
|
1591 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
|
1592 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
|
1593 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
|
1594 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
|
1595 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
|
1596 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
|
1597 fi |
7522
3049e726a161
[HAVE_X11]: Merge $C_SWITCH_X_SITE into CFLAGS
Richard M. Stallman <rms@gnu.org>
parents:
7503
diff
changeset
|
1598 |
7965
a563319a7968
Get CFLAGS both with and without THIS_IS_CONFIGURE,
Richard M. Stallman <rms@gnu.org>
parents:
7920
diff
changeset
|
1599 # Set up the CFLAGS for real compilation, so we can substitute it. |
a563319a7968
Get CFLAGS both with and without THIS_IS_CONFIGURE,
Richard M. Stallman <rms@gnu.org>
parents:
7920
diff
changeset
|
1600 CFLAGS="$REAL_CFLAGS" |
7522
3049e726a161
[HAVE_X11]: Merge $C_SWITCH_X_SITE into CFLAGS
Richard M. Stallman <rms@gnu.org>
parents:
7503
diff
changeset
|
1601 |
3751
72997ec201f2
* configure.in (version): Check the X libraries for XrmSetDatabase
Jim Blandy <jimb@redhat.com>
parents:
3635
diff
changeset
|
1602 [ |
1687
2bee660c3046
* configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents:
1647
diff
changeset
|
1603 #### 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
|
1604 version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \ |
7046 | 1605 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` |
3362 | 1606 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
|
1607 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
|
1608 \`${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
|
1609 exit 1 |
2bee660c3046
* configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents:
1647
diff
changeset
|
1610 fi |
2bee660c3046
* configure: Don't make the top-level Makefile read-only - people
Jim Blandy <jimb@redhat.com>
parents:
1647
diff
changeset
|
1611 |
4370
605e06926c35
* configure.in: Test for the presence of/usr/lpp/X11/bin/smt.exp,
Jim Blandy <jimb@redhat.com>
parents:
4368
diff
changeset
|
1612 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
|
1613 ] |
605e06926c35
* configure.in: Test for the presence of/usr/lpp/X11/bin/smt.exp,
Jim Blandy <jimb@redhat.com>
parents:
4368
diff
changeset
|
1614 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
|
1615 [ |
605e06926c35
* configure.in: Test for the presence of/usr/lpp/X11/bin/smt.exp,
Jim Blandy <jimb@redhat.com>
parents:
4368
diff
changeset
|
1616 fi |
605e06926c35
* configure.in: Test for the presence of/usr/lpp/X11/bin/smt.exp,
Jim Blandy <jimb@redhat.com>
parents:
4368
diff
changeset
|
1617 |
2711
2c2052ec537d
The GNU coding standards specify that CFLAGS should be left for
Jim Blandy <jimb@redhat.com>
parents:
2678
diff
changeset
|
1618 #### 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
|
1619 ### 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
|
1620 ] |
da67547eda51
* configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents:
2427
diff
changeset
|
1621 AC_SUBST(version) |
7139
50698dde1c8e
Restore deleted AC_SUBST of `configuration'.
Richard M. Stallman <rms@gnu.org>
parents:
7126
diff
changeset
|
1622 AC_SUBST(configuration) |
9557
0a0e77a9c472
(canonical): Substitute var into makefiles.
Richard M. Stallman <rms@gnu.org>
parents:
9456
diff
changeset
|
1623 AC_SUBST(canonical) |
2499
da67547eda51
* configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents:
2427
diff
changeset
|
1624 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
|
1625 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
|
1626 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
|
1627 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
|
1628 AC_SUBST(datadir) |
9456
5c972afd73c4
(libexecdir): Renamed from libdir. New default.
Richard M. Stallman <rms@gnu.org>
parents:
9373
diff
changeset
|
1629 AC_SUBST(sharedstatedir) |
5c972afd73c4
(libexecdir): Renamed from libdir. New default.
Richard M. Stallman <rms@gnu.org>
parents:
9373
diff
changeset
|
1630 AC_SUBST(libexecdir) |
4792
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1631 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
|
1632 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
|
1633 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
|
1634 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
|
1635 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
|
1636 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
|
1637 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
|
1638 AC_SUBST(archlibdir) |
6034
5d1524e58d71
New variable docdir to control where the docstring file goes.
Karl Heuer <kwzh@gnu.org>
parents:
6028
diff
changeset
|
1639 AC_SUBST(docdir) |
9557
0a0e77a9c472
(canonical): Substitute var into makefiles.
Richard M. Stallman <rms@gnu.org>
parents:
9456
diff
changeset
|
1640 AC_SUBST(bitmapdir) |
2499
da67547eda51
* configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents:
2427
diff
changeset
|
1641 AC_SUBST(c_switch_system) |
5866
92d91d7479a2
Get, use, and substitute C_SWITCH_MACHINE like C_SWITCH_SYSTEM.
Richard M. Stallman <rms@gnu.org>
parents:
5778
diff
changeset
|
1642 AC_SUBST(c_switch_machine) |
2499
da67547eda51
* configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents:
2427
diff
changeset
|
1643 AC_SUBST(LD_SWITCH_X_SITE) |
5598
8572f378835e
Provide for variable LD_SWITCH_X_SITE_AUX. (See src/s/sol2.h.)
Richard M. Stallman <rms@gnu.org>
parents:
5584
diff
changeset
|
1644 AC_SUBST(LD_SWITCH_X_SITE_AUX) |
2499
da67547eda51
* configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents:
2427
diff
changeset
|
1645 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
|
1646 AC_SUBST(CFLAGS) |
5641
e3854e6846a0
Handle --with-x-toolkit. Produce lwlib/Makefile.
Richard M. Stallman <rms@gnu.org>
parents:
5607
diff
changeset
|
1647 AC_SUBST(X_TOOLKIT_TYPE) |
7046 | 1648 AC_SUBST(machfile) |
1649 AC_SUBST(opsysfile) | |
2711
2c2052ec537d
The GNU coding standards specify that CFLAGS should be left for
Jim Blandy <jimb@redhat.com>
parents:
2678
diff
changeset
|
1650 |
9558
e8a836f7337d
(EMACS_CONFIGURATION): Use $canonical as value.
Richard M. Stallman <rms@gnu.org>
parents:
9557
diff
changeset
|
1651 AC_DEFINE_UNQUOTED(EMACS_CONFIGURATION, "\"${canonical}\"") |
8844
831af7d0a0f6
(config_options): New shell variable.
Karl Heuer <kwzh@gnu.org>
parents:
8813
diff
changeset
|
1652 AC_DEFINE_UNQUOTED(EMACS_CONFIG_OPTIONS, "\"${config_options}\"") |
2938
0d26c3d15c1b
* configure.in: Remove the hack of AC_DEFINE; use
Jim Blandy <jimb@redhat.com>
parents:
2919
diff
changeset
|
1653 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
|
1654 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
|
1655 AC_DEFINE_UNQUOTED(LD_SWITCH_X_SITE, ${LD_SWITCH_X_SITE}) |
5923
ee06aa87f729
Fix misspelled symbol LD_SWITCH_X_SITE_AUX.
Karl Heuer <kwzh@gnu.org>
parents:
5906
diff
changeset
|
1656 AC_DEFINE_UNQUOTED(LD_SWITCH_X_SITE_AUX, ${LD_SWITCH_X_SITE_AUX}) |
2938
0d26c3d15c1b
* configure.in: Remove the hack of AC_DEFINE; use
Jim Blandy <jimb@redhat.com>
parents:
2919
diff
changeset
|
1657 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
|
1658 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
|
1659 |
2499
da67547eda51
* configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents:
2427
diff
changeset
|
1660 [ |
da67547eda51
* configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents:
2427
diff
changeset
|
1661 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
|
1662 ] 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
|
1663 fi |
6869
41479037ffec
(CFLAGS): Exclude ${CFLAGS} from singlequotes.
Richard M. Stallman <rms@gnu.org>
parents:
6849
diff
changeset
|
1664 if [ "${USE_X_TOOLKIT}" != "none" ] ; then |
5641
e3854e6846a0
Handle --with-x-toolkit. Produce lwlib/Makefile.
Richard M. Stallman <rms@gnu.org>
parents:
5607
diff
changeset
|
1665 ] AC_DEFINE(USE_X_TOOLKIT) [ |
e3854e6846a0
Handle --with-x-toolkit. Produce lwlib/Makefile.
Richard M. Stallman <rms@gnu.org>
parents:
5607
diff
changeset
|
1666 fi |
2499
da67547eda51
* configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents:
2427
diff
changeset
|
1667 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
|
1668 ] 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
|
1669 fi |
da67547eda51
* configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents:
2427
diff
changeset
|
1670 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
|
1671 ] 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
|
1672 fi |
da67547eda51
* configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents:
2427
diff
changeset
|
1673 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
|
1674 ] 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
|
1675 fi |
da67547eda51
* configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents:
2427
diff
changeset
|
1676 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
|
1677 ] 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
|
1678 fi |
da67547eda51
* configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents:
2427
diff
changeset
|
1679 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
|
1680 ] 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
|
1681 fi |
da67547eda51
* configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents:
2427
diff
changeset
|
1682 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
|
1683 ] 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
|
1684 fi |
603 | 1685 |
4792
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1686 # ====================== 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
|
1687 |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1688 # 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
|
1689 # 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
|
1690 # 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
|
1691 # 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
|
1692 # 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
|
1693 |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1694 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
|
1695 lispdir='${srcdir}/lisp' |
5080
09f37e86d7da
(version): When --run-in-place, exclude
Richard M. Stallman <rms@gnu.org>
parents:
5061
diff
changeset
|
1696 locallisppath='${srcdir}/site-lisp' |
4792
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1697 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
|
1698 lockdir='${srcdir}/lock' |
7389
b0bb6f6dd7fe
(run_in_place): Don't use pwd for archlibdir and docdir.
Richard M. Stallman <rms@gnu.org>
parents:
7330
diff
changeset
|
1699 # We used to make archlibdir and docdir absolute, |
b0bb6f6dd7fe
(run_in_place): Don't use pwd for archlibdir and docdir.
Richard M. Stallman <rms@gnu.org>
parents:
7330
diff
changeset
|
1700 # but that caused trouble with automounters. |
b0bb6f6dd7fe
(run_in_place): Don't use pwd for archlibdir and docdir.
Richard M. Stallman <rms@gnu.org>
parents:
7330
diff
changeset
|
1701 archlibdir='${srcdir}/lib-src' |
b0bb6f6dd7fe
(run_in_place): Don't use pwd for archlibdir and docdir.
Richard M. Stallman <rms@gnu.org>
parents:
7330
diff
changeset
|
1702 docdir='${srcdir}/etc' |
4792
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1703 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
|
1704 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
|
1705 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
|
1706 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
|
1707 fi |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1708 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
|
1709 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
|
1710 fi |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1711 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
|
1712 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
|
1713 fi |
9456
5c972afd73c4
(libexecdir): Renamed from libdir. New default.
Richard M. Stallman <rms@gnu.org>
parents:
9373
diff
changeset
|
1714 if [ "$sharedstatedir_specified" = "" ]; then |
5c972afd73c4
(libexecdir): Renamed from libdir. New default.
Richard M. Stallman <rms@gnu.org>
parents:
9373
diff
changeset
|
1715 sharedstatedir='${prefix}/common' |
4792
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1716 fi |
9456
5c972afd73c4
(libexecdir): Renamed from libdir. New default.
Richard M. Stallman <rms@gnu.org>
parents:
9373
diff
changeset
|
1717 if [ "$libexecdir_specified" = "" ]; then |
5c972afd73c4
(libexecdir): Renamed from libdir. New default.
Richard M. Stallman <rms@gnu.org>
parents:
9373
diff
changeset
|
1718 libexecdir='${bindir}' |
4792
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1719 fi |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1720 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
|
1721 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
|
1722 fi |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1723 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
|
1724 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
|
1725 fi |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1726 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
|
1727 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
|
1728 fi |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1729 if [ "$archlibdir_specified" = "" ]; then |
9456
5c972afd73c4
(libexecdir): Renamed from libdir. New default.
Richard M. Stallman <rms@gnu.org>
parents:
9373
diff
changeset
|
1730 archlibdir='${libexecdir}/etc' |
4792
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1731 fi |
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1732 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
|
1733 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
|
1734 fi |
6034
5d1524e58d71
New variable docdir to control where the docstring file goes.
Karl Heuer <kwzh@gnu.org>
parents:
6028
diff
changeset
|
1735 if [ "$docdir_specified" = "" ]; then |
5d1524e58d71
New variable docdir to control where the docstring file goes.
Karl Heuer <kwzh@gnu.org>
parents:
6028
diff
changeset
|
1736 docdir='${prefix}/common/data' |
5d1524e58d71
New variable docdir to control where the docstring file goes.
Karl Heuer <kwzh@gnu.org>
parents:
6028
diff
changeset
|
1737 fi |
4792
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1738 fi |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
1739 |
2499
da67547eda51
* configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents:
2427
diff
changeset
|
1740 #### 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
|
1741 echo " |
1647
bd3afc204773
Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents:
1629
diff
changeset
|
1742 |
4163
f8fa30d5b7fd
(canonical): New variable holds the canonicalized
Richard M. Stallman <rms@gnu.org>
parents:
4125
diff
changeset
|
1743 Configured for \`${canonical}'. |
1629
b57feef74718
* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy <jimb@redhat.com>
parents:
1559
diff
changeset
|
1744 |
3200
add7f1e21bee
* configure.in: If srcdir is '.', then try using PWD to make it
Jim Blandy <jimb@redhat.com>
parents:
3196
diff
changeset
|
1745 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
|
1746 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
|
1747 \`${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
|
1748 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
|
1749 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
|
1750 Should Emacs use the relocating allocator for buffers? ${REL_ALLOC} |
6869
41479037ffec
(CFLAGS): Exclude ${CFLAGS} from singlequotes.
Richard M. Stallman <rms@gnu.org>
parents:
6849
diff
changeset
|
1751 What window system should Emacs use? ${window_system} |
41479037ffec
(CFLAGS): Exclude ${CFLAGS} from singlequotes.
Richard M. Stallman <rms@gnu.org>
parents:
6849
diff
changeset
|
1752 What toolkit should Emacs use? ${USE_X_TOOLKIT}${x_includes+ |
2329
b8028b77b69a
* configure: Add `--x-includes' and `--x-libraries' options. I
Jim Blandy <jimb@redhat.com>
parents:
2244
diff
changeset
|
1753 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
|
1754 Where do we find X Windows libraries? }${x_libraries} |
605 | 1755 |
2499
da67547eda51
* configure.in: When checking for X windows, search for an X11
Jim Blandy <jimb@redhat.com>
parents:
2427
diff
changeset
|
1756 " |
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
|
1757 |
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
|
1758 # 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
|
1759 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
|
1760 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
|
1761 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
|
1762 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
|
1763 ] |
6916
b8a9395c1b3f
(lib-src/Makefile.in): Make this from Makefile.in.in
Richard M. Stallman <rms@gnu.org>
parents:
6869
diff
changeset
|
1764 AC_OUTPUT(Makefile lib-src/Makefile.in oldXMenu/Makefile lwlib/Makefile src/Makefile.in, [ |
6845
e1420213cfdb
(window_system): If no X, set USE_X_TOOLKIT=no.
Richard M. Stallman <rms@gnu.org>
parents:
6832
diff
changeset
|
1765 |
4792
c6f0e1fb834e
Allow any of the path or directory Makefile variables to be set with
Brian Fox <bfox@gnu.org>
parents:
4785
diff
changeset
|
1766 # Build src/Makefile from ${srcdir}/src/Makefile.in. This must be done |
5531
c4f36c5ece61
(creating src/Makefile): Put code inside 2nd arg to AC_OUTPUT as it should
Roland McGrath <roland@gnu.org>
parents:
5526
diff
changeset
|
1767 # after src/config.h is built, since we rely on that file. |
c4f36c5ece61
(creating src/Makefile): Put code inside 2nd arg to AC_OUTPUT as it should
Roland McGrath <roland@gnu.org>
parents:
5526
diff
changeset
|
1768 |
c4f36c5ece61
(creating src/Makefile): Put code inside 2nd arg to AC_OUTPUT as it should
Roland McGrath <roland@gnu.org>
parents:
5526
diff
changeset
|
1769 changequote(,)dnl The horror, the horror. |
5906 | 1770 # Now get this: Some word that is part of the ${srcdir} directory name |
1771 # or the ${configuration} value might, just might, happen to be an | |
1772 # identifier like `sun4' or `i386' or something, and be predefined by | |
1773 # the C preprocessor to some helpful value like 1, or maybe the empty | |
1774 # string. Needless to say consequent macro substitutions are less | |
1775 # than conducive to the makefile finding the correct directory. | |
7330
e66a72c5f8d3
(making src/Makefile and lib-src/Makefile):
Richard M. Stallman <rms@gnu.org>
parents:
7314
diff
changeset
|
1776 undefs="`echo $top_srcdir $configuration $canonical | |
6957
22e3af0deae4
(src/Makefile, lib-src/Makefile): Delete ^L. Fix definition of $undefs.
Karl Heuer <kwzh@gnu.org>
parents:
6955
diff
changeset
|
1777 sed -e 's/[^a-zA-Z0-9_]/ /g' -e 's/^/ /' -e 's/ *$//' \ |
22e3af0deae4
(src/Makefile, lib-src/Makefile): Delete ^L. Fix definition of $undefs.
Karl Heuer <kwzh@gnu.org>
parents:
6955
diff
changeset
|
1778 -e 's/ */ -U/g' -e 's/-U[0-9][^ ]*//g' \ |
5531
c4f36c5ece61
(creating src/Makefile): Put code inside 2nd arg to AC_OUTPUT as it should
Roland McGrath <roland@gnu.org>
parents:
5526
diff
changeset
|
1779 `" |
c4f36c5ece61
(creating src/Makefile): Put code inside 2nd arg to AC_OUTPUT as it should
Roland McGrath <roland@gnu.org>
parents:
5526
diff
changeset
|
1780 changequote([,])dnl |
c4f36c5ece61
(creating src/Makefile): Put code inside 2nd arg to AC_OUTPUT as it should
Roland McGrath <roland@gnu.org>
parents:
5526
diff
changeset
|
1781 |
6916
b8a9395c1b3f
(lib-src/Makefile.in): Make this from Makefile.in.in
Richard M. Stallman <rms@gnu.org>
parents:
6869
diff
changeset
|
1782 echo creating lib-src/Makefile |
b8a9395c1b3f
(lib-src/Makefile.in): Make this from Makefile.in.in
Richard M. Stallman <rms@gnu.org>
parents:
6869
diff
changeset
|
1783 ( cd lib-src |
7330
e66a72c5f8d3
(making src/Makefile and lib-src/Makefile):
Richard M. Stallman <rms@gnu.org>
parents:
7314
diff
changeset
|
1784 rm -f junk.c junk1.c junk2.c |
e66a72c5f8d3
(making src/Makefile and lib-src/Makefile):
Richard M. Stallman <rms@gnu.org>
parents:
7314
diff
changeset
|
1785 sed -e '/start of cpp stuff/q' \ |
e66a72c5f8d3
(making src/Makefile and lib-src/Makefile):
Richard M. Stallman <rms@gnu.org>
parents:
7314
diff
changeset
|
1786 < Makefile.in > junk1.c |
e66a72c5f8d3
(making src/Makefile and lib-src/Makefile):
Richard M. Stallman <rms@gnu.org>
parents:
7314
diff
changeset
|
1787 sed -e '1,/start of cpp stuff/d'\ |
6916
b8a9395c1b3f
(lib-src/Makefile.in): Make this from Makefile.in.in
Richard M. Stallman <rms@gnu.org>
parents:
6869
diff
changeset
|
1788 -e 's@/\*\*/#\(.*\)$@/* \1 */@' \ |
b8a9395c1b3f
(lib-src/Makefile.in): Make this from Makefile.in.in
Richard M. Stallman <rms@gnu.org>
parents:
6869
diff
changeset
|
1789 < Makefile.in > junk.c |
7330
e66a72c5f8d3
(making src/Makefile and lib-src/Makefile):
Richard M. Stallman <rms@gnu.org>
parents:
7314
diff
changeset
|
1790 $CPP $undefs -I. -I$top_srcdir/src $CPPFLAGS junk.c | \ |
e66a72c5f8d3
(making src/Makefile and lib-src/Makefile):
Richard M. Stallman <rms@gnu.org>
parents:
7314
diff
changeset
|
1791 sed -e 's/^ / /' -e '/^#/d' -e '/^[ ]*$/d' > junk2.c |
e66a72c5f8d3
(making src/Makefile and lib-src/Makefile):
Richard M. Stallman <rms@gnu.org>
parents:
7314
diff
changeset
|
1792 cat junk1.c junk2.c > Makefile.new |
e66a72c5f8d3
(making src/Makefile and lib-src/Makefile):
Richard M. Stallman <rms@gnu.org>
parents:
7314
diff
changeset
|
1793 rm -f junk.c junk1.c junk2.c |
e66a72c5f8d3
(making src/Makefile and lib-src/Makefile):
Richard M. Stallman <rms@gnu.org>
parents:
7314
diff
changeset
|
1794 chmod 444 Makefile.new |
e66a72c5f8d3
(making src/Makefile and lib-src/Makefile):
Richard M. Stallman <rms@gnu.org>
parents:
7314
diff
changeset
|
1795 mv -f Makefile.new Makefile |
6916
b8a9395c1b3f
(lib-src/Makefile.in): Make this from Makefile.in.in
Richard M. Stallman <rms@gnu.org>
parents:
6869
diff
changeset
|
1796 ) |
b8a9395c1b3f
(lib-src/Makefile.in): Make this from Makefile.in.in
Richard M. Stallman <rms@gnu.org>
parents:
6869
diff
changeset
|
1797 |
5531
c4f36c5ece61
(creating src/Makefile): Put code inside 2nd arg to AC_OUTPUT as it should
Roland McGrath <roland@gnu.org>
parents:
5526
diff
changeset
|
1798 echo creating src/Makefile |
c4f36c5ece61
(creating src/Makefile): Put code inside 2nd arg to AC_OUTPUT as it should
Roland McGrath <roland@gnu.org>
parents:
5526
diff
changeset
|
1799 ( cd src |
7330
e66a72c5f8d3
(making src/Makefile and lib-src/Makefile):
Richard M. Stallman <rms@gnu.org>
parents:
7314
diff
changeset
|
1800 rm -f junk.c junk1.c junk2.c |
e66a72c5f8d3
(making src/Makefile and lib-src/Makefile):
Richard M. Stallman <rms@gnu.org>
parents:
7314
diff
changeset
|
1801 sed -e '/start of cpp stuff/q' \ |
e66a72c5f8d3
(making src/Makefile and lib-src/Makefile):
Richard M. Stallman <rms@gnu.org>
parents:
7314
diff
changeset
|
1802 < Makefile.in > junk1.c |
e66a72c5f8d3
(making src/Makefile and lib-src/Makefile):
Richard M. Stallman <rms@gnu.org>
parents:
7314
diff
changeset
|
1803 sed -e '1,/start of cpp stuff/d'\ |
5531
c4f36c5ece61
(creating src/Makefile): Put code inside 2nd arg to AC_OUTPUT as it should
Roland McGrath <roland@gnu.org>
parents:
5526
diff
changeset
|
1804 -e 's@/\*\*/#\(.*\)$@/* \1 */@' \ |
c4f36c5ece61
(creating src/Makefile): Put code inside 2nd arg to AC_OUTPUT as it should
Roland McGrath <roland@gnu.org>
parents:
5526
diff
changeset
|
1805 < Makefile.in > junk.c |
7330
e66a72c5f8d3
(making src/Makefile and lib-src/Makefile):
Richard M. Stallman <rms@gnu.org>
parents:
7314
diff
changeset
|
1806 $CPP $undefs -I. -I$top_srcdir/src $CPPFLAGS junk.c | \ |
e66a72c5f8d3
(making src/Makefile and lib-src/Makefile):
Richard M. Stallman <rms@gnu.org>
parents:
7314
diff
changeset
|
1807 sed -e 's/^ / /' -e '/^#/d' -e '/^[ ]*$/d' > junk2.c |
e66a72c5f8d3
(making src/Makefile and lib-src/Makefile):
Richard M. Stallman <rms@gnu.org>
parents:
7314
diff
changeset
|
1808 cat junk1.c junk2.c > Makefile.new |
e66a72c5f8d3
(making src/Makefile and lib-src/Makefile):
Richard M. Stallman <rms@gnu.org>
parents:
7314
diff
changeset
|
1809 rm -f junk.c junk1.c junk2.c |
e66a72c5f8d3
(making src/Makefile and lib-src/Makefile):
Richard M. Stallman <rms@gnu.org>
parents:
7314
diff
changeset
|
1810 chmod 444 Makefile.new |
e66a72c5f8d3
(making src/Makefile and lib-src/Makefile):
Richard M. Stallman <rms@gnu.org>
parents:
7314
diff
changeset
|
1811 mv -f Makefile.new Makefile |
5531
c4f36c5ece61
(creating src/Makefile): Put code inside 2nd arg to AC_OUTPUT as it should
Roland McGrath <roland@gnu.org>
parents:
5526
diff
changeset
|
1812 )]) |