• R/O
  • HTTP
  • SSH
  • HTTPS

howm: Commit

Hitori Otegaru Wiki Modoki


Commit MetaInfo

Revision0512b04c365baf7d64f71c060b3391ca31572d6c (tree)
Time2018-09-29 21:06:40
AuthorHiraoka <khi@user...>
CommiterHiraoka

Log Message

update autotools

Change Summary

Incremental Difference

--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
1+2018-09-29 HIRAOKA Kazuyuki <khi@users.osdn.me>
2+
3+ * update autotools
4+
15 2018-02-25 HIRAOKA Kazuyuki <khi@users.osdn.me>
26
37 * configure.ac: set version as 1.4.5-snapshot2
--- a/INSTALL
+++ b/INSTALL
@@ -1,8 +1,8 @@
11 Installation Instructions
22 *************************
33
4-Copyright (C) 1994-1996, 1999-2002, 2004-2013 Free Software Foundation,
5-Inc.
4+ Copyright (C) 1994-1996, 1999-2002, 2004-2016 Free Software
5+Foundation, Inc.
66
77 Copying and distribution of this file, with or without modification,
88 are permitted in any medium without royalty provided the copyright
@@ -12,97 +12,96 @@ without warranty of any kind.
1212 Basic Installation
1313 ==================
1414
15- Briefly, the shell command `./configure && make && make install'
15+ Briefly, the shell command './configure && make && make install'
1616 should configure, build, and install this package. The following
17-more-detailed instructions are generic; see the `README' file for
17+more-detailed instructions are generic; see the 'README' file for
1818 instructions specific to this package. Some packages provide this
19-`INSTALL' file but do not implement all of the features documented
19+'INSTALL' file but do not implement all of the features documented
2020 below. The lack of an optional feature in a given package is not
2121 necessarily a bug. More recommendations for GNU packages can be found
2222 in *note Makefile Conventions: (standards)Makefile Conventions.
2323
24- The `configure' shell script attempts to guess correct values for
24+ The 'configure' shell script attempts to guess correct values for
2525 various system-dependent variables used during compilation. It uses
26-those values to create a `Makefile' in each directory of the package.
27-It may also create one or more `.h' files containing system-dependent
28-definitions. Finally, it creates a shell script `config.status' that
26+those values to create a 'Makefile' in each directory of the package.
27+It may also create one or more '.h' files containing system-dependent
28+definitions. Finally, it creates a shell script 'config.status' that
2929 you can run in the future to recreate the current configuration, and a
30-file `config.log' containing compiler output (useful mainly for
31-debugging `configure').
30+file 'config.log' containing compiler output (useful mainly for
31+debugging 'configure').
3232
33- It can also use an optional file (typically called `config.cache'
34-and enabled with `--cache-file=config.cache' or simply `-C') that saves
35-the results of its tests to speed up reconfiguring. Caching is
36-disabled by default to prevent problems with accidental use of stale
37-cache files.
33+ It can also use an optional file (typically called 'config.cache' and
34+enabled with '--cache-file=config.cache' or simply '-C') that saves the
35+results of its tests to speed up reconfiguring. Caching is disabled by
36+default to prevent problems with accidental use of stale cache files.
3837
3938 If you need to do unusual things to compile the package, please try
40-to figure out how `configure' could check whether to do them, and mail
41-diffs or instructions to the address given in the `README' so they can
39+to figure out how 'configure' could check whether to do them, and mail
40+diffs or instructions to the address given in the 'README' so they can
4241 be considered for the next release. If you are using the cache, and at
43-some point `config.cache' contains results you don't want to keep, you
42+some point 'config.cache' contains results you don't want to keep, you
4443 may remove or edit it.
4544
46- The file `configure.ac' (or `configure.in') is used to create
47-`configure' by a program called `autoconf'. You need `configure.ac' if
48-you want to change it or regenerate `configure' using a newer version
49-of `autoconf'.
45+ The file 'configure.ac' (or 'configure.in') is used to create
46+'configure' by a program called 'autoconf'. You need 'configure.ac' if
47+you want to change it or regenerate 'configure' using a newer version of
48+'autoconf'.
5049
5150 The simplest way to compile this package is:
5251
53- 1. `cd' to the directory containing the package's source code and type
54- `./configure' to configure the package for your system.
52+ 1. 'cd' to the directory containing the package's source code and type
53+ './configure' to configure the package for your system.
5554
56- Running `configure' might take a while. While running, it prints
55+ Running 'configure' might take a while. While running, it prints
5756 some messages telling which features it is checking for.
5857
59- 2. Type `make' to compile the package.
58+ 2. Type 'make' to compile the package.
6059
61- 3. Optionally, type `make check' to run any self-tests that come with
60+ 3. Optionally, type 'make check' to run any self-tests that come with
6261 the package, generally using the just-built uninstalled binaries.
6362
64- 4. Type `make install' to install the programs and any data files and
63+ 4. Type 'make install' to install the programs and any data files and
6564 documentation. When installing into a prefix owned by root, it is
6665 recommended that the package be configured and built as a regular
67- user, and only the `make install' phase executed with root
66+ user, and only the 'make install' phase executed with root
6867 privileges.
6968
70- 5. Optionally, type `make installcheck' to repeat any self-tests, but
69+ 5. Optionally, type 'make installcheck' to repeat any self-tests, but
7170 this time using the binaries in their final installed location.
7271 This target does not install anything. Running this target as a
73- regular user, particularly if the prior `make install' required
72+ regular user, particularly if the prior 'make install' required
7473 root privileges, verifies that the installation completed
7574 correctly.
7675
7776 6. You can remove the program binaries and object files from the
78- source code directory by typing `make clean'. To also remove the
79- files that `configure' created (so you can compile the package for
80- a different kind of computer), type `make distclean'. There is
81- also a `make maintainer-clean' target, but that is intended mainly
77+ source code directory by typing 'make clean'. To also remove the
78+ files that 'configure' created (so you can compile the package for
79+ a different kind of computer), type 'make distclean'. There is
80+ also a 'make maintainer-clean' target, but that is intended mainly
8281 for the package's developers. If you use it, you may have to get
8382 all sorts of other programs in order to regenerate files that came
8483 with the distribution.
8584
86- 7. Often, you can also type `make uninstall' to remove the installed
85+ 7. Often, you can also type 'make uninstall' to remove the installed
8786 files again. In practice, not all packages have tested that
8887 uninstallation works correctly, even though it is required by the
8988 GNU Coding Standards.
9089
91- 8. Some packages, particularly those that use Automake, provide `make
90+ 8. Some packages, particularly those that use Automake, provide 'make
9291 distcheck', which can by used by developers to test that all other
93- targets like `make install' and `make uninstall' work correctly.
92+ targets like 'make install' and 'make uninstall' work correctly.
9493 This target is generally not run by end users.
9594
9695 Compilers and Options
9796 =====================
9897
9998 Some systems require unusual options for compilation or linking that
100-the `configure' script does not know about. Run `./configure --help'
99+the 'configure' script does not know about. Run './configure --help'
101100 for details on some of the pertinent environment variables.
102101
103- You can give `configure' initial values for configuration parameters
104-by setting variables in the command line or in the environment. Here
105-is an example:
102+ You can give 'configure' initial values for configuration parameters
103+by setting variables in the command line or in the environment. Here is
104+an example:
106105
107106 ./configure CC=c99 CFLAGS=-g LIBS=-lposix
108107
@@ -113,21 +112,21 @@ Compiling For Multiple Architectures
113112
114113 You can compile the package for more than one kind of computer at the
115114 same time, by placing the object files for each architecture in their
116-own directory. To do this, you can use GNU `make'. `cd' to the
115+own directory. To do this, you can use GNU 'make'. 'cd' to the
117116 directory where you want the object files and executables to go and run
118-the `configure' script. `configure' automatically checks for the
119-source code in the directory that `configure' is in and in `..'. This
120-is known as a "VPATH" build.
117+the 'configure' script. 'configure' automatically checks for the source
118+code in the directory that 'configure' is in and in '..'. This is known
119+as a "VPATH" build.
121120
122- With a non-GNU `make', it is safer to compile the package for one
121+ With a non-GNU 'make', it is safer to compile the package for one
123122 architecture at a time in the source code directory. After you have
124-installed the package for one architecture, use `make distclean' before
123+installed the package for one architecture, use 'make distclean' before
125124 reconfiguring for another architecture.
126125
127126 On MacOS X 10.5 and later systems, you can create libraries and
128127 executables that work on multiple system types--known as "fat" or
129-"universal" binaries--by specifying multiple `-arch' options to the
130-compiler but only a single `-arch' option to the preprocessor. Like
128+"universal" binaries--by specifying multiple '-arch' options to the
129+compiler but only a single '-arch' option to the preprocessor. Like
131130 this:
132131
133132 ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
@@ -136,105 +135,104 @@ this:
136135
137136 This is not guaranteed to produce working output in all cases, you
138137 may have to build one architecture at a time and combine the results
139-using the `lipo' tool if you have problems.
138+using the 'lipo' tool if you have problems.
140139
141140 Installation Names
142141 ==================
143142
144- By default, `make install' installs the package's commands under
145-`/usr/local/bin', include files under `/usr/local/include', etc. You
146-can specify an installation prefix other than `/usr/local' by giving
147-`configure' the option `--prefix=PREFIX', where PREFIX must be an
143+ By default, 'make install' installs the package's commands under
144+'/usr/local/bin', include files under '/usr/local/include', etc. You
145+can specify an installation prefix other than '/usr/local' by giving
146+'configure' the option '--prefix=PREFIX', where PREFIX must be an
148147 absolute file name.
149148
150149 You can specify separate installation prefixes for
151150 architecture-specific files and architecture-independent files. If you
152-pass the option `--exec-prefix=PREFIX' to `configure', the package uses
151+pass the option '--exec-prefix=PREFIX' to 'configure', the package uses
153152 PREFIX as the prefix for installing programs and libraries.
154153 Documentation and other data files still use the regular prefix.
155154
156155 In addition, if you use an unusual directory layout you can give
157-options like `--bindir=DIR' to specify different values for particular
158-kinds of files. Run `configure --help' for a list of the directories
159-you can set and what kinds of files go in them. In general, the
160-default for these options is expressed in terms of `${prefix}', so that
161-specifying just `--prefix' will affect all of the other directory
156+options like '--bindir=DIR' to specify different values for particular
157+kinds of files. Run 'configure --help' for a list of the directories
158+you can set and what kinds of files go in them. In general, the default
159+for these options is expressed in terms of '${prefix}', so that
160+specifying just '--prefix' will affect all of the other directory
162161 specifications that were not explicitly provided.
163162
164163 The most portable way to affect installation locations is to pass the
165-correct locations to `configure'; however, many packages provide one or
164+correct locations to 'configure'; however, many packages provide one or
166165 both of the following shortcuts of passing variable assignments to the
167-`make install' command line to change installation locations without
166+'make install' command line to change installation locations without
168167 having to reconfigure or recompile.
169168
170169 The first method involves providing an override variable for each
171-affected directory. For example, `make install
170+affected directory. For example, 'make install
172171 prefix=/alternate/directory' will choose an alternate location for all
173172 directory configuration variables that were expressed in terms of
174-`${prefix}'. Any directories that were specified during `configure',
175-but not in terms of `${prefix}', must each be overridden at install
176-time for the entire installation to be relocated. The approach of
177-makefile variable overrides for each directory variable is required by
178-the GNU Coding Standards, and ideally causes no recompilation.
179-However, some platforms have known limitations with the semantics of
180-shared libraries that end up requiring recompilation when using this
181-method, particularly noticeable in packages that use GNU Libtool.
182-
183- The second method involves providing the `DESTDIR' variable. For
184-example, `make install DESTDIR=/alternate/directory' will prepend
185-`/alternate/directory' before all installation names. The approach of
186-`DESTDIR' overrides is not required by the GNU Coding Standards, and
173+'${prefix}'. Any directories that were specified during 'configure',
174+but not in terms of '${prefix}', must each be overridden at install time
175+for the entire installation to be relocated. The approach of makefile
176+variable overrides for each directory variable is required by the GNU
177+Coding Standards, and ideally causes no recompilation. However, some
178+platforms have known limitations with the semantics of shared libraries
179+that end up requiring recompilation when using this method, particularly
180+noticeable in packages that use GNU Libtool.
181+
182+ The second method involves providing the 'DESTDIR' variable. For
183+example, 'make install DESTDIR=/alternate/directory' will prepend
184+'/alternate/directory' before all installation names. The approach of
185+'DESTDIR' overrides is not required by the GNU Coding Standards, and
187186 does not work on platforms that have drive letters. On the other hand,
188187 it does better at avoiding recompilation issues, and works well even
189-when some directory options were not specified in terms of `${prefix}'
190-at `configure' time.
188+when some directory options were not specified in terms of '${prefix}'
189+at 'configure' time.
191190
192191 Optional Features
193192 =================
194193
195194 If the package supports it, you can cause programs to be installed
196-with an extra prefix or suffix on their names by giving `configure' the
197-option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
198-
199- Some packages pay attention to `--enable-FEATURE' options to
200-`configure', where FEATURE indicates an optional part of the package.
201-They may also pay attention to `--with-PACKAGE' options, where PACKAGE
202-is something like `gnu-as' or `x' (for the X Window System). The
203-`README' should mention any `--enable-' and `--with-' options that the
195+with an extra prefix or suffix on their names by giving 'configure' the
196+option '--program-prefix=PREFIX' or '--program-suffix=SUFFIX'.
197+
198+ Some packages pay attention to '--enable-FEATURE' options to
199+'configure', where FEATURE indicates an optional part of the package.
200+They may also pay attention to '--with-PACKAGE' options, where PACKAGE
201+is something like 'gnu-as' or 'x' (for the X Window System). The
202+'README' should mention any '--enable-' and '--with-' options that the
204203 package recognizes.
205204
206- For packages that use the X Window System, `configure' can usually
205+ For packages that use the X Window System, 'configure' can usually
207206 find the X include and library files automatically, but if it doesn't,
208-you can use the `configure' options `--x-includes=DIR' and
209-`--x-libraries=DIR' to specify their locations.
207+you can use the 'configure' options '--x-includes=DIR' and
208+'--x-libraries=DIR' to specify their locations.
210209
211210 Some packages offer the ability to configure how verbose the
212-execution of `make' will be. For these packages, running `./configure
211+execution of 'make' will be. For these packages, running './configure
213212 --enable-silent-rules' sets the default to minimal output, which can be
214-overridden with `make V=1'; while running `./configure
213+overridden with 'make V=1'; while running './configure
215214 --disable-silent-rules' sets the default to verbose, which can be
216-overridden with `make V=0'.
215+overridden with 'make V=0'.
217216
218217 Particular systems
219218 ==================
220219
221- On HP-UX, the default C compiler is not ANSI C compatible. If GNU
222-CC is not installed, it is recommended to use the following options in
220+ On HP-UX, the default C compiler is not ANSI C compatible. If GNU CC
221+is not installed, it is recommended to use the following options in
223222 order to use an ANSI C compiler:
224223
225224 ./configure CC="cc -Ae -D_XOPEN_SOURCE=500"
226225
227226 and if that doesn't work, install pre-built binaries of GCC for HP-UX.
228227
229- HP-UX `make' updates targets which have the same time stamps as
230-their prerequisites, which makes it generally unusable when shipped
231-generated files such as `configure' are involved. Use GNU `make'
232-instead.
228+ HP-UX 'make' updates targets which have the same time stamps as their
229+prerequisites, which makes it generally unusable when shipped generated
230+files such as 'configure' are involved. Use GNU 'make' instead.
233231
234232 On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
235-parse its `<wchar.h>' header file. The option `-nodtk' can be used as
236-a workaround. If GNU CC is not installed, it is therefore recommended
237-to try
233+parse its '<wchar.h>' header file. The option '-nodtk' can be used as a
234+workaround. If GNU CC is not installed, it is therefore recommended to
235+try
238236
239237 ./configure CC="cc"
240238
@@ -242,26 +240,26 @@ and if that doesn't work, try
242240
243241 ./configure CC="cc -nodtk"
244242
245- On Solaris, don't put `/usr/ucb' early in your `PATH'. This
243+ On Solaris, don't put '/usr/ucb' early in your 'PATH'. This
246244 directory contains several dysfunctional programs; working variants of
247-these programs are available in `/usr/bin'. So, if you need `/usr/ucb'
248-in your `PATH', put it _after_ `/usr/bin'.
245+these programs are available in '/usr/bin'. So, if you need '/usr/ucb'
246+in your 'PATH', put it _after_ '/usr/bin'.
249247
250- On Haiku, software installed for all users goes in `/boot/common',
251-not `/usr/local'. It is recommended to use the following options:
248+ On Haiku, software installed for all users goes in '/boot/common',
249+not '/usr/local'. It is recommended to use the following options:
252250
253251 ./configure --prefix=/boot/common
254252
255253 Specifying the System Type
256254 ==========================
257255
258- There may be some features `configure' cannot figure out
256+ There may be some features 'configure' cannot figure out
259257 automatically, but needs to determine by the type of machine the package
260258 will run on. Usually, assuming the package is built to be run on the
261-_same_ architectures, `configure' can figure that out, but if it prints
259+_same_ architectures, 'configure' can figure that out, but if it prints
262260 a message saying it cannot guess the machine type, give it the
263-`--build=TYPE' option. TYPE can either be a short name for the system
264-type, such as `sun4', or a canonical name which has the form:
261+'--build=TYPE' option. TYPE can either be a short name for the system
262+type, such as 'sun4', or a canonical name which has the form:
265263
266264 CPU-COMPANY-SYSTEM
267265
@@ -270,101 +268,101 @@ where SYSTEM can have one of these forms:
270268 OS
271269 KERNEL-OS
272270
273- See the file `config.sub' for the possible values of each field. If
274-`config.sub' isn't included in this package, then this package doesn't
271+ See the file 'config.sub' for the possible values of each field. If
272+'config.sub' isn't included in this package, then this package doesn't
275273 need to know the machine type.
276274
277275 If you are _building_ compiler tools for cross-compiling, you should
278-use the option `--target=TYPE' to select the type of system they will
276+use the option '--target=TYPE' to select the type of system they will
279277 produce code for.
280278
281279 If you want to _use_ a cross compiler, that generates code for a
282280 platform different from the build platform, you should specify the
283281 "host" platform (i.e., that on which the generated programs will
284-eventually be run) with `--host=TYPE'.
282+eventually be run) with '--host=TYPE'.
285283
286284 Sharing Defaults
287285 ================
288286
289- If you want to set default values for `configure' scripts to share,
290-you can create a site shell script called `config.site' that gives
291-default values for variables like `CC', `cache_file', and `prefix'.
292-`configure' looks for `PREFIX/share/config.site' if it exists, then
293-`PREFIX/etc/config.site' if it exists. Or, you can set the
294-`CONFIG_SITE' environment variable to the location of the site script.
295-A warning: not all `configure' scripts look for a site script.
287+ If you want to set default values for 'configure' scripts to share,
288+you can create a site shell script called 'config.site' that gives
289+default values for variables like 'CC', 'cache_file', and 'prefix'.
290+'configure' looks for 'PREFIX/share/config.site' if it exists, then
291+'PREFIX/etc/config.site' if it exists. Or, you can set the
292+'CONFIG_SITE' environment variable to the location of the site script.
293+A warning: not all 'configure' scripts look for a site script.
296294
297295 Defining Variables
298296 ==================
299297
300298 Variables not defined in a site shell script can be set in the
301-environment passed to `configure'. However, some packages may run
299+environment passed to 'configure'. However, some packages may run
302300 configure again during the build, and the customized values of these
303301 variables may be lost. In order to avoid this problem, you should set
304-them in the `configure' command line, using `VAR=value'. For example:
302+them in the 'configure' command line, using 'VAR=value'. For example:
305303
306304 ./configure CC=/usr/local2/bin/gcc
307305
308-causes the specified `gcc' to be used as the C compiler (unless it is
306+causes the specified 'gcc' to be used as the C compiler (unless it is
309307 overridden in the site shell script).
310308
311-Unfortunately, this technique does not work for `CONFIG_SHELL' due to
312-an Autoconf limitation. Until the limitation is lifted, you can use
313-this workaround:
309+Unfortunately, this technique does not work for 'CONFIG_SHELL' due to an
310+Autoconf limitation. Until the limitation is lifted, you can use this
311+workaround:
314312
315313 CONFIG_SHELL=/bin/bash ./configure CONFIG_SHELL=/bin/bash
316314
317-`configure' Invocation
315+'configure' Invocation
318316 ======================
319317
320- `configure' recognizes the following options to control how it
318+ 'configure' recognizes the following options to control how it
321319 operates.
322320
323-`--help'
324-`-h'
325- Print a summary of all of the options to `configure', and exit.
321+'--help'
322+'-h'
323+ Print a summary of all of the options to 'configure', and exit.
326324
327-`--help=short'
328-`--help=recursive'
325+'--help=short'
326+'--help=recursive'
329327 Print a summary of the options unique to this package's
330- `configure', and exit. The `short' variant lists options used
331- only in the top level, while the `recursive' variant lists options
332- also present in any nested packages.
328+ 'configure', and exit. The 'short' variant lists options used only
329+ in the top level, while the 'recursive' variant lists options also
330+ present in any nested packages.
333331
334-`--version'
335-`-V'
336- Print the version of Autoconf used to generate the `configure'
332+'--version'
333+'-V'
334+ Print the version of Autoconf used to generate the 'configure'
337335 script, and exit.
338336
339-`--cache-file=FILE'
337+'--cache-file=FILE'
340338 Enable the cache: use and save the results of the tests in FILE,
341- traditionally `config.cache'. FILE defaults to `/dev/null' to
339+ traditionally 'config.cache'. FILE defaults to '/dev/null' to
342340 disable caching.
343341
344-`--config-cache'
345-`-C'
346- Alias for `--cache-file=config.cache'.
342+'--config-cache'
343+'-C'
344+ Alias for '--cache-file=config.cache'.
347345
348-`--quiet'
349-`--silent'
350-`-q'
346+'--quiet'
347+'--silent'
348+'-q'
351349 Do not print messages saying which checks are being made. To
352- suppress all normal output, redirect it to `/dev/null' (any error
350+ suppress all normal output, redirect it to '/dev/null' (any error
353351 messages will still be shown).
354352
355-`--srcdir=DIR'
353+'--srcdir=DIR'
356354 Look for the package's source code in directory DIR. Usually
357- `configure' can determine that directory automatically.
355+ 'configure' can determine that directory automatically.
358356
359-`--prefix=DIR'
360- Use DIR as the installation prefix. *note Installation Names::
361- for more details, including other options available for fine-tuning
362- the installation locations.
357+'--prefix=DIR'
358+ Use DIR as the installation prefix. *note Installation Names:: for
359+ more details, including other options available for fine-tuning the
360+ installation locations.
363361
364-`--no-create'
365-`-n'
362+'--no-create'
363+'-n'
366364 Run the configure checks, but stop before creating any output
367365 files.
368366
369-`configure' also accepts some other, not widely useful, options. Run
370-`configure --help' for more details.
367+'configure' also accepts some other, not widely useful, options. Run
368+'configure --help' for more details.
--- a/Makefile.in
+++ b/Makefile.in
@@ -1,7 +1,7 @@
1-# Makefile.in generated by automake 1.14.1 from Makefile.am.
1+# Makefile.in generated by automake 1.16.1 from Makefile.am.
22 # @configure_input@
33
4-# Copyright (C) 1994-2013 Free Software Foundation, Inc.
4+# Copyright (C) 1994-2018 Free Software Foundation, Inc.
55
66 # This Makefile.in is free software; the Free Software Foundation
77 # gives unlimited permission to copy and/or distribute it,
@@ -17,7 +17,17 @@
1717 # shamelessly copied from navi2ch-cvs-0.0.20031209
1818
1919 VPATH = @srcdir@
20-am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
20+am__is_gnu_make = { \
21+ if test -z '$(MAKELEVEL)'; then \
22+ false; \
23+ elif test -n '$(MAKE_HOST)'; then \
24+ true; \
25+ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
26+ true; \
27+ else \
28+ false; \
29+ fi; \
30+}
2131 am__make_running_with_option = \
2232 case $${target_option-} in \
2333 ?) ;; \
@@ -81,16 +91,13 @@ POST_UNINSTALL = :
8191 build_triplet = @build@
8292 host_triplet = @host@
8393 subdir = .
84-DIST_COMMON = INSTALL NEWS README AUTHORS ChangeLog \
85- $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
86- $(top_srcdir)/configure $(am__configure_deps) mkinstalldirs \
87- $(srcdir)/howm.el.in COPYING config.guess config.sub \
88- install-sh missing
8994 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
9095 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
9196 $(top_srcdir)/configure.ac
9297 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
9398 $(ACLOCAL_M4)
99+DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
100+ $(am__configure_deps) $(am__DIST_COMMON)
94101 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
95102 configure.lineno config.status.lineno
96103 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
@@ -168,7 +175,7 @@ am__recursive_targets = \
168175 $(RECURSIVE_CLEAN_TARGETS) \
169176 $(am__extra_recursive_targets)
170177 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
171- cscope distdir dist dist-all distcheck
178+ cscope distdir distdir-am dist dist-all distcheck
172179 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
173180 # Read a list of newline-separated strings from the standard input,
174181 # and print each of them once, without duplicates. Input order is
@@ -190,6 +197,9 @@ ETAGS = etags
190197 CTAGS = ctags
191198 CSCOPE = cscope
192199 DIST_SUBDIRS = $(SUBDIRS)
200+am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/howm.el.in AUTHORS \
201+ COPYING ChangeLog INSTALL NEWS README config.guess config.sub \
202+ install-sh missing mkinstalldirs
193203 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
194204 distdir = $(PACKAGE)-$(VERSION)
195205 top_distdir = $(distdir)
@@ -313,6 +323,7 @@ pdfdir = @pdfdir@
313323 prefix = @prefix@
314324 program_transform_name = @program_transform_name@
315325 psdir = @psdir@
326+runstatedir = @runstatedir@
316327 sbindir = @sbindir@
317328 sharedstatedir = @sharedstatedir@
318329 srcdir = @srcdir@
@@ -380,7 +391,6 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__confi
380391 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
381392 $(am__cd) $(top_srcdir) && \
382393 $(AUTOMAKE) --gnu Makefile
383-.PRECIOUS: Makefile
384394
385395 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
386396 $(SHELL) ./config.status --recheck
@@ -394,7 +404,7 @@ howm.el: $(top_builddir)/config.status $(srcdir)/howm.el.in
394404 cd $(top_builddir) && $(SHELL) ./config.status $@
395405
396406 .el.elc:
397- if test "$(EMACS)" != "no"; then \
407+ if test '$(EMACS)' != no; then \
398408 am__dir=. am__subdir_includes=''; \
399409 case $@ in */*) \
400410 am__dir=`echo '$@' | sed 's,/[^/]*$$,,'`; \
@@ -404,8 +414,8 @@ howm.el: $(top_builddir)/config.status $(srcdir)/howm.el.in
404414 $(EMACS) --batch \
405415 $(AM_ELCFLAGS) $(ELCFLAGS) \
406416 $$am__subdir_includes -L $(builddir) -L $(srcdir) \
407- --eval "(defun byte-compile-dest-file (f) \"$@\")" \
408- --eval "(unless (byte-compile-file \"$<\") (kill-emacs 1))"; \
417+ --eval '(setq byte-compile-dest-file-function (lambda (_) "$@"))' \
418+ -f batch-byte-compile '$<'; \
409419 else :; fi
410420
411421 install-howmLISP: $(howm_LISP) $(ELCFILES)
@@ -545,7 +555,10 @@ distclean-tags:
545555 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
546556 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
547557
548-distdir: $(DISTFILES)
558+distdir: $(BUILT_SOURCES)
559+ $(MAKE) $(AM_MAKEFLAGS) distdir-am
560+
561+distdir-am: $(DISTFILES)
549562 $(am__remove_distdir)
550563 test -d "$(distdir)" || mkdir "$(distdir)"
551564 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
@@ -610,7 +623,7 @@ distdir: $(DISTFILES)
610623 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
611624 || chmod -R a+r "$(distdir)"
612625 dist-gzip: distdir
613- tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
626+ tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
614627 $(am__post_remove_distdir)
615628
616629 dist-bzip2: distdir
@@ -626,17 +639,17 @@ dist-xz: distdir
626639 $(am__post_remove_distdir)
627640
628641 dist-tarZ: distdir
629- @echo WARNING: "Support for shar distribution archives is" \
630- "deprecated." >&2
642+ @echo WARNING: "Support for distribution archives compressed with" \
643+ "legacy program 'compress' is deprecated." >&2
631644 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
632645 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
633646 $(am__post_remove_distdir)
634647
635648 dist-shar: distdir
636- @echo WARNING: "Support for distribution archives compressed with" \
637- "legacy program 'compress' is deprecated." >&2
649+ @echo WARNING: "Support for shar distribution archives is" \
650+ "deprecated." >&2
638651 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
639- shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
652+ shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz
640653 $(am__post_remove_distdir)
641654
642655 dist-zip: distdir
@@ -654,7 +667,7 @@ dist dist-all:
654667 distcheck: dist
655668 case '$(DIST_ARCHIVES)' in \
656669 *.tar.gz*) \
657- GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
670+ eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\
658671 *.tar.bz2*) \
659672 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
660673 *.tar.lz*) \
@@ -664,23 +677,23 @@ distcheck: dist
664677 *.tar.Z*) \
665678 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
666679 *.shar.gz*) \
667- GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
680+ eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
668681 *.zip*) \
669682 unzip $(distdir).zip ;;\
670683 esac
671684 chmod -R a-w $(distdir)
672685 chmod u+w $(distdir)
673- mkdir $(distdir)/_build $(distdir)/_inst
686+ mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
674687 chmod a-w $(distdir)
675688 test -d $(distdir)/_build || exit 0; \
676689 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
677690 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
678691 && am__cwd=`pwd` \
679- && $(am__cd) $(distdir)/_build \
680- && ../configure \
692+ && $(am__cd) $(distdir)/_build/sub \
693+ && ../../configure \
681694 $(AM_DISTCHECK_CONFIGURE_FLAGS) \
682695 $(DISTCHECK_CONFIGURE_FLAGS) \
683- --srcdir=.. --prefix="$$dc_install_base" \
696+ --srcdir=../.. --prefix="$$dc_install_base" \
684697 && $(MAKE) $(AM_MAKEFLAGS) \
685698 && $(MAKE) $(AM_MAKEFLAGS) dvi \
686699 && $(MAKE) $(AM_MAKEFLAGS) check \
@@ -862,6 +875,8 @@ uninstall-am: uninstall-howmLISP
862875 mostlyclean-generic pdf pdf-am ps ps-am tags tags-am uninstall \
863876 uninstall-am uninstall-howmLISP
864877
878+.PRECIOUS: Makefile
879+
865880
866881 $(MENU_EL): $(srcdir)/howm-mkmenu.el $(MENU_SRC)
867882 $(EMACS) -q -batch -l $(srcdir)/howm-mkmenu.el
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -1,6 +1,6 @@
1-# generated automatically by aclocal 1.14.1 -*- Autoconf -*-
1+# generated automatically by aclocal 1.16.1 -*- Autoconf -*-
22
3-# Copyright (C) 1996-2013 Free Software Foundation, Inc.
3+# Copyright (C) 1996-2018 Free Software Foundation, Inc.
44
55 # This file is free software; the Free Software Foundation
66 # gives unlimited permission to copy and/or distribute it,
@@ -20,7 +20,7 @@ You have another version of autoconf. It may work, but is not guaranteed to.
2020 If you have problems, you may need to regenerate the build system entirely.
2121 To do so, use the procedure documented by the package, typically 'autoreconf'.])])
2222
23-# Copyright (C) 2002-2013 Free Software Foundation, Inc.
23+# Copyright (C) 2002-2018 Free Software Foundation, Inc.
2424 #
2525 # This file is free software; the Free Software Foundation
2626 # gives unlimited permission to copy and/or distribute it,
@@ -32,10 +32,10 @@ To do so, use the procedure documented by the package, typically 'autoreconf'.])
3232 # generated from the m4 files accompanying Automake X.Y.
3333 # (This private macro should not be called outside this file.)
3434 AC_DEFUN([AM_AUTOMAKE_VERSION],
35-[am__api_version='1.14'
35+[am__api_version='1.16'
3636 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
3737 dnl require some minimum version. Point them to the right macro.
38-m4_if([$1], [1.14.1], [],
38+m4_if([$1], [1.16.1], [],
3939 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
4040 ])
4141
@@ -51,14 +51,14 @@ m4_define([_AM_AUTOCONF_VERSION], [])
5151 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
5252 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
5353 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
54-[AM_AUTOMAKE_VERSION([1.14.1])dnl
54+[AM_AUTOMAKE_VERSION([1.16.1])dnl
5555 m4_ifndef([AC_AUTOCONF_VERSION],
5656 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
5757 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
5858
5959 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
6060
61-# Copyright (C) 2001-2013 Free Software Foundation, Inc.
61+# Copyright (C) 2001-2018 Free Software Foundation, Inc.
6262 #
6363 # This file is free software; the Free Software Foundation
6464 # gives unlimited permission to copy and/or distribute it,
@@ -110,7 +110,7 @@ am_aux_dir=`cd "$ac_aux_dir" && pwd`
110110
111111 # AM_CONDITIONAL -*- Autoconf -*-
112112
113-# Copyright (C) 1997-2013 Free Software Foundation, Inc.
113+# Copyright (C) 1997-2018 Free Software Foundation, Inc.
114114 #
115115 # This file is free software; the Free Software Foundation
116116 # gives unlimited permission to copy and/or distribute it,
@@ -143,7 +143,7 @@ fi])])
143143
144144 # Do all the work for Automake. -*- Autoconf -*-
145145
146-# Copyright (C) 1996-2013 Free Software Foundation, Inc.
146+# Copyright (C) 1996-2018 Free Software Foundation, Inc.
147147 #
148148 # This file is free software; the Free Software Foundation
149149 # gives unlimited permission to copy and/or distribute it,
@@ -230,11 +230,11 @@ AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
230230 AC_REQUIRE([AC_PROG_MKDIR_P])dnl
231231 # For better backward compatibility. To be removed once Automake 1.9.x
232232 # dies out for good. For more background, see:
233-# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
234-# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
233+# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
234+# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
235235 AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
236-# We need awk for the "check" target. The system "awk" is bad on
237-# some platforms.
236+# We need awk for the "check" target (and possibly the TAP driver). The
237+# system "awk" is bad on some platforms.
238238 AC_REQUIRE([AC_PROG_AWK])dnl
239239 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
240240 AC_REQUIRE([AM_SET_LEADING_DOT])dnl
@@ -298,7 +298,7 @@ END
298298 Aborting the configuration process, to ensure you take notice of the issue.
299299
300300 You can download and install GNU coreutils to get an 'rm' implementation
301-that behaves properly: <http://www.gnu.org/software/coreutils/>.
301+that behaves properly: <https://www.gnu.org/software/coreutils/>.
302302
303303 If you want to complete the configuration process using your problematic
304304 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
@@ -308,6 +308,9 @@ END
308308 AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
309309 fi
310310 fi
311+dnl The trailing newline in this macro's definition is deliberate, for
312+dnl backward compatibility and to allow trailing 'dnl'-style comments
313+dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841.
311314 ])
312315
313316 dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
@@ -337,7 +340,7 @@ for _am_header in $config_headers :; do
337340 done
338341 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
339342
340-# Copyright (C) 2001-2013 Free Software Foundation, Inc.
343+# Copyright (C) 2001-2018 Free Software Foundation, Inc.
341344 #
342345 # This file is free software; the Free Software Foundation
343346 # gives unlimited permission to copy and/or distribute it,
@@ -348,7 +351,7 @@ echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_co
348351 # Define $install_sh.
349352 AC_DEFUN([AM_PROG_INSTALL_SH],
350353 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
351-if test x"${install_sh}" != xset; then
354+if test x"${install_sh+set}" != xset; then
352355 case $am_aux_dir in
353356 *\ * | *\ *)
354357 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
@@ -358,7 +361,7 @@ if test x"${install_sh}" != xset; then
358361 fi
359362 AC_SUBST([install_sh])])
360363
361-# Copyright (C) 2003-2013 Free Software Foundation, Inc.
364+# Copyright (C) 2003-2018 Free Software Foundation, Inc.
362365 #
363366 # This file is free software; the Free Software Foundation
364367 # gives unlimited permission to copy and/or distribute it,
@@ -380,7 +383,7 @@ AC_SUBST([am__leading_dot])])
380383 # Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
381384 # From Jim Meyering
382385
383-# Copyright (C) 1996-2013 Free Software Foundation, Inc.
386+# Copyright (C) 1996-2018 Free Software Foundation, Inc.
384387 #
385388 # This file is free software; the Free Software Foundation
386389 # gives unlimited permission to copy and/or distribute it,
@@ -415,7 +418,7 @@ AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
415418
416419 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
417420
418-# Copyright (C) 1997-2013 Free Software Foundation, Inc.
421+# Copyright (C) 1997-2018 Free Software Foundation, Inc.
419422 #
420423 # This file is free software; the Free Software Foundation
421424 # gives unlimited permission to copy and/or distribute it,
@@ -454,7 +457,7 @@ fi
454457
455458 # Helper functions for option handling. -*- Autoconf -*-
456459
457-# Copyright (C) 2001-2013 Free Software Foundation, Inc.
460+# Copyright (C) 2001-2018 Free Software Foundation, Inc.
458461 #
459462 # This file is free software; the Free Software Foundation
460463 # gives unlimited permission to copy and/or distribute it,
@@ -485,7 +488,7 @@ AC_DEFUN([_AM_IF_OPTION],
485488
486489 # Check to make sure that the build environment is sane. -*- Autoconf -*-
487490
488-# Copyright (C) 1996-2013 Free Software Foundation, Inc.
491+# Copyright (C) 1996-2018 Free Software Foundation, Inc.
489492 #
490493 # This file is free software; the Free Software Foundation
491494 # gives unlimited permission to copy and/or distribute it,
@@ -566,7 +569,7 @@ AC_CONFIG_COMMANDS_PRE(
566569 rm -f conftest.file
567570 ])
568571
569-# Copyright (C) 2009-2013 Free Software Foundation, Inc.
572+# Copyright (C) 2009-2018 Free Software Foundation, Inc.
570573 #
571574 # This file is free software; the Free Software Foundation
572575 # gives unlimited permission to copy and/or distribute it,
@@ -626,7 +629,7 @@ AC_SUBST([AM_BACKSLASH])dnl
626629 _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
627630 ])
628631
629-# Copyright (C) 2001-2013 Free Software Foundation, Inc.
632+# Copyright (C) 2001-2018 Free Software Foundation, Inc.
630633 #
631634 # This file is free software; the Free Software Foundation
632635 # gives unlimited permission to copy and/or distribute it,
@@ -654,7 +657,7 @@ fi
654657 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
655658 AC_SUBST([INSTALL_STRIP_PROGRAM])])
656659
657-# Copyright (C) 2006-2013 Free Software Foundation, Inc.
660+# Copyright (C) 2006-2018 Free Software Foundation, Inc.
658661 #
659662 # This file is free software; the Free Software Foundation
660663 # gives unlimited permission to copy and/or distribute it,
@@ -673,7 +676,7 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
673676
674677 # Check how to create a tarball. -*- Autoconf -*-
675678
676-# Copyright (C) 2004-2013 Free Software Foundation, Inc.
679+# Copyright (C) 2004-2018 Free Software Foundation, Inc.
677680 #
678681 # This file is free software; the Free Software Foundation
679682 # gives unlimited permission to copy and/or distribute it,
--- a/config.guess
+++ b/config.guess
@@ -1,8 +1,8 @@
11 #! /bin/sh
22 # Attempt to guess a canonical system name.
3-# Copyright 1992-2014 Free Software Foundation, Inc.
3+# Copyright 1992-2018 Free Software Foundation, Inc.
44
5-timestamp='2014-03-23'
5+timestamp='2018-02-24'
66
77 # This file is free software; you can redistribute it and/or modify it
88 # under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@ timestamp='2014-03-23'
1515 # General Public License for more details.
1616 #
1717 # You should have received a copy of the GNU General Public License
18-# along with this program; if not, see <http://www.gnu.org/licenses/>.
18+# along with this program; if not, see <https://www.gnu.org/licenses/>.
1919 #
2020 # As a special exception to the GNU General Public License, if you
2121 # distribute this file as part of a program that contains a
@@ -24,12 +24,12 @@ timestamp='2014-03-23'
2424 # program. This Exception is an additional permission under section 7
2525 # of the GNU General Public License, version 3 ("GPLv3").
2626 #
27-# Originally written by Per Bothner.
27+# Originally written by Per Bothner; maintained since 2000 by Ben Elliston.
2828 #
2929 # You can get the latest version of this script from:
30-# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
30+# https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess
3131 #
32-# Please send patches with a ChangeLog entry to config-patches@gnu.org.
32+# Please send patches to <config-patches@gnu.org>.
3333
3434
3535 me=`echo "$0" | sed -e 's,.*/,,'`
@@ -39,7 +39,7 @@ Usage: $0 [OPTION]
3939
4040 Output the configuration name of the system \`$me' is run on.
4141
42-Operation modes:
42+Options:
4343 -h, --help print this help, then exit
4444 -t, --time-stamp print date of last modification, then exit
4545 -v, --version print version number, then exit
@@ -50,7 +50,7 @@ version="\
5050 GNU config.guess ($timestamp)
5151
5252 Originally written by Per Bothner.
53-Copyright 1992-2014 Free Software Foundation, Inc.
53+Copyright 1992-2018 Free Software Foundation, Inc.
5454
5555 This is free software; see the source for copying conditions. There is NO
5656 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -107,9 +107,9 @@ trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
107107 dummy=$tmp/dummy ;
108108 tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
109109 case $CC_FOR_BUILD,$HOST_CC,$CC in
110- ,,) echo "int x;" > $dummy.c ;
110+ ,,) echo "int x;" > "$dummy.c" ;
111111 for c in cc gcc c89 c99 ; do
112- if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
112+ if ($c -c -o "$dummy.o" "$dummy.c") >/dev/null 2>&1 ; then
113113 CC_FOR_BUILD="$c"; break ;
114114 fi ;
115115 done ;
@@ -132,14 +132,14 @@ UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
132132 UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
133133 UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
134134
135-case "${UNAME_SYSTEM}" in
135+case "$UNAME_SYSTEM" in
136136 Linux|GNU|GNU/*)
137137 # If the system lacks a compiler, then just pick glibc.
138138 # We could probably try harder.
139139 LIBC=gnu
140140
141- eval $set_cc_for_build
142- cat <<-EOF > $dummy.c
141+ eval "$set_cc_for_build"
142+ cat <<-EOF > "$dummy.c"
143143 #include <features.h>
144144 #if defined(__UCLIBC__)
145145 LIBC=uclibc
@@ -149,13 +149,20 @@ Linux|GNU|GNU/*)
149149 LIBC=gnu
150150 #endif
151151 EOF
152- eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`
152+ eval "`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`"
153+
154+ # If ldd exists, use it to detect musl libc.
155+ if command -v ldd >/dev/null && \
156+ ldd --version 2>&1 | grep -q ^musl
157+ then
158+ LIBC=musl
159+ fi
153160 ;;
154161 esac
155162
156163 # Note: order is significant - the case branches are not exclusive.
157164
158-case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
165+case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in
159166 *:NetBSD:*:*)
160167 # NetBSD (nbsd) targets should (where applicable) match one or
161168 # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
@@ -168,21 +175,31 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
168175 # Note: NetBSD doesn't particularly care about the vendor
169176 # portion of the name. We always set it to "unknown".
170177 sysctl="sysctl -n hw.machine_arch"
171- UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
172- /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
173- case "${UNAME_MACHINE_ARCH}" in
178+ UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \
179+ "/sbin/$sysctl" 2>/dev/null || \
180+ "/usr/sbin/$sysctl" 2>/dev/null || \
181+ echo unknown)`
182+ case "$UNAME_MACHINE_ARCH" in
174183 armeb) machine=armeb-unknown ;;
175184 arm*) machine=arm-unknown ;;
176185 sh3el) machine=shl-unknown ;;
177186 sh3eb) machine=sh-unknown ;;
178187 sh5el) machine=sh5le-unknown ;;
179- *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
188+ earmv*)
189+ arch=`echo "$UNAME_MACHINE_ARCH" | sed -e 's,^e\(armv[0-9]\).*$,\1,'`
190+ endian=`echo "$UNAME_MACHINE_ARCH" | sed -ne 's,^.*\(eb\)$,\1,p'`
191+ machine="${arch}${endian}"-unknown
192+ ;;
193+ *) machine="$UNAME_MACHINE_ARCH"-unknown ;;
180194 esac
181195 # The Operating System including object format, if it has switched
182- # to ELF recently, or will in the future.
183- case "${UNAME_MACHINE_ARCH}" in
196+ # to ELF recently (or will in the future) and ABI.
197+ case "$UNAME_MACHINE_ARCH" in
198+ earm*)
199+ os=netbsdelf
200+ ;;
184201 arm*|i386|m68k|ns32k|sh3*|sparc|vax)
185- eval $set_cc_for_build
202+ eval "$set_cc_for_build"
186203 if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
187204 | grep -q __ELF__
188205 then
@@ -197,44 +214,67 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
197214 os=netbsd
198215 ;;
199216 esac
217+ # Determine ABI tags.
218+ case "$UNAME_MACHINE_ARCH" in
219+ earm*)
220+ expr='s/^earmv[0-9]/-eabi/;s/eb$//'
221+ abi=`echo "$UNAME_MACHINE_ARCH" | sed -e "$expr"`
222+ ;;
223+ esac
200224 # The OS release
201225 # Debian GNU/NetBSD machines have a different userland, and
202226 # thus, need a distinct triplet. However, they do not need
203227 # kernel version information, so it can be replaced with a
204228 # suitable tag, in the style of linux-gnu.
205- case "${UNAME_VERSION}" in
229+ case "$UNAME_VERSION" in
206230 Debian*)
207231 release='-gnu'
208232 ;;
209233 *)
210- release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
234+ release=`echo "$UNAME_RELEASE" | sed -e 's/[-_].*//' | cut -d. -f1,2`
211235 ;;
212236 esac
213237 # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
214238 # contains redundant information, the shorter form:
215239 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
216- echo "${machine}-${os}${release}"
240+ echo "$machine-${os}${release}${abi}"
217241 exit ;;
218242 *:Bitrig:*:*)
219243 UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
220- echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE}
244+ echo "$UNAME_MACHINE_ARCH"-unknown-bitrig"$UNAME_RELEASE"
221245 exit ;;
222246 *:OpenBSD:*:*)
223247 UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
224- echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
248+ echo "$UNAME_MACHINE_ARCH"-unknown-openbsd"$UNAME_RELEASE"
249+ exit ;;
250+ *:LibertyBSD:*:*)
251+ UNAME_MACHINE_ARCH=`arch | sed 's/^.*BSD\.//'`
252+ echo "$UNAME_MACHINE_ARCH"-unknown-libertybsd"$UNAME_RELEASE"
253+ exit ;;
254+ *:MidnightBSD:*:*)
255+ echo "$UNAME_MACHINE"-unknown-midnightbsd"$UNAME_RELEASE"
225256 exit ;;
226257 *:ekkoBSD:*:*)
227- echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
258+ echo "$UNAME_MACHINE"-unknown-ekkobsd"$UNAME_RELEASE"
228259 exit ;;
229260 *:SolidBSD:*:*)
230- echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
261+ echo "$UNAME_MACHINE"-unknown-solidbsd"$UNAME_RELEASE"
231262 exit ;;
232263 macppc:MirBSD:*:*)
233- echo powerpc-unknown-mirbsd${UNAME_RELEASE}
264+ echo powerpc-unknown-mirbsd"$UNAME_RELEASE"
234265 exit ;;
235266 *:MirBSD:*:*)
236- echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
267+ echo "$UNAME_MACHINE"-unknown-mirbsd"$UNAME_RELEASE"
268+ exit ;;
269+ *:Sortix:*:*)
270+ echo "$UNAME_MACHINE"-unknown-sortix
237271 exit ;;
272+ *:Redox:*:*)
273+ echo "$UNAME_MACHINE"-unknown-redox
274+ exit ;;
275+ mips:OSF1:*.*)
276+ echo mips-dec-osf1
277+ exit ;;
238278 alpha:OSF1:*:*)
239279 case $UNAME_RELEASE in
240280 *4.0)
@@ -251,63 +291,54 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
251291 ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1`
252292 case "$ALPHA_CPU_TYPE" in
253293 "EV4 (21064)")
254- UNAME_MACHINE="alpha" ;;
294+ UNAME_MACHINE=alpha ;;
255295 "EV4.5 (21064)")
256- UNAME_MACHINE="alpha" ;;
296+ UNAME_MACHINE=alpha ;;
257297 "LCA4 (21066/21068)")
258- UNAME_MACHINE="alpha" ;;
298+ UNAME_MACHINE=alpha ;;
259299 "EV5 (21164)")
260- UNAME_MACHINE="alphaev5" ;;
300+ UNAME_MACHINE=alphaev5 ;;
261301 "EV5.6 (21164A)")
262- UNAME_MACHINE="alphaev56" ;;
302+ UNAME_MACHINE=alphaev56 ;;
263303 "EV5.6 (21164PC)")
264- UNAME_MACHINE="alphapca56" ;;
304+ UNAME_MACHINE=alphapca56 ;;
265305 "EV5.7 (21164PC)")
266- UNAME_MACHINE="alphapca57" ;;
306+ UNAME_MACHINE=alphapca57 ;;
267307 "EV6 (21264)")
268- UNAME_MACHINE="alphaev6" ;;
308+ UNAME_MACHINE=alphaev6 ;;
269309 "EV6.7 (21264A)")
270- UNAME_MACHINE="alphaev67" ;;
310+ UNAME_MACHINE=alphaev67 ;;
271311 "EV6.8CB (21264C)")
272- UNAME_MACHINE="alphaev68" ;;
312+ UNAME_MACHINE=alphaev68 ;;
273313 "EV6.8AL (21264B)")
274- UNAME_MACHINE="alphaev68" ;;
314+ UNAME_MACHINE=alphaev68 ;;
275315 "EV6.8CX (21264D)")
276- UNAME_MACHINE="alphaev68" ;;
316+ UNAME_MACHINE=alphaev68 ;;
277317 "EV6.9A (21264/EV69A)")
278- UNAME_MACHINE="alphaev69" ;;
318+ UNAME_MACHINE=alphaev69 ;;
279319 "EV7 (21364)")
280- UNAME_MACHINE="alphaev7" ;;
320+ UNAME_MACHINE=alphaev7 ;;
281321 "EV7.9 (21364A)")
282- UNAME_MACHINE="alphaev79" ;;
322+ UNAME_MACHINE=alphaev79 ;;
283323 esac
284324 # A Pn.n version is a patched version.
285325 # A Vn.n version is a released version.
286326 # A Tn.n version is a released field test version.
287327 # A Xn.n version is an unreleased experimental baselevel.
288328 # 1.2 uses "1.2" for uname -r.
289- echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
329+ echo "$UNAME_MACHINE"-dec-osf"`echo "$UNAME_RELEASE" | sed -e 's/^[PVTX]//' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`"
290330 # Reset EXIT trap before exiting to avoid spurious non-zero exit code.
291331 exitcode=$?
292332 trap '' 0
293333 exit $exitcode ;;
294- Alpha\ *:Windows_NT*:*)
295- # How do we know it's Interix rather than the generic POSIX subsystem?
296- # Should we change UNAME_MACHINE based on the output of uname instead
297- # of the specific Alpha model?
298- echo alpha-pc-interix
299- exit ;;
300- 21064:Windows_NT:50:3)
301- echo alpha-dec-winnt3.5
302- exit ;;
303334 Amiga*:UNIX_System_V:4.0:*)
304335 echo m68k-unknown-sysv4
305336 exit ;;
306337 *:[Aa]miga[Oo][Ss]:*:*)
307- echo ${UNAME_MACHINE}-unknown-amigaos
338+ echo "$UNAME_MACHINE"-unknown-amigaos
308339 exit ;;
309340 *:[Mm]orph[Oo][Ss]:*:*)
310- echo ${UNAME_MACHINE}-unknown-morphos
341+ echo "$UNAME_MACHINE"-unknown-morphos
311342 exit ;;
312343 *:OS/390:*:*)
313344 echo i370-ibm-openedition
@@ -319,7 +350,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
319350 echo powerpc-ibm-os400
320351 exit ;;
321352 arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
322- echo arm-acorn-riscix${UNAME_RELEASE}
353+ echo arm-acorn-riscix"$UNAME_RELEASE"
323354 exit ;;
324355 arm*:riscos:*:*|arm*:RISCOS:*:*)
325356 echo arm-unknown-riscos
@@ -346,38 +377,38 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
346377 sparc) echo sparc-icl-nx7; exit ;;
347378 esac ;;
348379 s390x:SunOS:*:*)
349- echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
380+ echo "$UNAME_MACHINE"-ibm-solaris2"`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`"
350381 exit ;;
351382 sun4H:SunOS:5.*:*)
352- echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
383+ echo sparc-hal-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
353384 exit ;;
354385 sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
355- echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
386+ echo sparc-sun-solaris2"`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`"
356387 exit ;;
357388 i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
358- echo i386-pc-auroraux${UNAME_RELEASE}
389+ echo i386-pc-auroraux"$UNAME_RELEASE"
359390 exit ;;
360391 i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
361- eval $set_cc_for_build
362- SUN_ARCH="i386"
392+ eval "$set_cc_for_build"
393+ SUN_ARCH=i386
363394 # If there is a compiler, see if it is configured for 64-bit objects.
364395 # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
365396 # This test works for both compilers.
366- if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
397+ if [ "$CC_FOR_BUILD" != no_compiler_found ]; then
367398 if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
368- (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
399+ (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
369400 grep IS_64BIT_ARCH >/dev/null
370401 then
371- SUN_ARCH="x86_64"
402+ SUN_ARCH=x86_64
372403 fi
373404 fi
374- echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
405+ echo "$SUN_ARCH"-pc-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
375406 exit ;;
376407 sun4*:SunOS:6*:*)
377408 # According to config.sub, this is the proper way to canonicalize
378409 # SunOS6. Hard to guess exactly what SunOS6 will be like, but
379410 # it's likely to be more like Solaris than SunOS4.
380- echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
411+ echo sparc-sun-solaris3"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
381412 exit ;;
382413 sun4*:SunOS:*:*)
383414 case "`/usr/bin/arch -k`" in
@@ -386,25 +417,25 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
386417 ;;
387418 esac
388419 # Japanese Language versions have a version number like `4.1.3-JL'.
389- echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
420+ echo sparc-sun-sunos"`echo "$UNAME_RELEASE"|sed -e 's/-/_/'`"
390421 exit ;;
391422 sun3*:SunOS:*:*)
392- echo m68k-sun-sunos${UNAME_RELEASE}
423+ echo m68k-sun-sunos"$UNAME_RELEASE"
393424 exit ;;
394425 sun*:*:4.2BSD:*)
395426 UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
396- test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
427+ test "x$UNAME_RELEASE" = x && UNAME_RELEASE=3
397428 case "`/bin/arch`" in
398429 sun3)
399- echo m68k-sun-sunos${UNAME_RELEASE}
430+ echo m68k-sun-sunos"$UNAME_RELEASE"
400431 ;;
401432 sun4)
402- echo sparc-sun-sunos${UNAME_RELEASE}
433+ echo sparc-sun-sunos"$UNAME_RELEASE"
403434 ;;
404435 esac
405436 exit ;;
406437 aushp:SunOS:*:*)
407- echo sparc-auspex-sunos${UNAME_RELEASE}
438+ echo sparc-auspex-sunos"$UNAME_RELEASE"
408439 exit ;;
409440 # The situation for MiNT is a little confusing. The machine name
410441 # can be virtually everything (everything which is not
@@ -415,44 +446,44 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
415446 # MiNT. But MiNT is downward compatible to TOS, so this should
416447 # be no problem.
417448 atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
418- echo m68k-atari-mint${UNAME_RELEASE}
449+ echo m68k-atari-mint"$UNAME_RELEASE"
419450 exit ;;
420451 atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
421- echo m68k-atari-mint${UNAME_RELEASE}
452+ echo m68k-atari-mint"$UNAME_RELEASE"
422453 exit ;;
423454 *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
424- echo m68k-atari-mint${UNAME_RELEASE}
455+ echo m68k-atari-mint"$UNAME_RELEASE"
425456 exit ;;
426457 milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
427- echo m68k-milan-mint${UNAME_RELEASE}
458+ echo m68k-milan-mint"$UNAME_RELEASE"
428459 exit ;;
429460 hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
430- echo m68k-hades-mint${UNAME_RELEASE}
461+ echo m68k-hades-mint"$UNAME_RELEASE"
431462 exit ;;
432463 *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
433- echo m68k-unknown-mint${UNAME_RELEASE}
464+ echo m68k-unknown-mint"$UNAME_RELEASE"
434465 exit ;;
435466 m68k:machten:*:*)
436- echo m68k-apple-machten${UNAME_RELEASE}
467+ echo m68k-apple-machten"$UNAME_RELEASE"
437468 exit ;;
438469 powerpc:machten:*:*)
439- echo powerpc-apple-machten${UNAME_RELEASE}
470+ echo powerpc-apple-machten"$UNAME_RELEASE"
440471 exit ;;
441472 RISC*:Mach:*:*)
442473 echo mips-dec-mach_bsd4.3
443474 exit ;;
444475 RISC*:ULTRIX:*:*)
445- echo mips-dec-ultrix${UNAME_RELEASE}
476+ echo mips-dec-ultrix"$UNAME_RELEASE"
446477 exit ;;
447478 VAX*:ULTRIX*:*:*)
448- echo vax-dec-ultrix${UNAME_RELEASE}
479+ echo vax-dec-ultrix"$UNAME_RELEASE"
449480 exit ;;
450481 2020:CLIX:*:* | 2430:CLIX:*:*)
451- echo clipper-intergraph-clix${UNAME_RELEASE}
482+ echo clipper-intergraph-clix"$UNAME_RELEASE"
452483 exit ;;
453484 mips:*:*:UMIPS | mips:*:*:RISCos)
454- eval $set_cc_for_build
455- sed 's/^ //' << EOF >$dummy.c
485+ eval "$set_cc_for_build"
486+ sed 's/^ //' << EOF > "$dummy.c"
456487 #ifdef __cplusplus
457488 #include <stdio.h> /* for printf() prototype */
458489 int main (int argc, char *argv[]) {
@@ -461,23 +492,23 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
461492 #endif
462493 #if defined (host_mips) && defined (MIPSEB)
463494 #if defined (SYSTYPE_SYSV)
464- printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0);
495+ printf ("mips-mips-riscos%ssysv\\n", argv[1]); exit (0);
465496 #endif
466497 #if defined (SYSTYPE_SVR4)
467- printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0);
498+ printf ("mips-mips-riscos%ssvr4\\n", argv[1]); exit (0);
468499 #endif
469500 #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)
470- printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0);
501+ printf ("mips-mips-riscos%sbsd\\n", argv[1]); exit (0);
471502 #endif
472503 #endif
473504 exit (-1);
474505 }
475506 EOF
476- $CC_FOR_BUILD -o $dummy $dummy.c &&
477- dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` &&
478- SYSTEM_NAME=`$dummy $dummyarg` &&
507+ $CC_FOR_BUILD -o "$dummy" "$dummy.c" &&
508+ dummyarg=`echo "$UNAME_RELEASE" | sed -n 's/\([0-9]*\).*/\1/p'` &&
509+ SYSTEM_NAME=`"$dummy" "$dummyarg"` &&
479510 { echo "$SYSTEM_NAME"; exit; }
480- echo mips-mips-riscos${UNAME_RELEASE}
511+ echo mips-mips-riscos"$UNAME_RELEASE"
481512 exit ;;
482513 Motorola:PowerMAX_OS:*:*)
483514 echo powerpc-motorola-powermax
@@ -503,17 +534,17 @@ EOF
503534 AViiON:dgux:*:*)
504535 # DG/UX returns AViiON for all architectures
505536 UNAME_PROCESSOR=`/usr/bin/uname -p`
506- if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
537+ if [ "$UNAME_PROCESSOR" = mc88100 ] || [ "$UNAME_PROCESSOR" = mc88110 ]
507538 then
508- if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
509- [ ${TARGET_BINARY_INTERFACE}x = x ]
539+ if [ "$TARGET_BINARY_INTERFACE"x = m88kdguxelfx ] || \
540+ [ "$TARGET_BINARY_INTERFACE"x = x ]
510541 then
511- echo m88k-dg-dgux${UNAME_RELEASE}
542+ echo m88k-dg-dgux"$UNAME_RELEASE"
512543 else
513- echo m88k-dg-dguxbcs${UNAME_RELEASE}
544+ echo m88k-dg-dguxbcs"$UNAME_RELEASE"
514545 fi
515546 else
516- echo i586-dg-dgux${UNAME_RELEASE}
547+ echo i586-dg-dgux"$UNAME_RELEASE"
517548 fi
518549 exit ;;
519550 M88*:DolphinOS:*:*) # DolphinOS (SVR3)
@@ -530,7 +561,7 @@ EOF
530561 echo m68k-tektronix-bsd
531562 exit ;;
532563 *:IRIX*:*:*)
533- echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
564+ echo mips-sgi-irix"`echo "$UNAME_RELEASE"|sed -e 's/-/_/g'`"
534565 exit ;;
535566 ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
536567 echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
@@ -542,14 +573,14 @@ EOF
542573 if [ -x /usr/bin/oslevel ] ; then
543574 IBM_REV=`/usr/bin/oslevel`
544575 else
545- IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
576+ IBM_REV="$UNAME_VERSION.$UNAME_RELEASE"
546577 fi
547- echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
578+ echo "$UNAME_MACHINE"-ibm-aix"$IBM_REV"
548579 exit ;;
549580 *:AIX:2:3)
550581 if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
551- eval $set_cc_for_build
552- sed 's/^ //' << EOF >$dummy.c
582+ eval "$set_cc_for_build"
583+ sed 's/^ //' << EOF > "$dummy.c"
553584 #include <sys/systemcfg.h>
554585
555586 main()
@@ -560,7 +591,7 @@ EOF
560591 exit(0);
561592 }
562593 EOF
563- if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy`
594+ if $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"`
564595 then
565596 echo "$SYSTEM_NAME"
566597 else
@@ -574,26 +605,27 @@ EOF
574605 exit ;;
575606 *:AIX:*:[4567])
576607 IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
577- if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
608+ if /usr/sbin/lsattr -El "$IBM_CPU_ID" | grep ' POWER' >/dev/null 2>&1; then
578609 IBM_ARCH=rs6000
579610 else
580611 IBM_ARCH=powerpc
581612 fi
582- if [ -x /usr/bin/oslevel ] ; then
583- IBM_REV=`/usr/bin/oslevel`
613+ if [ -x /usr/bin/lslpp ] ; then
614+ IBM_REV=`/usr/bin/lslpp -Lqc bos.rte.libc |
615+ awk -F: '{ print $3 }' | sed s/[0-9]*$/0/`
584616 else
585- IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
617+ IBM_REV="$UNAME_VERSION.$UNAME_RELEASE"
586618 fi
587- echo ${IBM_ARCH}-ibm-aix${IBM_REV}
619+ echo "$IBM_ARCH"-ibm-aix"$IBM_REV"
588620 exit ;;
589621 *:AIX:*:*)
590622 echo rs6000-ibm-aix
591623 exit ;;
592- ibmrt:4.4BSD:*|romp-ibm:BSD:*)
624+ ibmrt:4.4BSD:*|romp-ibm:4.4BSD:*)
593625 echo romp-ibm-bsd4.4
594626 exit ;;
595627 ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and
596- echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to
628+ echo romp-ibm-bsd"$UNAME_RELEASE" # 4.3 with uname added to
597629 exit ;; # report: romp-ibm BSD 4.3
598630 *:BOSX:*:*)
599631 echo rs6000-bull-bosx
@@ -608,28 +640,28 @@ EOF
608640 echo m68k-hp-bsd4.4
609641 exit ;;
610642 9000/[34678]??:HP-UX:*:*)
611- HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
612- case "${UNAME_MACHINE}" in
613- 9000/31? ) HP_ARCH=m68000 ;;
614- 9000/[34]?? ) HP_ARCH=m68k ;;
643+ HPUX_REV=`echo "$UNAME_RELEASE"|sed -e 's/[^.]*.[0B]*//'`
644+ case "$UNAME_MACHINE" in
645+ 9000/31?) HP_ARCH=m68000 ;;
646+ 9000/[34]??) HP_ARCH=m68k ;;
615647 9000/[678][0-9][0-9])
616648 if [ -x /usr/bin/getconf ]; then
617649 sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
618650 sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
619- case "${sc_cpu_version}" in
620- 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
621- 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
651+ case "$sc_cpu_version" in
652+ 523) HP_ARCH=hppa1.0 ;; # CPU_PA_RISC1_0
653+ 528) HP_ARCH=hppa1.1 ;; # CPU_PA_RISC1_1
622654 532) # CPU_PA_RISC2_0
623- case "${sc_kernel_bits}" in
624- 32) HP_ARCH="hppa2.0n" ;;
625- 64) HP_ARCH="hppa2.0w" ;;
626- '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20
655+ case "$sc_kernel_bits" in
656+ 32) HP_ARCH=hppa2.0n ;;
657+ 64) HP_ARCH=hppa2.0w ;;
658+ '') HP_ARCH=hppa2.0 ;; # HP-UX 10.20
627659 esac ;;
628660 esac
629661 fi
630- if [ "${HP_ARCH}" = "" ]; then
631- eval $set_cc_for_build
632- sed 's/^ //' << EOF >$dummy.c
662+ if [ "$HP_ARCH" = "" ]; then
663+ eval "$set_cc_for_build"
664+ sed 's/^ //' << EOF > "$dummy.c"
633665
634666 #define _HPUX_SOURCE
635667 #include <stdlib.h>
@@ -662,13 +694,13 @@ EOF
662694 exit (0);
663695 }
664696 EOF
665- (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
697+ (CCOPTS="" $CC_FOR_BUILD -o "$dummy" "$dummy.c" 2>/dev/null) && HP_ARCH=`"$dummy"`
666698 test -z "$HP_ARCH" && HP_ARCH=hppa
667699 fi ;;
668700 esac
669- if [ ${HP_ARCH} = "hppa2.0w" ]
701+ if [ "$HP_ARCH" = hppa2.0w ]
670702 then
671- eval $set_cc_for_build
703+ eval "$set_cc_for_build"
672704
673705 # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
674706 # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler
@@ -679,23 +711,23 @@ EOF
679711 # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
680712 # => hppa64-hp-hpux11.23
681713
682- if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
714+ if echo __LP64__ | (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) |
683715 grep -q __LP64__
684716 then
685- HP_ARCH="hppa2.0w"
717+ HP_ARCH=hppa2.0w
686718 else
687- HP_ARCH="hppa64"
719+ HP_ARCH=hppa64
688720 fi
689721 fi
690- echo ${HP_ARCH}-hp-hpux${HPUX_REV}
722+ echo "$HP_ARCH"-hp-hpux"$HPUX_REV"
691723 exit ;;
692724 ia64:HP-UX:*:*)
693- HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
694- echo ia64-hp-hpux${HPUX_REV}
725+ HPUX_REV=`echo "$UNAME_RELEASE"|sed -e 's/[^.]*.[0B]*//'`
726+ echo ia64-hp-hpux"$HPUX_REV"
695727 exit ;;
696728 3050*:HI-UX:*:*)
697- eval $set_cc_for_build
698- sed 's/^ //' << EOF >$dummy.c
729+ eval "$set_cc_for_build"
730+ sed 's/^ //' << EOF > "$dummy.c"
699731 #include <unistd.h>
700732 int
701733 main ()
@@ -720,11 +752,11 @@ EOF
720752 exit (0);
721753 }
722754 EOF
723- $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` &&
755+ $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"` &&
724756 { echo "$SYSTEM_NAME"; exit; }
725757 echo unknown-hitachi-hiuxwe2
726758 exit ;;
727- 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
759+ 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:*)
728760 echo hppa1.1-hp-bsd
729761 exit ;;
730762 9000/8??:4.3bsd:*:*)
@@ -733,7 +765,7 @@ EOF
733765 *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
734766 echo hppa1.0-hp-mpeix
735767 exit ;;
736- hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
768+ hp7??:OSF1:*:* | hp8?[79]:OSF1:*:*)
737769 echo hppa1.1-hp-osf
738770 exit ;;
739771 hp8??:OSF1:*:*)
@@ -741,9 +773,9 @@ EOF
741773 exit ;;
742774 i*86:OSF1:*:*)
743775 if [ -x /usr/sbin/sysversion ] ; then
744- echo ${UNAME_MACHINE}-unknown-osf1mk
776+ echo "$UNAME_MACHINE"-unknown-osf1mk
745777 else
746- echo ${UNAME_MACHINE}-unknown-osf1
778+ echo "$UNAME_MACHINE"-unknown-osf1
747779 fi
748780 exit ;;
749781 parisc*:Lites*:*:*)
@@ -768,127 +800,109 @@ EOF
768800 echo c4-convex-bsd
769801 exit ;;
770802 CRAY*Y-MP:*:*:*)
771- echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
803+ echo ymp-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
772804 exit ;;
773805 CRAY*[A-Z]90:*:*:*)
774- echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
806+ echo "$UNAME_MACHINE"-cray-unicos"$UNAME_RELEASE" \
775807 | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
776808 -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
777809 -e 's/\.[^.]*$/.X/'
778810 exit ;;
779811 CRAY*TS:*:*:*)
780- echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
812+ echo t90-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
781813 exit ;;
782814 CRAY*T3E:*:*:*)
783- echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
815+ echo alphaev5-cray-unicosmk"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
784816 exit ;;
785817 CRAY*SV1:*:*:*)
786- echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
818+ echo sv1-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
787819 exit ;;
788820 *:UNICOS/mp:*:*)
789- echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
821+ echo craynv-cray-unicosmp"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
790822 exit ;;
791823 F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
792- FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
793- FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
794- FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
824+ FUJITSU_PROC=`uname -m | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`
825+ FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'`
826+ FUJITSU_REL=`echo "$UNAME_RELEASE" | sed -e 's/ /_/'`
795827 echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
796828 exit ;;
797829 5000:UNIX_System_V:4.*:*)
798- FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
799- FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
830+ FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'`
831+ FUJITSU_REL=`echo "$UNAME_RELEASE" | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/ /_/'`
800832 echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
801833 exit ;;
802834 i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
803- echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
835+ echo "$UNAME_MACHINE"-pc-bsdi"$UNAME_RELEASE"
804836 exit ;;
805837 sparc*:BSD/OS:*:*)
806- echo sparc-unknown-bsdi${UNAME_RELEASE}
838+ echo sparc-unknown-bsdi"$UNAME_RELEASE"
807839 exit ;;
808840 *:BSD/OS:*:*)
809- echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
841+ echo "$UNAME_MACHINE"-unknown-bsdi"$UNAME_RELEASE"
810842 exit ;;
811843 *:FreeBSD:*:*)
812844 UNAME_PROCESSOR=`/usr/bin/uname -p`
813- case ${UNAME_PROCESSOR} in
845+ case "$UNAME_PROCESSOR" in
814846 amd64)
815- echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
816- *)
817- echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
847+ UNAME_PROCESSOR=x86_64 ;;
848+ i386)
849+ UNAME_PROCESSOR=i586 ;;
818850 esac
851+ echo "$UNAME_PROCESSOR"-unknown-freebsd"`echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`"
819852 exit ;;
820853 i*:CYGWIN*:*)
821- echo ${UNAME_MACHINE}-pc-cygwin
854+ echo "$UNAME_MACHINE"-pc-cygwin
822855 exit ;;
823856 *:MINGW64*:*)
824- echo ${UNAME_MACHINE}-pc-mingw64
857+ echo "$UNAME_MACHINE"-pc-mingw64
825858 exit ;;
826859 *:MINGW*:*)
827- echo ${UNAME_MACHINE}-pc-mingw32
860+ echo "$UNAME_MACHINE"-pc-mingw32
828861 exit ;;
829862 *:MSYS*:*)
830- echo ${UNAME_MACHINE}-pc-msys
831- exit ;;
832- i*:windows32*:*)
833- # uname -m includes "-pc" on this system.
834- echo ${UNAME_MACHINE}-mingw32
863+ echo "$UNAME_MACHINE"-pc-msys
835864 exit ;;
836865 i*:PW*:*)
837- echo ${UNAME_MACHINE}-pc-pw32
866+ echo "$UNAME_MACHINE"-pc-pw32
838867 exit ;;
839868 *:Interix*:*)
840- case ${UNAME_MACHINE} in
869+ case "$UNAME_MACHINE" in
841870 x86)
842- echo i586-pc-interix${UNAME_RELEASE}
871+ echo i586-pc-interix"$UNAME_RELEASE"
843872 exit ;;
844873 authenticamd | genuineintel | EM64T)
845- echo x86_64-unknown-interix${UNAME_RELEASE}
874+ echo x86_64-unknown-interix"$UNAME_RELEASE"
846875 exit ;;
847876 IA64)
848- echo ia64-unknown-interix${UNAME_RELEASE}
877+ echo ia64-unknown-interix"$UNAME_RELEASE"
849878 exit ;;
850879 esac ;;
851- [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
852- echo i${UNAME_MACHINE}-pc-mks
853- exit ;;
854- 8664:Windows_NT:*)
855- echo x86_64-pc-mks
856- exit ;;
857- i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
858- # How do we know it's Interix rather than the generic POSIX subsystem?
859- # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
860- # UNAME_MACHINE based on the output of uname instead of i386?
861- echo i586-pc-interix
862- exit ;;
863880 i*:UWIN*:*)
864- echo ${UNAME_MACHINE}-pc-uwin
881+ echo "$UNAME_MACHINE"-pc-uwin
865882 exit ;;
866883 amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
867884 echo x86_64-unknown-cygwin
868885 exit ;;
869- p*:CYGWIN*:*)
870- echo powerpcle-unknown-cygwin
871- exit ;;
872886 prep*:SunOS:5.*:*)
873- echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
887+ echo powerpcle-unknown-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
874888 exit ;;
875889 *:GNU:*:*)
876890 # the GNU system
877- echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
891+ echo "`echo "$UNAME_MACHINE"|sed -e 's,[-/].*$,,'`-unknown-$LIBC`echo "$UNAME_RELEASE"|sed -e 's,/.*$,,'`"
878892 exit ;;
879893 *:GNU/*:*:*)
880894 # other systems with GNU libc and userland
881- echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC}
895+ echo "$UNAME_MACHINE-unknown-`echo "$UNAME_SYSTEM" | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"``echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`-$LIBC"
882896 exit ;;
883897 i*86:Minix:*:*)
884- echo ${UNAME_MACHINE}-pc-minix
898+ echo "$UNAME_MACHINE"-pc-minix
885899 exit ;;
886900 aarch64:Linux:*:*)
887- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
901+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
888902 exit ;;
889903 aarch64_be:Linux:*:*)
890904 UNAME_MACHINE=aarch64_be
891- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
905+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
892906 exit ;;
893907 alpha:Linux:*:*)
894908 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
@@ -901,58 +915,64 @@ EOF
901915 EV68*) UNAME_MACHINE=alphaev68 ;;
902916 esac
903917 objdump --private-headers /bin/sh | grep -q ld.so.1
904- if test "$?" = 0 ; then LIBC="gnulibc1" ; fi
905- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
918+ if test "$?" = 0 ; then LIBC=gnulibc1 ; fi
919+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
906920 exit ;;
907921 arc:Linux:*:* | arceb:Linux:*:*)
908- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
922+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
909923 exit ;;
910924 arm*:Linux:*:*)
911- eval $set_cc_for_build
925+ eval "$set_cc_for_build"
912926 if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
913927 | grep -q __ARM_EABI__
914928 then
915- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
929+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
916930 else
917931 if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
918932 | grep -q __ARM_PCS_VFP
919933 then
920- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi
934+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"eabi
921935 else
922- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf
936+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"eabihf
923937 fi
924938 fi
925939 exit ;;
926940 avr32*:Linux:*:*)
927- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
941+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
928942 exit ;;
929943 cris:Linux:*:*)
930- echo ${UNAME_MACHINE}-axis-linux-${LIBC}
944+ echo "$UNAME_MACHINE"-axis-linux-"$LIBC"
931945 exit ;;
932946 crisv32:Linux:*:*)
933- echo ${UNAME_MACHINE}-axis-linux-${LIBC}
947+ echo "$UNAME_MACHINE"-axis-linux-"$LIBC"
948+ exit ;;
949+ e2k:Linux:*:*)
950+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
934951 exit ;;
935952 frv:Linux:*:*)
936- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
953+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
937954 exit ;;
938955 hexagon:Linux:*:*)
939- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
956+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
940957 exit ;;
941958 i*86:Linux:*:*)
942- echo ${UNAME_MACHINE}-pc-linux-${LIBC}
959+ echo "$UNAME_MACHINE"-pc-linux-"$LIBC"
943960 exit ;;
944961 ia64:Linux:*:*)
945- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
962+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
963+ exit ;;
964+ k1om:Linux:*:*)
965+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
946966 exit ;;
947967 m32r*:Linux:*:*)
948- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
968+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
949969 exit ;;
950970 m68*:Linux:*:*)
951- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
971+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
952972 exit ;;
953973 mips:Linux:*:* | mips64:Linux:*:*)
954- eval $set_cc_for_build
955- sed 's/^ //' << EOF >$dummy.c
974+ eval "$set_cc_for_build"
975+ sed 's/^ //' << EOF > "$dummy.c"
956976 #undef CPU
957977 #undef ${UNAME_MACHINE}
958978 #undef ${UNAME_MACHINE}el
@@ -966,64 +986,74 @@ EOF
966986 #endif
967987 #endif
968988 EOF
969- eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
970- test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
989+ eval "`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^CPU'`"
990+ test "x$CPU" != x && { echo "$CPU-unknown-linux-$LIBC"; exit; }
971991 ;;
992+ mips64el:Linux:*:*)
993+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
994+ exit ;;
972995 openrisc*:Linux:*:*)
973- echo or1k-unknown-linux-${LIBC}
996+ echo or1k-unknown-linux-"$LIBC"
974997 exit ;;
975998 or32:Linux:*:* | or1k*:Linux:*:*)
976- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
999+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
9771000 exit ;;
9781001 padre:Linux:*:*)
979- echo sparc-unknown-linux-${LIBC}
1002+ echo sparc-unknown-linux-"$LIBC"
9801003 exit ;;
9811004 parisc64:Linux:*:* | hppa64:Linux:*:*)
982- echo hppa64-unknown-linux-${LIBC}
1005+ echo hppa64-unknown-linux-"$LIBC"
9831006 exit ;;
9841007 parisc:Linux:*:* | hppa:Linux:*:*)
9851008 # Look for CPU level
9861009 case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
987- PA7*) echo hppa1.1-unknown-linux-${LIBC} ;;
988- PA8*) echo hppa2.0-unknown-linux-${LIBC} ;;
989- *) echo hppa-unknown-linux-${LIBC} ;;
1010+ PA7*) echo hppa1.1-unknown-linux-"$LIBC" ;;
1011+ PA8*) echo hppa2.0-unknown-linux-"$LIBC" ;;
1012+ *) echo hppa-unknown-linux-"$LIBC" ;;
9901013 esac
9911014 exit ;;
9921015 ppc64:Linux:*:*)
993- echo powerpc64-unknown-linux-${LIBC}
1016+ echo powerpc64-unknown-linux-"$LIBC"
9941017 exit ;;
9951018 ppc:Linux:*:*)
996- echo powerpc-unknown-linux-${LIBC}
1019+ echo powerpc-unknown-linux-"$LIBC"
9971020 exit ;;
9981021 ppc64le:Linux:*:*)
999- echo powerpc64le-unknown-linux-${LIBC}
1022+ echo powerpc64le-unknown-linux-"$LIBC"
10001023 exit ;;
10011024 ppcle:Linux:*:*)
1002- echo powerpcle-unknown-linux-${LIBC}
1025+ echo powerpcle-unknown-linux-"$LIBC"
1026+ exit ;;
1027+ riscv32:Linux:*:* | riscv64:Linux:*:*)
1028+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
10031029 exit ;;
10041030 s390:Linux:*:* | s390x:Linux:*:*)
1005- echo ${UNAME_MACHINE}-ibm-linux-${LIBC}
1031+ echo "$UNAME_MACHINE"-ibm-linux-"$LIBC"
10061032 exit ;;
10071033 sh64*:Linux:*:*)
1008- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1034+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
10091035 exit ;;
10101036 sh*:Linux:*:*)
1011- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1037+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
10121038 exit ;;
10131039 sparc:Linux:*:* | sparc64:Linux:*:*)
1014- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1040+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
10151041 exit ;;
10161042 tile*:Linux:*:*)
1017- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1043+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
10181044 exit ;;
10191045 vax:Linux:*:*)
1020- echo ${UNAME_MACHINE}-dec-linux-${LIBC}
1046+ echo "$UNAME_MACHINE"-dec-linux-"$LIBC"
10211047 exit ;;
10221048 x86_64:Linux:*:*)
1023- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1049+ if objdump -f /bin/sh | grep -q elf32-x86-64; then
1050+ echo "$UNAME_MACHINE"-pc-linux-"$LIBC"x32
1051+ else
1052+ echo "$UNAME_MACHINE"-pc-linux-"$LIBC"
1053+ fi
10241054 exit ;;
10251055 xtensa*:Linux:*:*)
1026- echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1056+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
10271057 exit ;;
10281058 i*86:DYNIX/ptx:4*:*)
10291059 # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
@@ -1037,34 +1067,34 @@ EOF
10371067 # I am not positive that other SVR4 systems won't match this,
10381068 # I just have to hope. -- rms.
10391069 # Use sysv4.2uw... so that sysv4* matches it.
1040- echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
1070+ echo "$UNAME_MACHINE"-pc-sysv4.2uw"$UNAME_VERSION"
10411071 exit ;;
10421072 i*86:OS/2:*:*)
10431073 # If we were able to find `uname', then EMX Unix compatibility
10441074 # is probably installed.
1045- echo ${UNAME_MACHINE}-pc-os2-emx
1075+ echo "$UNAME_MACHINE"-pc-os2-emx
10461076 exit ;;
10471077 i*86:XTS-300:*:STOP)
1048- echo ${UNAME_MACHINE}-unknown-stop
1078+ echo "$UNAME_MACHINE"-unknown-stop
10491079 exit ;;
10501080 i*86:atheos:*:*)
1051- echo ${UNAME_MACHINE}-unknown-atheos
1081+ echo "$UNAME_MACHINE"-unknown-atheos
10521082 exit ;;
10531083 i*86:syllable:*:*)
1054- echo ${UNAME_MACHINE}-pc-syllable
1084+ echo "$UNAME_MACHINE"-pc-syllable
10551085 exit ;;
10561086 i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
1057- echo i386-unknown-lynxos${UNAME_RELEASE}
1087+ echo i386-unknown-lynxos"$UNAME_RELEASE"
10581088 exit ;;
10591089 i*86:*DOS:*:*)
1060- echo ${UNAME_MACHINE}-pc-msdosdjgpp
1090+ echo "$UNAME_MACHINE"-pc-msdosdjgpp
10611091 exit ;;
1062- i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
1063- UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
1092+ i*86:*:4.*:*)
1093+ UNAME_REL=`echo "$UNAME_RELEASE" | sed 's/\/MP$//'`
10641094 if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
1065- echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL}
1095+ echo "$UNAME_MACHINE"-univel-sysv"$UNAME_REL"
10661096 else
1067- echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
1097+ echo "$UNAME_MACHINE"-pc-sysv"$UNAME_REL"
10681098 fi
10691099 exit ;;
10701100 i*86:*:5:[678]*)
@@ -1074,12 +1104,12 @@ EOF
10741104 *Pentium) UNAME_MACHINE=i586 ;;
10751105 *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
10761106 esac
1077- echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
1107+ echo "$UNAME_MACHINE-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}{$UNAME_VERSION}"
10781108 exit ;;
10791109 i*86:*:3.2:*)
10801110 if test -f /usr/options/cb.name; then
10811111 UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
1082- echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
1112+ echo "$UNAME_MACHINE"-pc-isc"$UNAME_REL"
10831113 elif /bin/uname -X 2>/dev/null >/dev/null ; then
10841114 UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
10851115 (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
@@ -1089,9 +1119,9 @@ EOF
10891119 && UNAME_MACHINE=i686
10901120 (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
10911121 && UNAME_MACHINE=i686
1092- echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
1122+ echo "$UNAME_MACHINE"-pc-sco"$UNAME_REL"
10931123 else
1094- echo ${UNAME_MACHINE}-pc-sysv32
1124+ echo "$UNAME_MACHINE"-pc-sysv32
10951125 fi
10961126 exit ;;
10971127 pc:*:*:*)
@@ -1099,7 +1129,7 @@ EOF
10991129 # uname -m prints for DJGPP always 'pc', but it prints nothing about
11001130 # the processor, so we play safe by assuming i586.
11011131 # Note: whatever this is, it MUST be the same as what config.sub
1102- # prints for the "djgpp" host, or else GDB configury will decide that
1132+ # prints for the "djgpp" host, or else GDB configure will decide that
11031133 # this is a cross-build.
11041134 echo i586-pc-msdosdjgpp
11051135 exit ;;
@@ -1111,9 +1141,9 @@ EOF
11111141 exit ;;
11121142 i860:*:4.*:*) # i860-SVR4
11131143 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
1114- echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
1144+ echo i860-stardent-sysv"$UNAME_RELEASE" # Stardent Vistra i860-SVR4
11151145 else # Add other i860-SVR4 vendors below as they are discovered.
1116- echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4
1146+ echo i860-unknown-sysv"$UNAME_RELEASE" # Unknown i860-SVR4
11171147 fi
11181148 exit ;;
11191149 mini*:CTIX:SYS*5:*)
@@ -1133,9 +1163,9 @@ EOF
11331163 test -r /etc/.relid \
11341164 && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
11351165 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1136- && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
1166+ && { echo i486-ncr-sysv4.3"$OS_REL"; exit; }
11371167 /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
1138- && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
1168+ && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } ;;
11391169 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
11401170 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
11411171 && { echo i486-ncr-sysv4; exit; } ;;
@@ -1144,28 +1174,28 @@ EOF
11441174 test -r /etc/.relid \
11451175 && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
11461176 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1147- && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
1177+ && { echo i486-ncr-sysv4.3"$OS_REL"; exit; }
11481178 /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
1149- && { echo i586-ncr-sysv4.3${OS_REL}; exit; }
1179+ && { echo i586-ncr-sysv4.3"$OS_REL"; exit; }
11501180 /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
1151- && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
1181+ && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } ;;
11521182 m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
1153- echo m68k-unknown-lynxos${UNAME_RELEASE}
1183+ echo m68k-unknown-lynxos"$UNAME_RELEASE"
11541184 exit ;;
11551185 mc68030:UNIX_System_V:4.*:*)
11561186 echo m68k-atari-sysv4
11571187 exit ;;
11581188 TSUNAMI:LynxOS:2.*:*)
1159- echo sparc-unknown-lynxos${UNAME_RELEASE}
1189+ echo sparc-unknown-lynxos"$UNAME_RELEASE"
11601190 exit ;;
11611191 rs6000:LynxOS:2.*:*)
1162- echo rs6000-unknown-lynxos${UNAME_RELEASE}
1192+ echo rs6000-unknown-lynxos"$UNAME_RELEASE"
11631193 exit ;;
11641194 PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
1165- echo powerpc-unknown-lynxos${UNAME_RELEASE}
1195+ echo powerpc-unknown-lynxos"$UNAME_RELEASE"
11661196 exit ;;
11671197 SM[BE]S:UNIX_SV:*:*)
1168- echo mips-dde-sysv${UNAME_RELEASE}
1198+ echo mips-dde-sysv"$UNAME_RELEASE"
11691199 exit ;;
11701200 RM*:ReliantUNIX-*:*:*)
11711201 echo mips-sni-sysv4
@@ -1176,7 +1206,7 @@ EOF
11761206 *:SINIX-*:*:*)
11771207 if uname -p 2>/dev/null >/dev/null ; then
11781208 UNAME_MACHINE=`(uname -p) 2>/dev/null`
1179- echo ${UNAME_MACHINE}-sni-sysv4
1209+ echo "$UNAME_MACHINE"-sni-sysv4
11801210 else
11811211 echo ns32k-sni-sysv
11821212 fi
@@ -1196,23 +1226,23 @@ EOF
11961226 exit ;;
11971227 i*86:VOS:*:*)
11981228 # From Paul.Green@stratus.com.
1199- echo ${UNAME_MACHINE}-stratus-vos
1229+ echo "$UNAME_MACHINE"-stratus-vos
12001230 exit ;;
12011231 *:VOS:*:*)
12021232 # From Paul.Green@stratus.com.
12031233 echo hppa1.1-stratus-vos
12041234 exit ;;
12051235 mc68*:A/UX:*:*)
1206- echo m68k-apple-aux${UNAME_RELEASE}
1236+ echo m68k-apple-aux"$UNAME_RELEASE"
12071237 exit ;;
12081238 news*:NEWS-OS:6*:*)
12091239 echo mips-sony-newsos6
12101240 exit ;;
12111241 R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
12121242 if [ -d /usr/nec ]; then
1213- echo mips-nec-sysv${UNAME_RELEASE}
1243+ echo mips-nec-sysv"$UNAME_RELEASE"
12141244 else
1215- echo mips-unknown-sysv${UNAME_RELEASE}
1245+ echo mips-unknown-sysv"$UNAME_RELEASE"
12161246 fi
12171247 exit ;;
12181248 BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
@@ -1231,46 +1261,56 @@ EOF
12311261 echo x86_64-unknown-haiku
12321262 exit ;;
12331263 SX-4:SUPER-UX:*:*)
1234- echo sx4-nec-superux${UNAME_RELEASE}
1264+ echo sx4-nec-superux"$UNAME_RELEASE"
12351265 exit ;;
12361266 SX-5:SUPER-UX:*:*)
1237- echo sx5-nec-superux${UNAME_RELEASE}
1267+ echo sx5-nec-superux"$UNAME_RELEASE"
12381268 exit ;;
12391269 SX-6:SUPER-UX:*:*)
1240- echo sx6-nec-superux${UNAME_RELEASE}
1270+ echo sx6-nec-superux"$UNAME_RELEASE"
12411271 exit ;;
12421272 SX-7:SUPER-UX:*:*)
1243- echo sx7-nec-superux${UNAME_RELEASE}
1273+ echo sx7-nec-superux"$UNAME_RELEASE"
12441274 exit ;;
12451275 SX-8:SUPER-UX:*:*)
1246- echo sx8-nec-superux${UNAME_RELEASE}
1276+ echo sx8-nec-superux"$UNAME_RELEASE"
12471277 exit ;;
12481278 SX-8R:SUPER-UX:*:*)
1249- echo sx8r-nec-superux${UNAME_RELEASE}
1279+ echo sx8r-nec-superux"$UNAME_RELEASE"
1280+ exit ;;
1281+ SX-ACE:SUPER-UX:*:*)
1282+ echo sxace-nec-superux"$UNAME_RELEASE"
12501283 exit ;;
12511284 Power*:Rhapsody:*:*)
1252- echo powerpc-apple-rhapsody${UNAME_RELEASE}
1285+ echo powerpc-apple-rhapsody"$UNAME_RELEASE"
12531286 exit ;;
12541287 *:Rhapsody:*:*)
1255- echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
1288+ echo "$UNAME_MACHINE"-apple-rhapsody"$UNAME_RELEASE"
12561289 exit ;;
12571290 *:Darwin:*:*)
12581291 UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
1259- eval $set_cc_for_build
1292+ eval "$set_cc_for_build"
12601293 if test "$UNAME_PROCESSOR" = unknown ; then
12611294 UNAME_PROCESSOR=powerpc
12621295 fi
1263- if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then
1264- if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
1296+ if test "`echo "$UNAME_RELEASE" | sed -e 's/\..*//'`" -le 10 ; then
1297+ if [ "$CC_FOR_BUILD" != no_compiler_found ]; then
12651298 if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
1266- (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
1267- grep IS_64BIT_ARCH >/dev/null
1299+ (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
1300+ grep IS_64BIT_ARCH >/dev/null
12681301 then
12691302 case $UNAME_PROCESSOR in
12701303 i386) UNAME_PROCESSOR=x86_64 ;;
12711304 powerpc) UNAME_PROCESSOR=powerpc64 ;;
12721305 esac
12731306 fi
1307+ # On 10.4-10.6 one might compile for PowerPC via gcc -arch ppc
1308+ if (echo '#ifdef __POWERPC__'; echo IS_PPC; echo '#endif') | \
1309+ (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
1310+ grep IS_PPC >/dev/null
1311+ then
1312+ UNAME_PROCESSOR=powerpc
1313+ fi
12741314 fi
12751315 elif test "$UNAME_PROCESSOR" = i386 ; then
12761316 # Avoid executing cc on OS X 10.9, as it ships with a stub
@@ -1281,27 +1321,33 @@ EOF
12811321 # that Apple uses in portable devices.
12821322 UNAME_PROCESSOR=x86_64
12831323 fi
1284- echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
1324+ echo "$UNAME_PROCESSOR"-apple-darwin"$UNAME_RELEASE"
12851325 exit ;;
12861326 *:procnto*:*:* | *:QNX:[0123456789]*:*)
12871327 UNAME_PROCESSOR=`uname -p`
1288- if test "$UNAME_PROCESSOR" = "x86"; then
1328+ if test "$UNAME_PROCESSOR" = x86; then
12891329 UNAME_PROCESSOR=i386
12901330 UNAME_MACHINE=pc
12911331 fi
1292- echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
1332+ echo "$UNAME_PROCESSOR"-"$UNAME_MACHINE"-nto-qnx"$UNAME_RELEASE"
12931333 exit ;;
12941334 *:QNX:*:4*)
12951335 echo i386-pc-qnx
12961336 exit ;;
1297- NEO-?:NONSTOP_KERNEL:*:*)
1298- echo neo-tandem-nsk${UNAME_RELEASE}
1337+ NEO-*:NONSTOP_KERNEL:*:*)
1338+ echo neo-tandem-nsk"$UNAME_RELEASE"
12991339 exit ;;
13001340 NSE-*:NONSTOP_KERNEL:*:*)
1301- echo nse-tandem-nsk${UNAME_RELEASE}
1341+ echo nse-tandem-nsk"$UNAME_RELEASE"
13021342 exit ;;
1303- NSR-?:NONSTOP_KERNEL:*:*)
1304- echo nsr-tandem-nsk${UNAME_RELEASE}
1343+ NSR-*:NONSTOP_KERNEL:*:*)
1344+ echo nsr-tandem-nsk"$UNAME_RELEASE"
1345+ exit ;;
1346+ NSV-*:NONSTOP_KERNEL:*:*)
1347+ echo nsv-tandem-nsk"$UNAME_RELEASE"
1348+ exit ;;
1349+ NSX-*:NONSTOP_KERNEL:*:*)
1350+ echo nsx-tandem-nsk"$UNAME_RELEASE"
13051351 exit ;;
13061352 *:NonStop-UX:*:*)
13071353 echo mips-compaq-nonstopux
@@ -1310,18 +1356,18 @@ EOF
13101356 echo bs2000-siemens-sysv
13111357 exit ;;
13121358 DS/*:UNIX_System_V:*:*)
1313- echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
1359+ echo "$UNAME_MACHINE"-"$UNAME_SYSTEM"-"$UNAME_RELEASE"
13141360 exit ;;
13151361 *:Plan9:*:*)
13161362 # "uname -m" is not consistent, so use $cputype instead. 386
13171363 # is converted to i386 for consistency with other x86
13181364 # operating systems.
1319- if test "$cputype" = "386"; then
1365+ if test "$cputype" = 386; then
13201366 UNAME_MACHINE=i386
13211367 else
13221368 UNAME_MACHINE="$cputype"
13231369 fi
1324- echo ${UNAME_MACHINE}-unknown-plan9
1370+ echo "$UNAME_MACHINE"-unknown-plan9
13251371 exit ;;
13261372 *:TOPS-10:*:*)
13271373 echo pdp10-unknown-tops10
@@ -1342,14 +1388,14 @@ EOF
13421388 echo pdp10-unknown-its
13431389 exit ;;
13441390 SEI:*:*:SEIUX)
1345- echo mips-sei-seiux${UNAME_RELEASE}
1391+ echo mips-sei-seiux"$UNAME_RELEASE"
13461392 exit ;;
13471393 *:DragonFly:*:*)
1348- echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
1394+ echo "$UNAME_MACHINE"-unknown-dragonfly"`echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`"
13491395 exit ;;
13501396 *:*VMS:*:*)
13511397 UNAME_MACHINE=`(uname -p) 2>/dev/null`
1352- case "${UNAME_MACHINE}" in
1398+ case "$UNAME_MACHINE" in
13531399 A*) echo alpha-dec-vms ; exit ;;
13541400 I*) echo ia64-dec-vms ; exit ;;
13551401 V*) echo vax-dec-vms ; exit ;;
@@ -1358,34 +1404,48 @@ EOF
13581404 echo i386-pc-xenix
13591405 exit ;;
13601406 i*86:skyos:*:*)
1361- echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
1407+ echo "$UNAME_MACHINE"-pc-skyos"`echo "$UNAME_RELEASE" | sed -e 's/ .*$//'`"
13621408 exit ;;
13631409 i*86:rdos:*:*)
1364- echo ${UNAME_MACHINE}-pc-rdos
1410+ echo "$UNAME_MACHINE"-pc-rdos
13651411 exit ;;
13661412 i*86:AROS:*:*)
1367- echo ${UNAME_MACHINE}-pc-aros
1413+ echo "$UNAME_MACHINE"-pc-aros
13681414 exit ;;
13691415 x86_64:VMkernel:*:*)
1370- echo ${UNAME_MACHINE}-unknown-esx
1416+ echo "$UNAME_MACHINE"-unknown-esx
1417+ exit ;;
1418+ amd64:Isilon\ OneFS:*:*)
1419+ echo x86_64-unknown-onefs
13711420 exit ;;
13721421 esac
13731422
1423+echo "$0: unable to guess system type" >&2
1424+
1425+case "$UNAME_MACHINE:$UNAME_SYSTEM" in
1426+ mips:Linux | mips64:Linux)
1427+ # If we got here on MIPS GNU/Linux, output extra information.
1428+ cat >&2 <<EOF
1429+
1430+NOTE: MIPS GNU/Linux systems require a C compiler to fully recognize
1431+the system type. Please install a C compiler and try again.
1432+EOF
1433+ ;;
1434+esac
1435+
13741436 cat >&2 <<EOF
1375-$0: unable to guess system type
13761437
1377-This script, last modified $timestamp, has failed to recognize
1378-the operating system you are using. It is advised that you
1379-download the most up to date version of the config scripts from
1438+This script (version $timestamp), has failed to recognize the
1439+operating system you are using. If your script is old, overwrite *all*
1440+copies of config.guess and config.sub with the latest versions from:
13801441
1381- http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
1442+ https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess
13821443 and
1383- http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
1444+ https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub
13841445
1385-If the version you run ($0) is already up to date, please
1386-send the following data and any information you think might be
1387-pertinent to <config-patches@gnu.org> in order to provide the needed
1388-information to handle your system.
1446+If $0 has already been updated, send the following data and any
1447+information you think might be pertinent to config-patches@gnu.org to
1448+provide the necessary information to handle your system.
13891449
13901450 config.guess timestamp = $timestamp
13911451
@@ -1404,16 +1464,16 @@ hostinfo = `(hostinfo) 2>/dev/null`
14041464 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null`
14051465 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null`
14061466
1407-UNAME_MACHINE = ${UNAME_MACHINE}
1408-UNAME_RELEASE = ${UNAME_RELEASE}
1409-UNAME_SYSTEM = ${UNAME_SYSTEM}
1410-UNAME_VERSION = ${UNAME_VERSION}
1467+UNAME_MACHINE = "$UNAME_MACHINE"
1468+UNAME_RELEASE = "$UNAME_RELEASE"
1469+UNAME_SYSTEM = "$UNAME_SYSTEM"
1470+UNAME_VERSION = "$UNAME_VERSION"
14111471 EOF
14121472
14131473 exit 1
14141474
14151475 # Local variables:
1416-# eval: (add-hook 'write-file-hooks 'time-stamp)
1476+# eval: (add-hook 'write-file-functions 'time-stamp)
14171477 # time-stamp-start: "timestamp='"
14181478 # time-stamp-format: "%:y-%02m-%02d"
14191479 # time-stamp-end: "'"
--- a/config.sub
+++ b/config.sub
@@ -1,8 +1,8 @@
11 #! /bin/sh
22 # Configuration validation subroutine script.
3-# Copyright 1992-2014 Free Software Foundation, Inc.
3+# Copyright 1992-2018 Free Software Foundation, Inc.
44
5-timestamp='2014-09-11'
5+timestamp='2018-02-22'
66
77 # This file is free software; you can redistribute it and/or modify it
88 # under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@ timestamp='2014-09-11'
1515 # General Public License for more details.
1616 #
1717 # You should have received a copy of the GNU General Public License
18-# along with this program; if not, see <http://www.gnu.org/licenses/>.
18+# along with this program; if not, see <https://www.gnu.org/licenses/>.
1919 #
2020 # As a special exception to the GNU General Public License, if you
2121 # distribute this file as part of a program that contains a
@@ -25,7 +25,7 @@ timestamp='2014-09-11'
2525 # of the GNU General Public License, version 3 ("GPLv3").
2626
2727
28-# Please send patches with a ChangeLog entry to config-patches@gnu.org.
28+# Please send patches to <config-patches@gnu.org>.
2929 #
3030 # Configuration subroutine to validate and canonicalize a configuration type.
3131 # Supply the specified configuration type as an argument.
@@ -33,7 +33,7 @@ timestamp='2014-09-11'
3333 # Otherwise, we print the canonical config type on stdout and succeed.
3434
3535 # You can get the latest version of this script from:
36-# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
36+# https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub
3737
3838 # This file is supposed to be the same for all GNU packages
3939 # and recognize all the CPU types, system types and aliases
@@ -53,12 +53,11 @@ timestamp='2014-09-11'
5353 me=`echo "$0" | sed -e 's,.*/,,'`
5454
5555 usage="\
56-Usage: $0 [OPTION] CPU-MFR-OPSYS
57- $0 [OPTION] ALIAS
56+Usage: $0 [OPTION] CPU-MFR-OPSYS or ALIAS
5857
5958 Canonicalize a configuration name.
6059
61-Operation modes:
60+Options:
6261 -h, --help print this help, then exit
6362 -t, --time-stamp print date of last modification, then exit
6463 -v, --version print version number, then exit
@@ -68,7 +67,7 @@ Report bugs and patches to <config-patches@gnu.org>."
6867 version="\
6968 GNU config.sub ($timestamp)
7069
71-Copyright 1992-2014 Free Software Foundation, Inc.
70+Copyright 1992-2018 Free Software Foundation, Inc.
7271
7372 This is free software; see the source for copying conditions. There is NO
7473 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -95,7 +94,7 @@ while test $# -gt 0 ; do
9594
9695 *local*)
9796 # First pass through any local machine types.
98- echo $1
97+ echo "$1"
9998 exit ;;
10099
101100 * )
@@ -113,24 +112,24 @@ esac
113112
114113 # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
115114 # Here we must recognize all the valid KERNEL-OS combinations.
116-maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
115+maybe_os=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
117116 case $maybe_os in
118117 nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
119118 linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
120- knetbsd*-gnu* | netbsd*-gnu* | \
121- kopensolaris*-gnu* | \
119+ knetbsd*-gnu* | netbsd*-gnu* | netbsd*-eabi* | \
120+ kopensolaris*-gnu* | cloudabi*-eabi* | \
122121 storm-chaos* | os2-emx* | rtmk-nova*)
123122 os=-$maybe_os
124- basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
123+ basic_machine=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
125124 ;;
126125 android-linux)
127126 os=-linux-android
128- basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
127+ basic_machine=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
129128 ;;
130129 *)
131- basic_machine=`echo $1 | sed 's/-[^-]*$//'`
132- if [ $basic_machine != $1 ]
133- then os=`echo $1 | sed 's/.*-/-/'`
130+ basic_machine=`echo "$1" | sed 's/-[^-]*$//'`
131+ if [ "$basic_machine" != "$1" ]
132+ then os=`echo "$1" | sed 's/.*-/-/'`
134133 else os=; fi
135134 ;;
136135 esac
@@ -179,44 +178,44 @@ case $os in
179178 ;;
180179 -sco6)
181180 os=-sco5v6
182- basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
181+ basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
183182 ;;
184183 -sco5)
185184 os=-sco3.2v5
186- basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
185+ basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
187186 ;;
188187 -sco4)
189188 os=-sco3.2v4
190- basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
189+ basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
191190 ;;
192191 -sco3.2.[4-9]*)
193192 os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
194- basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
193+ basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
195194 ;;
196195 -sco3.2v[4-9]*)
197196 # Don't forget version if it is 3.2v4 or newer.
198- basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
197+ basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
199198 ;;
200199 -sco5v6*)
201200 # Don't forget version if it is 3.2v4 or newer.
202- basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
201+ basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
203202 ;;
204203 -sco*)
205204 os=-sco3.2v2
206- basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
205+ basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
207206 ;;
208207 -udk*)
209- basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
208+ basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
210209 ;;
211210 -isc)
212211 os=-isc2.2
213- basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
212+ basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
214213 ;;
215214 -clix*)
216215 basic_machine=clipper-intergraph
217216 ;;
218217 -isc*)
219- basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
218+ basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
220219 ;;
221220 -lynx*178)
222221 os=-lynxos178
@@ -228,10 +227,7 @@ case $os in
228227 os=-lynxos
229228 ;;
230229 -ptx*)
231- basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
232- ;;
233- -windowsnt*)
234- os=`echo $os | sed -e 's/windowsnt/winnt/'`
230+ basic_machine=`echo "$1" | sed -e 's/86-.*/86-sequent/'`
235231 ;;
236232 -psos*)
237233 os=-psos
@@ -255,15 +251,16 @@ case $basic_machine in
255251 | arc | arceb \
256252 | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
257253 | avr | avr32 \
254+ | ba \
258255 | be32 | be64 \
259256 | bfin \
260257 | c4x | c8051 | clipper \
261258 | d10v | d30v | dlx | dsp16xx \
262- | epiphany \
263- | fido | fr30 | frv \
259+ | e2k | epiphany \
260+ | fido | fr30 | frv | ft32 \
264261 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
265262 | hexagon \
266- | i370 | i860 | i960 | ia64 \
263+ | i370 | i860 | i960 | ia16 | ia64 \
267264 | ip2k | iq2000 \
268265 | k1om \
269266 | le32 | le64 \
@@ -299,13 +296,14 @@ case $basic_machine in
299296 | nios | nios2 | nios2eb | nios2el \
300297 | ns16k | ns32k \
301298 | open8 | or1k | or1knd | or32 \
302- | pdp10 | pdp11 | pj | pjl \
299+ | pdp10 | pj | pjl \
303300 | powerpc | powerpc64 | powerpc64le | powerpcle \
301+ | pru \
304302 | pyramid \
305303 | riscv32 | riscv64 \
306304 | rl78 | rx \
307305 | score \
308- | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
306+ | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[234]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
309307 | sh64 | sh64le \
310308 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
311309 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
@@ -313,7 +311,8 @@ case $basic_machine in
313311 | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
314312 | ubicom32 \
315313 | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
316- | we32k \
314+ | visium \
315+ | wasm32 \
317316 | x86 | xc16x | xstormy16 | xtensa \
318317 | z8k | z80)
319318 basic_machine=$basic_machine-unknown
@@ -327,11 +326,14 @@ case $basic_machine in
327326 c6x)
328327 basic_machine=tic6x-unknown
329328 ;;
329+ leon|leon[3-9])
330+ basic_machine=sparc-$basic_machine
331+ ;;
330332 m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip)
331333 basic_machine=$basic_machine-unknown
332334 os=-none
333335 ;;
334- m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
336+ m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65)
335337 ;;
336338 ms1)
337339 basic_machine=mt-unknown
@@ -360,7 +362,7 @@ case $basic_machine in
360362 ;;
361363 # Object if more than one company name word.
362364 *-*-*)
363- echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
365+ echo Invalid configuration \`"$1"\': machine \`"$basic_machine"\' not recognized 1>&2
364366 exit 1
365367 ;;
366368 # Recognize the basic CPU types with company name.
@@ -372,17 +374,18 @@ case $basic_machine in
372374 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \
373375 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
374376 | avr-* | avr32-* \
377+ | ba-* \
375378 | be32-* | be64-* \
376379 | bfin-* | bs2000-* \
377380 | c[123]* | c30-* | [cjt]90-* | c4x-* \
378381 | c8051-* | clipper-* | craynv-* | cydra-* \
379382 | d10v-* | d30v-* | dlx-* \
380- | elxsi-* \
383+ | e2k-* | elxsi-* \
381384 | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
382385 | h8300-* | h8500-* \
383386 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
384387 | hexagon-* \
385- | i*86-* | i860-* | i960-* | ia64-* \
388+ | i*86-* | i860-* | i960-* | ia16-* | ia64-* \
386389 | ip2k-* | iq2000-* \
387390 | k1om-* \
388391 | le32-* | le64-* \
@@ -423,13 +426,15 @@ case $basic_machine in
423426 | orion-* \
424427 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
425428 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
429+ | pru-* \
426430 | pyramid-* \
431+ | riscv32-* | riscv64-* \
427432 | rl78-* | romp-* | rs6000-* | rx-* \
428433 | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
429434 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
430435 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
431436 | sparclite-* \
432- | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
437+ | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx*-* \
433438 | tahoe-* \
434439 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
435440 | tile*-* \
@@ -437,6 +442,8 @@ case $basic_machine in
437442 | ubicom32-* \
438443 | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
439444 | vax-* \
445+ | visium-* \
446+ | wasm32-* \
440447 | we32k-* \
441448 | x86-* | x86_64-* | xc16x-* | xps100-* \
442449 | xstormy16-* | xtensa*-* \
@@ -450,7 +457,7 @@ case $basic_machine in
450457 # Recognize the various machine names and aliases which stand
451458 # for a CPU type and a company and sometimes even an OS.
452459 386bsd)
453- basic_machine=i386-unknown
460+ basic_machine=i386-pc
454461 os=-bsd
455462 ;;
456463 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
@@ -484,7 +491,7 @@ case $basic_machine in
484491 basic_machine=x86_64-pc
485492 ;;
486493 amd64-*)
487- basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
494+ basic_machine=x86_64-`echo "$basic_machine" | sed 's/^[^-]*-//'`
488495 ;;
489496 amdahl)
490497 basic_machine=580-amdahl
@@ -513,6 +520,9 @@ case $basic_machine in
513520 basic_machine=i386-pc
514521 os=-aros
515522 ;;
523+ asmjs)
524+ basic_machine=asmjs-unknown
525+ ;;
516526 aux)
517527 basic_machine=m68k-apple
518528 os=-aux
@@ -526,7 +536,7 @@ case $basic_machine in
526536 os=-linux
527537 ;;
528538 blackfin-*)
529- basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
539+ basic_machine=bfin-`echo "$basic_machine" | sed 's/^[^-]*-//'`
530540 os=-linux
531541 ;;
532542 bluegene*)
@@ -534,13 +544,13 @@ case $basic_machine in
534544 os=-cnk
535545 ;;
536546 c54x-*)
537- basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'`
547+ basic_machine=tic54x-`echo "$basic_machine" | sed 's/^[^-]*-//'`
538548 ;;
539549 c55x-*)
540- basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'`
550+ basic_machine=tic55x-`echo "$basic_machine" | sed 's/^[^-]*-//'`
541551 ;;
542552 c6x-*)
543- basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'`
553+ basic_machine=tic6x-`echo "$basic_machine" | sed 's/^[^-]*-//'`
544554 ;;
545555 c90)
546556 basic_machine=c90-cray
@@ -629,10 +639,18 @@ case $basic_machine in
629639 basic_machine=rs6000-bull
630640 os=-bosx
631641 ;;
632- dpx2* | dpx2*-bull)
642+ dpx2*)
633643 basic_machine=m68k-bull
634644 os=-sysv3
635645 ;;
646+ e500v[12])
647+ basic_machine=powerpc-unknown
648+ os=$os"spe"
649+ ;;
650+ e500v[12]-*)
651+ basic_machine=powerpc-`echo "$basic_machine" | sed 's/^[^-]*-//'`
652+ os=$os"spe"
653+ ;;
636654 ebmon29k)
637655 basic_machine=a29k-amd
638656 os=-ebmon
@@ -722,9 +740,6 @@ case $basic_machine in
722740 hp9k8[0-9][0-9] | hp8[0-9][0-9])
723741 basic_machine=hppa1.0-hp
724742 ;;
725- hppa-next)
726- os=-nextstep3
727- ;;
728743 hppaosf)
729744 basic_machine=hppa1.1-hp
730745 os=-osf
@@ -737,26 +752,26 @@ case $basic_machine in
737752 basic_machine=i370-ibm
738753 ;;
739754 i*86v32)
740- basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
755+ basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`
741756 os=-sysv32
742757 ;;
743758 i*86v4*)
744- basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
759+ basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`
745760 os=-sysv4
746761 ;;
747762 i*86v)
748- basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
763+ basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`
749764 os=-sysv
750765 ;;
751766 i*86sol2)
752- basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
767+ basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`
753768 os=-solaris2
754769 ;;
755770 i386mach)
756771 basic_machine=i386-mach
757772 os=-mach
758773 ;;
759- i386-vsta | vsta)
774+ vsta)
760775 basic_machine=i386-unknown
761776 os=-vsta
762777 ;;
@@ -774,17 +789,17 @@ case $basic_machine in
774789 basic_machine=m68k-isi
775790 os=-sysv
776791 ;;
792+ leon-*|leon[3-9]-*)
793+ basic_machine=sparc-`echo "$basic_machine" | sed 's/-.*//'`
794+ ;;
777795 m68knommu)
778796 basic_machine=m68k-unknown
779797 os=-linux
780798 ;;
781799 m68knommu-*)
782- basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
800+ basic_machine=m68k-`echo "$basic_machine" | sed 's/^[^-]*-//'`
783801 os=-linux
784802 ;;
785- m88k-omron*)
786- basic_machine=m88k-omron
787- ;;
788803 magnum | m3230)
789804 basic_machine=mips-mips
790805 os=-sysv
@@ -816,10 +831,10 @@ case $basic_machine in
816831 os=-mint
817832 ;;
818833 mips3*-*)
819- basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
834+ basic_machine=`echo "$basic_machine" | sed -e 's/mips3/mips64/'`
820835 ;;
821836 mips3*)
822- basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
837+ basic_machine=`echo "$basic_machine" | sed -e 's/mips3/mips64/'`-unknown
823838 ;;
824839 monitor)
825840 basic_machine=m68k-rom68k
@@ -838,7 +853,7 @@ case $basic_machine in
838853 os=-msdos
839854 ;;
840855 ms1-*)
841- basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
856+ basic_machine=`echo "$basic_machine" | sed -e 's/ms1-/mt-/'`
842857 ;;
843858 msys)
844859 basic_machine=i686-pc
@@ -880,7 +895,7 @@ case $basic_machine in
880895 basic_machine=v70-nec
881896 os=-sysv
882897 ;;
883- next | m*-next )
898+ next | m*-next)
884899 basic_machine=m68k-next
885900 case $os in
886901 -nextstep* )
@@ -925,6 +940,12 @@ case $basic_machine in
925940 nsr-tandem)
926941 basic_machine=nsr-tandem
927942 ;;
943+ nsv-tandem)
944+ basic_machine=nsv-tandem
945+ ;;
946+ nsx-tandem)
947+ basic_machine=nsx-tandem
948+ ;;
928949 op50n-* | op60c-*)
929950 basic_machine=hppa1.1-oki
930951 os=-proelf
@@ -957,7 +978,7 @@ case $basic_machine in
957978 os=-linux
958979 ;;
959980 parisc-*)
960- basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
981+ basic_machine=hppa-`echo "$basic_machine" | sed 's/^[^-]*-//'`
961982 os=-linux
962983 ;;
963984 pbd)
@@ -973,7 +994,7 @@ case $basic_machine in
973994 basic_machine=i386-pc
974995 ;;
975996 pc98-*)
976- basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
997+ basic_machine=i386-`echo "$basic_machine" | sed 's/^[^-]*-//'`
977998 ;;
978999 pentium | p5 | k5 | k6 | nexgen | viac3)
9791000 basic_machine=i586-pc
@@ -988,16 +1009,16 @@ case $basic_machine in
9881009 basic_machine=i786-pc
9891010 ;;
9901011 pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
991- basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
1012+ basic_machine=i586-`echo "$basic_machine" | sed 's/^[^-]*-//'`
9921013 ;;
9931014 pentiumpro-* | p6-* | 6x86-* | athlon-*)
994- basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
1015+ basic_machine=i686-`echo "$basic_machine" | sed 's/^[^-]*-//'`
9951016 ;;
9961017 pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
997- basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
1018+ basic_machine=i686-`echo "$basic_machine" | sed 's/^[^-]*-//'`
9981019 ;;
9991020 pentium4-*)
1000- basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
1021+ basic_machine=i786-`echo "$basic_machine" | sed 's/^[^-]*-//'`
10011022 ;;
10021023 pn)
10031024 basic_machine=pn-gould
@@ -1007,23 +1028,23 @@ case $basic_machine in
10071028 ppc | ppcbe) basic_machine=powerpc-unknown
10081029 ;;
10091030 ppc-* | ppcbe-*)
1010- basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
1031+ basic_machine=powerpc-`echo "$basic_machine" | sed 's/^[^-]*-//'`
10111032 ;;
1012- ppcle | powerpclittle | ppc-le | powerpc-little)
1033+ ppcle | powerpclittle)
10131034 basic_machine=powerpcle-unknown
10141035 ;;
10151036 ppcle-* | powerpclittle-*)
1016- basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
1037+ basic_machine=powerpcle-`echo "$basic_machine" | sed 's/^[^-]*-//'`
10171038 ;;
10181039 ppc64) basic_machine=powerpc64-unknown
10191040 ;;
1020- ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
1041+ ppc64-*) basic_machine=powerpc64-`echo "$basic_machine" | sed 's/^[^-]*-//'`
10211042 ;;
1022- ppc64le | powerpc64little | ppc64-le | powerpc64-little)
1043+ ppc64le | powerpc64little)
10231044 basic_machine=powerpc64le-unknown
10241045 ;;
10251046 ppc64le-* | powerpc64little-*)
1026- basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
1047+ basic_machine=powerpc64le-`echo "$basic_machine" | sed 's/^[^-]*-//'`
10271048 ;;
10281049 ps2)
10291050 basic_machine=i386-ibm
@@ -1077,17 +1098,10 @@ case $basic_machine in
10771098 sequent)
10781099 basic_machine=i386-sequent
10791100 ;;
1080- sh)
1081- basic_machine=sh-hitachi
1082- os=-hms
1083- ;;
10841101 sh5el)
10851102 basic_machine=sh5le-unknown
10861103 ;;
1087- sh64)
1088- basic_machine=sh64-unknown
1089- ;;
1090- sparclite-wrs | simso-wrs)
1104+ simso-wrs)
10911105 basic_machine=sparclite-wrs
10921106 os=-vxworks
10931107 ;;
@@ -1106,7 +1120,7 @@ case $basic_machine in
11061120 os=-sysv4
11071121 ;;
11081122 strongarm-* | thumb-*)
1109- basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
1123+ basic_machine=arm-`echo "$basic_machine" | sed 's/^[^-]*-//'`
11101124 ;;
11111125 sun2)
11121126 basic_machine=m68000-sun
@@ -1228,6 +1242,9 @@ case $basic_machine in
12281242 basic_machine=hppa1.1-winbond
12291243 os=-proelf
12301244 ;;
1245+ x64)
1246+ basic_machine=x86_64-pc
1247+ ;;
12311248 xbox)
12321249 basic_machine=i686-pc
12331250 os=-mingw32
@@ -1236,20 +1253,12 @@ case $basic_machine in
12361253 basic_machine=xps100-honeywell
12371254 ;;
12381255 xscale-* | xscalee[bl]-*)
1239- basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
1256+ basic_machine=`echo "$basic_machine" | sed 's/^xscale/arm/'`
12401257 ;;
12411258 ymp)
12421259 basic_machine=ymp-cray
12431260 os=-unicos
12441261 ;;
1245- z8k-*-coff)
1246- basic_machine=z8k-unknown
1247- os=-sim
1248- ;;
1249- z80-*-coff)
1250- basic_machine=z80-unknown
1251- os=-sim
1252- ;;
12531262 none)
12541263 basic_machine=none-none
12551264 os=-none
@@ -1278,10 +1287,6 @@ case $basic_machine in
12781287 vax)
12791288 basic_machine=vax-dec
12801289 ;;
1281- pdp10)
1282- # there are many clones, so DEC is not a safe bet
1283- basic_machine=pdp10-unknown
1284- ;;
12851290 pdp11)
12861291 basic_machine=pdp11-dec
12871292 ;;
@@ -1291,9 +1296,6 @@ case $basic_machine in
12911296 sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
12921297 basic_machine=sh-unknown
12931298 ;;
1294- sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
1295- basic_machine=sparc-sun
1296- ;;
12971299 cydra)
12981300 basic_machine=cydra-cydrome
12991301 ;;
@@ -1313,7 +1315,7 @@ case $basic_machine in
13131315 # Make sure to match an already-canonicalized machine name.
13141316 ;;
13151317 *)
1316- echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
1318+ echo Invalid configuration \`"$1"\': machine \`"$basic_machine"\' not recognized 1>&2
13171319 exit 1
13181320 ;;
13191321 esac
@@ -1321,10 +1323,10 @@ esac
13211323 # Here we canonicalize certain aliases for manufacturers.
13221324 case $basic_machine in
13231325 *-digital*)
1324- basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`
1326+ basic_machine=`echo "$basic_machine" | sed 's/digital.*/dec/'`
13251327 ;;
13261328 *-commodore*)
1327- basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`
1329+ basic_machine=`echo "$basic_machine" | sed 's/commodore.*/cbm/'`
13281330 ;;
13291331 *)
13301332 ;;
@@ -1335,8 +1337,8 @@ esac
13351337 if [ x"$os" != x"" ]
13361338 then
13371339 case $os in
1338- # First match some system type aliases
1339- # that might get confused with valid system types.
1340+ # First match some system type aliases that might get confused
1341+ # with valid system types.
13401342 # -solaris* is a basic system type, with this one exception.
13411343 -auroraux)
13421344 os=-auroraux
@@ -1347,45 +1349,48 @@ case $os in
13471349 -solaris)
13481350 os=-solaris2
13491351 ;;
1350- -svr4*)
1351- os=-sysv4
1352- ;;
13531352 -unixware*)
13541353 os=-sysv4.2uw
13551354 ;;
13561355 -gnu/linux*)
13571356 os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
13581357 ;;
1359- # First accept the basic system types.
1358+ # es1800 is here to avoid being matched by es* (a different OS)
1359+ -es1800*)
1360+ os=-ose
1361+ ;;
1362+ # Now accept the basic system types.
13601363 # The portable systems comes first.
1361- # Each alternative MUST END IN A *, to match a version number.
1364+ # Each alternative MUST end in a * to match a version number.
13621365 # -sysv* is not here because it comes later, after sysvr4.
13631366 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
13641367 | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
13651368 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
13661369 | -sym* | -kopensolaris* | -plan9* \
13671370 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1368- | -aos* | -aros* \
1371+ | -aos* | -aros* | -cloudabi* | -sortix* \
13691372 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
13701373 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1371- | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
1372- | -bitrig* | -openbsd* | -solidbsd* \
1374+ | -hiux* | -knetbsd* | -mirbsd* | -netbsd* \
1375+ | -bitrig* | -openbsd* | -solidbsd* | -libertybsd* \
13731376 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
13741377 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
13751378 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
13761379 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1377- | -chorusos* | -chorusrdb* | -cegcc* \
1380+ | -chorusos* | -chorusrdb* | -cegcc* | -glidix* \
13781381 | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1379- | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
1382+ | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
13801383 | -linux-newlib* | -linux-musl* | -linux-uclibc* \
13811384 | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \
1382- | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1385+ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* \
13831386 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
13841387 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
13851388 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1386- | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1389+ | -morphos* | -superux* | -rtmk* | -windiss* \
13871390 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1388- | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* | -tirtos*)
1391+ | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \
1392+ | -onefs* | -tirtos* | -phoenix* | -fuchsia* | -redox* | -bme* \
1393+ | -midnightbsd*)
13891394 # Remember, each alternative MUST END IN *, to match a version number.
13901395 ;;
13911396 -qnx*)
@@ -1402,12 +1407,12 @@ case $os in
14021407 -nto*)
14031408 os=`echo $os | sed -e 's|nto|nto-qnx|'`
14041409 ;;
1405- -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
1406- | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
1410+ -sim | -xray | -os68k* | -v88r* \
1411+ | -windows* | -osx | -abug | -netware* | -os9* \
14071412 | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
14081413 ;;
14091414 -mac*)
1410- os=`echo $os | sed -e 's|mac|macos|'`
1415+ os=`echo "$os" | sed -e 's|mac|macos|'`
14111416 ;;
14121417 -linux-dietlibc)
14131418 os=-linux-dietlibc
@@ -1416,10 +1421,10 @@ case $os in
14161421 os=`echo $os | sed -e 's|linux|linux-gnu|'`
14171422 ;;
14181423 -sunos5*)
1419- os=`echo $os | sed -e 's|sunos5|solaris2|'`
1424+ os=`echo "$os" | sed -e 's|sunos5|solaris2|'`
14201425 ;;
14211426 -sunos6*)
1422- os=`echo $os | sed -e 's|sunos6|solaris3|'`
1427+ os=`echo "$os" | sed -e 's|sunos6|solaris3|'`
14231428 ;;
14241429 -opened*)
14251430 os=-openedition
@@ -1430,12 +1435,6 @@ case $os in
14301435 -wince*)
14311436 os=-wince
14321437 ;;
1433- -osfrose*)
1434- os=-osfrose
1435- ;;
1436- -osf*)
1437- os=-osf
1438- ;;
14391438 -utek*)
14401439 os=-bsd
14411440 ;;
@@ -1460,7 +1459,7 @@ case $os in
14601459 -nova*)
14611460 os=-rtmk-nova
14621461 ;;
1463- -ns2 )
1462+ -ns2)
14641463 os=-nextstep2
14651464 ;;
14661465 -nsk*)
@@ -1482,7 +1481,7 @@ case $os in
14821481 -oss*)
14831482 os=-sysv3
14841483 ;;
1485- -svr4)
1484+ -svr4*)
14861485 os=-sysv4
14871486 ;;
14881487 -svr3)
@@ -1497,32 +1496,38 @@ case $os in
14971496 -ose*)
14981497 os=-ose
14991498 ;;
1500- -es1800*)
1501- os=-ose
1502- ;;
1503- -xenix)
1504- os=-xenix
1505- ;;
15061499 -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
15071500 os=-mint
15081501 ;;
1509- -aros*)
1510- os=-aros
1511- ;;
15121502 -zvmoe)
15131503 os=-zvmoe
15141504 ;;
15151505 -dicos*)
15161506 os=-dicos
15171507 ;;
1508+ -pikeos*)
1509+ # Until real need of OS specific support for
1510+ # particular features comes up, bare metal
1511+ # configurations are quite functional.
1512+ case $basic_machine in
1513+ arm*)
1514+ os=-eabi
1515+ ;;
1516+ *)
1517+ os=-elf
1518+ ;;
1519+ esac
1520+ ;;
15181521 -nacl*)
15191522 ;;
1523+ -ios)
1524+ ;;
15201525 -none)
15211526 ;;
15221527 *)
15231528 # Get rid of the `-' at the beginning of $os.
15241529 os=`echo $os | sed 's/[^-]*-//'`
1525- echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
1530+ echo Invalid configuration \`"$1"\': system \`"$os"\' not recognized 1>&2
15261531 exit 1
15271532 ;;
15281533 esac
@@ -1612,12 +1617,12 @@ case $basic_machine in
16121617 sparc-* | *-sun)
16131618 os=-sunos4.1.1
16141619 ;;
1620+ pru-*)
1621+ os=-elf
1622+ ;;
16151623 *-be)
16161624 os=-beos
16171625 ;;
1618- *-haiku)
1619- os=-haiku
1620- ;;
16211626 *-ibm)
16221627 os=-aix
16231628 ;;
@@ -1657,7 +1662,7 @@ case $basic_machine in
16571662 m88k-omron*)
16581663 os=-luna
16591664 ;;
1660- *-next )
1665+ *-next)
16611666 os=-nextstep
16621667 ;;
16631668 *-sequent)
@@ -1672,9 +1677,6 @@ case $basic_machine in
16721677 i370-*)
16731678 os=-mvs
16741679 ;;
1675- *-next)
1676- os=-nextstep3
1677- ;;
16781680 *-gould)
16791681 os=-sysv
16801682 ;;
@@ -1784,15 +1786,15 @@ case $basic_machine in
17841786 vendor=stratus
17851787 ;;
17861788 esac
1787- basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
1789+ basic_machine=`echo "$basic_machine" | sed "s/unknown/$vendor/"`
17881790 ;;
17891791 esac
17901792
1791-echo $basic_machine$os
1793+echo "$basic_machine$os"
17921794 exit
17931795
17941796 # Local variables:
1795-# eval: (add-hook 'write-file-hooks 'time-stamp)
1797+# eval: (add-hook 'write-file-functions 'time-stamp)
17961798 # time-stamp-start: "timestamp='"
17971799 # time-stamp-format: "%:y-%02m-%02d"
17981800 # time-stamp-end: "'"
--- a/configure
+++ b/configure
@@ -647,6 +647,7 @@ infodir
647647 docdir
648648 oldincludedir
649649 includedir
650+runstatedir
650651 localstatedir
651652 sharedstatedir
652653 sysconfdir
@@ -723,6 +724,7 @@ datadir='${datarootdir}'
723724 sysconfdir='${prefix}/etc'
724725 sharedstatedir='${prefix}/com'
725726 localstatedir='${prefix}/var'
727+runstatedir='${localstatedir}/run'
726728 includedir='${prefix}/include'
727729 oldincludedir='/usr/include'
728730 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
@@ -975,6 +977,15 @@ do
975977 | -silent | --silent | --silen | --sile | --sil)
976978 silent=yes ;;
977979
980+ -runstatedir | --runstatedir | --runstatedi | --runstated \
981+ | --runstate | --runstat | --runsta | --runst | --runs \
982+ | --run | --ru | --r)
983+ ac_prev=runstatedir ;;
984+ -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
985+ | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
986+ | --run=* | --ru=* | --r=*)
987+ runstatedir=$ac_optarg ;;
988+
978989 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
979990 ac_prev=sbindir ;;
980991 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
@@ -1112,7 +1123,7 @@ fi
11121123 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
11131124 datadir sysconfdir sharedstatedir localstatedir includedir \
11141125 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1115- libdir localedir mandir
1126+ libdir localedir mandir runstatedir
11161127 do
11171128 eval ac_val=\$$ac_var
11181129 # Remove trailing slashes.
@@ -1265,6 +1276,7 @@ Fine tuning of the installation directories:
12651276 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
12661277 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
12671278 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1279+ --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
12681280 --libdir=DIR object code libraries [EPREFIX/lib]
12691281 --includedir=DIR C header files [PREFIX/include]
12701282 --oldincludedir=DIR C header files for non-gcc [/usr/include]
@@ -1753,7 +1765,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
17531765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17541766
17551767
1756-am__api_version='1.14'
1768+am__api_version='1.16'
17571769
17581770 ac_aux_dir=
17591771 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
@@ -1974,7 +1986,7 @@ else
19741986 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
19751987 fi
19761988
1977-if test x"${install_sh}" != xset; then
1989+if test x"${install_sh+set}" != xset; then
19781990 case $am_aux_dir in
19791991 *\ * | *\ *)
19801992 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
@@ -2298,12 +2310,12 @@ MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
22982310
22992311 # For better backward compatibility. To be removed once Automake 1.9.x
23002312 # dies out for good. For more background, see:
2301-# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2302-# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2313+# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2314+# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
23032315 mkdir_p='$(MKDIR_P)'
23042316
2305-# We need awk for the "check" target. The system "awk" is bad on
2306-# some platforms.
2317+# We need awk for the "check" target (and possibly the TAP driver). The
2318+# system "awk" is bad on some platforms.
23072319 # Always define AMTAR for backward compatibility. Yes, it's still used
23082320 # in the wild :-( We should find a proper way to deprecate it ...
23092321 AMTAR='$${TAR-tar}'
@@ -2350,7 +2362,7 @@ END
23502362 Aborting the configuration process, to ensure you take notice of the issue.
23512363
23522364 You can download and install GNU coreutils to get an 'rm' implementation
2353-that behaves properly: <http://www.gnu.org/software/coreutils/>.
2365+that behaves properly: <https://www.gnu.org/software/coreutils/>.
23542366
23552367 If you want to complete the configuration process using your problematic
23562368 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
--- a/doc/Makefile.in
+++ b/doc/Makefile.in
@@ -1,7 +1,7 @@
1-# Makefile.in generated by automake 1.14.1 from Makefile.am.
1+# Makefile.in generated by automake 1.16.1 from Makefile.am.
22 # @configure_input@
33
4-# Copyright (C) 1994-2013 Free Software Foundation, Inc.
4+# Copyright (C) 1994-2018 Free Software Foundation, Inc.
55
66 # This Makefile.in is free software; the Free Software Foundation
77 # gives unlimited permission to copy and/or distribute it,
@@ -15,7 +15,17 @@
1515 @SET_MAKE@
1616
1717 VPATH = @srcdir@
18-am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
18+am__is_gnu_make = { \
19+ if test -z '$(MAKELEVEL)'; then \
20+ false; \
21+ elif test -n '$(MAKE_HOST)'; then \
22+ true; \
23+ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
24+ true; \
25+ else \
26+ false; \
27+ fi; \
28+}
1929 am__make_running_with_option = \
2030 case $${target_option-} in \
2131 ?) ;; \
@@ -79,13 +89,12 @@ POST_UNINSTALL = :
7989 build_triplet = @build@
8090 host_triplet = @host@
8191 subdir = doc
82-DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
83- $(top_srcdir)/mkinstalldirs ChangeLog
8492 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
8593 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
8694 $(top_srcdir)/configure.ac
8795 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
8896 $(ACLOCAL_M4)
97+DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
8998 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
9099 CONFIG_CLEAN_FILES =
91100 CONFIG_CLEAN_VPATH_FILES =
@@ -138,6 +147,8 @@ am__uninstall_files_from_dir = { \
138147 am__installdirs = "$(DESTDIR)$(docdir)"
139148 DATA = $(doc_DATA)
140149 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
150+am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/mkinstalldirs \
151+ ChangeLog
141152 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
142153 ACLOCAL = @ACLOCAL@
143154 AMTAR = @AMTAR@
@@ -220,6 +231,7 @@ pdfdir = @pdfdir@
220231 prefix = @prefix@
221232 program_transform_name = @program_transform_name@
222233 psdir = @psdir@
234+runstatedir = @runstatedir@
223235 sbindir = @sbindir@
224236 sharedstatedir = @sharedstatedir@
225237 srcdir = @srcdir@
@@ -251,7 +263,6 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__confi
251263 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile'; \
252264 $(am__cd) $(top_srcdir) && \
253265 $(AUTOMAKE) --gnu doc/Makefile
254-.PRECIOUS: Makefile
255266
256267 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
257268 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
@@ -289,7 +300,10 @@ ctags CTAGS:
289300 cscope cscopelist:
290301
291302
292-distdir: $(DISTFILES)
303+distdir: $(BUILT_SOURCES)
304+ $(MAKE) $(AM_MAKEFLAGS) distdir-am
305+
306+distdir-am: $(DISTFILES)
293307 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
294308 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
295309 list='$(DISTFILES)'; \
@@ -437,6 +451,8 @@ uninstall-am: uninstall-docDATA
437451 pdf-am ps ps-am tags-am uninstall uninstall-am \
438452 uninstall-docDATA
439453
454+.PRECIOUS: Makefile
455+
440456
441457 README-j.html: README.ja.rd
442458 rd2 README.ja.rd > README-j.html
--- a/en/Makefile.in
+++ b/en/Makefile.in
@@ -1,7 +1,7 @@
1-# Makefile.in generated by automake 1.14.1 from Makefile.am.
1+# Makefile.in generated by automake 1.16.1 from Makefile.am.
22 # @configure_input@
33
4-# Copyright (C) 1994-2013 Free Software Foundation, Inc.
4+# Copyright (C) 1994-2018 Free Software Foundation, Inc.
55
66 # This Makefile.in is free software; the Free Software Foundation
77 # gives unlimited permission to copy and/or distribute it,
@@ -14,7 +14,17 @@
1414
1515 @SET_MAKE@
1616 VPATH = @srcdir@
17-am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
17+am__is_gnu_make = { \
18+ if test -z '$(MAKELEVEL)'; then \
19+ false; \
20+ elif test -n '$(MAKE_HOST)'; then \
21+ true; \
22+ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
23+ true; \
24+ else \
25+ false; \
26+ fi; \
27+}
1828 am__make_running_with_option = \
1929 case $${target_option-} in \
2030 ?) ;; \
@@ -78,13 +88,12 @@ POST_UNINSTALL = :
7888 build_triplet = @build@
7989 host_triplet = @host@
8090 subdir = en
81-DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
82- $(top_srcdir)/mkinstalldirs ChangeLog
8391 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
8492 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
8593 $(top_srcdir)/configure.ac
8694 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
8795 $(ACLOCAL_M4)
96+DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
8897 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
8998 CONFIG_CLEAN_FILES =
9099 CONFIG_CLEAN_VPATH_FILES =
@@ -108,6 +117,8 @@ am__can_run_installinfo = \
108117 *) (install-info --version) >/dev/null 2>&1;; \
109118 esac
110119 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
120+am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/mkinstalldirs \
121+ ChangeLog
111122 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
112123 ACLOCAL = @ACLOCAL@
113124 AMTAR = @AMTAR@
@@ -190,6 +201,7 @@ pdfdir = @pdfdir@
190201 prefix = @prefix@
191202 program_transform_name = @program_transform_name@
192203 psdir = @psdir@
204+runstatedir = @runstatedir@
193205 sbindir = @sbindir@
194206 sharedstatedir = @sharedstatedir@
195207 srcdir = @srcdir@
@@ -214,7 +226,6 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__confi
214226 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu en/Makefile'; \
215227 $(am__cd) $(top_srcdir) && \
216228 $(AUTOMAKE) --gnu en/Makefile
217-.PRECIOUS: Makefile
218229
219230 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
220231 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
@@ -231,7 +242,10 @@ ctags CTAGS:
231242 cscope cscopelist:
232243
233244
234-distdir: $(DISTFILES)
245+distdir: $(BUILT_SOURCES)
246+ $(MAKE) $(AM_MAKEFLAGS) distdir-am
247+
248+distdir-am: $(DISTFILES)
235249 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
236250 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
237251 list='$(DISTFILES)'; \
@@ -374,6 +388,8 @@ uninstall-am:
374388 maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
375389 pdf-am ps ps-am tags-am uninstall uninstall-am
376390
391+.PRECIOUS: Makefile
392+
377393
378394 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
379395 cd $(top_builddir) && \
--- a/ext/Makefile.in
+++ b/ext/Makefile.in
@@ -1,7 +1,7 @@
1-# Makefile.in generated by automake 1.14.1 from Makefile.am.
1+# Makefile.in generated by automake 1.16.1 from Makefile.am.
22 # @configure_input@
33
4-# Copyright (C) 1994-2013 Free Software Foundation, Inc.
4+# Copyright (C) 1994-2018 Free Software Foundation, Inc.
55
66 # This Makefile.in is free software; the Free Software Foundation
77 # gives unlimited permission to copy and/or distribute it,
@@ -15,7 +15,17 @@
1515 @SET_MAKE@
1616
1717 VPATH = @srcdir@
18-am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
18+am__is_gnu_make = { \
19+ if test -z '$(MAKELEVEL)'; then \
20+ false; \
21+ elif test -n '$(MAKE_HOST)'; then \
22+ true; \
23+ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
24+ true; \
25+ else \
26+ false; \
27+ fi; \
28+}
1929 am__make_running_with_option = \
2030 case $${target_option-} in \
2131 ?) ;; \
@@ -79,13 +89,12 @@ POST_UNINSTALL = :
7989 build_triplet = @build@
8090 host_triplet = @host@
8191 subdir = ext
82-DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
83- $(top_srcdir)/mkinstalldirs ChangeLog
8492 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
8593 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
8694 $(top_srcdir)/configure.ac
8795 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
8896 $(ACLOCAL_M4)
97+DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
8998 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
9099 CONFIG_CLEAN_FILES =
91100 CONFIG_CLEAN_VPATH_FILES =
@@ -138,6 +147,8 @@ am__uninstall_files_from_dir = { \
138147 am__installdirs = "$(DESTDIR)$(extdir)"
139148 DATA = $(ext_DATA)
140149 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
150+am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/mkinstalldirs \
151+ ChangeLog
141152 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
142153 ACLOCAL = @ACLOCAL@
143154 AMTAR = @AMTAR@
@@ -220,6 +231,7 @@ pdfdir = @pdfdir@
220231 prefix = @prefix@
221232 program_transform_name = @program_transform_name@
222233 psdir = @psdir@
234+runstatedir = @runstatedir@
223235 sbindir = @sbindir@
224236 sharedstatedir = @sharedstatedir@
225237 srcdir = @srcdir@
@@ -250,7 +262,6 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__confi
250262 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu ext/Makefile'; \
251263 $(am__cd) $(top_srcdir) && \
252264 $(AUTOMAKE) --gnu ext/Makefile
253-.PRECIOUS: Makefile
254265
255266 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
256267 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
@@ -288,7 +299,10 @@ ctags CTAGS:
288299 cscope cscopelist:
289300
290301
291-distdir: $(DISTFILES)
302+distdir: $(BUILT_SOURCES)
303+ $(MAKE) $(AM_MAKEFLAGS) distdir-am
304+
305+distdir-am: $(DISTFILES)
292306 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
293307 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
294308 list='$(DISTFILES)'; \
@@ -435,6 +449,8 @@ uninstall-am: uninstall-extDATA
435449 pdf-am ps ps-am tags-am uninstall uninstall-am \
436450 uninstall-extDATA
437451
452+.PRECIOUS: Makefile
453+
438454
439455 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
440456 cd $(top_builddir) && \
--- a/fr/Makefile.in
+++ b/fr/Makefile.in
@@ -1,7 +1,7 @@
1-# Makefile.in generated by automake 1.14.1 from Makefile.am.
1+# Makefile.in generated by automake 1.16.1 from Makefile.am.
22 # @configure_input@
33
4-# Copyright (C) 1994-2013 Free Software Foundation, Inc.
4+# Copyright (C) 1994-2018 Free Software Foundation, Inc.
55
66 # This Makefile.in is free software; the Free Software Foundation
77 # gives unlimited permission to copy and/or distribute it,
@@ -14,7 +14,17 @@
1414
1515 @SET_MAKE@
1616 VPATH = @srcdir@
17-am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
17+am__is_gnu_make = { \
18+ if test -z '$(MAKELEVEL)'; then \
19+ false; \
20+ elif test -n '$(MAKE_HOST)'; then \
21+ true; \
22+ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
23+ true; \
24+ else \
25+ false; \
26+ fi; \
27+}
1828 am__make_running_with_option = \
1929 case $${target_option-} in \
2030 ?) ;; \
@@ -78,13 +88,12 @@ POST_UNINSTALL = :
7888 build_triplet = @build@
7989 host_triplet = @host@
8090 subdir = fr
81-DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
82- $(top_srcdir)/mkinstalldirs ChangeLog
8391 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
8492 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
8593 $(top_srcdir)/configure.ac
8694 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
8795 $(ACLOCAL_M4)
96+DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
8897 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
8998 CONFIG_CLEAN_FILES =
9099 CONFIG_CLEAN_VPATH_FILES =
@@ -108,6 +117,8 @@ am__can_run_installinfo = \
108117 *) (install-info --version) >/dev/null 2>&1;; \
109118 esac
110119 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
120+am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/mkinstalldirs \
121+ ChangeLog
111122 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
112123 ACLOCAL = @ACLOCAL@
113124 AMTAR = @AMTAR@
@@ -190,6 +201,7 @@ pdfdir = @pdfdir@
190201 prefix = @prefix@
191202 program_transform_name = @program_transform_name@
192203 psdir = @psdir@
204+runstatedir = @runstatedir@
193205 sbindir = @sbindir@
194206 sharedstatedir = @sharedstatedir@
195207 srcdir = @srcdir@
@@ -214,7 +226,6 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__confi
214226 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu fr/Makefile'; \
215227 $(am__cd) $(top_srcdir) && \
216228 $(AUTOMAKE) --gnu fr/Makefile
217-.PRECIOUS: Makefile
218229
219230 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
220231 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
@@ -231,7 +242,10 @@ ctags CTAGS:
231242 cscope cscopelist:
232243
233244
234-distdir: $(DISTFILES)
245+distdir: $(BUILT_SOURCES)
246+ $(MAKE) $(AM_MAKEFLAGS) distdir-am
247+
248+distdir-am: $(DISTFILES)
235249 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
236250 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
237251 list='$(DISTFILES)'; \
@@ -374,6 +388,8 @@ uninstall-am:
374388 maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
375389 pdf-am ps ps-am tags-am uninstall uninstall-am
376390
391+.PRECIOUS: Makefile
392+
377393
378394 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
379395 cd $(top_builddir) && \
--- a/install-sh
+++ b/install-sh
@@ -1,7 +1,7 @@
11 #!/bin/sh
22 # install - install a program, script, or datafile
33
4-scriptversion=2011-11-20.07; # UTC
4+scriptversion=2018-03-11.20; # UTC
55
66 # This originates from X11R5 (mit/util/scripts/install.sh), which was
77 # later released in X11R6 (xc/config/util/install.sh) with the
@@ -41,19 +41,15 @@ scriptversion=2011-11-20.07; # UTC
4141 # This script is compatible with the BSD install script, but was written
4242 # from scratch.
4343
44+tab=' '
4445 nl='
4546 '
46-IFS=" "" $nl"
47+IFS=" $tab$nl"
4748
48-# set DOITPROG to echo to test this script
49+# Set DOITPROG to "echo" to test this script.
4950
50-# Don't use :- since 4.3BSD and earlier shells don't like it.
5151 doit=${DOITPROG-}
52-if test -z "$doit"; then
53- doit_exec=exec
54-else
55- doit_exec=$doit
56-fi
52+doit_exec=${doit:-exec}
5753
5854 # Put in absolute file names if you don't have them in your path;
5955 # or use environment vars.
@@ -68,17 +64,6 @@ mvprog=${MVPROG-mv}
6864 rmprog=${RMPROG-rm}
6965 stripprog=${STRIPPROG-strip}
7066
71-posix_glob='?'
72-initialize_posix_glob='
73- test "$posix_glob" != "?" || {
74- if (set -f) 2>/dev/null; then
75- posix_glob=
76- else
77- posix_glob=:
78- fi
79- }
80-'
81-
8267 posix_mkdir=
8368
8469 # Desired mode of installed file.
@@ -97,7 +82,7 @@ dir_arg=
9782 dst_arg=
9883
9984 copy_on_change=false
100-no_target_directory=
85+is_target_a_directory=possibly
10186
10287 usage="\
10388 Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
@@ -137,46 +122,57 @@ while test $# -ne 0; do
137122 -d) dir_arg=true;;
138123
139124 -g) chgrpcmd="$chgrpprog $2"
140- shift;;
125+ shift;;
141126
142127 --help) echo "$usage"; exit $?;;
143128
144129 -m) mode=$2
145- case $mode in
146- *' '* | *' '* | *'
147-'* | *'*'* | *'?'* | *'['*)
148- echo "$0: invalid mode: $mode" >&2
149- exit 1;;
150- esac
151- shift;;
130+ case $mode in
131+ *' '* | *"$tab"* | *"$nl"* | *'*'* | *'?'* | *'['*)
132+ echo "$0: invalid mode: $mode" >&2
133+ exit 1;;
134+ esac
135+ shift;;
152136
153137 -o) chowncmd="$chownprog $2"
154- shift;;
138+ shift;;
155139
156140 -s) stripcmd=$stripprog;;
157141
158- -t) dst_arg=$2
159- # Protect names problematic for 'test' and other utilities.
160- case $dst_arg in
161- -* | [=\(\)!]) dst_arg=./$dst_arg;;
162- esac
163- shift;;
142+ -t)
143+ is_target_a_directory=always
144+ dst_arg=$2
145+ # Protect names problematic for 'test' and other utilities.
146+ case $dst_arg in
147+ -* | [=\(\)!]) dst_arg=./$dst_arg;;
148+ esac
149+ shift;;
164150
165- -T) no_target_directory=true;;
151+ -T) is_target_a_directory=never;;
166152
167153 --version) echo "$0 $scriptversion"; exit $?;;
168154
169- --) shift
170- break;;
155+ --) shift
156+ break;;
171157
172- -*) echo "$0: invalid option: $1" >&2
173- exit 1;;
158+ -*) echo "$0: invalid option: $1" >&2
159+ exit 1;;
174160
175161 *) break;;
176162 esac
177163 shift
178164 done
179165
166+# We allow the use of options -d and -T together, by making -d
167+# take the precedence; this is for compatibility with GNU install.
168+
169+if test -n "$dir_arg"; then
170+ if test -n "$dst_arg"; then
171+ echo "$0: target directory not allowed when installing a directory." >&2
172+ exit 1
173+ fi
174+fi
175+
180176 if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
181177 # When -d is used, all remaining arguments are directories to create.
182178 # When -t is used, the destination is already specified.
@@ -208,6 +204,15 @@ if test $# -eq 0; then
208204 fi
209205
210206 if test -z "$dir_arg"; then
207+ if test $# -gt 1 || test "$is_target_a_directory" = always; then
208+ if test ! -d "$dst_arg"; then
209+ echo "$0: $dst_arg: Is not a directory." >&2
210+ exit 1
211+ fi
212+ fi
213+fi
214+
215+if test -z "$dir_arg"; then
211216 do_exit='(exit $ret); exit $ret'
212217 trap "ret=129; $do_exit" 1
213218 trap "ret=130; $do_exit" 2
@@ -223,16 +228,16 @@ if test -z "$dir_arg"; then
223228
224229 *[0-7])
225230 if test -z "$stripcmd"; then
226- u_plus_rw=
231+ u_plus_rw=
227232 else
228- u_plus_rw='% 200'
233+ u_plus_rw='% 200'
229234 fi
230235 cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
231236 *)
232237 if test -z "$stripcmd"; then
233- u_plus_rw=
238+ u_plus_rw=
234239 else
235- u_plus_rw=,u+rw
240+ u_plus_rw=,u+rw
236241 fi
237242 cp_umask=$mode$u_plus_rw;;
238243 esac
@@ -266,129 +271,113 @@ do
266271 fi
267272 dst=$dst_arg
268273
269- # If destination is a directory, append the input filename; won't work
270- # if double slashes aren't ignored.
274+ # If destination is a directory, append the input filename.
271275 if test -d "$dst"; then
272- if test -n "$no_target_directory"; then
273- echo "$0: $dst_arg: Is a directory" >&2
274- exit 1
276+ if test "$is_target_a_directory" = never; then
277+ echo "$0: $dst_arg: Is a directory" >&2
278+ exit 1
275279 fi
276280 dstdir=$dst
277- dst=$dstdir/`basename "$src"`
281+ dstbase=`basename "$src"`
282+ case $dst in
283+ */) dst=$dst$dstbase;;
284+ *) dst=$dst/$dstbase;;
285+ esac
278286 dstdir_status=0
279287 else
280- # Prefer dirname, but fall back on a substitute if dirname fails.
281- dstdir=`
282- (dirname "$dst") 2>/dev/null ||
283- expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
284- X"$dst" : 'X\(//\)[^/]' \| \
285- X"$dst" : 'X\(//\)$' \| \
286- X"$dst" : 'X\(/\)' \| . 2>/dev/null ||
287- echo X"$dst" |
288- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
289- s//\1/
290- q
291- }
292- /^X\(\/\/\)[^/].*/{
293- s//\1/
294- q
295- }
296- /^X\(\/\/\)$/{
297- s//\1/
298- q
299- }
300- /^X\(\/\).*/{
301- s//\1/
302- q
303- }
304- s/.*/./; q'
305- `
306-
288+ dstdir=`dirname "$dst"`
307289 test -d "$dstdir"
308290 dstdir_status=$?
309291 fi
310292 fi
311293
294+ case $dstdir in
295+ */) dstdirslash=$dstdir;;
296+ *) dstdirslash=$dstdir/;;
297+ esac
298+
312299 obsolete_mkdir_used=false
313300
314301 if test $dstdir_status != 0; then
315302 case $posix_mkdir in
316303 '')
317- # Create intermediate dirs using mode 755 as modified by the umask.
318- # This is like FreeBSD 'install' as of 1997-10-28.
319- umask=`umask`
320- case $stripcmd.$umask in
321- # Optimize common cases.
322- *[2367][2367]) mkdir_umask=$umask;;
323- .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
324-
325- *[0-7])
326- mkdir_umask=`expr $umask + 22 \
327- - $umask % 100 % 40 + $umask % 20 \
328- - $umask % 10 % 4 + $umask % 2
329- `;;
330- *) mkdir_umask=$umask,go-w;;
331- esac
332-
333- # With -d, create the new directory with the user-specified mode.
334- # Otherwise, rely on $mkdir_umask.
335- if test -n "$dir_arg"; then
336- mkdir_mode=-m$mode
337- else
338- mkdir_mode=
339- fi
340-
341- posix_mkdir=false
342- case $umask in
343- *[123567][0-7][0-7])
344- # POSIX mkdir -p sets u+wx bits regardless of umask, which
345- # is incompatible with FreeBSD 'install' when (umask & 300) != 0.
346- ;;
347- *)
348- # $RANDOM is not portable (e.g. dash); use it when possible to
349- # lower collision chance
350- tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
351- trap 'ret=$?; rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null; exit $ret' 0
352-
353- # As "mkdir -p" follows symlinks and we work in /tmp possibly; so
354- # create the $tmpdir first (and fail if unsuccessful) to make sure
355- # that nobody tries to guess the $tmpdir name.
356- if (umask $mkdir_umask &&
357- $mkdirprog $mkdir_mode "$tmpdir" &&
358- exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1
359- then
360- if test -z "$dir_arg" || {
361- # Check for POSIX incompatibilities with -m.
362- # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
363- # other-writable bit of parent directory when it shouldn't.
364- # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
365- test_tmpdir="$tmpdir/a"
366- ls_ld_tmpdir=`ls -ld "$test_tmpdir"`
367- case $ls_ld_tmpdir in
368- d????-?r-*) different_mode=700;;
369- d????-?--*) different_mode=755;;
370- *) false;;
371- esac &&
372- $mkdirprog -m$different_mode -p -- "$test_tmpdir" && {
373- ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"`
374- test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
375- }
376- }
377- then posix_mkdir=:
378- fi
379- rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir"
380- else
381- # Remove any dirs left behind by ancient mkdir implementations.
382- rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null
383- fi
384- trap '' 0;;
385- esac;;
304+ # Create intermediate dirs using mode 755 as modified by the umask.
305+ # This is like FreeBSD 'install' as of 1997-10-28.
306+ umask=`umask`
307+ case $stripcmd.$umask in
308+ # Optimize common cases.
309+ *[2367][2367]) mkdir_umask=$umask;;
310+ .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
311+
312+ *[0-7])
313+ mkdir_umask=`expr $umask + 22 \
314+ - $umask % 100 % 40 + $umask % 20 \
315+ - $umask % 10 % 4 + $umask % 2
316+ `;;
317+ *) mkdir_umask=$umask,go-w;;
318+ esac
319+
320+ # With -d, create the new directory with the user-specified mode.
321+ # Otherwise, rely on $mkdir_umask.
322+ if test -n "$dir_arg"; then
323+ mkdir_mode=-m$mode
324+ else
325+ mkdir_mode=
326+ fi
327+
328+ posix_mkdir=false
329+ case $umask in
330+ *[123567][0-7][0-7])
331+ # POSIX mkdir -p sets u+wx bits regardless of umask, which
332+ # is incompatible with FreeBSD 'install' when (umask & 300) != 0.
333+ ;;
334+ *)
335+ # Note that $RANDOM variable is not portable (e.g. dash); Use it
336+ # here however when possible just to lower collision chance.
337+ tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
338+
339+ trap 'ret=$?; rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null; exit $ret' 0
340+
341+ # Because "mkdir -p" follows existing symlinks and we likely work
342+ # directly in world-writeable /tmp, make sure that the '$tmpdir'
343+ # directory is successfully created first before we actually test
344+ # 'mkdir -p' feature.
345+ if (umask $mkdir_umask &&
346+ $mkdirprog $mkdir_mode "$tmpdir" &&
347+ exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1
348+ then
349+ if test -z "$dir_arg" || {
350+ # Check for POSIX incompatibilities with -m.
351+ # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
352+ # other-writable bit of parent directory when it shouldn't.
353+ # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
354+ test_tmpdir="$tmpdir/a"
355+ ls_ld_tmpdir=`ls -ld "$test_tmpdir"`
356+ case $ls_ld_tmpdir in
357+ d????-?r-*) different_mode=700;;
358+ d????-?--*) different_mode=755;;
359+ *) false;;
360+ esac &&
361+ $mkdirprog -m$different_mode -p -- "$test_tmpdir" && {
362+ ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"`
363+ test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
364+ }
365+ }
366+ then posix_mkdir=:
367+ fi
368+ rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir"
369+ else
370+ # Remove any dirs left behind by ancient mkdir implementations.
371+ rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null
372+ fi
373+ trap '' 0;;
374+ esac;;
386375 esac
387376
388377 if
389378 $posix_mkdir && (
390- umask $mkdir_umask &&
391- $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
379+ umask $mkdir_umask &&
380+ $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
392381 )
393382 then :
394383 else
@@ -398,53 +387,51 @@ do
398387 # directory the slow way, step by step, checking for races as we go.
399388
400389 case $dstdir in
401- /*) prefix='/';;
402- [-=\(\)!]*) prefix='./';;
403- *) prefix='';;
390+ /*) prefix='/';;
391+ [-=\(\)!]*) prefix='./';;
392+ *) prefix='';;
404393 esac
405394
406- eval "$initialize_posix_glob"
407-
408395 oIFS=$IFS
409396 IFS=/
410- $posix_glob set -f
397+ set -f
411398 set fnord $dstdir
412399 shift
413- $posix_glob set +f
400+ set +f
414401 IFS=$oIFS
415402
416403 prefixes=
417404
418405 for d
419406 do
420- test X"$d" = X && continue
421-
422- prefix=$prefix$d
423- if test -d "$prefix"; then
424- prefixes=
425- else
426- if $posix_mkdir; then
427- (umask=$mkdir_umask &&
428- $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
429- # Don't fail if two instances are running concurrently.
430- test -d "$prefix" || exit 1
431- else
432- case $prefix in
433- *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
434- *) qprefix=$prefix;;
435- esac
436- prefixes="$prefixes '$qprefix'"
437- fi
438- fi
439- prefix=$prefix/
407+ test X"$d" = X && continue
408+
409+ prefix=$prefix$d
410+ if test -d "$prefix"; then
411+ prefixes=
412+ else
413+ if $posix_mkdir; then
414+ (umask=$mkdir_umask &&
415+ $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
416+ # Don't fail if two instances are running concurrently.
417+ test -d "$prefix" || exit 1
418+ else
419+ case $prefix in
420+ *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
421+ *) qprefix=$prefix;;
422+ esac
423+ prefixes="$prefixes '$qprefix'"
424+ fi
425+ fi
426+ prefix=$prefix/
440427 done
441428
442429 if test -n "$prefixes"; then
443- # Don't fail if two instances are running concurrently.
444- (umask $mkdir_umask &&
445- eval "\$doit_exec \$mkdirprog $prefixes") ||
446- test -d "$dstdir" || exit 1
447- obsolete_mkdir_used=true
430+ # Don't fail if two instances are running concurrently.
431+ (umask $mkdir_umask &&
432+ eval "\$doit_exec \$mkdirprog $prefixes") ||
433+ test -d "$dstdir" || exit 1
434+ obsolete_mkdir_used=true
448435 fi
449436 fi
450437 fi
@@ -457,8 +444,8 @@ do
457444 else
458445
459446 # Make a couple of temp file names in the proper directory.
460- dsttmp=$dstdir/_inst.$$_
461- rmtmp=$dstdir/_rm.$$_
447+ dsttmp=${dstdirslash}_inst.$$_
448+ rmtmp=${dstdirslash}_rm.$$_
462449
463450 # Trap to clean up those temp files at exit.
464451 trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
@@ -479,15 +466,12 @@ do
479466
480467 # If -C, don't bother to copy if it wouldn't change the file.
481468 if $copy_on_change &&
482- old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` &&
483- new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
484-
485- eval "$initialize_posix_glob" &&
486- $posix_glob set -f &&
469+ old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` &&
470+ new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
471+ set -f &&
487472 set X $old && old=:$2:$4:$5:$6 &&
488473 set X $new && new=:$2:$4:$5:$6 &&
489- $posix_glob set +f &&
490-
474+ set +f &&
491475 test "$old" = "$new" &&
492476 $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
493477 then
@@ -500,24 +484,24 @@ do
500484 # to itself, or perhaps because mv is so ancient that it does not
501485 # support -f.
502486 {
503- # Now remove or move aside any old file at destination location.
504- # We try this two ways since rm can't unlink itself on some
505- # systems and the destination file might be busy for other
506- # reasons. In this case, the final cleanup might fail but the new
507- # file should still install successfully.
508- {
509- test ! -f "$dst" ||
510- $doit $rmcmd -f "$dst" 2>/dev/null ||
511- { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
512- { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
513- } ||
514- { echo "$0: cannot unlink or rename $dst" >&2
515- (exit 1); exit 1
516- }
517- } &&
518-
519- # Now rename the file to the real destination.
520- $doit $mvcmd "$dsttmp" "$dst"
487+ # Now remove or move aside any old file at destination location.
488+ # We try this two ways since rm can't unlink itself on some
489+ # systems and the destination file might be busy for other
490+ # reasons. In this case, the final cleanup might fail but the new
491+ # file should still install successfully.
492+ {
493+ test ! -f "$dst" ||
494+ $doit $rmcmd -f "$dst" 2>/dev/null ||
495+ { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
496+ { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
497+ } ||
498+ { echo "$0: cannot unlink or rename $dst" >&2
499+ (exit 1); exit 1
500+ }
501+ } &&
502+
503+ # Now rename the file to the real destination.
504+ $doit $mvcmd "$dsttmp" "$dst"
521505 }
522506 fi || exit 1
523507
@@ -526,9 +510,9 @@ do
526510 done
527511
528512 # Local variables:
529-# eval: (add-hook 'write-file-hooks 'time-stamp)
513+# eval: (add-hook 'before-save-hook 'time-stamp)
530514 # time-stamp-start: "scriptversion="
531515 # time-stamp-format: "%:y-%02m-%02d.%02H"
532-# time-stamp-time-zone: "UTC"
516+# time-stamp-time-zone: "UTC0"
533517 # time-stamp-end: "; # UTC"
534518 # End:
--- a/ja/Makefile.in
+++ b/ja/Makefile.in
@@ -1,7 +1,7 @@
1-# Makefile.in generated by automake 1.14.1 from Makefile.am.
1+# Makefile.in generated by automake 1.16.1 from Makefile.am.
22 # @configure_input@
33
4-# Copyright (C) 1994-2013 Free Software Foundation, Inc.
4+# Copyright (C) 1994-2018 Free Software Foundation, Inc.
55
66 # This Makefile.in is free software; the Free Software Foundation
77 # gives unlimited permission to copy and/or distribute it,
@@ -14,7 +14,17 @@
1414
1515 @SET_MAKE@
1616 VPATH = @srcdir@
17-am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
17+am__is_gnu_make = { \
18+ if test -z '$(MAKELEVEL)'; then \
19+ false; \
20+ elif test -n '$(MAKE_HOST)'; then \
21+ true; \
22+ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
23+ true; \
24+ else \
25+ false; \
26+ fi; \
27+}
1828 am__make_running_with_option = \
1929 case $${target_option-} in \
2030 ?) ;; \
@@ -78,13 +88,12 @@ POST_UNINSTALL = :
7888 build_triplet = @build@
7989 host_triplet = @host@
8090 subdir = ja
81-DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
82- $(top_srcdir)/mkinstalldirs ChangeLog
8391 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
8492 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
8593 $(top_srcdir)/configure.ac
8694 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
8795 $(ACLOCAL_M4)
96+DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
8897 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
8998 CONFIG_CLEAN_FILES =
9099 CONFIG_CLEAN_VPATH_FILES =
@@ -108,6 +117,8 @@ am__can_run_installinfo = \
108117 *) (install-info --version) >/dev/null 2>&1;; \
109118 esac
110119 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
120+am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/mkinstalldirs \
121+ ChangeLog
111122 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
112123 ACLOCAL = @ACLOCAL@
113124 AMTAR = @AMTAR@
@@ -190,6 +201,7 @@ pdfdir = @pdfdir@
190201 prefix = @prefix@
191202 program_transform_name = @program_transform_name@
192203 psdir = @psdir@
204+runstatedir = @runstatedir@
193205 sbindir = @sbindir@
194206 sharedstatedir = @sharedstatedir@
195207 srcdir = @srcdir@
@@ -214,7 +226,6 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__confi
214226 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu ja/Makefile'; \
215227 $(am__cd) $(top_srcdir) && \
216228 $(AUTOMAKE) --gnu ja/Makefile
217-.PRECIOUS: Makefile
218229
219230 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
220231 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
@@ -231,7 +242,10 @@ ctags CTAGS:
231242 cscope cscopelist:
232243
233244
234-distdir: $(DISTFILES)
245+distdir: $(BUILT_SOURCES)
246+ $(MAKE) $(AM_MAKEFLAGS) distdir-am
247+
248+distdir-am: $(DISTFILES)
235249 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
236250 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
237251 list='$(DISTFILES)'; \
@@ -374,6 +388,8 @@ uninstall-am:
374388 maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
375389 pdf-am ps ps-am tags-am uninstall uninstall-am
376390
391+.PRECIOUS: Makefile
392+
377393
378394 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
379395 cd $(top_builddir) && \
--- a/missing
+++ b/missing
@@ -1,9 +1,9 @@
11 #! /bin/sh
22 # Common wrapper for a few potentially missing GNU programs.
33
4-scriptversion=2013-10-28.13; # UTC
4+scriptversion=2018-03-07.03; # UTC
55
6-# Copyright (C) 1996-2013 Free Software Foundation, Inc.
6+# Copyright (C) 1996-2018 Free Software Foundation, Inc.
77 # Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
88
99 # This program is free software; you can redistribute it and/or modify
@@ -17,7 +17,7 @@ scriptversion=2013-10-28.13; # UTC
1717 # GNU General Public License for more details.
1818
1919 # You should have received a copy of the GNU General Public License
20-# along with this program. If not, see <http://www.gnu.org/licenses/>.
20+# along with this program. If not, see <https://www.gnu.org/licenses/>.
2121
2222 # As a special exception to the GNU General Public License, if you
2323 # distribute this file as part of a program that contains a
@@ -101,9 +101,9 @@ else
101101 exit $st
102102 fi
103103
104-perl_URL=http://www.perl.org/
105-flex_URL=http://flex.sourceforge.net/
106-gnu_software_URL=http://www.gnu.org/software
104+perl_URL=https://www.perl.org/
105+flex_URL=https://github.com/westes/flex
106+gnu_software_URL=https://www.gnu.org/software
107107
108108 program_details ()
109109 {
@@ -207,9 +207,9 @@ give_advice "$1" | sed -e '1s/^/WARNING: /' \
207207 exit $st
208208
209209 # Local variables:
210-# eval: (add-hook 'write-file-hooks 'time-stamp)
210+# eval: (add-hook 'before-save-hook 'time-stamp)
211211 # time-stamp-start: "scriptversion="
212212 # time-stamp-format: "%:y-%02m-%02d.%02H"
213-# time-stamp-time-zone: "UTC"
213+# time-stamp-time-zone: "UTC0"
214214 # time-stamp-end: "; # UTC"
215215 # End:
--- a/mkinstalldirs
+++ b/mkinstalldirs
@@ -1,7 +1,7 @@
11 #! /bin/sh
22 # mkinstalldirs --- make directory hierarchy
33
4-scriptversion=2009-04-28.21; # UTC
4+scriptversion=2018-03-07.03; # UTC
55
66 # Original author: Noah Friedman <friedman@prep.ai.mit.edu>
77 # Created: 1993-05-16
@@ -154,9 +154,9 @@ exit $errstatus
154154 # Local Variables:
155155 # mode: shell-script
156156 # sh-indentation: 2
157-# eval: (add-hook 'write-file-hooks 'time-stamp)
157+# eval: (add-hook 'before-save-hook 'time-stamp)
158158 # time-stamp-start: "scriptversion="
159159 # time-stamp-format: "%:y-%02m-%02d.%02H"
160-# time-stamp-time-zone: "UTC"
160+# time-stamp-time-zone: "UTC0"
161161 # time-stamp-end: "; # UTC"
162162 # End:
--- a/sample/Makefile.in
+++ b/sample/Makefile.in
@@ -1,7 +1,7 @@
1-# Makefile.in generated by automake 1.14.1 from Makefile.am.
1+# Makefile.in generated by automake 1.16.1 from Makefile.am.
22 # @configure_input@
33
4-# Copyright (C) 1994-2013 Free Software Foundation, Inc.
4+# Copyright (C) 1994-2018 Free Software Foundation, Inc.
55
66 # This Makefile.in is free software; the Free Software Foundation
77 # gives unlimited permission to copy and/or distribute it,
@@ -14,7 +14,17 @@
1414
1515 @SET_MAKE@
1616 VPATH = @srcdir@
17-am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
17+am__is_gnu_make = { \
18+ if test -z '$(MAKELEVEL)'; then \
19+ false; \
20+ elif test -n '$(MAKE_HOST)'; then \
21+ true; \
22+ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
23+ true; \
24+ else \
25+ false; \
26+ fi; \
27+}
1828 am__make_running_with_option = \
1929 case $${target_option-} in \
2030 ?) ;; \
@@ -78,13 +88,12 @@ POST_UNINSTALL = :
7888 build_triplet = @build@
7989 host_triplet = @host@
8090 subdir = sample
81-DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
82- $(top_srcdir)/mkinstalldirs ChangeLog
8391 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
8492 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
8593 $(top_srcdir)/configure.ac
8694 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
8795 $(ACLOCAL_M4)
96+DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
8897 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
8998 CONFIG_CLEAN_FILES =
9099 CONFIG_CLEAN_VPATH_FILES =
@@ -108,6 +117,8 @@ am__can_run_installinfo = \
108117 *) (install-info --version) >/dev/null 2>&1;; \
109118 esac
110119 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
120+am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/mkinstalldirs \
121+ ChangeLog
111122 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
112123 ACLOCAL = @ACLOCAL@
113124 AMTAR = @AMTAR@
@@ -190,6 +201,7 @@ pdfdir = @pdfdir@
190201 prefix = @prefix@
191202 program_transform_name = @program_transform_name@
192203 psdir = @psdir@
204+runstatedir = @runstatedir@
193205 sbindir = @sbindir@
194206 sharedstatedir = @sharedstatedir@
195207 srcdir = @srcdir@
@@ -216,7 +228,6 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__confi
216228 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu sample/Makefile'; \
217229 $(am__cd) $(top_srcdir) && \
218230 $(AUTOMAKE) --gnu sample/Makefile
219-.PRECIOUS: Makefile
220231
221232 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
222233 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
@@ -233,7 +244,10 @@ ctags CTAGS:
233244 cscope cscopelist:
234245
235246
236-distdir: $(DISTFILES)
247+distdir: $(BUILT_SOURCES)
248+ $(MAKE) $(AM_MAKEFLAGS) distdir-am
249+
250+distdir-am: $(DISTFILES)
237251 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
238252 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
239253 list='$(DISTFILES)'; \
@@ -376,6 +390,8 @@ uninstall-am:
376390 maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
377391 pdf-am ps ps-am tags-am uninstall uninstall-am
378392
393+.PRECIOUS: Makefile
394+
379395
380396 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
381397 cd $(top_builddir) && \
Show on old repository browser