Merge ~3v1n0/ubuntu/+source/mutter:upstream/3.28.x into ~ubuntu-desktop/ubuntu/+source/mutter:upstream/3.28.x

Proposed by Marco Trevisan (Treviño)
Status: Merged
Merged at revision: 5b1eb29c39cba26439f6f98cd5f4a113fc64ac1f
Proposed branch: ~3v1n0/ubuntu/+source/mutter:upstream/3.28.x
Merge into: ~ubuntu-desktop/ubuntu/+source/mutter:upstream/3.28.x
Diff against target: 22794 lines (+7590/-4542)
116 files modified
Makefile.in (+11/-7)
aclocal.m4 (+87/-104)
build-aux/compile (+5/-5)
build-aux/config.guess (+282/-278)
build-aux/config.sub (+107/-142)
build-aux/depcomp (+5/-5)
build-aux/install-sh (+31/-14)
build-aux/ltmain.sh (+171/-72)
build-aux/missing (+8/-8)
clutter/Makefile.in (+10/-6)
clutter/aclocal.m4 (+303/-388)
clutter/build/Makefile.in (+10/-6)
clutter/build/autotools/Makefile.in (+9/-5)
clutter/build/autotools/libtool.m4 (+32/-16)
clutter/build/compile (+5/-5)
clutter/build/config.guess (+282/-278)
clutter/build/config.sub (+107/-142)
clutter/build/depcomp (+5/-5)
clutter/build/install-sh (+31/-14)
clutter/build/ltmain.sh (+171/-72)
clutter/build/missing (+8/-8)
clutter/build/test-driver (+5/-5)
clutter/clutter/Makefile.in (+621/-166)
clutter/clutter/cally/cally-util.c (+2/-0)
clutter/clutter/clutter-actor.c (+83/-11)
clutter/clutter/clutter-effect-private.h (+1/-0)
clutter/clutter/clutter-effect.c (+8/-0)
clutter/clutter/clutter-offscreen-effect.c (+6/-3)
clutter/clutter/clutter-paint-volume.c (+15/-0)
clutter/clutter/clutter-text.c (+2/-8)
clutter/clutter/evdev/clutter-virtual-input-device-evdev.c (+29/-6)
clutter/clutter/x11/clutter-keymap-x11.c (+177/-1)
clutter/clutter/x11/clutter-keymap-x11.h (+8/-0)
clutter/clutter/x11/clutter-virtual-input-device-x11.c (+21/-3)
clutter/configure (+131/-109)
clutter/examples/Makefile.in (+79/-28)
clutter/tests/Makefile.in (+10/-6)
clutter/tests/accessibility/Makefile.in (+41/-15)
clutter/tests/conform/Makefile.in (+207/-131)
clutter/tests/conform/actor-shader-effect.c (+4/-4)
clutter/tests/interactive/Makefile.in (+217/-59)
clutter/tests/micro-bench/Makefile.in (+35/-14)
clutter/tests/performance/Makefile.in (+43/-16)
cogl/Makefile.in (+10/-6)
cogl/aclocal.m4 (+303/-388)
cogl/build/autotools/libtool.m4 (+32/-16)
cogl/build/compile (+5/-5)
cogl/build/config.guess (+282/-278)
cogl/build/config.sub (+107/-142)
cogl/build/depcomp (+5/-5)
cogl/build/install-sh (+31/-14)
cogl/build/ltmain.sh (+171/-72)
cogl/build/missing (+8/-8)
cogl/cogl-gles2/Makefile.in (+25/-14)
cogl/cogl-pango/Makefile.in (+41/-18)
cogl/cogl-path/Makefile.in (+65/-24)
cogl/cogl/Makefile.in (+460/-127)
cogl/cogl/deprecated/cogl-auto-texture.c (+1/-0)
cogl/configure (+154/-121)
cogl/test-fixtures/Makefile.in (+30/-19)
cogl/tests/Makefile.in (+10/-6)
cogl/tests/conform/Makefile.in (+220/-71)
cogl/tests/data/Makefile.in (+9/-5)
cogl/tests/micro-perf/Makefile.in (+23/-12)
cogl/tests/unit/Makefile.in (+23/-12)
configure (+131/-109)
data/Makefile.in (+9/-5)
doc/Makefile.in (+10/-6)
doc/man/Makefile.in (+9/-5)
m4/libtool.m4 (+32/-16)
m4/pkg.m4 (+3/-71)
po/mutter.pot (+46/-51)
src/Makefile-tests.am (+1/-0)
src/Makefile.in (+1036/-406)
src/backends/meta-idle-monitor.c (+7/-3)
src/backends/meta-monitor-manager-private.h (+1/-0)
src/backends/meta-monitor-manager.c (+17/-3)
src/backends/meta-monitor.c (+33/-8)
src/backends/meta-monitor.h (+2/-0)
src/backends/native/meta-gpu-kms.c (+81/-19)
src/backends/native/meta-gpu-kms.h (+9/-0)
src/backends/native/meta-monitor-manager-kms.c (+20/-0)
src/backends/native/meta-renderer-native.c (+77/-25)
src/backends/x11/meta-backend-x11.c (+3/-2)
src/backends/x11/nested/meta-renderer-x11-nested.c (+6/-2)
src/compositor/compositor.c (+4/-0)
src/compositor/meta-shaped-texture.c (+83/-42)
src/compositor/meta-surface-actor.c (+8/-0)
src/compositor/plugins/Makefile.in (+35/-23)
src/core/delete.c (+3/-0)
src/core/frame.c (+12/-0)
src/core/screen.c (+3/-1)
src/core/window-private.h (+15/-4)
src/core/window.c (+60/-18)
src/tests/stacking/closed-transient.metatest (+19/-0)
src/wayland/meta-wayland-actor-surface.c (+8/-4)
src/wayland/meta-wayland-actor-surface.h (+3/-0)
src/wayland/meta-wayland-buffer.c (+16/-21)
src/wayland/meta-wayland-buffer.h (+2/-0)
src/wayland/meta-wayland-data-device.c (+18/-0)
src/wayland/meta-wayland-dma-buf.c (+1/-0)
src/wayland/meta-wayland-gtk-shell.c (+19/-10)
src/wayland/meta-wayland-keyboard.c (+56/-82)
src/wayland/meta-wayland-keyboard.h (+1/-2)
src/wayland/meta-wayland-legacy-xdg-shell.c (+87/-15)
src/wayland/meta-wayland-outputs.c (+34/-21)
src/wayland/meta-wayland-shell-surface.c (+1/-1)
src/wayland/meta-wayland-surface.c (+14/-7)
src/wayland/meta-wayland-surface.h (+3/-0)
src/wayland/meta-wayland-xdg-shell.c (+81/-14)
src/wayland/meta-window-wayland.c (+9/-3)
src/wayland/meta-xwayland-grab-keyboard.c (+7/-7)
src/x11/events.c (+6/-0)
src/x11/window-props.c (+1/-4)
src/x11/window-x11.c (+3/-3)
src/x11/xprops.c (+5/-1)
Reviewer Review Type Date Requested Status
Ubuntu Desktop Pending
Review via email: mp+361808@code.launchpad.net

Description of the change

Update upstream/3.28.x with latest git snapshot

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
diff --git a/Makefile.in b/Makefile.in
index 8569c31..f738308 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1,7 +1,7 @@
1# Makefile.in generated by automake 1.15.1 from Makefile.am.1# Makefile.in generated by automake 1.16.1 from Makefile.am.
2# @configure_input@2# @configure_input@
33
4# Copyright (C) 1994-2017 Free Software Foundation, Inc.4# Copyright (C) 1994-2018 Free Software Foundation, Inc.
55
6# This Makefile.in is free software; the Free Software Foundation6# This Makefile.in is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it,7# gives unlimited permission to copy and/or distribute it,
@@ -143,7 +143,7 @@ am__recursive_targets = \
143 $(RECURSIVE_CLEAN_TARGETS) \143 $(RECURSIVE_CLEAN_TARGETS) \
144 $(am__extra_recursive_targets)144 $(am__extra_recursive_targets)
145AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \145AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
146 cscope distdir dist dist-all distcheck146 cscope distdir distdir-am dist dist-all distcheck
147am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \147am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
148 $(LISP)config.h.in148 $(LISP)config.h.in
149# Read a list of newline-separated strings from the standard input,149# Read a list of newline-separated strings from the standard input,
@@ -176,7 +176,7 @@ am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \
176 $(top_srcdir)/build-aux/missing \176 $(top_srcdir)/build-aux/missing \
177 $(top_srcdir)/src/meta/meta-version.h.in ABOUT-NLS COPYING \177 $(top_srcdir)/src/meta/meta-version.h.in ABOUT-NLS COPYING \
178 NEWS build-aux/compile build-aux/config.guess \178 NEWS build-aux/compile build-aux/config.guess \
179 build-aux/config.rpath build-aux/config.sub build-aux/depcomp \179 build-aux/config.rpath build-aux/config.sub \
180 build-aux/install-sh build-aux/ltmain.sh build-aux/missing180 build-aux/install-sh build-aux/ltmain.sh build-aux/missing
181DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)181DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
182distdir = $(PACKAGE)-$(VERSION)182distdir = $(PACKAGE)-$(VERSION)
@@ -398,6 +398,7 @@ pdfdir = @pdfdir@
398prefix = @prefix@398prefix = @prefix@
399program_transform_name = @program_transform_name@399program_transform_name = @program_transform_name@
400psdir = @psdir@400psdir = @psdir@
401runstatedir = @runstatedir@
401sbindir = @sbindir@402sbindir = @sbindir@
402sharedstatedir = @sharedstatedir@403sharedstatedir = @sharedstatedir@
403srcdir = @srcdir@404srcdir = @srcdir@
@@ -440,8 +441,8 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
440 echo ' $(SHELL) ./config.status'; \441 echo ' $(SHELL) ./config.status'; \
441 $(SHELL) ./config.status;; \442 $(SHELL) ./config.status;; \
442 *) \443 *) \
443 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \444 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \
444 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \445 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \
445 esac;446 esac;
446447
447$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)448$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
@@ -585,7 +586,10 @@ distclean-tags:
585 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags586 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
586 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files587 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
587588
588distdir: $(DISTFILES)589distdir: $(BUILT_SOURCES)
590 $(MAKE) $(AM_MAKEFLAGS) distdir-am
591
592distdir-am: $(DISTFILES)
589 $(am__remove_distdir)593 $(am__remove_distdir)
590 test -d "$(distdir)" || mkdir "$(distdir)"594 test -d "$(distdir)" || mkdir "$(distdir)"
591 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \595 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
diff --git a/aclocal.m4 b/aclocal.m4
index 4d8ccdc..f605e15 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -1,6 +1,6 @@
1# generated automatically by aclocal 1.15.1 -*- Autoconf -*-1# generated automatically by aclocal 1.16.1 -*- Autoconf -*-
22
3# Copyright (C) 1996-2017 Free Software Foundation, Inc.3# Copyright (C) 1996-2018 Free Software Foundation, Inc.
44
5# This file is free software; the Free Software Foundation5# This file is free software; the Free Software Foundation
6# gives unlimited permission to copy and/or distribute it,6# 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.
20If you have problems, you may need to regenerate the build system entirely.20If you have problems, you may need to regenerate the build system entirely.
21To do so, use the procedure documented by the package, typically 'autoreconf'.])])21To do so, use the procedure documented by the package, typically 'autoreconf'.])])
2222
23# Copyright (C) 2002-2017 Free Software Foundation, Inc.23# Copyright (C) 2002-2018 Free Software Foundation, Inc.
24#24#
25# This file is free software; the Free Software Foundation25# This file is free software; the Free Software Foundation
26# gives unlimited permission to copy and/or distribute it,26# 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'.])
32# generated from the m4 files accompanying Automake X.Y.32# generated from the m4 files accompanying Automake X.Y.
33# (This private macro should not be called outside this file.)33# (This private macro should not be called outside this file.)
34AC_DEFUN([AM_AUTOMAKE_VERSION],34AC_DEFUN([AM_AUTOMAKE_VERSION],
35[am__api_version='1.15'35[am__api_version='1.16'
36dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to36dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
37dnl require some minimum version. Point them to the right macro.37dnl require some minimum version. Point them to the right macro.
38m4_if([$1], [1.15.1], [],38m4_if([$1], [1.16.1], [],
39 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl39 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
40])40])
4141
@@ -51,14 +51,14 @@ m4_define([_AM_AUTOCONF_VERSION], [])
51# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.51# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
52# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.52# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
53AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],53AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
54[AM_AUTOMAKE_VERSION([1.15.1])dnl54[AM_AUTOMAKE_VERSION([1.16.1])dnl
55m4_ifndef([AC_AUTOCONF_VERSION],55m4_ifndef([AC_AUTOCONF_VERSION],
56 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl56 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
57_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])57_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
5858
59# AM_AUX_DIR_EXPAND -*- Autoconf -*-59# AM_AUX_DIR_EXPAND -*- Autoconf -*-
6060
61# Copyright (C) 2001-2017 Free Software Foundation, Inc.61# Copyright (C) 2001-2018 Free Software Foundation, Inc.
62#62#
63# This file is free software; the Free Software Foundation63# This file is free software; the Free Software Foundation
64# gives unlimited permission to copy and/or distribute it,64# gives unlimited permission to copy and/or distribute it,
@@ -110,7 +110,7 @@ am_aux_dir=`cd "$ac_aux_dir" && pwd`
110110
111# AM_CONDITIONAL -*- Autoconf -*-111# AM_CONDITIONAL -*- Autoconf -*-
112112
113# Copyright (C) 1997-2017 Free Software Foundation, Inc.113# Copyright (C) 1997-2018 Free Software Foundation, Inc.
114#114#
115# This file is free software; the Free Software Foundation115# This file is free software; the Free Software Foundation
116# gives unlimited permission to copy and/or distribute it,116# gives unlimited permission to copy and/or distribute it,
@@ -141,7 +141,7 @@ AC_CONFIG_COMMANDS_PRE(
141Usually this means the macro was only invoked conditionally.]])141Usually this means the macro was only invoked conditionally.]])
142fi])])142fi])])
143143
144# Copyright (C) 1999-2017 Free Software Foundation, Inc.144# Copyright (C) 1999-2018 Free Software Foundation, Inc.
145#145#
146# This file is free software; the Free Software Foundation146# This file is free software; the Free Software Foundation
147# gives unlimited permission to copy and/or distribute it,147# gives unlimited permission to copy and/or distribute it,
@@ -332,13 +332,12 @@ _AM_SUBST_NOTMAKE([am__nodep])dnl
332332
333# Generate code to set up dependency tracking. -*- Autoconf -*-333# Generate code to set up dependency tracking. -*- Autoconf -*-
334334
335# Copyright (C) 1999-2017 Free Software Foundation, Inc.335# Copyright (C) 1999-2018 Free Software Foundation, Inc.
336#336#
337# This file is free software; the Free Software Foundation337# This file is free software; the Free Software Foundation
338# gives unlimited permission to copy and/or distribute it,338# gives unlimited permission to copy and/or distribute it,
339# with or without modifications, as long as this notice is preserved.339# with or without modifications, as long as this notice is preserved.
340340
341
342# _AM_OUTPUT_DEPENDENCY_COMMANDS341# _AM_OUTPUT_DEPENDENCY_COMMANDS
343# ------------------------------342# ------------------------------
344AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],343AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
@@ -346,49 +345,41 @@ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
346 # Older Autoconf quotes --file arguments for eval, but not when files345 # Older Autoconf quotes --file arguments for eval, but not when files
347 # are listed without --file. Let's play safe and only enable the eval346 # are listed without --file. Let's play safe and only enable the eval
348 # if we detect the quoting.347 # if we detect the quoting.
349 case $CONFIG_FILES in348 # TODO: see whether this extra hack can be removed once we start
350 *\'*) eval set x "$CONFIG_FILES" ;;349 # requiring Autoconf 2.70 or later.
351 *) set x $CONFIG_FILES ;;350 AS_CASE([$CONFIG_FILES],
352 esac351 [*\'*], [eval set x "$CONFIG_FILES"],
352 [*], [set x $CONFIG_FILES])
353 shift353 shift
354 for mf354 # Used to flag and report bootstrapping failures.
355 am_rc=0
356 for am_mf
355 do357 do
356 # Strip MF so we end up with the name of the file.358 # Strip MF so we end up with the name of the file.
357 mf=`echo "$mf" | sed -e 's/:.*$//'`359 am_mf=`AS_ECHO(["$am_mf"]) | sed -e 's/:.*$//'`
358 # Check whether this is an Automake generated Makefile or not.360 # Check whether this is an Automake generated Makefile which includes
359 # We used to match only the files named 'Makefile.in', but361 # dependency-tracking related rules and includes.
360 # some people rename them; so instead we look at the file content.362 # Grep'ing the whole file directly is not great: AIX grep has a line
361 # Grep'ing the first line is not enough: some people post-process
362 # each Makefile.in and add a new line on top of each file to say so.
363 # Grep'ing the whole file is not good either: AIX grep has a line
364 # limit of 2048, but all sed's we know have understand at least 4000.363 # limit of 2048, but all sed's we know have understand at least 4000.
365 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then364 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
366 dirpart=`AS_DIRNAME("$mf")`365 || continue
367 else366 am_dirpart=`AS_DIRNAME(["$am_mf"])`
368 continue367 am_filepart=`AS_BASENAME(["$am_mf"])`
369 fi368 AM_RUN_LOG([cd "$am_dirpart" \
370 # Extract the definition of DEPDIR, am__include, and am__quote369 && sed -e '/# am--include-marker/d' "$am_filepart" \
371 # from the Makefile without running 'make'.370 | $MAKE -f - am--depfiles]) || am_rc=$?
372 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
373 test -z "$DEPDIR" && continue
374 am__include=`sed -n 's/^am__include = //p' < "$mf"`
375 test -z "$am__include" && continue
376 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
377 # Find all dependency output files, they are included files with
378 # $(DEPDIR) in their names. We invoke sed twice because it is the
379 # simplest approach to changing $(DEPDIR) to its actual value in the
380 # expansion.
381 for file in `sed -n "
382 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
383 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
384 # Make sure the directory exists.
385 test -f "$dirpart/$file" && continue
386 fdir=`AS_DIRNAME(["$file"])`
387 AS_MKDIR_P([$dirpart/$fdir])
388 # echo "creating $dirpart/$file"
389 echo '# dummy' > "$dirpart/$file"
390 done
391 done371 done
372 if test $am_rc -ne 0; then
373 AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments
374 for automatic dependency tracking. Try re-running configure with the
375 '--disable-dependency-tracking' option to at least be able to build
376 the package (albeit without support for automatic dependency tracking).])
377 fi
378 AS_UNSET([am_dirpart])
379 AS_UNSET([am_filepart])
380 AS_UNSET([am_mf])
381 AS_UNSET([am_rc])
382 rm -f conftest-deps.mk
392}383}
393])# _AM_OUTPUT_DEPENDENCY_COMMANDS384])# _AM_OUTPUT_DEPENDENCY_COMMANDS
394385
@@ -397,18 +388,17 @@ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
397# -----------------------------388# -----------------------------
398# This macro should only be invoked once -- use via AC_REQUIRE.389# This macro should only be invoked once -- use via AC_REQUIRE.
399#390#
400# This code is only required when automatic dependency tracking391# This code is only required when automatic dependency tracking is enabled.
401# is enabled. FIXME. This creates each '.P' file that we will392# This creates each '.Po' and '.Plo' makefile fragment that we'll need in
402# need in order to bootstrap the dependency handling code.393# order to bootstrap the dependency handling code.
403AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],394AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
404[AC_CONFIG_COMMANDS([depfiles],395[AC_CONFIG_COMMANDS([depfiles],
405 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],396 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
406 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])397 [AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"])])
407])
408398
409# Do all the work for Automake. -*- Autoconf -*-399# Do all the work for Automake. -*- Autoconf -*-
410400
411# Copyright (C) 1996-2017 Free Software Foundation, Inc.401# Copyright (C) 1996-2018 Free Software Foundation, Inc.
412#402#
413# This file is free software; the Free Software Foundation403# This file is free software; the Free Software Foundation
414# gives unlimited permission to copy and/or distribute it,404# gives unlimited permission to copy and/or distribute it,
@@ -495,8 +485,8 @@ AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
495AC_REQUIRE([AC_PROG_MKDIR_P])dnl485AC_REQUIRE([AC_PROG_MKDIR_P])dnl
496# For better backward compatibility. To be removed once Automake 1.9.x486# For better backward compatibility. To be removed once Automake 1.9.x
497# dies out for good. For more background, see:487# dies out for good. For more background, see:
498# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>488# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
499# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>489# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
500AC_SUBST([mkdir_p], ['$(MKDIR_P)'])490AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
501# We need awk for the "check" target (and possibly the TAP driver). The491# We need awk for the "check" target (and possibly the TAP driver). The
502# system "awk" is bad on some platforms.492# system "awk" is bad on some platforms.
@@ -563,7 +553,7 @@ END
563Aborting the configuration process, to ensure you take notice of the issue.553Aborting the configuration process, to ensure you take notice of the issue.
564554
565You can download and install GNU coreutils to get an 'rm' implementation555You can download and install GNU coreutils to get an 'rm' implementation
566that behaves properly: <http://www.gnu.org/software/coreutils/>.556that behaves properly: <https://www.gnu.org/software/coreutils/>.
567557
568If you want to complete the configuration process using your problematic558If you want to complete the configuration process using your problematic
569'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM559'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
@@ -605,7 +595,7 @@ for _am_header in $config_headers :; do
605done595done
606echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])596echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
607597
608# Copyright (C) 2001-2017 Free Software Foundation, Inc.598# Copyright (C) 2001-2018 Free Software Foundation, Inc.
609#599#
610# This file is free software; the Free Software Foundation600# This file is free software; the Free Software Foundation
611# gives unlimited permission to copy and/or distribute it,601# gives unlimited permission to copy and/or distribute it,
@@ -626,7 +616,7 @@ if test x"${install_sh+set}" != xset; then
626fi616fi
627AC_SUBST([install_sh])])617AC_SUBST([install_sh])])
628618
629# Copyright (C) 2003-2017 Free Software Foundation, Inc.619# Copyright (C) 2003-2018 Free Software Foundation, Inc.
630#620#
631# This file is free software; the Free Software Foundation621# This file is free software; the Free Software Foundation
632# gives unlimited permission to copy and/or distribute it,622# gives unlimited permission to copy and/or distribute it,
@@ -648,7 +638,7 @@ AC_SUBST([am__leading_dot])])
648# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-638# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
649# From Jim Meyering639# From Jim Meyering
650640
651# Copyright (C) 1996-2017 Free Software Foundation, Inc.641# Copyright (C) 1996-2018 Free Software Foundation, Inc.
652#642#
653# This file is free software; the Free Software Foundation643# This file is free software; the Free Software Foundation
654# gives unlimited permission to copy and/or distribute it,644# gives unlimited permission to copy and/or distribute it,
@@ -683,7 +673,7 @@ AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
683673
684# Check to see how 'make' treats includes. -*- Autoconf -*-674# Check to see how 'make' treats includes. -*- Autoconf -*-
685675
686# Copyright (C) 2001-2017 Free Software Foundation, Inc.676# Copyright (C) 2001-2018 Free Software Foundation, Inc.
687#677#
688# This file is free software; the Free Software Foundation678# This file is free software; the Free Software Foundation
689# gives unlimited permission to copy and/or distribute it,679# gives unlimited permission to copy and/or distribute it,
@@ -691,49 +681,42 @@ AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
691681
692# AM_MAKE_INCLUDE()682# AM_MAKE_INCLUDE()
693# -----------------683# -----------------
694# Check to see how make treats includes.684# Check whether make has an 'include' directive that can support all
685# the idioms we need for our automatic dependency tracking code.
695AC_DEFUN([AM_MAKE_INCLUDE],686AC_DEFUN([AM_MAKE_INCLUDE],
696[am_make=${MAKE-make}687[AC_MSG_CHECKING([whether ${MAKE-make} supports the include directive])
697cat > confinc << 'END'688cat > confinc.mk << 'END'
698am__doit:689am__doit:
699 @echo this is the am__doit target690 @echo this is the am__doit target >confinc.out
700.PHONY: am__doit691.PHONY: am__doit
701END692END
702# If we don't find an include directive, just comment out the code.
703AC_MSG_CHECKING([for style of include used by $am_make])
704am__include="#"693am__include="#"
705am__quote=694am__quote=
706_am_result=none695# BSD make does it like this.
707# First try GNU make style include.696echo '.include "confinc.mk" # ignored' > confmf.BSD
708echo "include confinc" > confmf697# Other make implementations (GNU, Solaris 10, AIX) do it like this.
709# Ignore all kinds of additional output from 'make'.698echo 'include confinc.mk # ignored' > confmf.GNU
710case `$am_make -s -f confmf 2> /dev/null` in #(699_am_result=no
711*the\ am__doit\ target*)700for s in GNU BSD; do
712 am__include=include701 AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out])
713 am__quote=702 AS_CASE([$?:`cat confinc.out 2>/dev/null`],
714 _am_result=GNU703 ['0:this is the am__doit target'],
715 ;;704 [AS_CASE([$s],
716esac705 [BSD], [am__include='.include' am__quote='"'],
717# Now try BSD make style include.706 [am__include='include' am__quote=''])])
718if test "$am__include" = "#"; then707 if test "$am__include" != "#"; then
719 echo '.include "confinc"' > confmf708 _am_result="yes ($s style)"
720 case `$am_make -s -f confmf 2> /dev/null` in #(709 break
721 *the\ am__doit\ target*)710 fi
722 am__include=.include711done
723 am__quote="\""712rm -f confinc.* confmf.*
724 _am_result=BSD713AC_MSG_RESULT([${_am_result}])
725 ;;714AC_SUBST([am__include])])
726 esac715AC_SUBST([am__quote])])
727fi
728AC_SUBST([am__include])
729AC_SUBST([am__quote])
730AC_MSG_RESULT([$_am_result])
731rm -f confinc confmf
732])
733716
734# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-717# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
735718
736# Copyright (C) 1997-2017 Free Software Foundation, Inc.719# Copyright (C) 1997-2018 Free Software Foundation, Inc.
737#720#
738# This file is free software; the Free Software Foundation721# This file is free software; the Free Software Foundation
739# gives unlimited permission to copy and/or distribute it,722# gives unlimited permission to copy and/or distribute it,
@@ -772,7 +755,7 @@ fi
772755
773# Helper functions for option handling. -*- Autoconf -*-756# Helper functions for option handling. -*- Autoconf -*-
774757
775# Copyright (C) 2001-2017 Free Software Foundation, Inc.758# Copyright (C) 2001-2018 Free Software Foundation, Inc.
776#759#
777# This file is free software; the Free Software Foundation760# This file is free software; the Free Software Foundation
778# gives unlimited permission to copy and/or distribute it,761# gives unlimited permission to copy and/or distribute it,
@@ -801,7 +784,7 @@ AC_DEFUN([_AM_SET_OPTIONS],
801AC_DEFUN([_AM_IF_OPTION],784AC_DEFUN([_AM_IF_OPTION],
802[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])785[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
803786
804# Copyright (C) 1999-2017 Free Software Foundation, Inc.787# Copyright (C) 1999-2018 Free Software Foundation, Inc.
805#788#
806# This file is free software; the Free Software Foundation789# This file is free software; the Free Software Foundation
807# gives unlimited permission to copy and/or distribute it,790# gives unlimited permission to copy and/or distribute it,
@@ -848,7 +831,7 @@ AC_LANG_POP([C])])
848# For backward compatibility.831# For backward compatibility.
849AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])832AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
850833
851# Copyright (C) 2001-2017 Free Software Foundation, Inc.834# Copyright (C) 2001-2018 Free Software Foundation, Inc.
852#835#
853# This file is free software; the Free Software Foundation836# This file is free software; the Free Software Foundation
854# gives unlimited permission to copy and/or distribute it,837# gives unlimited permission to copy and/or distribute it,
@@ -867,7 +850,7 @@ AC_DEFUN([AM_RUN_LOG],
867850
868# Check to make sure that the build environment is sane. -*- Autoconf -*-851# Check to make sure that the build environment is sane. -*- Autoconf -*-
869852
870# Copyright (C) 1996-2017 Free Software Foundation, Inc.853# Copyright (C) 1996-2018 Free Software Foundation, Inc.
871#854#
872# This file is free software; the Free Software Foundation855# This file is free software; the Free Software Foundation
873# gives unlimited permission to copy and/or distribute it,856# gives unlimited permission to copy and/or distribute it,
@@ -948,7 +931,7 @@ AC_CONFIG_COMMANDS_PRE(
948rm -f conftest.file931rm -f conftest.file
949])932])
950933
951# Copyright (C) 2009-2017 Free Software Foundation, Inc.934# Copyright (C) 2009-2018 Free Software Foundation, Inc.
952#935#
953# This file is free software; the Free Software Foundation936# This file is free software; the Free Software Foundation
954# gives unlimited permission to copy and/or distribute it,937# gives unlimited permission to copy and/or distribute it,
@@ -1008,7 +991,7 @@ AC_SUBST([AM_BACKSLASH])dnl
1008_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl991_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
1009])992])
1010993
1011# Copyright (C) 2001-2017 Free Software Foundation, Inc.994# Copyright (C) 2001-2018 Free Software Foundation, Inc.
1012#995#
1013# This file is free software; the Free Software Foundation996# This file is free software; the Free Software Foundation
1014# gives unlimited permission to copy and/or distribute it,997# gives unlimited permission to copy and/or distribute it,
@@ -1036,7 +1019,7 @@ fi
1036INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"1019INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1037AC_SUBST([INSTALL_STRIP_PROGRAM])])1020AC_SUBST([INSTALL_STRIP_PROGRAM])])
10381021
1039# Copyright (C) 2006-2017 Free Software Foundation, Inc.1022# Copyright (C) 2006-2018 Free Software Foundation, Inc.
1040#1023#
1041# This file is free software; the Free Software Foundation1024# This file is free software; the Free Software Foundation
1042# gives unlimited permission to copy and/or distribute it,1025# gives unlimited permission to copy and/or distribute it,
@@ -1055,7 +1038,7 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
10551038
1056# Check how to create a tarball. -*- Autoconf -*-1039# Check how to create a tarball. -*- Autoconf -*-
10571040
1058# Copyright (C) 2004-2017 Free Software Foundation, Inc.1041# Copyright (C) 2004-2018 Free Software Foundation, Inc.
1059#1042#
1060# This file is free software; the Free Software Foundation1043# This file is free software; the Free Software Foundation
1061# gives unlimited permission to copy and/or distribute it,1044# gives unlimited permission to copy and/or distribute it,
diff --git a/build-aux/compile b/build-aux/compile
index de0005d..99e5052 100755
--- a/build-aux/compile
+++ b/build-aux/compile
@@ -1,9 +1,9 @@
1#!/bin/sh1#! /bin/sh
2# Wrapper for compilers which do not understand '-c -o'.2# Wrapper for compilers which do not understand '-c -o'.
33
4scriptversion=2016-01-11.22; # UTC4scriptversion=2018-03-07.03; # UTC
55
6# Copyright (C) 1999-2017 Free Software Foundation, Inc.6# Copyright (C) 1999-2018 Free Software Foundation, Inc.
7# Written by Tom Tromey <tromey@cygnus.com>.7# Written by Tom Tromey <tromey@cygnus.com>.
8#8#
9# This program is free software; you can redistribute it and/or modify9# This program is free software; you can redistribute it and/or modify
@@ -17,7 +17,7 @@ scriptversion=2016-01-11.22; # UTC
17# GNU General Public License for more details.17# GNU General Public License for more details.
18#18#
19# You should have received a copy of the GNU General Public License19# 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
22# As a special exception to the GNU General Public License, if you22# As a special exception to the GNU General Public License, if you
23# distribute this file as part of a program that contains a23# distribute this file as part of a program that contains a
@@ -340,7 +340,7 @@ exit $ret
340# Local Variables:340# Local Variables:
341# mode: shell-script341# mode: shell-script
342# sh-indentation: 2342# sh-indentation: 2
343# eval: (add-hook 'write-file-hooks 'time-stamp)343# eval: (add-hook 'before-save-hook 'time-stamp)
344# time-stamp-start: "scriptversion="344# time-stamp-start: "scriptversion="
345# time-stamp-format: "%:y-%02m-%02d.%02H"345# time-stamp-format: "%:y-%02m-%02d.%02H"
346# time-stamp-time-zone: "UTC0"346# time-stamp-time-zone: "UTC0"
diff --git a/build-aux/config.guess b/build-aux/config.guess
index 717b228..f50dcdb 100755
--- a/build-aux/config.guess
+++ b/build-aux/config.guess
@@ -1,8 +1,8 @@
1#!/bin/sh1#! /bin/sh
2# Attempt to guess a canonical system name.2# Attempt to guess a canonical system name.
3# Copyright 1992-2017 Free Software Foundation, Inc.3# Copyright 1992-2018 Free Software Foundation, Inc.
44
5timestamp='2017-08-08'5timestamp='2018-02-24'
66
7# This file is free software; you can redistribute it and/or modify it7# This file is free software; you can redistribute it and/or modify it
8# under the terms of the GNU General Public License as published by8# under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@ timestamp='2017-08-08'
15# General Public License for more details.15# General Public License for more details.
16#16#
17# You should have received a copy of the GNU General Public License17# 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/>.
19#19#
20# As a special exception to the GNU General Public License, if you20# As a special exception to the GNU General Public License, if you
21# distribute this file as part of a program that contains a21# distribute this file as part of a program that contains a
@@ -27,7 +27,7 @@ timestamp='2017-08-08'
27# Originally written by Per Bothner; maintained since 2000 by Ben Elliston.27# Originally written by Per Bothner; maintained since 2000 by Ben Elliston.
28#28#
29# You can get the latest version of this script from:29# 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.guess30# https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess
31#31#
32# Please send patches to <config-patches@gnu.org>.32# Please send patches to <config-patches@gnu.org>.
3333
@@ -39,7 +39,7 @@ Usage: $0 [OPTION]
3939
40Output the configuration name of the system \`$me' is run on.40Output the configuration name of the system \`$me' is run on.
4141
42Operation modes:42Options:
43 -h, --help print this help, then exit43 -h, --help print this help, then exit
44 -t, --time-stamp print date of last modification, then exit44 -t, --time-stamp print date of last modification, then exit
45 -v, --version print version number, then exit45 -v, --version print version number, then exit
@@ -50,7 +50,7 @@ version="\
50GNU config.guess ($timestamp)50GNU config.guess ($timestamp)
5151
52Originally written by Per Bothner.52Originally written by Per Bothner.
53Copyright 1992-2017 Free Software Foundation, Inc.53Copyright 1992-2018 Free Software Foundation, Inc.
5454
55This is free software; see the source for copying conditions. There is NO55This is free software; see the source for copying conditions. There is NO
56warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."56warranty; 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 ;
107dummy=$tmp/dummy ;107dummy=$tmp/dummy ;
108tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;108tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
109case $CC_FOR_BUILD,$HOST_CC,$CC in109case $CC_FOR_BUILD,$HOST_CC,$CC in
110 ,,) echo "int x;" > $dummy.c ;110 ,,) echo "int x;" > "$dummy.c" ;
111 for c in cc gcc c89 c99 ; do111 for c in cc gcc c89 c99 ; do
112 if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then112 if ($c -c -o "$dummy.o" "$dummy.c") >/dev/null 2>&1 ; then
113 CC_FOR_BUILD="$c"; break ;113 CC_FOR_BUILD="$c"; break ;
114 fi ;114 fi ;
115 done ;115 done ;
@@ -132,14 +132,14 @@ UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
132UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown132UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
133UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown133UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
134134
135case "${UNAME_SYSTEM}" in135case "$UNAME_SYSTEM" in
136Linux|GNU|GNU/*)136Linux|GNU|GNU/*)
137 # If the system lacks a compiler, then just pick glibc.137 # If the system lacks a compiler, then just pick glibc.
138 # We could probably try harder.138 # We could probably try harder.
139 LIBC=gnu139 LIBC=gnu
140140
141 eval $set_cc_for_build141 eval "$set_cc_for_build"
142 cat <<-EOF > $dummy.c142 cat <<-EOF > "$dummy.c"
143 #include <features.h>143 #include <features.h>
144 #if defined(__UCLIBC__)144 #if defined(__UCLIBC__)
145 LIBC=uclibc145 LIBC=uclibc
@@ -149,13 +149,20 @@ Linux|GNU|GNU/*)
149 LIBC=gnu149 LIBC=gnu
150 #endif150 #endif
151 EOF151 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
153 ;;160 ;;
154esac161esac
155162
156# Note: order is significant - the case branches are not exclusive.163# Note: order is significant - the case branches are not exclusive.
157164
158case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in165case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in
159 *:NetBSD:*:*)166 *:NetBSD:*:*)
160 # NetBSD (nbsd) targets should (where applicable) match one or167 # NetBSD (nbsd) targets should (where applicable) match one or
161 # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,168 # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
@@ -169,30 +176,30 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
169 # portion of the name. We always set it to "unknown".176 # portion of the name. We always set it to "unknown".
170 sysctl="sysctl -n hw.machine_arch"177 sysctl="sysctl -n hw.machine_arch"
171 UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \178 UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \
172 /sbin/$sysctl 2>/dev/null || \179 "/sbin/$sysctl" 2>/dev/null || \
173 /usr/sbin/$sysctl 2>/dev/null || \180 "/usr/sbin/$sysctl" 2>/dev/null || \
174 echo unknown)`181 echo unknown)`
175 case "${UNAME_MACHINE_ARCH}" in182 case "$UNAME_MACHINE_ARCH" in
176 armeb) machine=armeb-unknown ;;183 armeb) machine=armeb-unknown ;;
177 arm*) machine=arm-unknown ;;184 arm*) machine=arm-unknown ;;
178 sh3el) machine=shl-unknown ;;185 sh3el) machine=shl-unknown ;;
179 sh3eb) machine=sh-unknown ;;186 sh3eb) machine=sh-unknown ;;
180 sh5el) machine=sh5le-unknown ;;187 sh5el) machine=sh5le-unknown ;;
181 earmv*)188 earmv*)
182 arch=`echo ${UNAME_MACHINE_ARCH} | sed -e 's,^e\(armv[0-9]\).*$,\1,'`189 arch=`echo "$UNAME_MACHINE_ARCH" | sed -e 's,^e\(armv[0-9]\).*$,\1,'`
183 endian=`echo ${UNAME_MACHINE_ARCH} | sed -ne 's,^.*\(eb\)$,\1,p'`190 endian=`echo "$UNAME_MACHINE_ARCH" | sed -ne 's,^.*\(eb\)$,\1,p'`
184 machine=${arch}${endian}-unknown191 machine="${arch}${endian}"-unknown
185 ;;192 ;;
186 *) machine=${UNAME_MACHINE_ARCH}-unknown ;;193 *) machine="$UNAME_MACHINE_ARCH"-unknown ;;
187 esac194 esac
188 # The Operating System including object format, if it has switched195 # The Operating System including object format, if it has switched
189 # to ELF recently (or will in the future) and ABI.196 # to ELF recently (or will in the future) and ABI.
190 case "${UNAME_MACHINE_ARCH}" in197 case "$UNAME_MACHINE_ARCH" in
191 earm*)198 earm*)
192 os=netbsdelf199 os=netbsdelf
193 ;;200 ;;
194 arm*|i386|m68k|ns32k|sh3*|sparc|vax)201 arm*|i386|m68k|ns32k|sh3*|sparc|vax)
195 eval $set_cc_for_build202 eval "$set_cc_for_build"
196 if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \203 if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
197 | grep -q __ELF__204 | grep -q __ELF__
198 then205 then
@@ -208,10 +215,10 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
208 ;;215 ;;
209 esac216 esac
210 # Determine ABI tags.217 # Determine ABI tags.
211 case "${UNAME_MACHINE_ARCH}" in218 case "$UNAME_MACHINE_ARCH" in
212 earm*)219 earm*)
213 expr='s/^earmv[0-9]/-eabi/;s/eb$//'220 expr='s/^earmv[0-9]/-eabi/;s/eb$//'
214 abi=`echo ${UNAME_MACHINE_ARCH} | sed -e "$expr"`221 abi=`echo "$UNAME_MACHINE_ARCH" | sed -e "$expr"`
215 ;;222 ;;
216 esac223 esac
217 # The OS release224 # The OS release
@@ -219,49 +226,55 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
219 # thus, need a distinct triplet. However, they do not need226 # thus, need a distinct triplet. However, they do not need
220 # kernel version information, so it can be replaced with a227 # kernel version information, so it can be replaced with a
221 # suitable tag, in the style of linux-gnu.228 # suitable tag, in the style of linux-gnu.
222 case "${UNAME_VERSION}" in229 case "$UNAME_VERSION" in
223 Debian*)230 Debian*)
224 release='-gnu'231 release='-gnu'
225 ;;232 ;;
226 *)233 *)
227 release=`echo ${UNAME_RELEASE} | sed -e 's/[-_].*//' | cut -d. -f1,2`234 release=`echo "$UNAME_RELEASE" | sed -e 's/[-_].*//' | cut -d. -f1,2`
228 ;;235 ;;
229 esac236 esac
230 # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:237 # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
231 # contains redundant information, the shorter form:238 # contains redundant information, the shorter form:
232 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.239 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
233 echo "${machine}-${os}${release}${abi}"240 echo "$machine-${os}${release}${abi}"
234 exit ;;241 exit ;;
235 *:Bitrig:*:*)242 *:Bitrig:*:*)
236 UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`243 UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
237 echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE}244 echo "$UNAME_MACHINE_ARCH"-unknown-bitrig"$UNAME_RELEASE"
238 exit ;;245 exit ;;
239 *:OpenBSD:*:*)246 *:OpenBSD:*:*)
240 UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`247 UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
241 echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}248 echo "$UNAME_MACHINE_ARCH"-unknown-openbsd"$UNAME_RELEASE"
242 exit ;;249 exit ;;
243 *:LibertyBSD:*:*)250 *:LibertyBSD:*:*)
244 UNAME_MACHINE_ARCH=`arch | sed 's/^.*BSD\.//'`251 UNAME_MACHINE_ARCH=`arch | sed 's/^.*BSD\.//'`
245 echo ${UNAME_MACHINE_ARCH}-unknown-libertybsd${UNAME_RELEASE}252 echo "$UNAME_MACHINE_ARCH"-unknown-libertybsd"$UNAME_RELEASE"
253 exit ;;
254 *:MidnightBSD:*:*)
255 echo "$UNAME_MACHINE"-unknown-midnightbsd"$UNAME_RELEASE"
246 exit ;;256 exit ;;
247 *:ekkoBSD:*:*)257 *:ekkoBSD:*:*)
248 echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}258 echo "$UNAME_MACHINE"-unknown-ekkobsd"$UNAME_RELEASE"
249 exit ;;259 exit ;;
250 *:SolidBSD:*:*)260 *:SolidBSD:*:*)
251 echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}261 echo "$UNAME_MACHINE"-unknown-solidbsd"$UNAME_RELEASE"
252 exit ;;262 exit ;;
253 macppc:MirBSD:*:*)263 macppc:MirBSD:*:*)
254 echo powerpc-unknown-mirbsd${UNAME_RELEASE}264 echo powerpc-unknown-mirbsd"$UNAME_RELEASE"
255 exit ;;265 exit ;;
256 *:MirBSD:*:*)266 *:MirBSD:*:*)
257 echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}267 echo "$UNAME_MACHINE"-unknown-mirbsd"$UNAME_RELEASE"
258 exit ;;268 exit ;;
259 *:Sortix:*:*)269 *:Sortix:*:*)
260 echo ${UNAME_MACHINE}-unknown-sortix270 echo "$UNAME_MACHINE"-unknown-sortix
261 exit ;;271 exit ;;
262 *:Redox:*:*)272 *:Redox:*:*)
263 echo ${UNAME_MACHINE}-unknown-redox273 echo "$UNAME_MACHINE"-unknown-redox
264 exit ;;274 exit ;;
275 mips:OSF1:*.*)
276 echo mips-dec-osf1
277 exit ;;
265 alpha:OSF1:*:*)278 alpha:OSF1:*:*)
266 case $UNAME_RELEASE in279 case $UNAME_RELEASE in
267 *4.0)280 *4.0)
@@ -313,28 +326,19 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
313 # A Tn.n version is a released field test version.326 # A Tn.n version is a released field test version.
314 # A Xn.n version is an unreleased experimental baselevel.327 # A Xn.n version is an unreleased experimental baselevel.
315 # 1.2 uses "1.2" for uname -r.328 # 1.2 uses "1.2" for uname -r.
316 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`"
317 # Reset EXIT trap before exiting to avoid spurious non-zero exit code.330 # Reset EXIT trap before exiting to avoid spurious non-zero exit code.
318 exitcode=$?331 exitcode=$?
319 trap '' 0332 trap '' 0
320 exit $exitcode ;;333 exit $exitcode ;;
321 Alpha\ *:Windows_NT*:*)
322 # How do we know it's Interix rather than the generic POSIX subsystem?
323 # Should we change UNAME_MACHINE based on the output of uname instead
324 # of the specific Alpha model?
325 echo alpha-pc-interix
326 exit ;;
327 21064:Windows_NT:50:3)
328 echo alpha-dec-winnt3.5
329 exit ;;
330 Amiga*:UNIX_System_V:4.0:*)334 Amiga*:UNIX_System_V:4.0:*)
331 echo m68k-unknown-sysv4335 echo m68k-unknown-sysv4
332 exit ;;336 exit ;;
333 *:[Aa]miga[Oo][Ss]:*:*)337 *:[Aa]miga[Oo][Ss]:*:*)
334 echo ${UNAME_MACHINE}-unknown-amigaos338 echo "$UNAME_MACHINE"-unknown-amigaos
335 exit ;;339 exit ;;
336 *:[Mm]orph[Oo][Ss]:*:*)340 *:[Mm]orph[Oo][Ss]:*:*)
337 echo ${UNAME_MACHINE}-unknown-morphos341 echo "$UNAME_MACHINE"-unknown-morphos
338 exit ;;342 exit ;;
339 *:OS/390:*:*)343 *:OS/390:*:*)
340 echo i370-ibm-openedition344 echo i370-ibm-openedition
@@ -346,7 +350,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
346 echo powerpc-ibm-os400350 echo powerpc-ibm-os400
347 exit ;;351 exit ;;
348 arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)352 arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
349 echo arm-acorn-riscix${UNAME_RELEASE}353 echo arm-acorn-riscix"$UNAME_RELEASE"
350 exit ;;354 exit ;;
351 arm*:riscos:*:*|arm*:RISCOS:*:*)355 arm*:riscos:*:*|arm*:RISCOS:*:*)
352 echo arm-unknown-riscos356 echo arm-unknown-riscos
@@ -373,19 +377,19 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
373 sparc) echo sparc-icl-nx7; exit ;;377 sparc) echo sparc-icl-nx7; exit ;;
374 esac ;;378 esac ;;
375 s390x:SunOS:*:*)379 s390x:SunOS:*:*)
376 echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`380 echo "$UNAME_MACHINE"-ibm-solaris2"`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`"
377 exit ;;381 exit ;;
378 sun4H:SunOS:5.*:*)382 sun4H:SunOS:5.*:*)
379 echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`383 echo sparc-hal-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
380 exit ;;384 exit ;;
381 sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)385 sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
382 echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`386 echo sparc-sun-solaris2"`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`"
383 exit ;;387 exit ;;
384 i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)388 i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
385 echo i386-pc-auroraux${UNAME_RELEASE}389 echo i386-pc-auroraux"$UNAME_RELEASE"
386 exit ;;390 exit ;;
387 i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)391 i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
388 eval $set_cc_for_build392 eval "$set_cc_for_build"
389 SUN_ARCH=i386393 SUN_ARCH=i386
390 # If there is a compiler, see if it is configured for 64-bit objects.394 # If there is a compiler, see if it is configured for 64-bit objects.
391 # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.395 # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
@@ -398,13 +402,13 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
398 SUN_ARCH=x86_64402 SUN_ARCH=x86_64
399 fi403 fi
400 fi404 fi
401 echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`405 echo "$SUN_ARCH"-pc-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
402 exit ;;406 exit ;;
403 sun4*:SunOS:6*:*)407 sun4*:SunOS:6*:*)
404 # According to config.sub, this is the proper way to canonicalize408 # According to config.sub, this is the proper way to canonicalize
405 # SunOS6. Hard to guess exactly what SunOS6 will be like, but409 # SunOS6. Hard to guess exactly what SunOS6 will be like, but
406 # it's likely to be more like Solaris than SunOS4.410 # it's likely to be more like Solaris than SunOS4.
407 echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`411 echo sparc-sun-solaris3"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
408 exit ;;412 exit ;;
409 sun4*:SunOS:*:*)413 sun4*:SunOS:*:*)
410 case "`/usr/bin/arch -k`" in414 case "`/usr/bin/arch -k`" in
@@ -413,25 +417,25 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
413 ;;417 ;;
414 esac418 esac
415 # Japanese Language versions have a version number like `4.1.3-JL'.419 # Japanese Language versions have a version number like `4.1.3-JL'.
416 echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`420 echo sparc-sun-sunos"`echo "$UNAME_RELEASE"|sed -e 's/-/_/'`"
417 exit ;;421 exit ;;
418 sun3*:SunOS:*:*)422 sun3*:SunOS:*:*)
419 echo m68k-sun-sunos${UNAME_RELEASE}423 echo m68k-sun-sunos"$UNAME_RELEASE"
420 exit ;;424 exit ;;
421 sun*:*:4.2BSD:*)425 sun*:*:4.2BSD:*)
422 UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`426 UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
423 test "x${UNAME_RELEASE}" = x && UNAME_RELEASE=3427 test "x$UNAME_RELEASE" = x && UNAME_RELEASE=3
424 case "`/bin/arch`" in428 case "`/bin/arch`" in
425 sun3)429 sun3)
426 echo m68k-sun-sunos${UNAME_RELEASE}430 echo m68k-sun-sunos"$UNAME_RELEASE"
427 ;;431 ;;
428 sun4)432 sun4)
429 echo sparc-sun-sunos${UNAME_RELEASE}433 echo sparc-sun-sunos"$UNAME_RELEASE"
430 ;;434 ;;
431 esac435 esac
432 exit ;;436 exit ;;
433 aushp:SunOS:*:*)437 aushp:SunOS:*:*)
434 echo sparc-auspex-sunos${UNAME_RELEASE}438 echo sparc-auspex-sunos"$UNAME_RELEASE"
435 exit ;;439 exit ;;
436 # The situation for MiNT is a little confusing. The machine name440 # The situation for MiNT is a little confusing. The machine name
437 # can be virtually everything (everything which is not441 # can be virtually everything (everything which is not
@@ -442,44 +446,44 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
442 # MiNT. But MiNT is downward compatible to TOS, so this should446 # MiNT. But MiNT is downward compatible to TOS, so this should
443 # be no problem.447 # be no problem.
444 atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)448 atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
445 echo m68k-atari-mint${UNAME_RELEASE}449 echo m68k-atari-mint"$UNAME_RELEASE"
446 exit ;;450 exit ;;
447 atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)451 atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
448 echo m68k-atari-mint${UNAME_RELEASE}452 echo m68k-atari-mint"$UNAME_RELEASE"
449 exit ;;453 exit ;;
450 *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)454 *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
451 echo m68k-atari-mint${UNAME_RELEASE}455 echo m68k-atari-mint"$UNAME_RELEASE"
452 exit ;;456 exit ;;
453 milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)457 milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
454 echo m68k-milan-mint${UNAME_RELEASE}458 echo m68k-milan-mint"$UNAME_RELEASE"
455 exit ;;459 exit ;;
456 hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)460 hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
457 echo m68k-hades-mint${UNAME_RELEASE}461 echo m68k-hades-mint"$UNAME_RELEASE"
458 exit ;;462 exit ;;
459 *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)463 *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
460 echo m68k-unknown-mint${UNAME_RELEASE}464 echo m68k-unknown-mint"$UNAME_RELEASE"
461 exit ;;465 exit ;;
462 m68k:machten:*:*)466 m68k:machten:*:*)
463 echo m68k-apple-machten${UNAME_RELEASE}467 echo m68k-apple-machten"$UNAME_RELEASE"
464 exit ;;468 exit ;;
465 powerpc:machten:*:*)469 powerpc:machten:*:*)
466 echo powerpc-apple-machten${UNAME_RELEASE}470 echo powerpc-apple-machten"$UNAME_RELEASE"
467 exit ;;471 exit ;;
468 RISC*:Mach:*:*)472 RISC*:Mach:*:*)
469 echo mips-dec-mach_bsd4.3473 echo mips-dec-mach_bsd4.3
470 exit ;;474 exit ;;
471 RISC*:ULTRIX:*:*)475 RISC*:ULTRIX:*:*)
472 echo mips-dec-ultrix${UNAME_RELEASE}476 echo mips-dec-ultrix"$UNAME_RELEASE"
473 exit ;;477 exit ;;
474 VAX*:ULTRIX*:*:*)478 VAX*:ULTRIX*:*:*)
475 echo vax-dec-ultrix${UNAME_RELEASE}479 echo vax-dec-ultrix"$UNAME_RELEASE"
476 exit ;;480 exit ;;
477 2020:CLIX:*:* | 2430:CLIX:*:*)481 2020:CLIX:*:* | 2430:CLIX:*:*)
478 echo clipper-intergraph-clix${UNAME_RELEASE}482 echo clipper-intergraph-clix"$UNAME_RELEASE"
479 exit ;;483 exit ;;
480 mips:*:*:UMIPS | mips:*:*:RISCos)484 mips:*:*:UMIPS | mips:*:*:RISCos)
481 eval $set_cc_for_build485 eval "$set_cc_for_build"
482 sed 's/^ //' << EOF >$dummy.c486 sed 's/^ //' << EOF > "$dummy.c"
483#ifdef __cplusplus487#ifdef __cplusplus
484#include <stdio.h> /* for printf() prototype */488#include <stdio.h> /* for printf() prototype */
485 int main (int argc, char *argv[]) {489 int main (int argc, char *argv[]) {
@@ -488,23 +492,23 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
488#endif492#endif
489 #if defined (host_mips) && defined (MIPSEB)493 #if defined (host_mips) && defined (MIPSEB)
490 #if defined (SYSTYPE_SYSV)494 #if defined (SYSTYPE_SYSV)
491 printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0);495 printf ("mips-mips-riscos%ssysv\\n", argv[1]); exit (0);
492 #endif496 #endif
493 #if defined (SYSTYPE_SVR4)497 #if defined (SYSTYPE_SVR4)
494 printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0);498 printf ("mips-mips-riscos%ssvr4\\n", argv[1]); exit (0);
495 #endif499 #endif
496 #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)500 #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)
497 printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0);501 printf ("mips-mips-riscos%sbsd\\n", argv[1]); exit (0);
498 #endif502 #endif
499 #endif503 #endif
500 exit (-1);504 exit (-1);
501 }505 }
502EOF506EOF
503 $CC_FOR_BUILD -o $dummy $dummy.c &&507 $CC_FOR_BUILD -o "$dummy" "$dummy.c" &&
504 dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` &&508 dummyarg=`echo "$UNAME_RELEASE" | sed -n 's/\([0-9]*\).*/\1/p'` &&
505 SYSTEM_NAME=`$dummy $dummyarg` &&509 SYSTEM_NAME=`"$dummy" "$dummyarg"` &&
506 { echo "$SYSTEM_NAME"; exit; }510 { echo "$SYSTEM_NAME"; exit; }
507 echo mips-mips-riscos${UNAME_RELEASE}511 echo mips-mips-riscos"$UNAME_RELEASE"
508 exit ;;512 exit ;;
509 Motorola:PowerMAX_OS:*:*)513 Motorola:PowerMAX_OS:*:*)
510 echo powerpc-motorola-powermax514 echo powerpc-motorola-powermax
@@ -530,17 +534,17 @@ EOF
530 AViiON:dgux:*:*)534 AViiON:dgux:*:*)
531 # DG/UX returns AViiON for all architectures535 # DG/UX returns AViiON for all architectures
532 UNAME_PROCESSOR=`/usr/bin/uname -p`536 UNAME_PROCESSOR=`/usr/bin/uname -p`
533 if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]537 if [ "$UNAME_PROCESSOR" = mc88100 ] || [ "$UNAME_PROCESSOR" = mc88110 ]
534 then538 then
535 if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \539 if [ "$TARGET_BINARY_INTERFACE"x = m88kdguxelfx ] || \
536 [ ${TARGET_BINARY_INTERFACE}x = x ]540 [ "$TARGET_BINARY_INTERFACE"x = x ]
537 then541 then
538 echo m88k-dg-dgux${UNAME_RELEASE}542 echo m88k-dg-dgux"$UNAME_RELEASE"
539 else543 else
540 echo m88k-dg-dguxbcs${UNAME_RELEASE}544 echo m88k-dg-dguxbcs"$UNAME_RELEASE"
541 fi545 fi
542 else546 else
543 echo i586-dg-dgux${UNAME_RELEASE}547 echo i586-dg-dgux"$UNAME_RELEASE"
544 fi548 fi
545 exit ;;549 exit ;;
546 M88*:DolphinOS:*:*) # DolphinOS (SVR3)550 M88*:DolphinOS:*:*) # DolphinOS (SVR3)
@@ -557,7 +561,7 @@ EOF
557 echo m68k-tektronix-bsd561 echo m68k-tektronix-bsd
558 exit ;;562 exit ;;
559 *:IRIX*:*:*)563 *:IRIX*:*:*)
560 echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`564 echo mips-sgi-irix"`echo "$UNAME_RELEASE"|sed -e 's/-/_/g'`"
561 exit ;;565 exit ;;
562 ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.566 ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
563 echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id567 echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
@@ -569,14 +573,14 @@ EOF
569 if [ -x /usr/bin/oslevel ] ; then573 if [ -x /usr/bin/oslevel ] ; then
570 IBM_REV=`/usr/bin/oslevel`574 IBM_REV=`/usr/bin/oslevel`
571 else575 else
572 IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}576 IBM_REV="$UNAME_VERSION.$UNAME_RELEASE"
573 fi577 fi
574 echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}578 echo "$UNAME_MACHINE"-ibm-aix"$IBM_REV"
575 exit ;;579 exit ;;
576 *:AIX:2:3)580 *:AIX:2:3)
577 if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then581 if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
578 eval $set_cc_for_build582 eval "$set_cc_for_build"
579 sed 's/^ //' << EOF >$dummy.c583 sed 's/^ //' << EOF > "$dummy.c"
580 #include <sys/systemcfg.h>584 #include <sys/systemcfg.h>
581585
582 main()586 main()
@@ -587,7 +591,7 @@ EOF
587 exit(0);591 exit(0);
588 }592 }
589EOF593EOF
590 if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy`594 if $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"`
591 then595 then
592 echo "$SYSTEM_NAME"596 echo "$SYSTEM_NAME"
593 else597 else
@@ -601,7 +605,7 @@ EOF
601 exit ;;605 exit ;;
602 *:AIX:*:[4567])606 *:AIX:*:[4567])
603 IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`607 IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
604 if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then608 if /usr/sbin/lsattr -El "$IBM_CPU_ID" | grep ' POWER' >/dev/null 2>&1; then
605 IBM_ARCH=rs6000609 IBM_ARCH=rs6000
606 else610 else
607 IBM_ARCH=powerpc611 IBM_ARCH=powerpc
@@ -610,18 +614,18 @@ EOF
610 IBM_REV=`/usr/bin/lslpp -Lqc bos.rte.libc |614 IBM_REV=`/usr/bin/lslpp -Lqc bos.rte.libc |
611 awk -F: '{ print $3 }' | sed s/[0-9]*$/0/`615 awk -F: '{ print $3 }' | sed s/[0-9]*$/0/`
612 else616 else
613 IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}617 IBM_REV="$UNAME_VERSION.$UNAME_RELEASE"
614 fi618 fi
615 echo ${IBM_ARCH}-ibm-aix${IBM_REV}619 echo "$IBM_ARCH"-ibm-aix"$IBM_REV"
616 exit ;;620 exit ;;
617 *:AIX:*:*)621 *:AIX:*:*)
618 echo rs6000-ibm-aix622 echo rs6000-ibm-aix
619 exit ;;623 exit ;;
620 ibmrt:4.4BSD:*|romp-ibm:BSD:*)624 ibmrt:4.4BSD:*|romp-ibm:4.4BSD:*)
621 echo romp-ibm-bsd4.4625 echo romp-ibm-bsd4.4
622 exit ;;626 exit ;;
623 ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and627 ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and
624 echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to628 echo romp-ibm-bsd"$UNAME_RELEASE" # 4.3 with uname added to
625 exit ;; # report: romp-ibm BSD 4.3629 exit ;; # report: romp-ibm BSD 4.3
626 *:BOSX:*:*)630 *:BOSX:*:*)
627 echo rs6000-bull-bosx631 echo rs6000-bull-bosx
@@ -636,28 +640,28 @@ EOF
636 echo m68k-hp-bsd4.4640 echo m68k-hp-bsd4.4
637 exit ;;641 exit ;;
638 9000/[34678]??:HP-UX:*:*)642 9000/[34678]??:HP-UX:*:*)
639 HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`643 HPUX_REV=`echo "$UNAME_RELEASE"|sed -e 's/[^.]*.[0B]*//'`
640 case "${UNAME_MACHINE}" in644 case "$UNAME_MACHINE" in
641 9000/31? ) HP_ARCH=m68000 ;;645 9000/31?) HP_ARCH=m68000 ;;
642 9000/[34]?? ) HP_ARCH=m68k ;;646 9000/[34]??) HP_ARCH=m68k ;;
643 9000/[678][0-9][0-9])647 9000/[678][0-9][0-9])
644 if [ -x /usr/bin/getconf ]; then648 if [ -x /usr/bin/getconf ]; then
645 sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`649 sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
646 sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`650 sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
647 case "${sc_cpu_version}" in651 case "$sc_cpu_version" in
648 523) HP_ARCH=hppa1.0 ;; # CPU_PA_RISC1_0652 523) HP_ARCH=hppa1.0 ;; # CPU_PA_RISC1_0
649 528) HP_ARCH=hppa1.1 ;; # CPU_PA_RISC1_1653 528) HP_ARCH=hppa1.1 ;; # CPU_PA_RISC1_1
650 532) # CPU_PA_RISC2_0654 532) # CPU_PA_RISC2_0
651 case "${sc_kernel_bits}" in655 case "$sc_kernel_bits" in
652 32) HP_ARCH=hppa2.0n ;;656 32) HP_ARCH=hppa2.0n ;;
653 64) HP_ARCH=hppa2.0w ;;657 64) HP_ARCH=hppa2.0w ;;
654 '') HP_ARCH=hppa2.0 ;; # HP-UX 10.20658 '') HP_ARCH=hppa2.0 ;; # HP-UX 10.20
655 esac ;;659 esac ;;
656 esac660 esac
657 fi661 fi
658 if [ "${HP_ARCH}" = "" ]; then662 if [ "$HP_ARCH" = "" ]; then
659 eval $set_cc_for_build663 eval "$set_cc_for_build"
660 sed 's/^ //' << EOF >$dummy.c664 sed 's/^ //' << EOF > "$dummy.c"
661665
662 #define _HPUX_SOURCE666 #define _HPUX_SOURCE
663 #include <stdlib.h>667 #include <stdlib.h>
@@ -690,13 +694,13 @@ EOF
690 exit (0);694 exit (0);
691 }695 }
692EOF696EOF
693 (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"`
694 test -z "$HP_ARCH" && HP_ARCH=hppa698 test -z "$HP_ARCH" && HP_ARCH=hppa
695 fi ;;699 fi ;;
696 esac700 esac
697 if [ ${HP_ARCH} = hppa2.0w ]701 if [ "$HP_ARCH" = hppa2.0w ]
698 then702 then
699 eval $set_cc_for_build703 eval "$set_cc_for_build"
700704
701 # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating705 # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
702 # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler706 # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler
@@ -715,15 +719,15 @@ EOF
715 HP_ARCH=hppa64719 HP_ARCH=hppa64
716 fi720 fi
717 fi721 fi
718 echo ${HP_ARCH}-hp-hpux${HPUX_REV}722 echo "$HP_ARCH"-hp-hpux"$HPUX_REV"
719 exit ;;723 exit ;;
720 ia64:HP-UX:*:*)724 ia64:HP-UX:*:*)
721 HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`725 HPUX_REV=`echo "$UNAME_RELEASE"|sed -e 's/[^.]*.[0B]*//'`
722 echo ia64-hp-hpux${HPUX_REV}726 echo ia64-hp-hpux"$HPUX_REV"
723 exit ;;727 exit ;;
724 3050*:HI-UX:*:*)728 3050*:HI-UX:*:*)
725 eval $set_cc_for_build729 eval "$set_cc_for_build"
726 sed 's/^ //' << EOF >$dummy.c730 sed 's/^ //' << EOF > "$dummy.c"
727 #include <unistd.h>731 #include <unistd.h>
728 int732 int
729 main ()733 main ()
@@ -748,11 +752,11 @@ EOF
748 exit (0);752 exit (0);
749 }753 }
750EOF754EOF
751 $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` &&755 $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"` &&
752 { echo "$SYSTEM_NAME"; exit; }756 { echo "$SYSTEM_NAME"; exit; }
753 echo unknown-hitachi-hiuxwe2757 echo unknown-hitachi-hiuxwe2
754 exit ;;758 exit ;;
755 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )759 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:*)
756 echo hppa1.1-hp-bsd760 echo hppa1.1-hp-bsd
757 exit ;;761 exit ;;
758 9000/8??:4.3bsd:*:*)762 9000/8??:4.3bsd:*:*)
@@ -761,7 +765,7 @@ EOF
761 *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)765 *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
762 echo hppa1.0-hp-mpeix766 echo hppa1.0-hp-mpeix
763 exit ;;767 exit ;;
764 hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )768 hp7??:OSF1:*:* | hp8?[79]:OSF1:*:*)
765 echo hppa1.1-hp-osf769 echo hppa1.1-hp-osf
766 exit ;;770 exit ;;
767 hp8??:OSF1:*:*)771 hp8??:OSF1:*:*)
@@ -769,9 +773,9 @@ EOF
769 exit ;;773 exit ;;
770 i*86:OSF1:*:*)774 i*86:OSF1:*:*)
771 if [ -x /usr/sbin/sysversion ] ; then775 if [ -x /usr/sbin/sysversion ] ; then
772 echo ${UNAME_MACHINE}-unknown-osf1mk776 echo "$UNAME_MACHINE"-unknown-osf1mk
773 else777 else
774 echo ${UNAME_MACHINE}-unknown-osf1778 echo "$UNAME_MACHINE"-unknown-osf1
775 fi779 fi
776 exit ;;780 exit ;;
777 parisc*:Lites*:*:*)781 parisc*:Lites*:*:*)
@@ -796,128 +800,109 @@ EOF
796 echo c4-convex-bsd800 echo c4-convex-bsd
797 exit ;;801 exit ;;
798 CRAY*Y-MP:*:*:*)802 CRAY*Y-MP:*:*:*)
799 echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'803 echo ymp-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
800 exit ;;804 exit ;;
801 CRAY*[A-Z]90:*:*:*)805 CRAY*[A-Z]90:*:*:*)
802 echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \806 echo "$UNAME_MACHINE"-cray-unicos"$UNAME_RELEASE" \
803 | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \807 | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
804 -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \808 -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
805 -e 's/\.[^.]*$/.X/'809 -e 's/\.[^.]*$/.X/'
806 exit ;;810 exit ;;
807 CRAY*TS:*:*:*)811 CRAY*TS:*:*:*)
808 echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'812 echo t90-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
809 exit ;;813 exit ;;
810 CRAY*T3E:*:*:*)814 CRAY*T3E:*:*:*)
811 echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'815 echo alphaev5-cray-unicosmk"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
812 exit ;;816 exit ;;
813 CRAY*SV1:*:*:*)817 CRAY*SV1:*:*:*)
814 echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'818 echo sv1-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
815 exit ;;819 exit ;;
816 *:UNICOS/mp:*:*)820 *:UNICOS/mp:*:*)
817 echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'821 echo craynv-cray-unicosmp"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
818 exit ;;822 exit ;;
819 F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)823 F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
820 FUJITSU_PROC=`uname -m | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`824 FUJITSU_PROC=`uname -m | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`
821 FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'`825 FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'`
822 FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`826 FUJITSU_REL=`echo "$UNAME_RELEASE" | sed -e 's/ /_/'`
823 echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"827 echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
824 exit ;;828 exit ;;
825 5000:UNIX_System_V:4.*:*)829 5000:UNIX_System_V:4.*:*)
826 FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'`830 FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'`
827 FUJITSU_REL=`echo ${UNAME_RELEASE} | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/ /_/'`831 FUJITSU_REL=`echo "$UNAME_RELEASE" | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/ /_/'`
828 echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"832 echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
829 exit ;;833 exit ;;
830 i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)834 i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
831 echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}835 echo "$UNAME_MACHINE"-pc-bsdi"$UNAME_RELEASE"
832 exit ;;836 exit ;;
833 sparc*:BSD/OS:*:*)837 sparc*:BSD/OS:*:*)
834 echo sparc-unknown-bsdi${UNAME_RELEASE}838 echo sparc-unknown-bsdi"$UNAME_RELEASE"
835 exit ;;839 exit ;;
836 *:BSD/OS:*:*)840 *:BSD/OS:*:*)
837 echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}841 echo "$UNAME_MACHINE"-unknown-bsdi"$UNAME_RELEASE"
838 exit ;;842 exit ;;
839 *:FreeBSD:*:*)843 *:FreeBSD:*:*)
840 UNAME_PROCESSOR=`/usr/bin/uname -p`844 UNAME_PROCESSOR=`/usr/bin/uname -p`
841 case ${UNAME_PROCESSOR} in845 case "$UNAME_PROCESSOR" in
842 amd64)846 amd64)
843 UNAME_PROCESSOR=x86_64 ;;847 UNAME_PROCESSOR=x86_64 ;;
844 i386)848 i386)
845 UNAME_PROCESSOR=i586 ;;849 UNAME_PROCESSOR=i586 ;;
846 esac850 esac
847 echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`851 echo "$UNAME_PROCESSOR"-unknown-freebsd"`echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`"
848 exit ;;852 exit ;;
849 i*:CYGWIN*:*)853 i*:CYGWIN*:*)
850 echo ${UNAME_MACHINE}-pc-cygwin854 echo "$UNAME_MACHINE"-pc-cygwin
851 exit ;;855 exit ;;
852 *:MINGW64*:*)856 *:MINGW64*:*)
853 echo ${UNAME_MACHINE}-pc-mingw64857 echo "$UNAME_MACHINE"-pc-mingw64
854 exit ;;858 exit ;;
855 *:MINGW*:*)859 *:MINGW*:*)
856 echo ${UNAME_MACHINE}-pc-mingw32860 echo "$UNAME_MACHINE"-pc-mingw32
857 exit ;;861 exit ;;
858 *:MSYS*:*)862 *:MSYS*:*)
859 echo ${UNAME_MACHINE}-pc-msys863 echo "$UNAME_MACHINE"-pc-msys
860 exit ;;
861 i*:windows32*:*)
862 # uname -m includes "-pc" on this system.
863 echo ${UNAME_MACHINE}-mingw32
864 exit ;;864 exit ;;
865 i*:PW*:*)865 i*:PW*:*)
866 echo ${UNAME_MACHINE}-pc-pw32866 echo "$UNAME_MACHINE"-pc-pw32
867 exit ;;867 exit ;;
868 *:Interix*:*)868 *:Interix*:*)
869 case ${UNAME_MACHINE} in869 case "$UNAME_MACHINE" in
870 x86)870 x86)
871 echo i586-pc-interix${UNAME_RELEASE}871 echo i586-pc-interix"$UNAME_RELEASE"
872 exit ;;872 exit ;;
873 authenticamd | genuineintel | EM64T)873 authenticamd | genuineintel | EM64T)
874 echo x86_64-unknown-interix${UNAME_RELEASE}874 echo x86_64-unknown-interix"$UNAME_RELEASE"
875 exit ;;875 exit ;;
876 IA64)876 IA64)
877 echo ia64-unknown-interix${UNAME_RELEASE}877 echo ia64-unknown-interix"$UNAME_RELEASE"
878 exit ;;878 exit ;;
879 esac ;;879 esac ;;
880 [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
881 echo i${UNAME_MACHINE}-pc-mks
882 exit ;;
883 8664:Windows_NT:*)
884 echo x86_64-pc-mks
885 exit ;;
886 i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
887 # How do we know it's Interix rather than the generic POSIX subsystem?
888 # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
889 # UNAME_MACHINE based on the output of uname instead of i386?
890 echo i586-pc-interix
891 exit ;;
892 i*:UWIN*:*)880 i*:UWIN*:*)
893 echo ${UNAME_MACHINE}-pc-uwin881 echo "$UNAME_MACHINE"-pc-uwin
894 exit ;;882 exit ;;
895 amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)883 amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
896 echo x86_64-unknown-cygwin884 echo x86_64-unknown-cygwin
897 exit ;;885 exit ;;
898 p*:CYGWIN*:*)
899 echo powerpcle-unknown-cygwin
900 exit ;;
901 prep*:SunOS:5.*:*)886 prep*:SunOS:5.*:*)
902 echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`887 echo powerpcle-unknown-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
903 exit ;;888 exit ;;
904 *:GNU:*:*)889 *:GNU:*:*)
905 # the GNU system890 # the GNU system
906 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,/.*$,,'`"
907 exit ;;892 exit ;;
908 *:GNU/*:*:*)893 *:GNU/*:*:*)
909 # other systems with GNU libc and userland894 # other systems with GNU libc and userland
910 echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"``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"
911 exit ;;896 exit ;;
912 i*86:Minix:*:*)897 i*86:Minix:*:*)
913 echo ${UNAME_MACHINE}-pc-minix898 echo "$UNAME_MACHINE"-pc-minix
914 exit ;;899 exit ;;
915 aarch64:Linux:*:*)900 aarch64:Linux:*:*)
916 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}901 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
917 exit ;;902 exit ;;
918 aarch64_be:Linux:*:*)903 aarch64_be:Linux:*:*)
919 UNAME_MACHINE=aarch64_be904 UNAME_MACHINE=aarch64_be
920 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}905 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
921 exit ;;906 exit ;;
922 alpha:Linux:*:*)907 alpha:Linux:*:*)
923 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in908 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
@@ -931,63 +916,63 @@ EOF
931 esac916 esac
932 objdump --private-headers /bin/sh | grep -q ld.so.1917 objdump --private-headers /bin/sh | grep -q ld.so.1
933 if test "$?" = 0 ; then LIBC=gnulibc1 ; fi918 if test "$?" = 0 ; then LIBC=gnulibc1 ; fi
934 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}919 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
935 exit ;;920 exit ;;
936 arc:Linux:*:* | arceb:Linux:*:*)921 arc:Linux:*:* | arceb:Linux:*:*)
937 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}922 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
938 exit ;;923 exit ;;
939 arm*:Linux:*:*)924 arm*:Linux:*:*)
940 eval $set_cc_for_build925 eval "$set_cc_for_build"
941 if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \926 if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
942 | grep -q __ARM_EABI__927 | grep -q __ARM_EABI__
943 then928 then
944 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}929 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
945 else930 else
946 if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \931 if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
947 | grep -q __ARM_PCS_VFP932 | grep -q __ARM_PCS_VFP
948 then933 then
949 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi934 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"eabi
950 else935 else
951 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf936 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"eabihf
952 fi937 fi
953 fi938 fi
954 exit ;;939 exit ;;
955 avr32*:Linux:*:*)940 avr32*:Linux:*:*)
956 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}941 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
957 exit ;;942 exit ;;
958 cris:Linux:*:*)943 cris:Linux:*:*)
959 echo ${UNAME_MACHINE}-axis-linux-${LIBC}944 echo "$UNAME_MACHINE"-axis-linux-"$LIBC"
960 exit ;;945 exit ;;
961 crisv32:Linux:*:*)946 crisv32:Linux:*:*)
962 echo ${UNAME_MACHINE}-axis-linux-${LIBC}947 echo "$UNAME_MACHINE"-axis-linux-"$LIBC"
963 exit ;;948 exit ;;
964 e2k:Linux:*:*)949 e2k:Linux:*:*)
965 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}950 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
966 exit ;;951 exit ;;
967 frv:Linux:*:*)952 frv:Linux:*:*)
968 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}953 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
969 exit ;;954 exit ;;
970 hexagon:Linux:*:*)955 hexagon:Linux:*:*)
971 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}956 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
972 exit ;;957 exit ;;
973 i*86:Linux:*:*)958 i*86:Linux:*:*)
974 echo ${UNAME_MACHINE}-pc-linux-${LIBC}959 echo "$UNAME_MACHINE"-pc-linux-"$LIBC"
975 exit ;;960 exit ;;
976 ia64:Linux:*:*)961 ia64:Linux:*:*)
977 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}962 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
978 exit ;;963 exit ;;
979 k1om:Linux:*:*)964 k1om:Linux:*:*)
980 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}965 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
981 exit ;;966 exit ;;
982 m32r*:Linux:*:*)967 m32r*:Linux:*:*)
983 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}968 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
984 exit ;;969 exit ;;
985 m68*:Linux:*:*)970 m68*:Linux:*:*)
986 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}971 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
987 exit ;;972 exit ;;
988 mips:Linux:*:* | mips64:Linux:*:*)973 mips:Linux:*:* | mips64:Linux:*:*)
989 eval $set_cc_for_build974 eval "$set_cc_for_build"
990 sed 's/^ //' << EOF >$dummy.c975 sed 's/^ //' << EOF > "$dummy.c"
991 #undef CPU976 #undef CPU
992 #undef ${UNAME_MACHINE}977 #undef ${UNAME_MACHINE}
993 #undef ${UNAME_MACHINE}el978 #undef ${UNAME_MACHINE}el
@@ -1001,70 +986,74 @@ EOF
1001 #endif986 #endif
1002 #endif987 #endif
1003EOF988EOF
1004 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`989 eval "`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^CPU'`"
1005 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }990 test "x$CPU" != x && { echo "$CPU-unknown-linux-$LIBC"; exit; }
1006 ;;991 ;;
1007 mips64el:Linux:*:*)992 mips64el:Linux:*:*)
1008 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}993 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
1009 exit ;;994 exit ;;
1010 openrisc*:Linux:*:*)995 openrisc*:Linux:*:*)
1011 echo or1k-unknown-linux-${LIBC}996 echo or1k-unknown-linux-"$LIBC"
1012 exit ;;997 exit ;;
1013 or32:Linux:*:* | or1k*:Linux:*:*)998 or32:Linux:*:* | or1k*:Linux:*:*)
1014 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}999 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
1015 exit ;;1000 exit ;;
1016 padre:Linux:*:*)1001 padre:Linux:*:*)
1017 echo sparc-unknown-linux-${LIBC}1002 echo sparc-unknown-linux-"$LIBC"
1018 exit ;;1003 exit ;;
1019 parisc64:Linux:*:* | hppa64:Linux:*:*)1004 parisc64:Linux:*:* | hppa64:Linux:*:*)
1020 echo hppa64-unknown-linux-${LIBC}1005 echo hppa64-unknown-linux-"$LIBC"
1021 exit ;;1006 exit ;;
1022 parisc:Linux:*:* | hppa:Linux:*:*)1007 parisc:Linux:*:* | hppa:Linux:*:*)
1023 # Look for CPU level1008 # Look for CPU level
1024 case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in1009 case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
1025 PA7*) echo hppa1.1-unknown-linux-${LIBC} ;;1010 PA7*) echo hppa1.1-unknown-linux-"$LIBC" ;;
1026 PA8*) echo hppa2.0-unknown-linux-${LIBC} ;;1011 PA8*) echo hppa2.0-unknown-linux-"$LIBC" ;;
1027 *) echo hppa-unknown-linux-${LIBC} ;;1012 *) echo hppa-unknown-linux-"$LIBC" ;;
1028 esac1013 esac
1029 exit ;;1014 exit ;;
1030 ppc64:Linux:*:*)1015 ppc64:Linux:*:*)
1031 echo powerpc64-unknown-linux-${LIBC}1016 echo powerpc64-unknown-linux-"$LIBC"
1032 exit ;;1017 exit ;;
1033 ppc:Linux:*:*)1018 ppc:Linux:*:*)
1034 echo powerpc-unknown-linux-${LIBC}1019 echo powerpc-unknown-linux-"$LIBC"
1035 exit ;;1020 exit ;;
1036 ppc64le:Linux:*:*)1021 ppc64le:Linux:*:*)
1037 echo powerpc64le-unknown-linux-${LIBC}1022 echo powerpc64le-unknown-linux-"$LIBC"
1038 exit ;;1023 exit ;;
1039 ppcle:Linux:*:*)1024 ppcle:Linux:*:*)
1040 echo powerpcle-unknown-linux-${LIBC}1025 echo powerpcle-unknown-linux-"$LIBC"
1041 exit ;;1026 exit ;;
1042 riscv32:Linux:*:* | riscv64:Linux:*:*)1027 riscv32:Linux:*:* | riscv64:Linux:*:*)
1043 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}1028 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
1044 exit ;;1029 exit ;;
1045 s390:Linux:*:* | s390x:Linux:*:*)1030 s390:Linux:*:* | s390x:Linux:*:*)
1046 echo ${UNAME_MACHINE}-ibm-linux-${LIBC}1031 echo "$UNAME_MACHINE"-ibm-linux-"$LIBC"
1047 exit ;;1032 exit ;;
1048 sh64*:Linux:*:*)1033 sh64*:Linux:*:*)
1049 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}1034 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
1050 exit ;;1035 exit ;;
1051 sh*:Linux:*:*)1036 sh*:Linux:*:*)
1052 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}1037 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
1053 exit ;;1038 exit ;;
1054 sparc:Linux:*:* | sparc64:Linux:*:*)1039 sparc:Linux:*:* | sparc64:Linux:*:*)
1055 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}1040 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
1056 exit ;;1041 exit ;;
1057 tile*:Linux:*:*)1042 tile*:Linux:*:*)
1058 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}1043 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
1059 exit ;;1044 exit ;;
1060 vax:Linux:*:*)1045 vax:Linux:*:*)
1061 echo ${UNAME_MACHINE}-dec-linux-${LIBC}1046 echo "$UNAME_MACHINE"-dec-linux-"$LIBC"
1062 exit ;;1047 exit ;;
1063 x86_64:Linux:*:*)1048 x86_64:Linux:*:*)
1064 echo ${UNAME_MACHINE}-pc-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
1065 exit ;;1054 exit ;;
1066 xtensa*:Linux:*:*)1055 xtensa*:Linux:*:*)
1067 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}1056 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
1068 exit ;;1057 exit ;;
1069 i*86:DYNIX/ptx:4*:*)1058 i*86:DYNIX/ptx:4*:*)
1070 # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.1059 # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
@@ -1078,34 +1067,34 @@ EOF
1078 # I am not positive that other SVR4 systems won't match this,1067 # I am not positive that other SVR4 systems won't match this,
1079 # I just have to hope. -- rms.1068 # I just have to hope. -- rms.
1080 # Use sysv4.2uw... so that sysv4* matches it.1069 # Use sysv4.2uw... so that sysv4* matches it.
1081 echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}1070 echo "$UNAME_MACHINE"-pc-sysv4.2uw"$UNAME_VERSION"
1082 exit ;;1071 exit ;;
1083 i*86:OS/2:*:*)1072 i*86:OS/2:*:*)
1084 # If we were able to find `uname', then EMX Unix compatibility1073 # If we were able to find `uname', then EMX Unix compatibility
1085 # is probably installed.1074 # is probably installed.
1086 echo ${UNAME_MACHINE}-pc-os2-emx1075 echo "$UNAME_MACHINE"-pc-os2-emx
1087 exit ;;1076 exit ;;
1088 i*86:XTS-300:*:STOP)1077 i*86:XTS-300:*:STOP)
1089 echo ${UNAME_MACHINE}-unknown-stop1078 echo "$UNAME_MACHINE"-unknown-stop
1090 exit ;;1079 exit ;;
1091 i*86:atheos:*:*)1080 i*86:atheos:*:*)
1092 echo ${UNAME_MACHINE}-unknown-atheos1081 echo "$UNAME_MACHINE"-unknown-atheos
1093 exit ;;1082 exit ;;
1094 i*86:syllable:*:*)1083 i*86:syllable:*:*)
1095 echo ${UNAME_MACHINE}-pc-syllable1084 echo "$UNAME_MACHINE"-pc-syllable
1096 exit ;;1085 exit ;;
1097 i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)1086 i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
1098 echo i386-unknown-lynxos${UNAME_RELEASE}1087 echo i386-unknown-lynxos"$UNAME_RELEASE"
1099 exit ;;1088 exit ;;
1100 i*86:*DOS:*:*)1089 i*86:*DOS:*:*)
1101 echo ${UNAME_MACHINE}-pc-msdosdjgpp1090 echo "$UNAME_MACHINE"-pc-msdosdjgpp
1102 exit ;;1091 exit ;;
1103 i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)1092 i*86:*:4.*:*)
1104 UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`1093 UNAME_REL=`echo "$UNAME_RELEASE" | sed 's/\/MP$//'`
1105 if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then1094 if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
1106 echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL}1095 echo "$UNAME_MACHINE"-univel-sysv"$UNAME_REL"
1107 else1096 else
1108 echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}1097 echo "$UNAME_MACHINE"-pc-sysv"$UNAME_REL"
1109 fi1098 fi
1110 exit ;;1099 exit ;;
1111 i*86:*:5:[678]*)1100 i*86:*:5:[678]*)
@@ -1115,12 +1104,12 @@ EOF
1115 *Pentium) UNAME_MACHINE=i586 ;;1104 *Pentium) UNAME_MACHINE=i586 ;;
1116 *Pent*|*Celeron) UNAME_MACHINE=i686 ;;1105 *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
1117 esac1106 esac
1118 echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}1107 echo "$UNAME_MACHINE-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}{$UNAME_VERSION}"
1119 exit ;;1108 exit ;;
1120 i*86:*:3.2:*)1109 i*86:*:3.2:*)
1121 if test -f /usr/options/cb.name; then1110 if test -f /usr/options/cb.name; then
1122 UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`1111 UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
1123 echo ${UNAME_MACHINE}-pc-isc$UNAME_REL1112 echo "$UNAME_MACHINE"-pc-isc"$UNAME_REL"
1124 elif /bin/uname -X 2>/dev/null >/dev/null ; then1113 elif /bin/uname -X 2>/dev/null >/dev/null ; then
1125 UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`1114 UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
1126 (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i4861115 (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
@@ -1130,9 +1119,9 @@ EOF
1130 && UNAME_MACHINE=i6861119 && UNAME_MACHINE=i686
1131 (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \1120 (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
1132 && UNAME_MACHINE=i6861121 && UNAME_MACHINE=i686
1133 echo ${UNAME_MACHINE}-pc-sco$UNAME_REL1122 echo "$UNAME_MACHINE"-pc-sco"$UNAME_REL"
1134 else1123 else
1135 echo ${UNAME_MACHINE}-pc-sysv321124 echo "$UNAME_MACHINE"-pc-sysv32
1136 fi1125 fi
1137 exit ;;1126 exit ;;
1138 pc:*:*:*)1127 pc:*:*:*)
@@ -1152,9 +1141,9 @@ EOF
1152 exit ;;1141 exit ;;
1153 i860:*:4.*:*) # i860-SVR41142 i860:*:4.*:*) # i860-SVR4
1154 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then1143 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
1155 echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR41144 echo i860-stardent-sysv"$UNAME_RELEASE" # Stardent Vistra i860-SVR4
1156 else # Add other i860-SVR4 vendors below as they are discovered.1145 else # Add other i860-SVR4 vendors below as they are discovered.
1157 echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR41146 echo i860-unknown-sysv"$UNAME_RELEASE" # Unknown i860-SVR4
1158 fi1147 fi
1159 exit ;;1148 exit ;;
1160 mini*:CTIX:SYS*5:*)1149 mini*:CTIX:SYS*5:*)
@@ -1174,9 +1163,9 @@ EOF
1174 test -r /etc/.relid \1163 test -r /etc/.relid \
1175 && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`1164 && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
1176 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \1165 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1177 && { echo i486-ncr-sysv4.3${OS_REL}; exit; }1166 && { echo i486-ncr-sysv4.3"$OS_REL"; exit; }
1178 /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \1167 /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
1179 && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;1168 && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } ;;
1180 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)1169 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
1181 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \1170 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1182 && { echo i486-ncr-sysv4; exit; } ;;1171 && { echo i486-ncr-sysv4; exit; } ;;
@@ -1185,28 +1174,28 @@ EOF
1185 test -r /etc/.relid \1174 test -r /etc/.relid \
1186 && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`1175 && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
1187 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \1176 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1188 && { echo i486-ncr-sysv4.3${OS_REL}; exit; }1177 && { echo i486-ncr-sysv4.3"$OS_REL"; exit; }
1189 /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \1178 /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
1190 && { echo i586-ncr-sysv4.3${OS_REL}; exit; }1179 && { echo i586-ncr-sysv4.3"$OS_REL"; exit; }
1191 /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \1180 /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
1192 && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;1181 && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } ;;
1193 m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)1182 m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
1194 echo m68k-unknown-lynxos${UNAME_RELEASE}1183 echo m68k-unknown-lynxos"$UNAME_RELEASE"
1195 exit ;;1184 exit ;;
1196 mc68030:UNIX_System_V:4.*:*)1185 mc68030:UNIX_System_V:4.*:*)
1197 echo m68k-atari-sysv41186 echo m68k-atari-sysv4
1198 exit ;;1187 exit ;;
1199 TSUNAMI:LynxOS:2.*:*)1188 TSUNAMI:LynxOS:2.*:*)
1200 echo sparc-unknown-lynxos${UNAME_RELEASE}1189 echo sparc-unknown-lynxos"$UNAME_RELEASE"
1201 exit ;;1190 exit ;;
1202 rs6000:LynxOS:2.*:*)1191 rs6000:LynxOS:2.*:*)
1203 echo rs6000-unknown-lynxos${UNAME_RELEASE}1192 echo rs6000-unknown-lynxos"$UNAME_RELEASE"
1204 exit ;;1193 exit ;;
1205 PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)1194 PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
1206 echo powerpc-unknown-lynxos${UNAME_RELEASE}1195 echo powerpc-unknown-lynxos"$UNAME_RELEASE"
1207 exit ;;1196 exit ;;
1208 SM[BE]S:UNIX_SV:*:*)1197 SM[BE]S:UNIX_SV:*:*)
1209 echo mips-dde-sysv${UNAME_RELEASE}1198 echo mips-dde-sysv"$UNAME_RELEASE"
1210 exit ;;1199 exit ;;
1211 RM*:ReliantUNIX-*:*:*)1200 RM*:ReliantUNIX-*:*:*)
1212 echo mips-sni-sysv41201 echo mips-sni-sysv4
@@ -1217,7 +1206,7 @@ EOF
1217 *:SINIX-*:*:*)1206 *:SINIX-*:*:*)
1218 if uname -p 2>/dev/null >/dev/null ; then1207 if uname -p 2>/dev/null >/dev/null ; then
1219 UNAME_MACHINE=`(uname -p) 2>/dev/null`1208 UNAME_MACHINE=`(uname -p) 2>/dev/null`
1220 echo ${UNAME_MACHINE}-sni-sysv41209 echo "$UNAME_MACHINE"-sni-sysv4
1221 else1210 else
1222 echo ns32k-sni-sysv1211 echo ns32k-sni-sysv
1223 fi1212 fi
@@ -1237,23 +1226,23 @@ EOF
1237 exit ;;1226 exit ;;
1238 i*86:VOS:*:*)1227 i*86:VOS:*:*)
1239 # From Paul.Green@stratus.com.1228 # From Paul.Green@stratus.com.
1240 echo ${UNAME_MACHINE}-stratus-vos1229 echo "$UNAME_MACHINE"-stratus-vos
1241 exit ;;1230 exit ;;
1242 *:VOS:*:*)1231 *:VOS:*:*)
1243 # From Paul.Green@stratus.com.1232 # From Paul.Green@stratus.com.
1244 echo hppa1.1-stratus-vos1233 echo hppa1.1-stratus-vos
1245 exit ;;1234 exit ;;
1246 mc68*:A/UX:*:*)1235 mc68*:A/UX:*:*)
1247 echo m68k-apple-aux${UNAME_RELEASE}1236 echo m68k-apple-aux"$UNAME_RELEASE"
1248 exit ;;1237 exit ;;
1249 news*:NEWS-OS:6*:*)1238 news*:NEWS-OS:6*:*)
1250 echo mips-sony-newsos61239 echo mips-sony-newsos6
1251 exit ;;1240 exit ;;
1252 R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)1241 R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
1253 if [ -d /usr/nec ]; then1242 if [ -d /usr/nec ]; then
1254 echo mips-nec-sysv${UNAME_RELEASE}1243 echo mips-nec-sysv"$UNAME_RELEASE"
1255 else1244 else
1256 echo mips-unknown-sysv${UNAME_RELEASE}1245 echo mips-unknown-sysv"$UNAME_RELEASE"
1257 fi1246 fi
1258 exit ;;1247 exit ;;
1259 BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.1248 BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
@@ -1272,39 +1261,39 @@ EOF
1272 echo x86_64-unknown-haiku1261 echo x86_64-unknown-haiku
1273 exit ;;1262 exit ;;
1274 SX-4:SUPER-UX:*:*)1263 SX-4:SUPER-UX:*:*)
1275 echo sx4-nec-superux${UNAME_RELEASE}1264 echo sx4-nec-superux"$UNAME_RELEASE"
1276 exit ;;1265 exit ;;
1277 SX-5:SUPER-UX:*:*)1266 SX-5:SUPER-UX:*:*)
1278 echo sx5-nec-superux${UNAME_RELEASE}1267 echo sx5-nec-superux"$UNAME_RELEASE"
1279 exit ;;1268 exit ;;
1280 SX-6:SUPER-UX:*:*)1269 SX-6:SUPER-UX:*:*)
1281 echo sx6-nec-superux${UNAME_RELEASE}1270 echo sx6-nec-superux"$UNAME_RELEASE"
1282 exit ;;1271 exit ;;
1283 SX-7:SUPER-UX:*:*)1272 SX-7:SUPER-UX:*:*)
1284 echo sx7-nec-superux${UNAME_RELEASE}1273 echo sx7-nec-superux"$UNAME_RELEASE"
1285 exit ;;1274 exit ;;
1286 SX-8:SUPER-UX:*:*)1275 SX-8:SUPER-UX:*:*)
1287 echo sx8-nec-superux${UNAME_RELEASE}1276 echo sx8-nec-superux"$UNAME_RELEASE"
1288 exit ;;1277 exit ;;
1289 SX-8R:SUPER-UX:*:*)1278 SX-8R:SUPER-UX:*:*)
1290 echo sx8r-nec-superux${UNAME_RELEASE}1279 echo sx8r-nec-superux"$UNAME_RELEASE"
1291 exit ;;1280 exit ;;
1292 SX-ACE:SUPER-UX:*:*)1281 SX-ACE:SUPER-UX:*:*)
1293 echo sxace-nec-superux${UNAME_RELEASE}1282 echo sxace-nec-superux"$UNAME_RELEASE"
1294 exit ;;1283 exit ;;
1295 Power*:Rhapsody:*:*)1284 Power*:Rhapsody:*:*)
1296 echo powerpc-apple-rhapsody${UNAME_RELEASE}1285 echo powerpc-apple-rhapsody"$UNAME_RELEASE"
1297 exit ;;1286 exit ;;
1298 *:Rhapsody:*:*)1287 *:Rhapsody:*:*)
1299 echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}1288 echo "$UNAME_MACHINE"-apple-rhapsody"$UNAME_RELEASE"
1300 exit ;;1289 exit ;;
1301 *:Darwin:*:*)1290 *:Darwin:*:*)
1302 UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown1291 UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
1303 eval $set_cc_for_build1292 eval "$set_cc_for_build"
1304 if test "$UNAME_PROCESSOR" = unknown ; then1293 if test "$UNAME_PROCESSOR" = unknown ; then
1305 UNAME_PROCESSOR=powerpc1294 UNAME_PROCESSOR=powerpc
1306 fi1295 fi
1307 if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then1296 if test "`echo "$UNAME_RELEASE" | sed -e 's/\..*//'`" -le 10 ; then
1308 if [ "$CC_FOR_BUILD" != no_compiler_found ]; then1297 if [ "$CC_FOR_BUILD" != no_compiler_found ]; then
1309 if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \1298 if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
1310 (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \1299 (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
@@ -1332,7 +1321,7 @@ EOF
1332 # that Apple uses in portable devices.1321 # that Apple uses in portable devices.
1333 UNAME_PROCESSOR=x86_641322 UNAME_PROCESSOR=x86_64
1334 fi1323 fi
1335 echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}1324 echo "$UNAME_PROCESSOR"-apple-darwin"$UNAME_RELEASE"
1336 exit ;;1325 exit ;;
1337 *:procnto*:*:* | *:QNX:[0123456789]*:*)1326 *:procnto*:*:* | *:QNX:[0123456789]*:*)
1338 UNAME_PROCESSOR=`uname -p`1327 UNAME_PROCESSOR=`uname -p`
@@ -1340,22 +1329,25 @@ EOF
1340 UNAME_PROCESSOR=i3861329 UNAME_PROCESSOR=i386
1341 UNAME_MACHINE=pc1330 UNAME_MACHINE=pc
1342 fi1331 fi
1343 echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}1332 echo "$UNAME_PROCESSOR"-"$UNAME_MACHINE"-nto-qnx"$UNAME_RELEASE"
1344 exit ;;1333 exit ;;
1345 *:QNX:*:4*)1334 *:QNX:*:4*)
1346 echo i386-pc-qnx1335 echo i386-pc-qnx
1347 exit ;;1336 exit ;;
1348 NEO-*:NONSTOP_KERNEL:*:*)1337 NEO-*:NONSTOP_KERNEL:*:*)
1349 echo neo-tandem-nsk${UNAME_RELEASE}1338 echo neo-tandem-nsk"$UNAME_RELEASE"
1350 exit ;;1339 exit ;;
1351 NSE-*:NONSTOP_KERNEL:*:*)1340 NSE-*:NONSTOP_KERNEL:*:*)
1352 echo nse-tandem-nsk${UNAME_RELEASE}1341 echo nse-tandem-nsk"$UNAME_RELEASE"
1353 exit ;;1342 exit ;;
1354 NSR-*:NONSTOP_KERNEL:*:*)1343 NSR-*:NONSTOP_KERNEL:*:*)
1355 echo nsr-tandem-nsk${UNAME_RELEASE}1344 echo nsr-tandem-nsk"$UNAME_RELEASE"
1345 exit ;;
1346 NSV-*:NONSTOP_KERNEL:*:*)
1347 echo nsv-tandem-nsk"$UNAME_RELEASE"
1356 exit ;;1348 exit ;;
1357 NSX-*:NONSTOP_KERNEL:*:*)1349 NSX-*:NONSTOP_KERNEL:*:*)
1358 echo nsx-tandem-nsk${UNAME_RELEASE}1350 echo nsx-tandem-nsk"$UNAME_RELEASE"
1359 exit ;;1351 exit ;;
1360 *:NonStop-UX:*:*)1352 *:NonStop-UX:*:*)
1361 echo mips-compaq-nonstopux1353 echo mips-compaq-nonstopux
@@ -1364,7 +1356,7 @@ EOF
1364 echo bs2000-siemens-sysv1356 echo bs2000-siemens-sysv
1365 exit ;;1357 exit ;;
1366 DS/*:UNIX_System_V:*:*)1358 DS/*:UNIX_System_V:*:*)
1367 echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}1359 echo "$UNAME_MACHINE"-"$UNAME_SYSTEM"-"$UNAME_RELEASE"
1368 exit ;;1360 exit ;;
1369 *:Plan9:*:*)1361 *:Plan9:*:*)
1370 # "uname -m" is not consistent, so use $cputype instead. 3861362 # "uname -m" is not consistent, so use $cputype instead. 386
@@ -1375,7 +1367,7 @@ EOF
1375 else1367 else
1376 UNAME_MACHINE="$cputype"1368 UNAME_MACHINE="$cputype"
1377 fi1369 fi
1378 echo ${UNAME_MACHINE}-unknown-plan91370 echo "$UNAME_MACHINE"-unknown-plan9
1379 exit ;;1371 exit ;;
1380 *:TOPS-10:*:*)1372 *:TOPS-10:*:*)
1381 echo pdp10-unknown-tops101373 echo pdp10-unknown-tops10
@@ -1396,14 +1388,14 @@ EOF
1396 echo pdp10-unknown-its1388 echo pdp10-unknown-its
1397 exit ;;1389 exit ;;
1398 SEI:*:*:SEIUX)1390 SEI:*:*:SEIUX)
1399 echo mips-sei-seiux${UNAME_RELEASE}1391 echo mips-sei-seiux"$UNAME_RELEASE"
1400 exit ;;1392 exit ;;
1401 *:DragonFly:*:*)1393 *:DragonFly:*:*)
1402 echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`1394 echo "$UNAME_MACHINE"-unknown-dragonfly"`echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`"
1403 exit ;;1395 exit ;;
1404 *:*VMS:*:*)1396 *:*VMS:*:*)
1405 UNAME_MACHINE=`(uname -p) 2>/dev/null`1397 UNAME_MACHINE=`(uname -p) 2>/dev/null`
1406 case "${UNAME_MACHINE}" in1398 case "$UNAME_MACHINE" in
1407 A*) echo alpha-dec-vms ; exit ;;1399 A*) echo alpha-dec-vms ; exit ;;
1408 I*) echo ia64-dec-vms ; exit ;;1400 I*) echo ia64-dec-vms ; exit ;;
1409 V*) echo vax-dec-vms ; exit ;;1401 V*) echo vax-dec-vms ; exit ;;
@@ -1412,32 +1404,44 @@ EOF
1412 echo i386-pc-xenix1404 echo i386-pc-xenix
1413 exit ;;1405 exit ;;
1414 i*86:skyos:*:*)1406 i*86:skyos:*:*)
1415 echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE} | sed -e 's/ .*$//'`1407 echo "$UNAME_MACHINE"-pc-skyos"`echo "$UNAME_RELEASE" | sed -e 's/ .*$//'`"
1416 exit ;;1408 exit ;;
1417 i*86:rdos:*:*)1409 i*86:rdos:*:*)
1418 echo ${UNAME_MACHINE}-pc-rdos1410 echo "$UNAME_MACHINE"-pc-rdos
1419 exit ;;1411 exit ;;
1420 i*86:AROS:*:*)1412 i*86:AROS:*:*)
1421 echo ${UNAME_MACHINE}-pc-aros1413 echo "$UNAME_MACHINE"-pc-aros
1422 exit ;;1414 exit ;;
1423 x86_64:VMkernel:*:*)1415 x86_64:VMkernel:*:*)
1424 echo ${UNAME_MACHINE}-unknown-esx1416 echo "$UNAME_MACHINE"-unknown-esx
1425 exit ;;1417 exit ;;
1426 amd64:Isilon\ OneFS:*:*)1418 amd64:Isilon\ OneFS:*:*)
1427 echo x86_64-unknown-onefs1419 echo x86_64-unknown-onefs
1428 exit ;;1420 exit ;;
1429esac1421esac
14301422
1423echo "$0: unable to guess system type" >&2
1424
1425case "$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
1430NOTE: MIPS GNU/Linux systems require a C compiler to fully recognize
1431the system type. Please install a C compiler and try again.
1432EOF
1433 ;;
1434esac
1435
1431cat >&2 <<EOF1436cat >&2 <<EOF
1432$0: unable to guess system type
14331437
1434This script (version $timestamp), has failed to recognize the1438This script (version $timestamp), has failed to recognize the
1435operating system you are using. If your script is old, overwrite *all*1439operating system you are using. If your script is old, overwrite *all*
1436copies of config.guess and config.sub with the latest versions from:1440copies of config.guess and config.sub with the latest versions from:
14371441
1438 http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess1442 https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess
1439and1443and
1440 http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub1444 https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub
14411445
1442If $0 has already been updated, send the following data and any1446If $0 has already been updated, send the following data and any
1443information you think might be pertinent to config-patches@gnu.org to1447information you think might be pertinent to config-patches@gnu.org to
@@ -1460,16 +1464,16 @@ hostinfo = `(hostinfo) 2>/dev/null`
1460/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null`1464/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null`
1461/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null`1465/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null`
14621466
1463UNAME_MACHINE = ${UNAME_MACHINE}1467UNAME_MACHINE = "$UNAME_MACHINE"
1464UNAME_RELEASE = ${UNAME_RELEASE}1468UNAME_RELEASE = "$UNAME_RELEASE"
1465UNAME_SYSTEM = ${UNAME_SYSTEM}1469UNAME_SYSTEM = "$UNAME_SYSTEM"
1466UNAME_VERSION = ${UNAME_VERSION}1470UNAME_VERSION = "$UNAME_VERSION"
1467EOF1471EOF
14681472
1469exit 11473exit 1
14701474
1471# Local variables:1475# Local variables:
1472# eval: (add-hook 'write-file-hooks 'time-stamp)1476# eval: (add-hook 'write-file-functions 'time-stamp)
1473# time-stamp-start: "timestamp='"1477# time-stamp-start: "timestamp='"
1474# time-stamp-format: "%:y-%02m-%02d"1478# time-stamp-format: "%:y-%02m-%02d"
1475# time-stamp-end: "'"1479# time-stamp-end: "'"
diff --git a/build-aux/config.sub b/build-aux/config.sub
index f4bafc1..1d8e98b 100755
--- a/build-aux/config.sub
+++ b/build-aux/config.sub
@@ -1,8 +1,8 @@
1#!/bin/sh1#! /bin/sh
2# Configuration validation subroutine script.2# Configuration validation subroutine script.
3# Copyright 1992-2017 Free Software Foundation, Inc.3# Copyright 1992-2018 Free Software Foundation, Inc.
44
5timestamp='2017-04-02'5timestamp='2018-02-22'
66
7# This file is free software; you can redistribute it and/or modify it7# This file is free software; you can redistribute it and/or modify it
8# under the terms of the GNU General Public License as published by8# under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@ timestamp='2017-04-02'
15# General Public License for more details.15# General Public License for more details.
16#16#
17# You should have received a copy of the GNU General Public License17# 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/>.
19#19#
20# As a special exception to the GNU General Public License, if you20# As a special exception to the GNU General Public License, if you
21# distribute this file as part of a program that contains a21# distribute this file as part of a program that contains a
@@ -33,7 +33,7 @@ timestamp='2017-04-02'
33# Otherwise, we print the canonical config type on stdout and succeed.33# Otherwise, we print the canonical config type on stdout and succeed.
3434
35# You can get the latest version of this script from:35# 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.sub36# https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub
3737
38# This file is supposed to be the same for all GNU packages38# This file is supposed to be the same for all GNU packages
39# and recognize all the CPU types, system types and aliases39# and recognize all the CPU types, system types and aliases
@@ -57,7 +57,7 @@ Usage: $0 [OPTION] CPU-MFR-OPSYS or ALIAS
5757
58Canonicalize a configuration name.58Canonicalize a configuration name.
5959
60Operation modes:60Options:
61 -h, --help print this help, then exit61 -h, --help print this help, then exit
62 -t, --time-stamp print date of last modification, then exit62 -t, --time-stamp print date of last modification, then exit
63 -v, --version print version number, then exit63 -v, --version print version number, then exit
@@ -67,7 +67,7 @@ Report bugs and patches to <config-patches@gnu.org>."
67version="\67version="\
68GNU config.sub ($timestamp)68GNU config.sub ($timestamp)
6969
70Copyright 1992-2017 Free Software Foundation, Inc.70Copyright 1992-2018 Free Software Foundation, Inc.
7171
72This is free software; see the source for copying conditions. There is NO72This is free software; see the source for copying conditions. There is NO
73warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."73warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -94,7 +94,7 @@ while test $# -gt 0 ; do
9494
95 *local*)95 *local*)
96 # First pass through any local machine types.96 # First pass through any local machine types.
97 echo $197 echo "$1"
98 exit ;;98 exit ;;
9999
100 * )100 * )
@@ -112,7 +112,7 @@ esac
112112
113# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).113# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
114# Here we must recognize all the valid KERNEL-OS combinations.114# Here we must recognize all the valid KERNEL-OS combinations.
115maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`115maybe_os=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
116case $maybe_os in116case $maybe_os in
117 nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \117 nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
118 linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \118 linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
@@ -120,16 +120,16 @@ case $maybe_os in
120 kopensolaris*-gnu* | cloudabi*-eabi* | \120 kopensolaris*-gnu* | cloudabi*-eabi* | \
121 storm-chaos* | os2-emx* | rtmk-nova*)121 storm-chaos* | os2-emx* | rtmk-nova*)
122 os=-$maybe_os122 os=-$maybe_os
123 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`123 basic_machine=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
124 ;;124 ;;
125 android-linux)125 android-linux)
126 os=-linux-android126 os=-linux-android
127 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown127 basic_machine=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
128 ;;128 ;;
129 *)129 *)
130 basic_machine=`echo $1 | sed 's/-[^-]*$//'`130 basic_machine=`echo "$1" | sed 's/-[^-]*$//'`
131 if [ $basic_machine != $1 ]131 if [ "$basic_machine" != "$1" ]
132 then os=`echo $1 | sed 's/.*-/-/'`132 then os=`echo "$1" | sed 's/.*-/-/'`
133 else os=; fi133 else os=; fi
134 ;;134 ;;
135esac135esac
@@ -178,44 +178,44 @@ case $os in
178 ;;178 ;;
179 -sco6)179 -sco6)
180 os=-sco5v6180 os=-sco5v6
181 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`181 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
182 ;;182 ;;
183 -sco5)183 -sco5)
184 os=-sco3.2v5184 os=-sco3.2v5
185 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`185 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
186 ;;186 ;;
187 -sco4)187 -sco4)
188 os=-sco3.2v4188 os=-sco3.2v4
189 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`189 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
190 ;;190 ;;
191 -sco3.2.[4-9]*)191 -sco3.2.[4-9]*)
192 os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`192 os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
193 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`193 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
194 ;;194 ;;
195 -sco3.2v[4-9]*)195 -sco3.2v[4-9]*)
196 # Don't forget version if it is 3.2v4 or newer.196 # Don't forget version if it is 3.2v4 or newer.
197 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`197 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
198 ;;198 ;;
199 -sco5v6*)199 -sco5v6*)
200 # Don't forget version if it is 3.2v4 or newer.200 # Don't forget version if it is 3.2v4 or newer.
201 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`201 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
202 ;;202 ;;
203 -sco*)203 -sco*)
204 os=-sco3.2v2204 os=-sco3.2v2
205 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`205 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
206 ;;206 ;;
207 -udk*)207 -udk*)
208 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`208 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
209 ;;209 ;;
210 -isc)210 -isc)
211 os=-isc2.2211 os=-isc2.2
212 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`212 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
213 ;;213 ;;
214 -clix*)214 -clix*)
215 basic_machine=clipper-intergraph215 basic_machine=clipper-intergraph
216 ;;216 ;;
217 -isc*)217 -isc*)
218 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`218 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
219 ;;219 ;;
220 -lynx*178)220 -lynx*178)
221 os=-lynxos178221 os=-lynxos178
@@ -227,10 +227,7 @@ case $os in
227 os=-lynxos227 os=-lynxos
228 ;;228 ;;
229 -ptx*)229 -ptx*)
230 basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`230 basic_machine=`echo "$1" | sed -e 's/86-.*/86-sequent/'`
231 ;;
232 -windowsnt*)
233 os=`echo $os | sed -e 's/windowsnt/winnt/'`
234 ;;231 ;;
235 -psos*)232 -psos*)
236 os=-psos233 os=-psos
@@ -299,7 +296,7 @@ case $basic_machine in
299 | nios | nios2 | nios2eb | nios2el \296 | nios | nios2 | nios2eb | nios2el \
300 | ns16k | ns32k \297 | ns16k | ns32k \
301 | open8 | or1k | or1knd | or32 \298 | open8 | or1k | or1knd | or32 \
302 | pdp10 | pdp11 | pj | pjl \299 | pdp10 | pj | pjl \
303 | powerpc | powerpc64 | powerpc64le | powerpcle \300 | powerpc | powerpc64 | powerpc64le | powerpcle \
304 | pru \301 | pru \
305 | pyramid \302 | pyramid \
@@ -316,7 +313,6 @@ case $basic_machine in
316 | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \313 | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
317 | visium \314 | visium \
318 | wasm32 \315 | wasm32 \
319 | we32k \
320 | x86 | xc16x | xstormy16 | xtensa \316 | x86 | xc16x | xstormy16 | xtensa \
321 | z8k | z80)317 | z8k | z80)
322 basic_machine=$basic_machine-unknown318 basic_machine=$basic_machine-unknown
@@ -337,7 +333,7 @@ case $basic_machine in
337 basic_machine=$basic_machine-unknown333 basic_machine=$basic_machine-unknown
338 os=-none334 os=-none
339 ;;335 ;;
340 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)336 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65)
341 ;;337 ;;
342 ms1)338 ms1)
343 basic_machine=mt-unknown339 basic_machine=mt-unknown
@@ -366,7 +362,7 @@ case $basic_machine in
366 ;;362 ;;
367 # Object if more than one company name word.363 # Object if more than one company name word.
368 *-*-*)364 *-*-*)
369 echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2365 echo Invalid configuration \`"$1"\': machine \`"$basic_machine"\' not recognized 1>&2
370 exit 1366 exit 1
371 ;;367 ;;
372 # Recognize the basic CPU types with company name.368 # Recognize the basic CPU types with company name.
@@ -461,7 +457,7 @@ case $basic_machine in
461 # Recognize the various machine names and aliases which stand457 # Recognize the various machine names and aliases which stand
462 # for a CPU type and a company and sometimes even an OS.458 # for a CPU type and a company and sometimes even an OS.
463 386bsd)459 386bsd)
464 basic_machine=i386-unknown460 basic_machine=i386-pc
465 os=-bsd461 os=-bsd
466 ;;462 ;;
467 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)463 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
@@ -495,7 +491,7 @@ case $basic_machine in
495 basic_machine=x86_64-pc491 basic_machine=x86_64-pc
496 ;;492 ;;
497 amd64-*)493 amd64-*)
498 basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`494 basic_machine=x86_64-`echo "$basic_machine" | sed 's/^[^-]*-//'`
499 ;;495 ;;
500 amdahl)496 amdahl)
501 basic_machine=580-amdahl497 basic_machine=580-amdahl
@@ -540,7 +536,7 @@ case $basic_machine in
540 os=-linux536 os=-linux
541 ;;537 ;;
542 blackfin-*)538 blackfin-*)
543 basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`539 basic_machine=bfin-`echo "$basic_machine" | sed 's/^[^-]*-//'`
544 os=-linux540 os=-linux
545 ;;541 ;;
546 bluegene*)542 bluegene*)
@@ -548,13 +544,13 @@ case $basic_machine in
548 os=-cnk544 os=-cnk
549 ;;545 ;;
550 c54x-*)546 c54x-*)
551 basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'`547 basic_machine=tic54x-`echo "$basic_machine" | sed 's/^[^-]*-//'`
552 ;;548 ;;
553 c55x-*)549 c55x-*)
554 basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'`550 basic_machine=tic55x-`echo "$basic_machine" | sed 's/^[^-]*-//'`
555 ;;551 ;;
556 c6x-*)552 c6x-*)
557 basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'`553 basic_machine=tic6x-`echo "$basic_machine" | sed 's/^[^-]*-//'`
558 ;;554 ;;
559 c90)555 c90)
560 basic_machine=c90-cray556 basic_machine=c90-cray
@@ -643,7 +639,7 @@ case $basic_machine in
643 basic_machine=rs6000-bull639 basic_machine=rs6000-bull
644 os=-bosx640 os=-bosx
645 ;;641 ;;
646 dpx2* | dpx2*-bull)642 dpx2*)
647 basic_machine=m68k-bull643 basic_machine=m68k-bull
648 os=-sysv3644 os=-sysv3
649 ;;645 ;;
@@ -652,7 +648,7 @@ case $basic_machine in
652 os=$os"spe"648 os=$os"spe"
653 ;;649 ;;
654 e500v[12]-*)650 e500v[12]-*)
655 basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`651 basic_machine=powerpc-`echo "$basic_machine" | sed 's/^[^-]*-//'`
656 os=$os"spe"652 os=$os"spe"
657 ;;653 ;;
658 ebmon29k)654 ebmon29k)
@@ -744,9 +740,6 @@ case $basic_machine in
744 hp9k8[0-9][0-9] | hp8[0-9][0-9])740 hp9k8[0-9][0-9] | hp8[0-9][0-9])
745 basic_machine=hppa1.0-hp741 basic_machine=hppa1.0-hp
746 ;;742 ;;
747 hppa-next)
748 os=-nextstep3
749 ;;
750 hppaosf)743 hppaosf)
751 basic_machine=hppa1.1-hp744 basic_machine=hppa1.1-hp
752 os=-osf745 os=-osf
@@ -759,26 +752,26 @@ case $basic_machine in
759 basic_machine=i370-ibm752 basic_machine=i370-ibm
760 ;;753 ;;
761 i*86v32)754 i*86v32)
762 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`755 basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`
763 os=-sysv32756 os=-sysv32
764 ;;757 ;;
765 i*86v4*)758 i*86v4*)
766 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`759 basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`
767 os=-sysv4760 os=-sysv4
768 ;;761 ;;
769 i*86v)762 i*86v)
770 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`763 basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`
771 os=-sysv764 os=-sysv
772 ;;765 ;;
773 i*86sol2)766 i*86sol2)
774 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`767 basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`
775 os=-solaris2768 os=-solaris2
776 ;;769 ;;
777 i386mach)770 i386mach)
778 basic_machine=i386-mach771 basic_machine=i386-mach
779 os=-mach772 os=-mach
780 ;;773 ;;
781 i386-vsta | vsta)774 vsta)
782 basic_machine=i386-unknown775 basic_machine=i386-unknown
783 os=-vsta776 os=-vsta
784 ;;777 ;;
@@ -797,19 +790,16 @@ case $basic_machine in
797 os=-sysv790 os=-sysv
798 ;;791 ;;
799 leon-*|leon[3-9]-*)792 leon-*|leon[3-9]-*)
800 basic_machine=sparc-`echo $basic_machine | sed 's/-.*//'`793 basic_machine=sparc-`echo "$basic_machine" | sed 's/-.*//'`
801 ;;794 ;;
802 m68knommu)795 m68knommu)
803 basic_machine=m68k-unknown796 basic_machine=m68k-unknown
804 os=-linux797 os=-linux
805 ;;798 ;;
806 m68knommu-*)799 m68knommu-*)
807 basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`800 basic_machine=m68k-`echo "$basic_machine" | sed 's/^[^-]*-//'`
808 os=-linux801 os=-linux
809 ;;802 ;;
810 m88k-omron*)
811 basic_machine=m88k-omron
812 ;;
813 magnum | m3230)803 magnum | m3230)
814 basic_machine=mips-mips804 basic_machine=mips-mips
815 os=-sysv805 os=-sysv
@@ -841,10 +831,10 @@ case $basic_machine in
841 os=-mint831 os=-mint
842 ;;832 ;;
843 mips3*-*)833 mips3*-*)
844 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`834 basic_machine=`echo "$basic_machine" | sed -e 's/mips3/mips64/'`
845 ;;835 ;;
846 mips3*)836 mips3*)
847 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown837 basic_machine=`echo "$basic_machine" | sed -e 's/mips3/mips64/'`-unknown
848 ;;838 ;;
849 monitor)839 monitor)
850 basic_machine=m68k-rom68k840 basic_machine=m68k-rom68k
@@ -863,7 +853,7 @@ case $basic_machine in
863 os=-msdos853 os=-msdos
864 ;;854 ;;
865 ms1-*)855 ms1-*)
866 basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`856 basic_machine=`echo "$basic_machine" | sed -e 's/ms1-/mt-/'`
867 ;;857 ;;
868 msys)858 msys)
869 basic_machine=i686-pc859 basic_machine=i686-pc
@@ -905,7 +895,7 @@ case $basic_machine in
905 basic_machine=v70-nec895 basic_machine=v70-nec
906 os=-sysv896 os=-sysv
907 ;;897 ;;
908 next | m*-next )898 next | m*-next)
909 basic_machine=m68k-next899 basic_machine=m68k-next
910 case $os in900 case $os in
911 -nextstep* )901 -nextstep* )
@@ -950,6 +940,9 @@ case $basic_machine in
950 nsr-tandem)940 nsr-tandem)
951 basic_machine=nsr-tandem941 basic_machine=nsr-tandem
952 ;;942 ;;
943 nsv-tandem)
944 basic_machine=nsv-tandem
945 ;;
953 nsx-tandem)946 nsx-tandem)
954 basic_machine=nsx-tandem947 basic_machine=nsx-tandem
955 ;;948 ;;
@@ -985,7 +978,7 @@ case $basic_machine in
985 os=-linux978 os=-linux
986 ;;979 ;;
987 parisc-*)980 parisc-*)
988 basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`981 basic_machine=hppa-`echo "$basic_machine" | sed 's/^[^-]*-//'`
989 os=-linux982 os=-linux
990 ;;983 ;;
991 pbd)984 pbd)
@@ -1001,7 +994,7 @@ case $basic_machine in
1001 basic_machine=i386-pc994 basic_machine=i386-pc
1002 ;;995 ;;
1003 pc98-*)996 pc98-*)
1004 basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`997 basic_machine=i386-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1005 ;;998 ;;
1006 pentium | p5 | k5 | k6 | nexgen | viac3)999 pentium | p5 | k5 | k6 | nexgen | viac3)
1007 basic_machine=i586-pc1000 basic_machine=i586-pc
@@ -1016,16 +1009,16 @@ case $basic_machine in
1016 basic_machine=i786-pc1009 basic_machine=i786-pc
1017 ;;1010 ;;
1018 pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)1011 pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
1019 basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`1012 basic_machine=i586-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1020 ;;1013 ;;
1021 pentiumpro-* | p6-* | 6x86-* | athlon-*)1014 pentiumpro-* | p6-* | 6x86-* | athlon-*)
1022 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`1015 basic_machine=i686-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1023 ;;1016 ;;
1024 pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)1017 pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
1025 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`1018 basic_machine=i686-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1026 ;;1019 ;;
1027 pentium4-*)1020 pentium4-*)
1028 basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`1021 basic_machine=i786-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1029 ;;1022 ;;
1030 pn)1023 pn)
1031 basic_machine=pn-gould1024 basic_machine=pn-gould
@@ -1035,23 +1028,23 @@ case $basic_machine in
1035 ppc | ppcbe) basic_machine=powerpc-unknown1028 ppc | ppcbe) basic_machine=powerpc-unknown
1036 ;;1029 ;;
1037 ppc-* | ppcbe-*)1030 ppc-* | ppcbe-*)
1038 basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`1031 basic_machine=powerpc-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1039 ;;1032 ;;
1040 ppcle | powerpclittle)1033 ppcle | powerpclittle)
1041 basic_machine=powerpcle-unknown1034 basic_machine=powerpcle-unknown
1042 ;;1035 ;;
1043 ppcle-* | powerpclittle-*)1036 ppcle-* | powerpclittle-*)
1044 basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`1037 basic_machine=powerpcle-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1045 ;;1038 ;;
1046 ppc64) basic_machine=powerpc64-unknown1039 ppc64) basic_machine=powerpc64-unknown
1047 ;;1040 ;;
1048 ppc64-* | ppc64p7-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`1041 ppc64-*) basic_machine=powerpc64-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1049 ;;1042 ;;
1050 ppc64le | powerpc64little)1043 ppc64le | powerpc64little)
1051 basic_machine=powerpc64le-unknown1044 basic_machine=powerpc64le-unknown
1052 ;;1045 ;;
1053 ppc64le-* | powerpc64little-*)1046 ppc64le-* | powerpc64little-*)
1054 basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`1047 basic_machine=powerpc64le-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1055 ;;1048 ;;
1056 ps2)1049 ps2)
1057 basic_machine=i386-ibm1050 basic_machine=i386-ibm
@@ -1105,17 +1098,10 @@ case $basic_machine in
1105 sequent)1098 sequent)
1106 basic_machine=i386-sequent1099 basic_machine=i386-sequent
1107 ;;1100 ;;
1108 sh)
1109 basic_machine=sh-hitachi
1110 os=-hms
1111 ;;
1112 sh5el)1101 sh5el)
1113 basic_machine=sh5le-unknown1102 basic_machine=sh5le-unknown
1114 ;;1103 ;;
1115 sh64)1104 simso-wrs)
1116 basic_machine=sh64-unknown
1117 ;;
1118 sparclite-wrs | simso-wrs)
1119 basic_machine=sparclite-wrs1105 basic_machine=sparclite-wrs
1120 os=-vxworks1106 os=-vxworks
1121 ;;1107 ;;
@@ -1134,7 +1120,7 @@ case $basic_machine in
1134 os=-sysv41120 os=-sysv4
1135 ;;1121 ;;
1136 strongarm-* | thumb-*)1122 strongarm-* | thumb-*)
1137 basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`1123 basic_machine=arm-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1138 ;;1124 ;;
1139 sun2)1125 sun2)
1140 basic_machine=m68000-sun1126 basic_machine=m68000-sun
@@ -1248,9 +1234,6 @@ case $basic_machine in
1248 basic_machine=a29k-wrs1234 basic_machine=a29k-wrs
1249 os=-vxworks1235 os=-vxworks
1250 ;;1236 ;;
1251 wasm32)
1252 basic_machine=wasm32-unknown
1253 ;;
1254 w65*)1237 w65*)
1255 basic_machine=w65-wdc1238 basic_machine=w65-wdc
1256 os=-none1239 os=-none
@@ -1259,6 +1242,9 @@ case $basic_machine in
1259 basic_machine=hppa1.1-winbond1242 basic_machine=hppa1.1-winbond
1260 os=-proelf1243 os=-proelf
1261 ;;1244 ;;
1245 x64)
1246 basic_machine=x86_64-pc
1247 ;;
1262 xbox)1248 xbox)
1263 basic_machine=i686-pc1249 basic_machine=i686-pc
1264 os=-mingw321250 os=-mingw32
@@ -1267,20 +1253,12 @@ case $basic_machine in
1267 basic_machine=xps100-honeywell1253 basic_machine=xps100-honeywell
1268 ;;1254 ;;
1269 xscale-* | xscalee[bl]-*)1255 xscale-* | xscalee[bl]-*)
1270 basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`1256 basic_machine=`echo "$basic_machine" | sed 's/^xscale/arm/'`
1271 ;;1257 ;;
1272 ymp)1258 ymp)
1273 basic_machine=ymp-cray1259 basic_machine=ymp-cray
1274 os=-unicos1260 os=-unicos
1275 ;;1261 ;;
1276 z8k-*-coff)
1277 basic_machine=z8k-unknown
1278 os=-sim
1279 ;;
1280 z80-*-coff)
1281 basic_machine=z80-unknown
1282 os=-sim
1283 ;;
1284 none)1262 none)
1285 basic_machine=none-none1263 basic_machine=none-none
1286 os=-none1264 os=-none
@@ -1309,10 +1287,6 @@ case $basic_machine in
1309 vax)1287 vax)
1310 basic_machine=vax-dec1288 basic_machine=vax-dec
1311 ;;1289 ;;
1312 pdp10)
1313 # there are many clones, so DEC is not a safe bet
1314 basic_machine=pdp10-unknown
1315 ;;
1316 pdp11)1290 pdp11)
1317 basic_machine=pdp11-dec1291 basic_machine=pdp11-dec
1318 ;;1292 ;;
@@ -1322,9 +1296,6 @@ case $basic_machine in
1322 sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)1296 sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
1323 basic_machine=sh-unknown1297 basic_machine=sh-unknown
1324 ;;1298 ;;
1325 sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
1326 basic_machine=sparc-sun
1327 ;;
1328 cydra)1299 cydra)
1329 basic_machine=cydra-cydrome1300 basic_machine=cydra-cydrome
1330 ;;1301 ;;
@@ -1344,7 +1315,7 @@ case $basic_machine in
1344 # Make sure to match an already-canonicalized machine name.1315 # Make sure to match an already-canonicalized machine name.
1345 ;;1316 ;;
1346 *)1317 *)
1347 echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&21318 echo Invalid configuration \`"$1"\': machine \`"$basic_machine"\' not recognized 1>&2
1348 exit 11319 exit 1
1349 ;;1320 ;;
1350esac1321esac
@@ -1352,10 +1323,10 @@ esac
1352# Here we canonicalize certain aliases for manufacturers.1323# Here we canonicalize certain aliases for manufacturers.
1353case $basic_machine in1324case $basic_machine in
1354 *-digital*)1325 *-digital*)
1355 basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`1326 basic_machine=`echo "$basic_machine" | sed 's/digital.*/dec/'`
1356 ;;1327 ;;
1357 *-commodore*)1328 *-commodore*)
1358 basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`1329 basic_machine=`echo "$basic_machine" | sed 's/commodore.*/cbm/'`
1359 ;;1330 ;;
1360 *)1331 *)
1361 ;;1332 ;;
@@ -1366,8 +1337,8 @@ esac
1366if [ x"$os" != x"" ]1337if [ x"$os" != x"" ]
1367then1338then
1368case $os in1339case $os in
1369 # First match some system type aliases1340 # First match some system type aliases that might get confused
1370 # that might get confused with valid system types.1341 # with valid system types.
1371 # -solaris* is a basic system type, with this one exception.1342 # -solaris* is a basic system type, with this one exception.
1372 -auroraux)1343 -auroraux)
1373 os=-auroraux1344 os=-auroraux
@@ -1378,18 +1349,19 @@ case $os in
1378 -solaris)1349 -solaris)
1379 os=-solaris21350 os=-solaris2
1380 ;;1351 ;;
1381 -svr4*)
1382 os=-sysv4
1383 ;;
1384 -unixware*)1352 -unixware*)
1385 os=-sysv4.2uw1353 os=-sysv4.2uw
1386 ;;1354 ;;
1387 -gnu/linux*)1355 -gnu/linux*)
1388 os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`1356 os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
1389 ;;1357 ;;
1390 # 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.
1391 # The portable systems comes first.1363 # The portable systems comes first.
1392 # Each alternative MUST END IN A *, to match a version number.1364 # Each alternative MUST end in a * to match a version number.
1393 # -sysv* is not here because it comes later, after sysvr4.1365 # -sysv* is not here because it comes later, after sysvr4.
1394 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \1366 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
1395 | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\1367 | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
@@ -1399,7 +1371,7 @@ case $os in
1399 | -aos* | -aros* | -cloudabi* | -sortix* \1371 | -aos* | -aros* | -cloudabi* | -sortix* \
1400 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \1372 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1401 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \1373 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1402 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \1374 | -hiux* | -knetbsd* | -mirbsd* | -netbsd* \
1403 | -bitrig* | -openbsd* | -solidbsd* | -libertybsd* \1375 | -bitrig* | -openbsd* | -solidbsd* | -libertybsd* \
1404 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \1376 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
1405 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \1377 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
@@ -1410,14 +1382,15 @@ case $os in
1410 | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \1382 | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
1411 | -linux-newlib* | -linux-musl* | -linux-uclibc* \1383 | -linux-newlib* | -linux-musl* | -linux-uclibc* \
1412 | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \1384 | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \
1413 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \1385 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* \
1414 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \1386 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1415 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \1387 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1416 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \1388 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1417 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \1389 | -morphos* | -superux* | -rtmk* | -windiss* \
1418 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \1390 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1419 | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \1391 | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \
1420 | -onefs* | -tirtos* | -phoenix* | -fuchsia* | -redox*)1392 | -onefs* | -tirtos* | -phoenix* | -fuchsia* | -redox* | -bme* \
1393 | -midnightbsd*)
1421 # Remember, each alternative MUST END IN *, to match a version number.1394 # Remember, each alternative MUST END IN *, to match a version number.
1422 ;;1395 ;;
1423 -qnx*)1396 -qnx*)
@@ -1434,12 +1407,12 @@ case $os in
1434 -nto*)1407 -nto*)
1435 os=`echo $os | sed -e 's|nto|nto-qnx|'`1408 os=`echo $os | sed -e 's|nto|nto-qnx|'`
1436 ;;1409 ;;
1437 -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \1410 -sim | -xray | -os68k* | -v88r* \
1438 | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \1411 | -windows* | -osx | -abug | -netware* | -os9* \
1439 | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)1412 | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
1440 ;;1413 ;;
1441 -mac*)1414 -mac*)
1442 os=`echo $os | sed -e 's|mac|macos|'`1415 os=`echo "$os" | sed -e 's|mac|macos|'`
1443 ;;1416 ;;
1444 -linux-dietlibc)1417 -linux-dietlibc)
1445 os=-linux-dietlibc1418 os=-linux-dietlibc
@@ -1448,10 +1421,10 @@ case $os in
1448 os=`echo $os | sed -e 's|linux|linux-gnu|'`1421 os=`echo $os | sed -e 's|linux|linux-gnu|'`
1449 ;;1422 ;;
1450 -sunos5*)1423 -sunos5*)
1451 os=`echo $os | sed -e 's|sunos5|solaris2|'`1424 os=`echo "$os" | sed -e 's|sunos5|solaris2|'`
1452 ;;1425 ;;
1453 -sunos6*)1426 -sunos6*)
1454 os=`echo $os | sed -e 's|sunos6|solaris3|'`1427 os=`echo "$os" | sed -e 's|sunos6|solaris3|'`
1455 ;;1428 ;;
1456 -opened*)1429 -opened*)
1457 os=-openedition1430 os=-openedition
@@ -1462,12 +1435,6 @@ case $os in
1462 -wince*)1435 -wince*)
1463 os=-wince1436 os=-wince
1464 ;;1437 ;;
1465 -osfrose*)
1466 os=-osfrose
1467 ;;
1468 -osf*)
1469 os=-osf
1470 ;;
1471 -utek*)1438 -utek*)
1472 os=-bsd1439 os=-bsd
1473 ;;1440 ;;
@@ -1492,7 +1459,7 @@ case $os in
1492 -nova*)1459 -nova*)
1493 os=-rtmk-nova1460 os=-rtmk-nova
1494 ;;1461 ;;
1495 -ns2 )1462 -ns2)
1496 os=-nextstep21463 os=-nextstep2
1497 ;;1464 ;;
1498 -nsk*)1465 -nsk*)
@@ -1514,7 +1481,7 @@ case $os in
1514 -oss*)1481 -oss*)
1515 os=-sysv31482 os=-sysv3
1516 ;;1483 ;;
1517 -svr4)1484 -svr4*)
1518 os=-sysv41485 os=-sysv4
1519 ;;1486 ;;
1520 -svr3)1487 -svr3)
@@ -1529,24 +1496,28 @@ case $os in
1529 -ose*)1496 -ose*)
1530 os=-ose1497 os=-ose
1531 ;;1498 ;;
1532 -es1800*)
1533 os=-ose
1534 ;;
1535 -xenix)
1536 os=-xenix
1537 ;;
1538 -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)1499 -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
1539 os=-mint1500 os=-mint
1540 ;;1501 ;;
1541 -aros*)
1542 os=-aros
1543 ;;
1544 -zvmoe)1502 -zvmoe)
1545 os=-zvmoe1503 os=-zvmoe
1546 ;;1504 ;;
1547 -dicos*)1505 -dicos*)
1548 os=-dicos1506 os=-dicos
1549 ;;1507 ;;
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 ;;
1550 -nacl*)1521 -nacl*)
1551 ;;1522 ;;
1552 -ios)1523 -ios)
@@ -1556,7 +1527,7 @@ case $os in
1556 *)1527 *)
1557 # Get rid of the `-' at the beginning of $os.1528 # Get rid of the `-' at the beginning of $os.
1558 os=`echo $os | sed 's/[^-]*-//'`1529 os=`echo $os | sed 's/[^-]*-//'`
1559 echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&21530 echo Invalid configuration \`"$1"\': system \`"$os"\' not recognized 1>&2
1560 exit 11531 exit 1
1561 ;;1532 ;;
1562esac1533esac
@@ -1652,9 +1623,6 @@ case $basic_machine in
1652 *-be)1623 *-be)
1653 os=-beos1624 os=-beos
1654 ;;1625 ;;
1655 *-haiku)
1656 os=-haiku
1657 ;;
1658 *-ibm)1626 *-ibm)
1659 os=-aix1627 os=-aix
1660 ;;1628 ;;
@@ -1694,7 +1662,7 @@ case $basic_machine in
1694 m88k-omron*)1662 m88k-omron*)
1695 os=-luna1663 os=-luna
1696 ;;1664 ;;
1697 *-next )1665 *-next)
1698 os=-nextstep1666 os=-nextstep
1699 ;;1667 ;;
1700 *-sequent)1668 *-sequent)
@@ -1709,9 +1677,6 @@ case $basic_machine in
1709 i370-*)1677 i370-*)
1710 os=-mvs1678 os=-mvs
1711 ;;1679 ;;
1712 *-next)
1713 os=-nextstep3
1714 ;;
1715 *-gould)1680 *-gould)
1716 os=-sysv1681 os=-sysv
1717 ;;1682 ;;
@@ -1821,15 +1786,15 @@ case $basic_machine in
1821 vendor=stratus1786 vendor=stratus
1822 ;;1787 ;;
1823 esac1788 esac
1824 basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`1789 basic_machine=`echo "$basic_machine" | sed "s/unknown/$vendor/"`
1825 ;;1790 ;;
1826esac1791esac
18271792
1828echo $basic_machine$os1793echo "$basic_machine$os"
1829exit1794exit
18301795
1831# Local variables:1796# Local variables:
1832# eval: (add-hook 'write-file-hooks 'time-stamp)1797# eval: (add-hook 'write-file-functions 'time-stamp)
1833# time-stamp-start: "timestamp='"1798# time-stamp-start: "timestamp='"
1834# time-stamp-format: "%:y-%02m-%02d"1799# time-stamp-format: "%:y-%02m-%02d"
1835# time-stamp-end: "'"1800# time-stamp-end: "'"
diff --git a/build-aux/depcomp b/build-aux/depcomp
index 30379e2..65cbf70 100755
--- a/build-aux/depcomp
+++ b/build-aux/depcomp
@@ -1,9 +1,9 @@
1#!/bin/sh1#! /bin/sh
2# depcomp - compile a program generating dependencies as side-effects2# depcomp - compile a program generating dependencies as side-effects
33
4scriptversion=2016-01-11.22; # UTC4scriptversion=2018-03-07.03; # UTC
55
6# Copyright (C) 1999-2017 Free Software Foundation, Inc.6# Copyright (C) 1999-2018 Free Software Foundation, Inc.
77
8# This program is free software; you can redistribute it and/or modify8# This program is free software; you can redistribute it and/or modify
9# it under the terms of the GNU General Public License as published by9# it under the terms of the GNU General Public License as published by
@@ -16,7 +16,7 @@ scriptversion=2016-01-11.22; # UTC
16# GNU General Public License for more details.16# GNU General Public License for more details.
1717
18# You should have received a copy of the GNU General Public License18# You should have received a copy of the GNU General Public License
19# along with this program. If not, see <http://www.gnu.org/licenses/>.19# along with this program. If not, see <https://www.gnu.org/licenses/>.
2020
21# As a special exception to the GNU General Public License, if you21# As a special exception to the GNU General Public License, if you
22# distribute this file as part of a program that contains a22# distribute this file as part of a program that contains a
@@ -783,7 +783,7 @@ exit 0
783# Local Variables:783# Local Variables:
784# mode: shell-script784# mode: shell-script
785# sh-indentation: 2785# sh-indentation: 2
786# eval: (add-hook 'write-file-hooks 'time-stamp)786# eval: (add-hook 'before-save-hook 'time-stamp)
787# time-stamp-start: "scriptversion="787# time-stamp-start: "scriptversion="
788# time-stamp-format: "%:y-%02m-%02d.%02H"788# time-stamp-format: "%:y-%02m-%02d.%02H"
789# time-stamp-time-zone: "UTC0"789# time-stamp-time-zone: "UTC0"
diff --git a/build-aux/install-sh b/build-aux/install-sh
index 0360b79..8175c64 100755
--- a/build-aux/install-sh
+++ b/build-aux/install-sh
@@ -1,7 +1,7 @@
1#!/bin/sh1#!/bin/sh
2# install - install a program, script, or datafile2# install - install a program, script, or datafile
33
4scriptversion=2016-01-11.22; # UTC4scriptversion=2018-03-11.20; # UTC
55
6# This originates from X11R5 (mit/util/scripts/install.sh), which was6# This originates from X11R5 (mit/util/scripts/install.sh), which was
7# later released in X11R6 (xc/config/util/install.sh) with the7# later released in X11R6 (xc/config/util/install.sh) with the
@@ -271,15 +271,18 @@ do
271 fi271 fi
272 dst=$dst_arg272 dst=$dst_arg
273273
274 # If destination is a directory, append the input filename; won't work274 # If destination is a directory, append the input filename.
275 # if double slashes aren't ignored.
276 if test -d "$dst"; then275 if test -d "$dst"; then
277 if test "$is_target_a_directory" = never; then276 if test "$is_target_a_directory" = never; then
278 echo "$0: $dst_arg: Is a directory" >&2277 echo "$0: $dst_arg: Is a directory" >&2
279 exit 1278 exit 1
280 fi279 fi
281 dstdir=$dst280 dstdir=$dst
282 dst=$dstdir/`basename "$src"`281 dstbase=`basename "$src"`
282 case $dst in
283 */) dst=$dst$dstbase;;
284 *) dst=$dst/$dstbase;;
285 esac
283 dstdir_status=0286 dstdir_status=0
284 else287 else
285 dstdir=`dirname "$dst"`288 dstdir=`dirname "$dst"`
@@ -288,6 +291,11 @@ do
288 fi291 fi
289 fi292 fi
290293
294 case $dstdir in
295 */) dstdirslash=$dstdir;;
296 *) dstdirslash=$dstdir/;;
297 esac
298
291 obsolete_mkdir_used=false299 obsolete_mkdir_used=false
292300
293 if test $dstdir_status != 0; then301 if test $dstdir_status != 0; then
@@ -324,34 +332,43 @@ do
324 # is incompatible with FreeBSD 'install' when (umask & 300) != 0.332 # is incompatible with FreeBSD 'install' when (umask & 300) != 0.
325 ;;333 ;;
326 *)334 *)
335 # Note that $RANDOM variable is not portable (e.g. dash); Use it
336 # here however when possible just to lower collision chance.
327 tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$337 tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
328 trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
329338
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.
330 if (umask $mkdir_umask &&345 if (umask $mkdir_umask &&
331 exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1346 $mkdirprog $mkdir_mode "$tmpdir" &&
347 exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1
332 then348 then
333 if test -z "$dir_arg" || {349 if test -z "$dir_arg" || {
334 # Check for POSIX incompatibilities with -m.350 # Check for POSIX incompatibilities with -m.
335 # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or351 # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
336 # other-writable bit of parent directory when it shouldn't.352 # other-writable bit of parent directory when it shouldn't.
337 # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.353 # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
338 ls_ld_tmpdir=`ls -ld "$tmpdir"`354 test_tmpdir="$tmpdir/a"
355 ls_ld_tmpdir=`ls -ld "$test_tmpdir"`
339 case $ls_ld_tmpdir in356 case $ls_ld_tmpdir in
340 d????-?r-*) different_mode=700;;357 d????-?r-*) different_mode=700;;
341 d????-?--*) different_mode=755;;358 d????-?--*) different_mode=755;;
342 *) false;;359 *) false;;
343 esac &&360 esac &&
344 $mkdirprog -m$different_mode -p -- "$tmpdir" && {361 $mkdirprog -m$different_mode -p -- "$test_tmpdir" && {
345 ls_ld_tmpdir_1=`ls -ld "$tmpdir"`362 ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"`
346 test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"363 test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
347 }364 }
348 }365 }
349 then posix_mkdir=:366 then posix_mkdir=:
350 fi367 fi
351 rmdir "$tmpdir/d" "$tmpdir"368 rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir"
352 else369 else
353 # Remove any dirs left behind by ancient mkdir implementations.370 # Remove any dirs left behind by ancient mkdir implementations.
354 rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null371 rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null
355 fi372 fi
356 trap '' 0;;373 trap '' 0;;
357 esac;;374 esac;;
@@ -427,8 +444,8 @@ do
427 else444 else
428445
429 # Make a couple of temp file names in the proper directory.446 # Make a couple of temp file names in the proper directory.
430 dsttmp=$dstdir/_inst.$$_447 dsttmp=${dstdirslash}_inst.$$_
431 rmtmp=$dstdir/_rm.$$_448 rmtmp=${dstdirslash}_rm.$$_
432449
433 # Trap to clean up those temp files at exit.450 # Trap to clean up those temp files at exit.
434 trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0451 trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
@@ -493,7 +510,7 @@ do
493done510done
494511
495# Local variables:512# Local variables:
496# eval: (add-hook 'write-file-hooks 'time-stamp)513# eval: (add-hook 'before-save-hook 'time-stamp)
497# time-stamp-start: "scriptversion="514# time-stamp-start: "scriptversion="
498# time-stamp-format: "%:y-%02m-%02d.%02H"515# time-stamp-format: "%:y-%02m-%02d.%02H"
499# time-stamp-time-zone: "UTC0"516# time-stamp-time-zone: "UTC0"
diff --git a/build-aux/ltmain.sh b/build-aux/ltmain.sh
index 30be9c8..617dde4 100644
--- a/build-aux/ltmain.sh
+++ b/build-aux/ltmain.sh
@@ -31,7 +31,7 @@
3131
32PROGRAM=libtool32PROGRAM=libtool
33PACKAGE=libtool33PACKAGE=libtool
34VERSION=2.4.634VERSION="2.4.6 Debian-2.4.6-8"
35package_revision=2.4.635package_revision=2.4.6
3636
3737
@@ -1370,7 +1370,7 @@ func_lt_ver ()
1370#! /bin/sh1370#! /bin/sh
13711371
1372# Set a version string for this script.1372# Set a version string for this script.
1373scriptversion=2014-01-07.03; # UTC1373scriptversion=2015-10-07.11; # UTC
13741374
1375# A portable, pluggable option parser for Bourne shell.1375# A portable, pluggable option parser for Bourne shell.
1376# Written by Gary V. Vaughan, 20101376# Written by Gary V. Vaughan, 2010
@@ -1530,6 +1530,8 @@ func_run_hooks ()
1530{1530{
1531 $debug_cmd1531 $debug_cmd
15321532
1533 _G_rc_run_hooks=false
1534
1533 case " $hookable_fns " in1535 case " $hookable_fns " in
1534 *" $1 "*) ;;1536 *" $1 "*) ;;
1535 *) func_fatal_error "'$1' does not support hook funcions.n" ;;1537 *) func_fatal_error "'$1' does not support hook funcions.n" ;;
@@ -1538,16 +1540,16 @@ func_run_hooks ()
1538 eval _G_hook_fns=\$$1_hooks; shift1540 eval _G_hook_fns=\$$1_hooks; shift
15391541
1540 for _G_hook in $_G_hook_fns; do1542 for _G_hook in $_G_hook_fns; do
1541 eval $_G_hook '"$@"'1543 if eval $_G_hook '"$@"'; then
15421544 # store returned options list back into positional
1543 # store returned options list back into positional1545 # parameters for next 'cmd' execution.
1544 # parameters for next 'cmd' execution.1546 eval _G_hook_result=\$${_G_hook}_result
1545 eval _G_hook_result=\$${_G_hook}_result1547 eval set dummy "$_G_hook_result"; shift
1546 eval set dummy "$_G_hook_result"; shift1548 _G_rc_run_hooks=:
1549 fi
1547 done1550 done
15481551
1549 func_quote_for_eval ${1+"$@"}1552 $_G_rc_run_hooks && func_run_hooks_result=$_G_hook_result
1550 func_run_hooks_result=$func_quote_for_eval_result
1551}1553}
15521554
15531555
@@ -1557,10 +1559,16 @@ func_run_hooks ()
1557## --------------- ##1559## --------------- ##
15581560
1559# In order to add your own option parsing hooks, you must accept the1561# In order to add your own option parsing hooks, you must accept the
1560# full positional parameter list in your hook function, remove any1562# full positional parameter list in your hook function, you may remove/edit
1561# options that you action, and then pass back the remaining unprocessed1563# any options that you action, and then pass back the remaining unprocessed
1562# options in '<hooked_function_name>_result', escaped suitably for1564# options in '<hooked_function_name>_result', escaped suitably for
1563# 'eval'. Like this:1565# 'eval'. In this case you also must return $EXIT_SUCCESS to let the
1566# hook's caller know that it should pay attention to
1567# '<hooked_function_name>_result'. Returning $EXIT_FAILURE signalizes that
1568# arguments are left untouched by the hook and therefore caller will ignore the
1569# result variable.
1570#
1571# Like this:
1564#1572#
1565# my_options_prep ()1573# my_options_prep ()
1566# {1574# {
@@ -1570,9 +1578,11 @@ func_run_hooks ()
1570# usage_message=$usage_message'1578# usage_message=$usage_message'
1571# -s, --silent don'\''t print informational messages1579# -s, --silent don'\''t print informational messages
1572# '1580# '
1573#1581# # No change in '$@' (ignored completely by this hook). There is
1574# func_quote_for_eval ${1+"$@"}1582# # no need to do the equivalent (but slower) action:
1575# my_options_prep_result=$func_quote_for_eval_result1583# # func_quote_for_eval ${1+"$@"}
1584# # my_options_prep_result=$func_quote_for_eval_result
1585# false
1576# }1586# }
1577# func_add_hook func_options_prep my_options_prep1587# func_add_hook func_options_prep my_options_prep
1578#1588#
@@ -1581,25 +1591,37 @@ func_run_hooks ()
1581# {1591# {
1582# $debug_cmd1592# $debug_cmd
1583#1593#
1594# args_changed=false
1595#
1584# # Note that for efficiency, we parse as many options as we can1596# # Note that for efficiency, we parse as many options as we can
1585# # recognise in a loop before passing the remainder back to the1597# # recognise in a loop before passing the remainder back to the
1586# # caller on the first unrecognised argument we encounter.1598# # caller on the first unrecognised argument we encounter.
1587# while test $# -gt 0; do1599# while test $# -gt 0; do
1588# opt=$1; shift1600# opt=$1; shift
1589# case $opt in1601# case $opt in
1590# --silent|-s) opt_silent=: ;;1602# --silent|-s) opt_silent=:
1603# args_changed=:
1604# ;;
1591# # Separate non-argument short options:1605# # Separate non-argument short options:
1592# -s*) func_split_short_opt "$_G_opt"1606# -s*) func_split_short_opt "$_G_opt"
1593# set dummy "$func_split_short_opt_name" \1607# set dummy "$func_split_short_opt_name" \
1594# "-$func_split_short_opt_arg" ${1+"$@"}1608# "-$func_split_short_opt_arg" ${1+"$@"}
1595# shift1609# shift
1610# args_changed=:
1596# ;;1611# ;;
1597# *) set dummy "$_G_opt" "$*"; shift; break ;;1612# *) # Make sure the first unrecognised option "$_G_opt"
1613# # is added back to "$@", we could need that later
1614# # if $args_changed is true.
1615# set dummy "$_G_opt" ${1+"$@"}; shift; break ;;
1598# esac1616# esac
1599# done1617# done
1600#1618#
1601# func_quote_for_eval ${1+"$@"}1619# if $args_changed; then
1602# my_silent_option_result=$func_quote_for_eval_result1620# func_quote_for_eval ${1+"$@"}
1621# my_silent_option_result=$func_quote_for_eval_result
1622# fi
1623#
1624# $args_changed
1603# }1625# }
1604# func_add_hook func_parse_options my_silent_option1626# func_add_hook func_parse_options my_silent_option
1605#1627#
@@ -1611,16 +1633,32 @@ func_run_hooks ()
1611# $opt_silent && $opt_verbose && func_fatal_help "\1633# $opt_silent && $opt_verbose && func_fatal_help "\
1612# '--silent' and '--verbose' options are mutually exclusive."1634# '--silent' and '--verbose' options are mutually exclusive."
1613#1635#
1614# func_quote_for_eval ${1+"$@"}1636# false
1615# my_option_validation_result=$func_quote_for_eval_result
1616# }1637# }
1617# func_add_hook func_validate_options my_option_validation1638# func_add_hook func_validate_options my_option_validation
1618#1639#
1619# You'll alse need to manually amend $usage_message to reflect the extra1640# You'll also need to manually amend $usage_message to reflect the extra
1620# options you parse. It's preferable to append if you can, so that1641# options you parse. It's preferable to append if you can, so that
1621# multiple option parsing hooks can be added safely.1642# multiple option parsing hooks can be added safely.
16221643
16231644
1645# func_options_finish [ARG]...
1646# ----------------------------
1647# Finishing the option parse loop (call 'func_options' hooks ATM).
1648func_options_finish ()
1649{
1650 $debug_cmd
1651
1652 _G_func_options_finish_exit=false
1653 if func_run_hooks func_options ${1+"$@"}; then
1654 func_options_finish_result=$func_run_hooks_result
1655 _G_func_options_finish_exit=:
1656 fi
1657
1658 $_G_func_options_finish_exit
1659}
1660
1661
1624# func_options [ARG]...1662# func_options [ARG]...
1625# ---------------------1663# ---------------------
1626# All the functions called inside func_options are hookable. See the1664# All the functions called inside func_options are hookable. See the
@@ -1630,17 +1668,28 @@ func_options ()
1630{1668{
1631 $debug_cmd1669 $debug_cmd
16321670
1633 func_options_prep ${1+"$@"}1671 _G_rc_options=false
1634 eval func_parse_options \1672
1635 ${func_options_prep_result+"$func_options_prep_result"}1673 for my_func in options_prep parse_options validate_options options_finish
1636 eval func_validate_options \1674 do
1637 ${func_parse_options_result+"$func_parse_options_result"}1675 if eval func_$my_func '${1+"$@"}'; then
1676 eval _G_res_var='$'"func_${my_func}_result"
1677 eval set dummy "$_G_res_var" ; shift
1678 _G_rc_options=:
1679 fi
1680 done
16381681
1639 eval func_run_hooks func_options \1682 # Save modified positional parameters for caller. As a top-level
1640 ${func_validate_options_result+"$func_validate_options_result"}1683 # options-parser function we always need to set the 'func_options_result'
1684 # variable (regardless the $_G_rc_options value).
1685 if $_G_rc_options; then
1686 func_options_result=$_G_res_var
1687 else
1688 func_quote_for_eval ${1+"$@"}
1689 func_options_result=$func_quote_for_eval_result
1690 fi
16411691
1642 # save modified positional parameters for caller1692 $_G_rc_options
1643 func_options_result=$func_run_hooks_result
1644}1693}
16451694
16461695
@@ -1649,9 +1698,9 @@ func_options ()
1649# All initialisations required before starting the option parse loop.1698# All initialisations required before starting the option parse loop.
1650# Note that when calling hook functions, we pass through the list of1699# Note that when calling hook functions, we pass through the list of
1651# positional parameters. If a hook function modifies that list, and1700# positional parameters. If a hook function modifies that list, and
1652# needs to propogate that back to rest of this script, then the complete1701# needs to propagate that back to rest of this script, then the complete
1653# modified list must be put in 'func_run_hooks_result' before1702# modified list must be put in 'func_run_hooks_result' before
1654# returning.1703# returning $EXIT_SUCCESS (otherwise $EXIT_FAILURE is returned).
1655func_hookable func_options_prep1704func_hookable func_options_prep
1656func_options_prep ()1705func_options_prep ()
1657{1706{
@@ -1661,10 +1710,14 @@ func_options_prep ()
1661 opt_verbose=false1710 opt_verbose=false
1662 opt_warning_types=1711 opt_warning_types=
16631712
1664 func_run_hooks func_options_prep ${1+"$@"}1713 _G_rc_options_prep=false
1714 if func_run_hooks func_options_prep ${1+"$@"}; then
1715 _G_rc_options_prep=:
1716 # save modified positional parameters for caller
1717 func_options_prep_result=$func_run_hooks_result
1718 fi
16651719
1666 # save modified positional parameters for caller1720 $_G_rc_options_prep
1667 func_options_prep_result=$func_run_hooks_result
1668}1721}
16691722
16701723
@@ -1678,18 +1731,20 @@ func_parse_options ()
16781731
1679 func_parse_options_result=1732 func_parse_options_result=
16801733
1734 _G_rc_parse_options=false
1681 # this just eases exit handling1735 # this just eases exit handling
1682 while test $# -gt 0; do1736 while test $# -gt 0; do
1683 # Defer to hook functions for initial option parsing, so they1737 # Defer to hook functions for initial option parsing, so they
1684 # get priority in the event of reusing an option name.1738 # get priority in the event of reusing an option name.
1685 func_run_hooks func_parse_options ${1+"$@"}1739 if func_run_hooks func_parse_options ${1+"$@"}; then
16861740 eval set dummy "$func_run_hooks_result"; shift
1687 # Adjust func_parse_options positional parameters to match1741 _G_rc_parse_options=:
1688 eval set dummy "$func_run_hooks_result"; shift1742 fi
16891743
1690 # Break out of the loop if we already parsed every option.1744 # Break out of the loop if we already parsed every option.
1691 test $# -gt 0 || break1745 test $# -gt 0 || break
16921746
1747 _G_match_parse_options=:
1693 _G_opt=$11748 _G_opt=$1
1694 shift1749 shift
1695 case $_G_opt in1750 case $_G_opt in
@@ -1704,7 +1759,10 @@ func_parse_options ()
1704 ;;1759 ;;
17051760
1706 --warnings|--warning|-W)1761 --warnings|--warning|-W)
1707 test $# = 0 && func_missing_arg $_G_opt && break1762 if test $# = 0 && func_missing_arg $_G_opt; then
1763 _G_rc_parse_options=:
1764 break
1765 fi
1708 case " $warning_categories $1" in1766 case " $warning_categories $1" in
1709 *" $1 "*)1767 *" $1 "*)
1710 # trailing space prevents matching last $1 above1768 # trailing space prevents matching last $1 above
@@ -1757,15 +1815,25 @@ func_parse_options ()
1757 shift1815 shift
1758 ;;1816 ;;
17591817
1760 --) break ;;1818 --) _G_rc_parse_options=: ; break ;;
1761 -*) func_fatal_help "unrecognised option: '$_G_opt'" ;;1819 -*) func_fatal_help "unrecognised option: '$_G_opt'" ;;
1762 *) set dummy "$_G_opt" ${1+"$@"}; shift; break ;;1820 *) set dummy "$_G_opt" ${1+"$@"}; shift
1821 _G_match_parse_options=false
1822 break
1823 ;;
1763 esac1824 esac
1825
1826 $_G_match_parse_options && _G_rc_parse_options=:
1764 done1827 done
17651828
1766 # save modified positional parameters for caller1829
1767 func_quote_for_eval ${1+"$@"}1830 if $_G_rc_parse_options; then
1768 func_parse_options_result=$func_quote_for_eval_result1831 # save modified positional parameters for caller
1832 func_quote_for_eval ${1+"$@"}
1833 func_parse_options_result=$func_quote_for_eval_result
1834 fi
1835
1836 $_G_rc_parse_options
1769}1837}
17701838
17711839
@@ -1778,16 +1846,21 @@ func_validate_options ()
1778{1846{
1779 $debug_cmd1847 $debug_cmd
17801848
1849 _G_rc_validate_options=false
1850
1781 # Display all warnings if -W was not given.1851 # Display all warnings if -W was not given.
1782 test -n "$opt_warning_types" || opt_warning_types=" $warning_categories"1852 test -n "$opt_warning_types" || opt_warning_types=" $warning_categories"
17831853
1784 func_run_hooks func_validate_options ${1+"$@"}1854 if func_run_hooks func_validate_options ${1+"$@"}; then
1855 # save modified positional parameters for caller
1856 func_validate_options_result=$func_run_hooks_result
1857 _G_rc_validate_options=:
1858 fi
17851859
1786 # Bail if the options were screwed!1860 # Bail if the options were screwed!
1787 $exit_cmd $EXIT_FAILURE1861 $exit_cmd $EXIT_FAILURE
17881862
1789 # save modified positional parameters for caller1863 $_G_rc_validate_options
1790 func_validate_options_result=$func_run_hooks_result
1791}1864}
17921865
17931866
@@ -2068,12 +2141,12 @@ include the following information:
2068 compiler: $LTCC2141 compiler: $LTCC
2069 compiler flags: $LTCFLAGS2142 compiler flags: $LTCFLAGS
2070 linker: $LD (gnu? $with_gnu_ld)2143 linker: $LD (gnu? $with_gnu_ld)
2071 version: $progname (GNU libtool) 2.4.62144 version: $progname $scriptversion Debian-2.4.6-8
2072 automake: `($AUTOMAKE --version) 2>/dev/null |$SED 1q`2145 automake: `($AUTOMAKE --version) 2>/dev/null |$SED 1q`
2073 autoconf: `($AUTOCONF --version) 2>/dev/null |$SED 1q`2146 autoconf: `($AUTOCONF --version) 2>/dev/null |$SED 1q`
20742147
2075Report bugs to <bug-libtool@gnu.org>.2148Report bugs to <bug-libtool@gnu.org>.
2076GNU libtool home page: <http://www.gnu.org/software/libtool/>.2149GNU libtool home page: <http://www.gnu.org/s/libtool/>.
2077General help using GNU software: <http://www.gnu.org/gethelp/>."2150General help using GNU software: <http://www.gnu.org/gethelp/>."
2078 exit 02151 exit 0
2079}2152}
@@ -2270,6 +2343,8 @@ libtool_options_prep ()
2270 nonopt=2343 nonopt=
2271 preserve_args=2344 preserve_args=
22722345
2346 _G_rc_lt_options_prep=:
2347
2273 # Shorthand for --mode=foo, only valid as the first argument2348 # Shorthand for --mode=foo, only valid as the first argument
2274 case $1 in2349 case $1 in
2275 clean|clea|cle|cl)2350 clean|clea|cle|cl)
@@ -2293,11 +2368,18 @@ libtool_options_prep ()
2293 uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u)2368 uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u)
2294 shift; set dummy --mode uninstall ${1+"$@"}; shift2369 shift; set dummy --mode uninstall ${1+"$@"}; shift
2295 ;;2370 ;;
2371 *)
2372 _G_rc_lt_options_prep=false
2373 ;;
2296 esac2374 esac
22972375
2298 # Pass back the list of options.2376 if $_G_rc_lt_options_prep; then
2299 func_quote_for_eval ${1+"$@"}2377 # Pass back the list of options.
2300 libtool_options_prep_result=$func_quote_for_eval_result2378 func_quote_for_eval ${1+"$@"}
2379 libtool_options_prep_result=$func_quote_for_eval_result
2380 fi
2381
2382 $_G_rc_lt_options_prep
2301}2383}
2302func_add_hook func_options_prep libtool_options_prep2384func_add_hook func_options_prep libtool_options_prep
23032385
@@ -2309,9 +2391,12 @@ libtool_parse_options ()
2309{2391{
2310 $debug_cmd2392 $debug_cmd
23112393
2394 _G_rc_lt_parse_options=false
2395
2312 # Perform our own loop to consume as many options as possible in2396 # Perform our own loop to consume as many options as possible in
2313 # each iteration.2397 # each iteration.
2314 while test $# -gt 0; do2398 while test $# -gt 0; do
2399 _G_match_lt_parse_options=:
2315 _G_opt=$12400 _G_opt=$1
2316 shift2401 shift
2317 case $_G_opt in2402 case $_G_opt in
@@ -2386,15 +2471,22 @@ libtool_parse_options ()
2386 func_append preserve_args " $_G_opt"2471 func_append preserve_args " $_G_opt"
2387 ;;2472 ;;
23882473
2389 # An option not handled by this hook function:2474 # An option not handled by this hook function:
2390 *) set dummy "$_G_opt" ${1+"$@"}; shift; break ;;2475 *) set dummy "$_G_opt" ${1+"$@"} ; shift
2476 _G_match_lt_parse_options=false
2477 break
2478 ;;
2391 esac2479 esac
2480 $_G_match_lt_parse_options && _G_rc_lt_parse_options=:
2392 done2481 done
23932482
2483 if $_G_rc_lt_parse_options; then
2484 # save modified positional parameters for caller
2485 func_quote_for_eval ${1+"$@"}
2486 libtool_parse_options_result=$func_quote_for_eval_result
2487 fi
23942488
2395 # save modified positional parameters for caller2489 $_G_rc_lt_parse_options
2396 func_quote_for_eval ${1+"$@"}
2397 libtool_parse_options_result=$func_quote_for_eval_result
2398}2490}
2399func_add_hook func_parse_options libtool_parse_options2491func_add_hook func_parse_options libtool_parse_options
24002492
@@ -7274,10 +7366,11 @@ func_mode_link ()
7274 # -O*, -g*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization7366 # -O*, -g*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
7275 # -specs=* GCC specs files7367 # -specs=* GCC specs files
7276 # -stdlib=* select c++ std lib with clang7368 # -stdlib=* select c++ std lib with clang
7369 # -fsanitize=* Clang/GCC memory and address sanitizer
7277 -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \7370 -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
7278 -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \7371 -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
7279 -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*| \7372 -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*| \
7280 -specs=*)7373 -specs=*|-fsanitize=*)
7281 func_quote_for_eval "$arg"7374 func_quote_for_eval "$arg"
7282 arg=$func_quote_for_eval_result7375 arg=$func_quote_for_eval_result
7283 func_append compile_command " $arg"7376 func_append compile_command " $arg"
@@ -7570,7 +7663,10 @@ func_mode_link ()
7570 case $pass in7663 case $pass in
7571 dlopen) libs=$dlfiles ;;7664 dlopen) libs=$dlfiles ;;
7572 dlpreopen) libs=$dlprefiles ;;7665 dlpreopen) libs=$dlprefiles ;;
7573 link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;7666 link)
7667 libs="$deplibs %DEPLIBS%"
7668 test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs"
7669 ;;
7574 esac7670 esac
7575 fi7671 fi
7576 if test lib,dlpreopen = "$linkmode,$pass"; then7672 if test lib,dlpreopen = "$linkmode,$pass"; then
@@ -7889,19 +7985,19 @@ func_mode_link ()
7889 # It is a libtool convenience library, so add in its objects.7985 # It is a libtool convenience library, so add in its objects.
7890 func_append convenience " $ladir/$objdir/$old_library"7986 func_append convenience " $ladir/$objdir/$old_library"
7891 func_append old_convenience " $ladir/$objdir/$old_library"7987 func_append old_convenience " $ladir/$objdir/$old_library"
7988 tmp_libs=
7989 for deplib in $dependency_libs; do
7990 deplibs="$deplib $deplibs"
7991 if $opt_preserve_dup_deps; then
7992 case "$tmp_libs " in
7993 *" $deplib "*) func_append specialdeplibs " $deplib" ;;
7994 esac
7995 fi
7996 func_append tmp_libs " $deplib"
7997 done
7892 elif test prog != "$linkmode" && test lib != "$linkmode"; then7998 elif test prog != "$linkmode" && test lib != "$linkmode"; then
7893 func_fatal_error "'$lib' is not a convenience library"7999 func_fatal_error "'$lib' is not a convenience library"
7894 fi8000 fi
7895 tmp_libs=
7896 for deplib in $dependency_libs; do
7897 deplibs="$deplib $deplibs"
7898 if $opt_preserve_dup_deps; then
7899 case "$tmp_libs " in
7900 *" $deplib "*) func_append specialdeplibs " $deplib" ;;
7901 esac
7902 fi
7903 func_append tmp_libs " $deplib"
7904 done
7905 continue8001 continue
7906 fi # $pass = conv8002 fi # $pass = conv
79078003
@@ -8825,6 +8921,9 @@ func_mode_link ()
8825 revision=$number_minor8921 revision=$number_minor
8826 lt_irix_increment=no8922 lt_irix_increment=no
8827 ;;8923 ;;
8924 *)
8925 func_fatal_configuration "$modename: unknown library version type '$version_type'"
8926 ;;
8828 esac8927 esac
8829 ;;8928 ;;
8830 no)8929 no)
diff --git a/build-aux/missing b/build-aux/missing
index b7e571e..625aeb1 100755
--- a/build-aux/missing
+++ b/build-aux/missing
@@ -1,9 +1,9 @@
1#!/bin/sh1#! /bin/sh
2# Common wrapper for a few potentially missing GNU programs.2# Common wrapper for a few potentially missing GNU programs.
33
4scriptversion=2016-01-11.22; # UTC4scriptversion=2018-03-07.03; # UTC
55
6# Copyright (C) 1996-2017 Free Software Foundation, Inc.6# Copyright (C) 1996-2018 Free Software Foundation, Inc.
7# Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.7# Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
88
9# This program is free software; you can redistribute it and/or modify9# This program is free software; you can redistribute it and/or modify
@@ -17,7 +17,7 @@ scriptversion=2016-01-11.22; # UTC
17# GNU General Public License for more details.17# GNU General Public License for more details.
1818
19# You should have received a copy of the GNU General Public License19# 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
22# As a special exception to the GNU General Public License, if you22# As a special exception to the GNU General Public License, if you
23# distribute this file as part of a program that contains a23# distribute this file as part of a program that contains a
@@ -101,9 +101,9 @@ else
101 exit $st101 exit $st
102fi102fi
103103
104perl_URL=http://www.perl.org/104perl_URL=https://www.perl.org/
105flex_URL=http://flex.sourceforge.net/105flex_URL=https://github.com/westes/flex
106gnu_software_URL=http://www.gnu.org/software106gnu_software_URL=https://www.gnu.org/software
107107
108program_details ()108program_details ()
109{109{
@@ -207,7 +207,7 @@ give_advice "$1" | sed -e '1s/^/WARNING: /' \
207exit $st207exit $st
208208
209# Local variables:209# Local variables:
210# eval: (add-hook 'write-file-hooks 'time-stamp)210# eval: (add-hook 'before-save-hook 'time-stamp)
211# time-stamp-start: "scriptversion="211# time-stamp-start: "scriptversion="
212# time-stamp-format: "%:y-%02m-%02d.%02H"212# time-stamp-format: "%:y-%02m-%02d.%02H"
213# time-stamp-time-zone: "UTC0"213# time-stamp-time-zone: "UTC0"
diff --git a/clutter/Makefile.in b/clutter/Makefile.in
index 0827a9c..fd88e85 100644
--- a/clutter/Makefile.in
+++ b/clutter/Makefile.in
@@ -1,7 +1,7 @@
1# Makefile.in generated by automake 1.15.1 from Makefile.am.1# Makefile.in generated by automake 1.16.1 from Makefile.am.
2# @configure_input@2# @configure_input@
33
4# Copyright (C) 1994-2017 Free Software Foundation, Inc.4# Copyright (C) 1994-2018 Free Software Foundation, Inc.
55
6# This Makefile.in is free software; the Free Software Foundation6# This Makefile.in is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it,7# gives unlimited permission to copy and/or distribute it,
@@ -144,7 +144,7 @@ am__recursive_targets = \
144 $(RECURSIVE_CLEAN_TARGETS) \144 $(RECURSIVE_CLEAN_TARGETS) \
145 $(am__extra_recursive_targets)145 $(am__extra_recursive_targets)
146AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \146AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
147 cscope distdir dist dist-all distcheck147 cscope distdir distdir-am dist dist-all distcheck
148am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)148am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
149# Read a list of newline-separated strings from the standard input,149# Read a list of newline-separated strings from the standard input,
150# and print each of them once, without duplicates. Input order is150# and print each of them once, without duplicates. Input order is
@@ -394,6 +394,7 @@ pdfdir = @pdfdir@
394prefix = @prefix@394prefix = @prefix@
395program_transform_name = @program_transform_name@395program_transform_name = @program_transform_name@
396psdir = @psdir@396psdir = @psdir@
397runstatedir = @runstatedir@
397sbindir = @sbindir@398sbindir = @sbindir@
398sharedstatedir = @sharedstatedir@399sharedstatedir = @sharedstatedir@
399srcdir = @srcdir@400srcdir = @srcdir@
@@ -437,8 +438,8 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
437 echo ' $(SHELL) ./config.status'; \438 echo ' $(SHELL) ./config.status'; \
438 $(SHELL) ./config.status;; \439 $(SHELL) ./config.status;; \
439 *) \440 *) \
440 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \441 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \
441 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \442 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \
442 esac;443 esac;
443444
444$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)445$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
@@ -565,7 +566,10 @@ distclean-tags:
565 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags566 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
566 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files567 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
567568
568distdir: $(DISTFILES)569distdir: $(BUILT_SOURCES)
570 $(MAKE) $(AM_MAKEFLAGS) distdir-am
571
572distdir-am: $(DISTFILES)
569 $(am__remove_distdir)573 $(am__remove_distdir)
570 test -d "$(distdir)" || mkdir "$(distdir)"574 test -d "$(distdir)" || mkdir "$(distdir)"
571 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \575 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
diff --git a/clutter/aclocal.m4 b/clutter/aclocal.m4
index 56e90b0..24c7061 100644
--- a/clutter/aclocal.m4
+++ b/clutter/aclocal.m4
@@ -1,6 +1,6 @@
1# generated automatically by aclocal 1.15.1 -*- Autoconf -*-1# generated automatically by aclocal 1.16.1 -*- Autoconf -*-
22
3# Copyright (C) 1996-2017 Free Software Foundation, Inc.3# Copyright (C) 1996-2018 Free Software Foundation, Inc.
44
5# This file is free software; the Free Software Foundation5# This file is free software; the Free Software Foundation
6# gives unlimited permission to copy and/or distribute it,6# gives unlimited permission to copy and/or distribute it,
@@ -20,9 +20,224 @@ You have another version of autoconf. It may work, but is not guaranteed to.
20If you have problems, you may need to regenerate the build system entirely.20If you have problems, you may need to regenerate the build system entirely.
21To do so, use the procedure documented by the package, typically 'autoreconf'.])])21To do so, use the procedure documented by the package, typically 'autoreconf'.])])
2222
23# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-23# Configure paths for GLIB
24# serial 11 (pkg-config-0.29.1)24# Owen Taylor 1997-2001
25
26# Increment this whenever this file is changed.
27#serial 1
28
29dnl AM_PATH_GLIB_2_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
30dnl Test for GLIB, and define GLIB_CFLAGS and GLIB_LIBS, if gmodule, gobject,
31dnl gthread, or gio is specified in MODULES, pass to pkg-config
32dnl
33AC_DEFUN([AM_PATH_GLIB_2_0],
34[dnl
35dnl Get the cflags and libraries from pkg-config
36dnl
37AC_ARG_ENABLE(glibtest, [ --disable-glibtest do not try to compile and run a test GLIB program],
38 , enable_glibtest=yes)
39
40 pkg_config_args=glib-2.0
41 for module in . $4
42 do
43 case "$module" in
44 gmodule)
45 pkg_config_args="$pkg_config_args gmodule-2.0"
46 ;;
47 gmodule-no-export)
48 pkg_config_args="$pkg_config_args gmodule-no-export-2.0"
49 ;;
50 gobject)
51 pkg_config_args="$pkg_config_args gobject-2.0"
52 ;;
53 gthread)
54 pkg_config_args="$pkg_config_args gthread-2.0"
55 ;;
56 gio*)
57 pkg_config_args="$pkg_config_args $module-2.0"
58 ;;
59 esac
60 done
61
62 PKG_PROG_PKG_CONFIG([0.16])
63
64 no_glib=""
65
66 if test "x$PKG_CONFIG" = x ; then
67 no_glib=yes
68 PKG_CONFIG=no
69 fi
70
71 min_glib_version=ifelse([$1], ,2.0.0,$1)
72 AC_MSG_CHECKING(for GLIB - version >= $min_glib_version)
73
74 if test x$PKG_CONFIG != xno ; then
75 ## don't try to run the test against uninstalled libtool libs
76 if $PKG_CONFIG --uninstalled $pkg_config_args; then
77 echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"
78 enable_glibtest=no
79 fi
80
81 if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
82 :
83 else
84 no_glib=yes
85 fi
86 fi
87
88 if test x"$no_glib" = x ; then
89 GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
90 GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0`
91 GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
92 GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable=glib_compile_resources gio-2.0`
93
94 GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
95 GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
96 glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \
97 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
98 glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \
99 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
100 glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \
101 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
102 if test "x$enable_glibtest" = "xyes" ; then
103 ac_save_CFLAGS="$CFLAGS"
104 ac_save_LIBS="$LIBS"
105 CFLAGS="$CFLAGS $GLIB_CFLAGS"
106 LIBS="$GLIB_LIBS $LIBS"
107dnl
108dnl Now check if the installed GLIB is sufficiently new. (Also sanity
109dnl checks the results of pkg-config to some extent)
110dnl
111 rm -f conf.glibtest
112 AC_TRY_RUN([
113#include <glib.h>
114#include <stdio.h>
115#include <stdlib.h>
116
117int
118main (void)
119{
120 unsigned int major, minor, micro;
121
122 fclose (fopen ("conf.glibtest", "w"));
123
124 if (sscanf("$min_glib_version", "%u.%u.%u", &major, &minor, &micro) != 3) {
125 printf("%s, bad version string\n", "$min_glib_version");
126 exit(1);
127 }
128
129 if ((glib_major_version != $glib_config_major_version) ||
130 (glib_minor_version != $glib_config_minor_version) ||
131 (glib_micro_version != $glib_config_micro_version))
132 {
133 printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
134 $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
135 glib_major_version, glib_minor_version, glib_micro_version);
136 printf ("*** was found! If pkg-config was correct, then it is best\n");
137 printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
138 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
139 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
140 printf("*** required on your system.\n");
141 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
142 printf("*** to point to the correct configuration files\n");
143 }
144 else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
145 (glib_minor_version != GLIB_MINOR_VERSION) ||
146 (glib_micro_version != GLIB_MICRO_VERSION))
147 {
148 printf("*** GLIB header files (version %d.%d.%d) do not match\n",
149 GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
150 printf("*** library (version %d.%d.%d)\n",
151 glib_major_version, glib_minor_version, glib_micro_version);
152 }
153 else
154 {
155 if ((glib_major_version > major) ||
156 ((glib_major_version == major) && (glib_minor_version > minor)) ||
157 ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
158 {
159 return 0;
160 }
161 else
162 {
163 printf("\n*** An old version of GLIB (%u.%u.%u) was found.\n",
164 glib_major_version, glib_minor_version, glib_micro_version);
165 printf("*** You need a version of GLIB newer than %u.%u.%u. The latest version of\n",
166 major, minor, micro);
167 printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
168 printf("***\n");
169 printf("*** If you have already installed a sufficiently new version, this error\n");
170 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
171 printf("*** being found. The easiest way to fix this is to remove the old version\n");
172 printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n");
173 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
174 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
175 printf("*** so that the correct libraries are found at run-time))\n");
176 }
177 }
178 return 1;
179}
180],, no_glib=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
181 CFLAGS="$ac_save_CFLAGS"
182 LIBS="$ac_save_LIBS"
183 fi
184 fi
185 if test "x$no_glib" = x ; then
186 AC_MSG_RESULT(yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version))
187 ifelse([$2], , :, [$2])
188 else
189 AC_MSG_RESULT(no)
190 if test "$PKG_CONFIG" = "no" ; then
191 echo "*** A new enough version of pkg-config was not found."
192 echo "*** See http://www.freedesktop.org/software/pkgconfig/"
193 else
194 if test -f conf.glibtest ; then
195 :
196 else
197 echo "*** Could not run GLIB test program, checking why..."
198 ac_save_CFLAGS="$CFLAGS"
199 ac_save_LIBS="$LIBS"
200 CFLAGS="$CFLAGS $GLIB_CFLAGS"
201 LIBS="$LIBS $GLIB_LIBS"
202 AC_TRY_LINK([
203#include <glib.h>
204#include <stdio.h>
205], [ return ((glib_major_version) || (glib_minor_version) || (glib_micro_version)); ],
206 [ echo "*** The test program compiled, but did not run. This usually means"
207 echo "*** that the run-time linker is not finding GLIB or finding the wrong"
208 echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
209 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
210 echo "*** to the installed location Also, make sure you have run ldconfig if that"
211 echo "*** is required on your system"
212 echo "***"
213 echo "*** If you have an old version installed, it is best to remove it, although"
214 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ],
215 [ echo "*** The test program failed to compile or link. See the file config.log for the"
216 echo "*** exact error that occured. This usually means GLIB is incorrectly installed."])
217 CFLAGS="$ac_save_CFLAGS"
218 LIBS="$ac_save_LIBS"
219 fi
220 fi
221 GLIB_CFLAGS=""
222 GLIB_LIBS=""
223 GLIB_GENMARSHAL=""
224 GOBJECT_QUERY=""
225 GLIB_MKENUMS=""
226 GLIB_COMPILE_RESOURCES=""
227 ifelse([$3], , :, [$3])
228 fi
229 AC_SUBST(GLIB_CFLAGS)
230 AC_SUBST(GLIB_LIBS)
231 AC_SUBST(GLIB_GENMARSHAL)
232 AC_SUBST(GOBJECT_QUERY)
233 AC_SUBST(GLIB_MKENUMS)
234 AC_SUBST(GLIB_COMPILE_RESOURCES)
235 rm -f conf.glibtest
236])
25237
238dnl pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
239dnl serial 11 (pkg-config-0.29.1)
240dnl
26dnl Copyright © 2004 Scott James Remnant <scott@netsplit.com>.241dnl Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
27dnl Copyright © 2012-2015 Dan Nicholson <dbn.lists@gmail.com>242dnl Copyright © 2012-2015 Dan Nicholson <dbn.lists@gmail.com>
28dnl243dnl
@@ -296,290 +511,7 @@ AS_VAR_COPY([$1], [pkg_cv_][$1])
296AS_VAR_IF([$1], [""], [$5], [$4])dnl511AS_VAR_IF([$1], [""], [$5], [$4])dnl
297])dnl PKG_CHECK_VAR512])dnl PKG_CHECK_VAR
298513
299dnl PKG_WITH_MODULES(VARIABLE-PREFIX, MODULES,514# Copyright (C) 2002-2018 Free Software Foundation, Inc.
300dnl [ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND],
301dnl [DESCRIPTION], [DEFAULT])
302dnl ------------------------------------------
303dnl
304dnl Prepare a "--with-" configure option using the lowercase
305dnl [VARIABLE-PREFIX] name, merging the behaviour of AC_ARG_WITH and
306dnl PKG_CHECK_MODULES in a single macro.
307AC_DEFUN([PKG_WITH_MODULES],
308[
309m4_pushdef([with_arg], m4_tolower([$1]))
310
311m4_pushdef([description],
312 [m4_default([$5], [build with ]with_arg[ support])])
313
314m4_pushdef([def_arg], [m4_default([$6], [auto])])
315m4_pushdef([def_action_if_found], [AS_TR_SH([with_]with_arg)=yes])
316m4_pushdef([def_action_if_not_found], [AS_TR_SH([with_]with_arg)=no])
317
318m4_case(def_arg,
319 [yes],[m4_pushdef([with_without], [--without-]with_arg)],
320 [m4_pushdef([with_without],[--with-]with_arg)])
321
322AC_ARG_WITH(with_arg,
323 AS_HELP_STRING(with_without, description[ @<:@default=]def_arg[@:>@]),,
324 [AS_TR_SH([with_]with_arg)=def_arg])
325
326AS_CASE([$AS_TR_SH([with_]with_arg)],
327 [yes],[PKG_CHECK_MODULES([$1],[$2],$3,$4)],
328 [auto],[PKG_CHECK_MODULES([$1],[$2],
329 [m4_n([def_action_if_found]) $3],
330 [m4_n([def_action_if_not_found]) $4])])
331
332m4_popdef([with_arg])
333m4_popdef([description])
334m4_popdef([def_arg])
335
336])dnl PKG_WITH_MODULES
337
338dnl PKG_HAVE_WITH_MODULES(VARIABLE-PREFIX, MODULES,
339dnl [DESCRIPTION], [DEFAULT])
340dnl -----------------------------------------------
341dnl
342dnl Convenience macro to trigger AM_CONDITIONAL after PKG_WITH_MODULES
343dnl check._[VARIABLE-PREFIX] is exported as make variable.
344AC_DEFUN([PKG_HAVE_WITH_MODULES],
345[
346PKG_WITH_MODULES([$1],[$2],,,[$3],[$4])
347
348AM_CONDITIONAL([HAVE_][$1],
349 [test "$AS_TR_SH([with_]m4_tolower([$1]))" = "yes"])
350])dnl PKG_HAVE_WITH_MODULES
351
352dnl PKG_HAVE_DEFINE_WITH_MODULES(VARIABLE-PREFIX, MODULES,
353dnl [DESCRIPTION], [DEFAULT])
354dnl ------------------------------------------------------
355dnl
356dnl Convenience macro to run AM_CONDITIONAL and AC_DEFINE after
357dnl PKG_WITH_MODULES check. HAVE_[VARIABLE-PREFIX] is exported as make
358dnl and preprocessor variable.
359AC_DEFUN([PKG_HAVE_DEFINE_WITH_MODULES],
360[
361PKG_HAVE_WITH_MODULES([$1],[$2],[$3],[$4])
362
363AS_IF([test "$AS_TR_SH([with_]m4_tolower([$1]))" = "yes"],
364 [AC_DEFINE([HAVE_][$1], 1, [Enable ]m4_tolower([$1])[ support])])
365])dnl PKG_HAVE_DEFINE_WITH_MODULES
366
367# Configure paths for GLIB
368# Owen Taylor 1997-2001
369
370# Increment this whenever this file is changed.
371#serial 1
372
373dnl AM_PATH_GLIB_2_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
374dnl Test for GLIB, and define GLIB_CFLAGS and GLIB_LIBS, if gmodule, gobject,
375dnl gthread, or gio is specified in MODULES, pass to pkg-config
376dnl
377AC_DEFUN([AM_PATH_GLIB_2_0],
378[dnl
379dnl Get the cflags and libraries from pkg-config
380dnl
381AC_ARG_ENABLE(glibtest, [ --disable-glibtest do not try to compile and run a test GLIB program],
382 , enable_glibtest=yes)
383
384 pkg_config_args=glib-2.0
385 for module in . $4
386 do
387 case "$module" in
388 gmodule)
389 pkg_config_args="$pkg_config_args gmodule-2.0"
390 ;;
391 gmodule-no-export)
392 pkg_config_args="$pkg_config_args gmodule-no-export-2.0"
393 ;;
394 gobject)
395 pkg_config_args="$pkg_config_args gobject-2.0"
396 ;;
397 gthread)
398 pkg_config_args="$pkg_config_args gthread-2.0"
399 ;;
400 gio*)
401 pkg_config_args="$pkg_config_args $module-2.0"
402 ;;
403 esac
404 done
405
406 PKG_PROG_PKG_CONFIG([0.16])
407
408 no_glib=""
409
410 if test "x$PKG_CONFIG" = x ; then
411 no_glib=yes
412 PKG_CONFIG=no
413 fi
414
415 min_glib_version=ifelse([$1], ,2.0.0,$1)
416 AC_MSG_CHECKING(for GLIB - version >= $min_glib_version)
417
418 if test x$PKG_CONFIG != xno ; then
419 ## don't try to run the test against uninstalled libtool libs
420 if $PKG_CONFIG --uninstalled $pkg_config_args; then
421 echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"
422 enable_glibtest=no
423 fi
424
425 if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
426 :
427 else
428 no_glib=yes
429 fi
430 fi
431
432 if test x"$no_glib" = x ; then
433 GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
434 GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0`
435 GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
436 GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable=glib_compile_resources gio-2.0`
437
438 GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
439 GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
440 glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \
441 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
442 glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \
443 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
444 glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \
445 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
446 if test "x$enable_glibtest" = "xyes" ; then
447 ac_save_CFLAGS="$CFLAGS"
448 ac_save_LIBS="$LIBS"
449 CFLAGS="$CFLAGS $GLIB_CFLAGS"
450 LIBS="$GLIB_LIBS $LIBS"
451dnl
452dnl Now check if the installed GLIB is sufficiently new. (Also sanity
453dnl checks the results of pkg-config to some extent)
454dnl
455 rm -f conf.glibtest
456 AC_TRY_RUN([
457#include <glib.h>
458#include <stdio.h>
459#include <stdlib.h>
460
461int
462main (void)
463{
464 unsigned int major, minor, micro;
465
466 fclose (fopen ("conf.glibtest", "w"));
467
468 if (sscanf("$min_glib_version", "%u.%u.%u", &major, &minor, &micro) != 3) {
469 printf("%s, bad version string\n", "$min_glib_version");
470 exit(1);
471 }
472
473 if ((glib_major_version != $glib_config_major_version) ||
474 (glib_minor_version != $glib_config_minor_version) ||
475 (glib_micro_version != $glib_config_micro_version))
476 {
477 printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
478 $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
479 glib_major_version, glib_minor_version, glib_micro_version);
480 printf ("*** was found! If pkg-config was correct, then it is best\n");
481 printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
482 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
483 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
484 printf("*** required on your system.\n");
485 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
486 printf("*** to point to the correct configuration files\n");
487 }
488 else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
489 (glib_minor_version != GLIB_MINOR_VERSION) ||
490 (glib_micro_version != GLIB_MICRO_VERSION))
491 {
492 printf("*** GLIB header files (version %d.%d.%d) do not match\n",
493 GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
494 printf("*** library (version %d.%d.%d)\n",
495 glib_major_version, glib_minor_version, glib_micro_version);
496 }
497 else
498 {
499 if ((glib_major_version > major) ||
500 ((glib_major_version == major) && (glib_minor_version > minor)) ||
501 ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
502 {
503 return 0;
504 }
505 else
506 {
507 printf("\n*** An old version of GLIB (%u.%u.%u) was found.\n",
508 glib_major_version, glib_minor_version, glib_micro_version);
509 printf("*** You need a version of GLIB newer than %u.%u.%u. The latest version of\n",
510 major, minor, micro);
511 printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
512 printf("***\n");
513 printf("*** If you have already installed a sufficiently new version, this error\n");
514 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
515 printf("*** being found. The easiest way to fix this is to remove the old version\n");
516 printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n");
517 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
518 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
519 printf("*** so that the correct libraries are found at run-time))\n");
520 }
521 }
522 return 1;
523}
524],, no_glib=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
525 CFLAGS="$ac_save_CFLAGS"
526 LIBS="$ac_save_LIBS"
527 fi
528 fi
529 if test "x$no_glib" = x ; then
530 AC_MSG_RESULT(yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version))
531 ifelse([$2], , :, [$2])
532 else
533 AC_MSG_RESULT(no)
534 if test "$PKG_CONFIG" = "no" ; then
535 echo "*** A new enough version of pkg-config was not found."
536 echo "*** See http://www.freedesktop.org/software/pkgconfig/"
537 else
538 if test -f conf.glibtest ; then
539 :
540 else
541 echo "*** Could not run GLIB test program, checking why..."
542 ac_save_CFLAGS="$CFLAGS"
543 ac_save_LIBS="$LIBS"
544 CFLAGS="$CFLAGS $GLIB_CFLAGS"
545 LIBS="$LIBS $GLIB_LIBS"
546 AC_TRY_LINK([
547#include <glib.h>
548#include <stdio.h>
549], [ return ((glib_major_version) || (glib_minor_version) || (glib_micro_version)); ],
550 [ echo "*** The test program compiled, but did not run. This usually means"
551 echo "*** that the run-time linker is not finding GLIB or finding the wrong"
552 echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
553 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
554 echo "*** to the installed location Also, make sure you have run ldconfig if that"
555 echo "*** is required on your system"
556 echo "***"
557 echo "*** If you have an old version installed, it is best to remove it, although"
558 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ],
559 [ echo "*** The test program failed to compile or link. See the file config.log for the"
560 echo "*** exact error that occured. This usually means GLIB is incorrectly installed."])
561 CFLAGS="$ac_save_CFLAGS"
562 LIBS="$ac_save_LIBS"
563 fi
564 fi
565 GLIB_CFLAGS=""
566 GLIB_LIBS=""
567 GLIB_GENMARSHAL=""
568 GOBJECT_QUERY=""
569 GLIB_MKENUMS=""
570 GLIB_COMPILE_RESOURCES=""
571 ifelse([$3], , :, [$3])
572 fi
573 AC_SUBST(GLIB_CFLAGS)
574 AC_SUBST(GLIB_LIBS)
575 AC_SUBST(GLIB_GENMARSHAL)
576 AC_SUBST(GOBJECT_QUERY)
577 AC_SUBST(GLIB_MKENUMS)
578 AC_SUBST(GLIB_COMPILE_RESOURCES)
579 rm -f conf.glibtest
580])
581
582# Copyright (C) 2002-2017 Free Software Foundation, Inc.
583#515#
584# This file is free software; the Free Software Foundation516# This file is free software; the Free Software Foundation
585# gives unlimited permission to copy and/or distribute it,517# gives unlimited permission to copy and/or distribute it,
@@ -591,10 +523,10 @@ main (void)
591# generated from the m4 files accompanying Automake X.Y.523# generated from the m4 files accompanying Automake X.Y.
592# (This private macro should not be called outside this file.)524# (This private macro should not be called outside this file.)
593AC_DEFUN([AM_AUTOMAKE_VERSION],525AC_DEFUN([AM_AUTOMAKE_VERSION],
594[am__api_version='1.15'526[am__api_version='1.16'
595dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to527dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
596dnl require some minimum version. Point them to the right macro.528dnl require some minimum version. Point them to the right macro.
597m4_if([$1], [1.15.1], [],529m4_if([$1], [1.16.1], [],
598 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl530 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
599])531])
600532
@@ -610,14 +542,14 @@ m4_define([_AM_AUTOCONF_VERSION], [])
610# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.542# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
611# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.543# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
612AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],544AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
613[AM_AUTOMAKE_VERSION([1.15.1])dnl545[AM_AUTOMAKE_VERSION([1.16.1])dnl
614m4_ifndef([AC_AUTOCONF_VERSION],546m4_ifndef([AC_AUTOCONF_VERSION],
615 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl547 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
616_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])548_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
617549
618# AM_AUX_DIR_EXPAND -*- Autoconf -*-550# AM_AUX_DIR_EXPAND -*- Autoconf -*-
619551
620# Copyright (C) 2001-2017 Free Software Foundation, Inc.552# Copyright (C) 2001-2018 Free Software Foundation, Inc.
621#553#
622# This file is free software; the Free Software Foundation554# This file is free software; the Free Software Foundation
623# gives unlimited permission to copy and/or distribute it,555# gives unlimited permission to copy and/or distribute it,
@@ -669,7 +601,7 @@ am_aux_dir=`cd "$ac_aux_dir" && pwd`
669601
670# AM_CONDITIONAL -*- Autoconf -*-602# AM_CONDITIONAL -*- Autoconf -*-
671603
672# Copyright (C) 1997-2017 Free Software Foundation, Inc.604# Copyright (C) 1997-2018 Free Software Foundation, Inc.
673#605#
674# This file is free software; the Free Software Foundation606# This file is free software; the Free Software Foundation
675# gives unlimited permission to copy and/or distribute it,607# gives unlimited permission to copy and/or distribute it,
@@ -700,7 +632,7 @@ AC_CONFIG_COMMANDS_PRE(
700Usually this means the macro was only invoked conditionally.]])632Usually this means the macro was only invoked conditionally.]])
701fi])])633fi])])
702634
703# Copyright (C) 1999-2017 Free Software Foundation, Inc.635# Copyright (C) 1999-2018 Free Software Foundation, Inc.
704#636#
705# This file is free software; the Free Software Foundation637# This file is free software; the Free Software Foundation
706# gives unlimited permission to copy and/or distribute it,638# gives unlimited permission to copy and/or distribute it,
@@ -891,13 +823,12 @@ _AM_SUBST_NOTMAKE([am__nodep])dnl
891823
892# Generate code to set up dependency tracking. -*- Autoconf -*-824# Generate code to set up dependency tracking. -*- Autoconf -*-
893825
894# Copyright (C) 1999-2017 Free Software Foundation, Inc.826# Copyright (C) 1999-2018 Free Software Foundation, Inc.
895#827#
896# This file is free software; the Free Software Foundation828# This file is free software; the Free Software Foundation
897# gives unlimited permission to copy and/or distribute it,829# gives unlimited permission to copy and/or distribute it,
898# with or without modifications, as long as this notice is preserved.830# with or without modifications, as long as this notice is preserved.
899831
900
901# _AM_OUTPUT_DEPENDENCY_COMMANDS832# _AM_OUTPUT_DEPENDENCY_COMMANDS
902# ------------------------------833# ------------------------------
903AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],834AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
@@ -905,49 +836,41 @@ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
905 # Older Autoconf quotes --file arguments for eval, but not when files836 # Older Autoconf quotes --file arguments for eval, but not when files
906 # are listed without --file. Let's play safe and only enable the eval837 # are listed without --file. Let's play safe and only enable the eval
907 # if we detect the quoting.838 # if we detect the quoting.
908 case $CONFIG_FILES in839 # TODO: see whether this extra hack can be removed once we start
909 *\'*) eval set x "$CONFIG_FILES" ;;840 # requiring Autoconf 2.70 or later.
910 *) set x $CONFIG_FILES ;;841 AS_CASE([$CONFIG_FILES],
911 esac842 [*\'*], [eval set x "$CONFIG_FILES"],
843 [*], [set x $CONFIG_FILES])
912 shift844 shift
913 for mf845 # Used to flag and report bootstrapping failures.
846 am_rc=0
847 for am_mf
914 do848 do
915 # Strip MF so we end up with the name of the file.849 # Strip MF so we end up with the name of the file.
916 mf=`echo "$mf" | sed -e 's/:.*$//'`850 am_mf=`AS_ECHO(["$am_mf"]) | sed -e 's/:.*$//'`
917 # Check whether this is an Automake generated Makefile or not.851 # Check whether this is an Automake generated Makefile which includes
918 # We used to match only the files named 'Makefile.in', but852 # dependency-tracking related rules and includes.
919 # some people rename them; so instead we look at the file content.853 # Grep'ing the whole file directly is not great: AIX grep has a line
920 # Grep'ing the first line is not enough: some people post-process
921 # each Makefile.in and add a new line on top of each file to say so.
922 # Grep'ing the whole file is not good either: AIX grep has a line
923 # limit of 2048, but all sed's we know have understand at least 4000.854 # limit of 2048, but all sed's we know have understand at least 4000.
924 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then855 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
925 dirpart=`AS_DIRNAME("$mf")`856 || continue
926 else857 am_dirpart=`AS_DIRNAME(["$am_mf"])`
927 continue858 am_filepart=`AS_BASENAME(["$am_mf"])`
928 fi859 AM_RUN_LOG([cd "$am_dirpart" \
929 # Extract the definition of DEPDIR, am__include, and am__quote860 && sed -e '/# am--include-marker/d' "$am_filepart" \
930 # from the Makefile without running 'make'.861 | $MAKE -f - am--depfiles]) || am_rc=$?
931 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
932 test -z "$DEPDIR" && continue
933 am__include=`sed -n 's/^am__include = //p' < "$mf"`
934 test -z "$am__include" && continue
935 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
936 # Find all dependency output files, they are included files with
937 # $(DEPDIR) in their names. We invoke sed twice because it is the
938 # simplest approach to changing $(DEPDIR) to its actual value in the
939 # expansion.
940 for file in `sed -n "
941 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
942 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
943 # Make sure the directory exists.
944 test -f "$dirpart/$file" && continue
945 fdir=`AS_DIRNAME(["$file"])`
946 AS_MKDIR_P([$dirpart/$fdir])
947 # echo "creating $dirpart/$file"
948 echo '# dummy' > "$dirpart/$file"
949 done
950 done862 done
863 if test $am_rc -ne 0; then
864 AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments
865 for automatic dependency tracking. Try re-running configure with the
866 '--disable-dependency-tracking' option to at least be able to build
867 the package (albeit without support for automatic dependency tracking).])
868 fi
869 AS_UNSET([am_dirpart])
870 AS_UNSET([am_filepart])
871 AS_UNSET([am_mf])
872 AS_UNSET([am_rc])
873 rm -f conftest-deps.mk
951}874}
952])# _AM_OUTPUT_DEPENDENCY_COMMANDS875])# _AM_OUTPUT_DEPENDENCY_COMMANDS
953876
@@ -956,18 +879,17 @@ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
956# -----------------------------879# -----------------------------
957# This macro should only be invoked once -- use via AC_REQUIRE.880# This macro should only be invoked once -- use via AC_REQUIRE.
958#881#
959# This code is only required when automatic dependency tracking882# This code is only required when automatic dependency tracking is enabled.
960# is enabled. FIXME. This creates each '.P' file that we will883# This creates each '.Po' and '.Plo' makefile fragment that we'll need in
961# need in order to bootstrap the dependency handling code.884# order to bootstrap the dependency handling code.
962AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],885AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
963[AC_CONFIG_COMMANDS([depfiles],886[AC_CONFIG_COMMANDS([depfiles],
964 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],887 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
965 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])888 [AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"])])
966])
967889
968# Do all the work for Automake. -*- Autoconf -*-890# Do all the work for Automake. -*- Autoconf -*-
969891
970# Copyright (C) 1996-2017 Free Software Foundation, Inc.892# Copyright (C) 1996-2018 Free Software Foundation, Inc.
971#893#
972# This file is free software; the Free Software Foundation894# This file is free software; the Free Software Foundation
973# gives unlimited permission to copy and/or distribute it,895# gives unlimited permission to copy and/or distribute it,
@@ -1054,8 +976,8 @@ AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
1054AC_REQUIRE([AC_PROG_MKDIR_P])dnl976AC_REQUIRE([AC_PROG_MKDIR_P])dnl
1055# For better backward compatibility. To be removed once Automake 1.9.x977# For better backward compatibility. To be removed once Automake 1.9.x
1056# dies out for good. For more background, see:978# dies out for good. For more background, see:
1057# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>979# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
1058# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>980# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
1059AC_SUBST([mkdir_p], ['$(MKDIR_P)'])981AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
1060# We need awk for the "check" target (and possibly the TAP driver). The982# We need awk for the "check" target (and possibly the TAP driver). The
1061# system "awk" is bad on some platforms.983# system "awk" is bad on some platforms.
@@ -1122,7 +1044,7 @@ END
1122Aborting the configuration process, to ensure you take notice of the issue.1044Aborting the configuration process, to ensure you take notice of the issue.
11231045
1124You can download and install GNU coreutils to get an 'rm' implementation1046You can download and install GNU coreutils to get an 'rm' implementation
1125that behaves properly: <http://www.gnu.org/software/coreutils/>.1047that behaves properly: <https://www.gnu.org/software/coreutils/>.
11261048
1127If you want to complete the configuration process using your problematic1049If you want to complete the configuration process using your problematic
1128'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM1050'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
@@ -1164,7 +1086,7 @@ for _am_header in $config_headers :; do
1164done1086done
1165echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])1087echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
11661088
1167# Copyright (C) 2001-2017 Free Software Foundation, Inc.1089# Copyright (C) 2001-2018 Free Software Foundation, Inc.
1168#1090#
1169# This file is free software; the Free Software Foundation1091# This file is free software; the Free Software Foundation
1170# gives unlimited permission to copy and/or distribute it,1092# gives unlimited permission to copy and/or distribute it,
@@ -1185,7 +1107,7 @@ if test x"${install_sh+set}" != xset; then
1185fi1107fi
1186AC_SUBST([install_sh])])1108AC_SUBST([install_sh])])
11871109
1188# Copyright (C) 2003-2017 Free Software Foundation, Inc.1110# Copyright (C) 2003-2018 Free Software Foundation, Inc.
1189#1111#
1190# This file is free software; the Free Software Foundation1112# This file is free software; the Free Software Foundation
1191# gives unlimited permission to copy and/or distribute it,1113# gives unlimited permission to copy and/or distribute it,
@@ -1206,7 +1128,7 @@ AC_SUBST([am__leading_dot])])
12061128
1207# Check to see how 'make' treats includes. -*- Autoconf -*-1129# Check to see how 'make' treats includes. -*- Autoconf -*-
12081130
1209# Copyright (C) 2001-2017 Free Software Foundation, Inc.1131# Copyright (C) 2001-2018 Free Software Foundation, Inc.
1210#1132#
1211# This file is free software; the Free Software Foundation1133# This file is free software; the Free Software Foundation
1212# gives unlimited permission to copy and/or distribute it,1134# gives unlimited permission to copy and/or distribute it,
@@ -1214,49 +1136,42 @@ AC_SUBST([am__leading_dot])])
12141136
1215# AM_MAKE_INCLUDE()1137# AM_MAKE_INCLUDE()
1216# -----------------1138# -----------------
1217# Check to see how make treats includes.1139# Check whether make has an 'include' directive that can support all
1140# the idioms we need for our automatic dependency tracking code.
1218AC_DEFUN([AM_MAKE_INCLUDE],1141AC_DEFUN([AM_MAKE_INCLUDE],
1219[am_make=${MAKE-make}1142[AC_MSG_CHECKING([whether ${MAKE-make} supports the include directive])
1220cat > confinc << 'END'1143cat > confinc.mk << 'END'
1221am__doit:1144am__doit:
1222 @echo this is the am__doit target1145 @echo this is the am__doit target >confinc.out
1223.PHONY: am__doit1146.PHONY: am__doit
1224END1147END
1225# If we don't find an include directive, just comment out the code.
1226AC_MSG_CHECKING([for style of include used by $am_make])
1227am__include="#"1148am__include="#"
1228am__quote=1149am__quote=
1229_am_result=none1150# BSD make does it like this.
1230# First try GNU make style include.1151echo '.include "confinc.mk" # ignored' > confmf.BSD
1231echo "include confinc" > confmf1152# Other make implementations (GNU, Solaris 10, AIX) do it like this.
1232# Ignore all kinds of additional output from 'make'.1153echo 'include confinc.mk # ignored' > confmf.GNU
1233case `$am_make -s -f confmf 2> /dev/null` in #(1154_am_result=no
1234*the\ am__doit\ target*)1155for s in GNU BSD; do
1235 am__include=include1156 AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out])
1236 am__quote=1157 AS_CASE([$?:`cat confinc.out 2>/dev/null`],
1237 _am_result=GNU1158 ['0:this is the am__doit target'],
1238 ;;1159 [AS_CASE([$s],
1239esac1160 [BSD], [am__include='.include' am__quote='"'],
1240# Now try BSD make style include.1161 [am__include='include' am__quote=''])])
1241if test "$am__include" = "#"; then1162 if test "$am__include" != "#"; then
1242 echo '.include "confinc"' > confmf1163 _am_result="yes ($s style)"
1243 case `$am_make -s -f confmf 2> /dev/null` in #(1164 break
1244 *the\ am__doit\ target*)1165 fi
1245 am__include=.include1166done
1246 am__quote="\""1167rm -f confinc.* confmf.*
1247 _am_result=BSD1168AC_MSG_RESULT([${_am_result}])
1248 ;;1169AC_SUBST([am__include])])
1249 esac1170AC_SUBST([am__quote])])
1250fi
1251AC_SUBST([am__include])
1252AC_SUBST([am__quote])
1253AC_MSG_RESULT([$_am_result])
1254rm -f confinc confmf
1255])
12561171
1257# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-1172# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
12581173
1259# Copyright (C) 1997-2017 Free Software Foundation, Inc.1174# Copyright (C) 1997-2018 Free Software Foundation, Inc.
1260#1175#
1261# This file is free software; the Free Software Foundation1176# This file is free software; the Free Software Foundation
1262# gives unlimited permission to copy and/or distribute it,1177# gives unlimited permission to copy and/or distribute it,
@@ -1295,7 +1210,7 @@ fi
12951210
1296# Helper functions for option handling. -*- Autoconf -*-1211# Helper functions for option handling. -*- Autoconf -*-
12971212
1298# Copyright (C) 2001-2017 Free Software Foundation, Inc.1213# Copyright (C) 2001-2018 Free Software Foundation, Inc.
1299#1214#
1300# This file is free software; the Free Software Foundation1215# This file is free software; the Free Software Foundation
1301# gives unlimited permission to copy and/or distribute it,1216# gives unlimited permission to copy and/or distribute it,
@@ -1324,7 +1239,7 @@ AC_DEFUN([_AM_SET_OPTIONS],
1324AC_DEFUN([_AM_IF_OPTION],1239AC_DEFUN([_AM_IF_OPTION],
1325[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])1240[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
13261241
1327# Copyright (C) 1999-2017 Free Software Foundation, Inc.1242# Copyright (C) 1999-2018 Free Software Foundation, Inc.
1328#1243#
1329# This file is free software; the Free Software Foundation1244# This file is free software; the Free Software Foundation
1330# gives unlimited permission to copy and/or distribute it,1245# gives unlimited permission to copy and/or distribute it,
@@ -1371,7 +1286,7 @@ AC_LANG_POP([C])])
1371# For backward compatibility.1286# For backward compatibility.
1372AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])1287AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
13731288
1374# Copyright (C) 2001-2017 Free Software Foundation, Inc.1289# Copyright (C) 2001-2018 Free Software Foundation, Inc.
1375#1290#
1376# This file is free software; the Free Software Foundation1291# This file is free software; the Free Software Foundation
1377# gives unlimited permission to copy and/or distribute it,1292# gives unlimited permission to copy and/or distribute it,
@@ -1390,7 +1305,7 @@ AC_DEFUN([AM_RUN_LOG],
13901305
1391# Check to make sure that the build environment is sane. -*- Autoconf -*-1306# Check to make sure that the build environment is sane. -*- Autoconf -*-
13921307
1393# Copyright (C) 1996-2017 Free Software Foundation, Inc.1308# Copyright (C) 1996-2018 Free Software Foundation, Inc.
1394#1309#
1395# This file is free software; the Free Software Foundation1310# This file is free software; the Free Software Foundation
1396# gives unlimited permission to copy and/or distribute it,1311# gives unlimited permission to copy and/or distribute it,
@@ -1471,7 +1386,7 @@ AC_CONFIG_COMMANDS_PRE(
1471rm -f conftest.file1386rm -f conftest.file
1472])1387])
14731388
1474# Copyright (C) 2009-2017 Free Software Foundation, Inc.1389# Copyright (C) 2009-2018 Free Software Foundation, Inc.
1475#1390#
1476# This file is free software; the Free Software Foundation1391# This file is free software; the Free Software Foundation
1477# gives unlimited permission to copy and/or distribute it,1392# gives unlimited permission to copy and/or distribute it,
@@ -1531,7 +1446,7 @@ AC_SUBST([AM_BACKSLASH])dnl
1531_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl1446_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
1532])1447])
15331448
1534# Copyright (C) 2001-2017 Free Software Foundation, Inc.1449# Copyright (C) 2001-2018 Free Software Foundation, Inc.
1535#1450#
1536# This file is free software; the Free Software Foundation1451# This file is free software; the Free Software Foundation
1537# gives unlimited permission to copy and/or distribute it,1452# gives unlimited permission to copy and/or distribute it,
@@ -1559,7 +1474,7 @@ fi
1559INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"1474INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1560AC_SUBST([INSTALL_STRIP_PROGRAM])])1475AC_SUBST([INSTALL_STRIP_PROGRAM])])
15611476
1562# Copyright (C) 2006-2017 Free Software Foundation, Inc.1477# Copyright (C) 2006-2018 Free Software Foundation, Inc.
1563#1478#
1564# This file is free software; the Free Software Foundation1479# This file is free software; the Free Software Foundation
1565# gives unlimited permission to copy and/or distribute it,1480# gives unlimited permission to copy and/or distribute it,
@@ -1578,7 +1493,7 @@ AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
15781493
1579# Check how to create a tarball. -*- Autoconf -*-1494# Check how to create a tarball. -*- Autoconf -*-
15801495
1581# Copyright (C) 2004-2017 Free Software Foundation, Inc.1496# Copyright (C) 2004-2018 Free Software Foundation, Inc.
1582#1497#
1583# This file is free software; the Free Software Foundation1498# This file is free software; the Free Software Foundation
1584# gives unlimited permission to copy and/or distribute it,1499# gives unlimited permission to copy and/or distribute it,
diff --git a/clutter/build/Makefile.in b/clutter/build/Makefile.in
index d7be1ec..7fbab51 100644
--- a/clutter/build/Makefile.in
+++ b/clutter/build/Makefile.in
@@ -1,7 +1,7 @@
1# Makefile.in generated by automake 1.15.1 from Makefile.am.1# Makefile.in generated by automake 1.16.1 from Makefile.am.
2# @configure_input@2# @configure_input@
33
4# Copyright (C) 1994-2017 Free Software Foundation, Inc.4# Copyright (C) 1994-2018 Free Software Foundation, Inc.
55
6# This Makefile.in is free software; the Free Software Foundation6# This Makefile.in is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it,7# gives unlimited permission to copy and/or distribute it,
@@ -140,7 +140,7 @@ am__recursive_targets = \
140 $(RECURSIVE_CLEAN_TARGETS) \140 $(RECURSIVE_CLEAN_TARGETS) \
141 $(am__extra_recursive_targets)141 $(am__extra_recursive_targets)
142AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \142AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
143 distdir143 distdir distdir-am
144am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)144am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
145# Read a list of newline-separated strings from the standard input,145# Read a list of newline-separated strings from the standard input,
146# and print each of them once, without duplicates. Input order is146# and print each of them once, without duplicates. Input order is
@@ -372,6 +372,7 @@ pdfdir = @pdfdir@
372prefix = @prefix@372prefix = @prefix@
373program_transform_name = @program_transform_name@373program_transform_name = @program_transform_name@
374psdir = @psdir@374psdir = @psdir@
375runstatedir = @runstatedir@
375sbindir = @sbindir@376sbindir = @sbindir@
376sharedstatedir = @sharedstatedir@377sharedstatedir = @sharedstatedir@
377srcdir = @srcdir@378srcdir = @srcdir@
@@ -401,8 +402,8 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
401 *config.status*) \402 *config.status*) \
402 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \403 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
403 *) \404 *) \
404 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \405 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
405 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \406 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
406 esac;407 esac;
407408
408$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)409$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
@@ -519,7 +520,10 @@ cscopelist-am: $(am__tagged_files)
519distclean-tags:520distclean-tags:
520 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags521 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
521522
522distdir: $(DISTFILES)523distdir: $(BUILT_SOURCES)
524 $(MAKE) $(AM_MAKEFLAGS) distdir-am
525
526distdir-am: $(DISTFILES)
523 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \527 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
524 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \528 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
525 list='$(DISTFILES)'; \529 list='$(DISTFILES)'; \
diff --git a/clutter/build/autotools/Makefile.in b/clutter/build/autotools/Makefile.in
index 098b030..489ce7a 100644
--- a/clutter/build/autotools/Makefile.in
+++ b/clutter/build/autotools/Makefile.in
@@ -1,7 +1,7 @@
1# Makefile.in generated by automake 1.15.1 from Makefile.am.1# Makefile.in generated by automake 1.16.1 from Makefile.am.
2# @configure_input@2# @configure_input@
33
4# Copyright (C) 1994-2017 Free Software Foundation, Inc.4# Copyright (C) 1994-2018 Free Software Foundation, Inc.
55
6# This Makefile.in is free software; the Free Software Foundation6# This Makefile.in is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it,7# gives unlimited permission to copy and/or distribute it,
@@ -311,6 +311,7 @@ pdfdir = @pdfdir@
311prefix = @prefix@311prefix = @prefix@
312program_transform_name = @program_transform_name@312program_transform_name = @program_transform_name@
313psdir = @psdir@313psdir = @psdir@
314runstatedir = @runstatedir@
314sbindir = @sbindir@315sbindir = @sbindir@
315sharedstatedir = @sharedstatedir@316sharedstatedir = @sharedstatedir@
316srcdir = @srcdir@317srcdir = @srcdir@
@@ -349,8 +350,8 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
349 *config.status*) \350 *config.status*) \
350 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \351 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
351 *) \352 *) \
352 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \353 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
353 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \354 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
354 esac;355 esac;
355356
356$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)357$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
@@ -374,7 +375,10 @@ ctags CTAGS:
374cscope cscopelist:375cscope cscopelist:
375376
376377
377distdir: $(DISTFILES)378distdir: $(BUILT_SOURCES)
379 $(MAKE) $(AM_MAKEFLAGS) distdir-am
380
381distdir-am: $(DISTFILES)
378 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \382 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
379 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \383 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
380 list='$(DISTFILES)'; \384 list='$(DISTFILES)'; \
diff --git a/clutter/build/autotools/libtool.m4 b/clutter/build/autotools/libtool.m4
index a644432..c81e669 100644
--- a/clutter/build/autotools/libtool.m4
+++ b/clutter/build/autotools/libtool.m4
@@ -728,7 +728,6 @@ _LT_CONFIG_SAVE_COMMANDS([
728 cat <<_LT_EOF >> "$cfgfile"728 cat <<_LT_EOF >> "$cfgfile"
729#! $SHELL729#! $SHELL
730# Generated automatically by $as_me ($PACKAGE) $VERSION730# Generated automatically by $as_me ($PACKAGE) $VERSION
731# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
732# NOTE: Changes made to this file will be lost: look at ltmain.sh.731# NOTE: Changes made to this file will be lost: look at ltmain.sh.
733732
734# Provide generalized library-building support services.733# Provide generalized library-building support services.
@@ -2867,9 +2866,6 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
2867 # before this can be enabled.2866 # before this can be enabled.
2868 hardcode_into_libs=yes2867 hardcode_into_libs=yes
28692868
2870 # Add ABI-specific directories to the system library path.
2871 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
2872
2873 # Ideally, we could use ldconfig to report *all* directores which are2869 # Ideally, we could use ldconfig to report *all* directores which are
2874 # searched for libraries, however this is still not possible. Aside from not2870 # searched for libraries, however this is still not possible. Aside from not
2875 # being certain /sbin/ldconfig is available, command2871 # being certain /sbin/ldconfig is available, command
@@ -2878,7 +2874,7 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
2878 # appending ld.so.conf contents (and includes) to the search path.2874 # appending ld.so.conf contents (and includes) to the search path.
2879 if test -f /etc/ld.so.conf; then2875 if test -f /etc/ld.so.conf; then
2880 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`2876 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
2881 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"2877 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
2882 fi2878 fi
28832879
2884 # We used to test for /lib/ld.so.1 and disable shared libraries on2880 # We used to test for /lib/ld.so.1 and disable shared libraries on
@@ -2890,6 +2886,18 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
2890 dynamic_linker='GNU/Linux ld.so'2886 dynamic_linker='GNU/Linux ld.so'
2891 ;;2887 ;;
28922888
2889netbsdelf*-gnu)
2890 version_type=linux
2891 need_lib_prefix=no
2892 need_version=no
2893 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
2894 soname_spec='${libname}${release}${shared_ext}$major'
2895 shlibpath_var=LD_LIBRARY_PATH
2896 shlibpath_overrides_runpath=no
2897 hardcode_into_libs=yes
2898 dynamic_linker='NetBSD ld.elf_so'
2899 ;;
2900
2893netbsd*)2901netbsd*)
2894 version_type=sunos2902 version_type=sunos
2895 need_lib_prefix=no2903 need_lib_prefix=no
@@ -3549,7 +3557,7 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
3549 lt_cv_deplibs_check_method=pass_all3557 lt_cv_deplibs_check_method=pass_all
3550 ;;3558 ;;
35513559
3552netbsd*)3560netbsd* | netbsdelf*-gnu)
3553 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then3561 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
3554 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'3562 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3555 else3563 else
@@ -4055,7 +4063,8 @@ _LT_EOF
4055 if AC_TRY_EVAL(ac_compile); then4063 if AC_TRY_EVAL(ac_compile); then
4056 # Now try to grab the symbols.4064 # Now try to grab the symbols.
4057 nlist=conftest.nm4065 nlist=conftest.nm
4058 if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) && test -s "$nlist"; then4066 $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&AS_MESSAGE_LOG_FD
4067 if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&AS_MESSAGE_LOG_FD && test -s "$nlist"; then
4059 # Try sorting and uniquifying the output.4068 # Try sorting and uniquifying the output.
4060 if sort "$nlist" | uniq > "$nlist"T; then4069 if sort "$nlist" | uniq > "$nlist"T; then
4061 mv -f "$nlist"T "$nlist"4070 mv -f "$nlist"T "$nlist"
@@ -4427,7 +4436,7 @@ m4_if([$1], [CXX], [
4427 ;;4436 ;;
4428 esac4437 esac
4429 ;;4438 ;;
4430 netbsd*)4439 netbsd* | netbsdelf*-gnu)
4431 ;;4440 ;;
4432 *qnx* | *nto*)4441 *qnx* | *nto*)
4433 # QNX uses GNU C++, but need to define -shared option too, otherwise4442 # QNX uses GNU C++, but need to define -shared option too, otherwise
@@ -4939,6 +4948,9 @@ m4_if([$1], [CXX], [
4939 ;;4948 ;;
4940 esac4949 esac
4941 ;;4950 ;;
4951 linux* | k*bsd*-gnu | gnu*)
4952 _LT_TAGVAR(link_all_deplibs, $1)=no
4953 ;;
4942 *)4954 *)
4943 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'4955 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
4944 ;;4956 ;;
@@ -5001,6 +5013,9 @@ dnl Note also adjust exclude_expsyms for C++ above.
5001 openbsd* | bitrig*)5013 openbsd* | bitrig*)
5002 with_gnu_ld=no5014 with_gnu_ld=no
5003 ;;5015 ;;
5016 linux* | k*bsd*-gnu | gnu*)
5017 _LT_TAGVAR(link_all_deplibs, $1)=no
5018 ;;
5004 esac5019 esac
50055020
5006 _LT_TAGVAR(ld_shlibs, $1)=yes5021 _LT_TAGVAR(ld_shlibs, $1)=yes
@@ -5255,7 +5270,7 @@ _LT_EOF
5255 fi5270 fi
5256 ;;5271 ;;
52575272
5258 netbsd*)5273 netbsd* | netbsdelf*-gnu)
5259 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then5274 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
5260 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'5275 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
5261 wlarc=5276 wlarc=
@@ -5776,6 +5791,7 @@ _LT_EOF
5776 if test yes = "$lt_cv_irix_exported_symbol"; then5791 if test yes = "$lt_cv_irix_exported_symbol"; then
5777 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'5792 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
5778 fi5793 fi
5794 _LT_TAGVAR(link_all_deplibs, $1)=no
5779 else5795 else
5780 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'5796 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
5781 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib'5797 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib'
@@ -5797,7 +5813,7 @@ _LT_EOF
5797 esac5813 esac
5798 ;;5814 ;;
57995815
5800 netbsd*)5816 netbsd* | netbsdelf*-gnu)
5801 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then5817 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
5802 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out5818 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
5803 else5819 else
@@ -6423,7 +6439,7 @@ if test yes != "$_lt_caught_CXX_error"; then
6423 # Commands to make compiler produce verbose output that lists6439 # Commands to make compiler produce verbose output that lists
6424 # what "hidden" libraries, object files and flags are used when6440 # what "hidden" libraries, object files and flags are used when
6425 # linking a shared library.6441 # linking a shared library.
6426 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'6442 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
64276443
6428 else6444 else
6429 GXX=no6445 GXX=no
@@ -6798,7 +6814,7 @@ if test yes != "$_lt_caught_CXX_error"; then
6798 # explicitly linking system object files so we need to strip them6814 # explicitly linking system object files so we need to strip them
6799 # from the output so that they don't get included in the library6815 # from the output so that they don't get included in the library
6800 # dependencies.6816 # dependencies.
6801 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'6817 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP " \-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
6802 ;;6818 ;;
6803 *)6819 *)
6804 if test yes = "$GXX"; then6820 if test yes = "$GXX"; then
@@ -6863,7 +6879,7 @@ if test yes != "$_lt_caught_CXX_error"; then
6863 # explicitly linking system object files so we need to strip them6879 # explicitly linking system object files so we need to strip them
6864 # from the output so that they don't get included in the library6880 # from the output so that they don't get included in the library
6865 # dependencies.6881 # dependencies.
6866 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'6882 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP " \-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
6867 ;;6883 ;;
6868 *)6884 *)
6869 if test yes = "$GXX"; then6885 if test yes = "$GXX"; then
@@ -7202,7 +7218,7 @@ if test yes != "$_lt_caught_CXX_error"; then
7202 # Commands to make compiler produce verbose output that lists7218 # Commands to make compiler produce verbose output that lists
7203 # what "hidden" libraries, object files and flags are used when7219 # what "hidden" libraries, object files and flags are used when
7204 # linking a shared library.7220 # linking a shared library.
7205 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'7221 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
72067222
7207 else7223 else
7208 # FIXME: insert proper C++ library support7224 # FIXME: insert proper C++ library support
@@ -7286,7 +7302,7 @@ if test yes != "$_lt_caught_CXX_error"; then
7286 # Commands to make compiler produce verbose output that lists7302 # Commands to make compiler produce verbose output that lists
7287 # what "hidden" libraries, object files and flags are used when7303 # what "hidden" libraries, object files and flags are used when
7288 # linking a shared library.7304 # linking a shared library.
7289 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'7305 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
7290 else7306 else
7291 # g++ 2.7 appears to require '-G' NOT '-shared' on this7307 # g++ 2.7 appears to require '-G' NOT '-shared' on this
7292 # platform.7308 # platform.
@@ -7297,7 +7313,7 @@ if test yes != "$_lt_caught_CXX_error"; then
7297 # Commands to make compiler produce verbose output that lists7313 # Commands to make compiler produce verbose output that lists
7298 # what "hidden" libraries, object files and flags are used when7314 # what "hidden" libraries, object files and flags are used when
7299 # linking a shared library.7315 # linking a shared library.
7300 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'7316 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
7301 fi7317 fi
73027318
7303 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $wl$libdir'7319 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $wl$libdir'
diff --git a/clutter/build/compile b/clutter/build/compile
index de0005d..99e5052 100755
--- a/clutter/build/compile
+++ b/clutter/build/compile
@@ -1,9 +1,9 @@
1#!/bin/sh1#! /bin/sh
2# Wrapper for compilers which do not understand '-c -o'.2# Wrapper for compilers which do not understand '-c -o'.
33
4scriptversion=2016-01-11.22; # UTC4scriptversion=2018-03-07.03; # UTC
55
6# Copyright (C) 1999-2017 Free Software Foundation, Inc.6# Copyright (C) 1999-2018 Free Software Foundation, Inc.
7# Written by Tom Tromey <tromey@cygnus.com>.7# Written by Tom Tromey <tromey@cygnus.com>.
8#8#
9# This program is free software; you can redistribute it and/or modify9# This program is free software; you can redistribute it and/or modify
@@ -17,7 +17,7 @@ scriptversion=2016-01-11.22; # UTC
17# GNU General Public License for more details.17# GNU General Public License for more details.
18#18#
19# You should have received a copy of the GNU General Public License19# 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
22# As a special exception to the GNU General Public License, if you22# As a special exception to the GNU General Public License, if you
23# distribute this file as part of a program that contains a23# distribute this file as part of a program that contains a
@@ -340,7 +340,7 @@ exit $ret
340# Local Variables:340# Local Variables:
341# mode: shell-script341# mode: shell-script
342# sh-indentation: 2342# sh-indentation: 2
343# eval: (add-hook 'write-file-hooks 'time-stamp)343# eval: (add-hook 'before-save-hook 'time-stamp)
344# time-stamp-start: "scriptversion="344# time-stamp-start: "scriptversion="
345# time-stamp-format: "%:y-%02m-%02d.%02H"345# time-stamp-format: "%:y-%02m-%02d.%02H"
346# time-stamp-time-zone: "UTC0"346# time-stamp-time-zone: "UTC0"
diff --git a/clutter/build/config.guess b/clutter/build/config.guess
index 717b228..f50dcdb 100755
--- a/clutter/build/config.guess
+++ b/clutter/build/config.guess
@@ -1,8 +1,8 @@
1#!/bin/sh1#! /bin/sh
2# Attempt to guess a canonical system name.2# Attempt to guess a canonical system name.
3# Copyright 1992-2017 Free Software Foundation, Inc.3# Copyright 1992-2018 Free Software Foundation, Inc.
44
5timestamp='2017-08-08'5timestamp='2018-02-24'
66
7# This file is free software; you can redistribute it and/or modify it7# This file is free software; you can redistribute it and/or modify it
8# under the terms of the GNU General Public License as published by8# under the terms of the GNU General Public License as published by
@@ -15,7 +15,7 @@ timestamp='2017-08-08'
15# General Public License for more details.15# General Public License for more details.
16#16#
17# You should have received a copy of the GNU General Public License17# 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/>.
19#19#
20# As a special exception to the GNU General Public License, if you20# As a special exception to the GNU General Public License, if you
21# distribute this file as part of a program that contains a21# distribute this file as part of a program that contains a
@@ -27,7 +27,7 @@ timestamp='2017-08-08'
27# Originally written by Per Bothner; maintained since 2000 by Ben Elliston.27# Originally written by Per Bothner; maintained since 2000 by Ben Elliston.
28#28#
29# You can get the latest version of this script from:29# 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.guess30# https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess
31#31#
32# Please send patches to <config-patches@gnu.org>.32# Please send patches to <config-patches@gnu.org>.
3333
@@ -39,7 +39,7 @@ Usage: $0 [OPTION]
3939
40Output the configuration name of the system \`$me' is run on.40Output the configuration name of the system \`$me' is run on.
4141
42Operation modes:42Options:
43 -h, --help print this help, then exit43 -h, --help print this help, then exit
44 -t, --time-stamp print date of last modification, then exit44 -t, --time-stamp print date of last modification, then exit
45 -v, --version print version number, then exit45 -v, --version print version number, then exit
@@ -50,7 +50,7 @@ version="\
50GNU config.guess ($timestamp)50GNU config.guess ($timestamp)
5151
52Originally written by Per Bothner.52Originally written by Per Bothner.
53Copyright 1992-2017 Free Software Foundation, Inc.53Copyright 1992-2018 Free Software Foundation, Inc.
5454
55This is free software; see the source for copying conditions. There is NO55This is free software; see the source for copying conditions. There is NO
56warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."56warranty; 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 ;
107dummy=$tmp/dummy ;107dummy=$tmp/dummy ;
108tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;108tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
109case $CC_FOR_BUILD,$HOST_CC,$CC in109case $CC_FOR_BUILD,$HOST_CC,$CC in
110 ,,) echo "int x;" > $dummy.c ;110 ,,) echo "int x;" > "$dummy.c" ;
111 for c in cc gcc c89 c99 ; do111 for c in cc gcc c89 c99 ; do
112 if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then112 if ($c -c -o "$dummy.o" "$dummy.c") >/dev/null 2>&1 ; then
113 CC_FOR_BUILD="$c"; break ;113 CC_FOR_BUILD="$c"; break ;
114 fi ;114 fi ;
115 done ;115 done ;
@@ -132,14 +132,14 @@ UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
132UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown132UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
133UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown133UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
134134
135case "${UNAME_SYSTEM}" in135case "$UNAME_SYSTEM" in
136Linux|GNU|GNU/*)136Linux|GNU|GNU/*)
137 # If the system lacks a compiler, then just pick glibc.137 # If the system lacks a compiler, then just pick glibc.
138 # We could probably try harder.138 # We could probably try harder.
139 LIBC=gnu139 LIBC=gnu
140140
141 eval $set_cc_for_build141 eval "$set_cc_for_build"
142 cat <<-EOF > $dummy.c142 cat <<-EOF > "$dummy.c"
143 #include <features.h>143 #include <features.h>
144 #if defined(__UCLIBC__)144 #if defined(__UCLIBC__)
145 LIBC=uclibc145 LIBC=uclibc
@@ -149,13 +149,20 @@ Linux|GNU|GNU/*)
149 LIBC=gnu149 LIBC=gnu
150 #endif150 #endif
151 EOF151 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
153 ;;160 ;;
154esac161esac
155162
156# Note: order is significant - the case branches are not exclusive.163# Note: order is significant - the case branches are not exclusive.
157164
158case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in165case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in
159 *:NetBSD:*:*)166 *:NetBSD:*:*)
160 # NetBSD (nbsd) targets should (where applicable) match one or167 # NetBSD (nbsd) targets should (where applicable) match one or
161 # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,168 # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
@@ -169,30 +176,30 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
169 # portion of the name. We always set it to "unknown".176 # portion of the name. We always set it to "unknown".
170 sysctl="sysctl -n hw.machine_arch"177 sysctl="sysctl -n hw.machine_arch"
171 UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \178 UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \
172 /sbin/$sysctl 2>/dev/null || \179 "/sbin/$sysctl" 2>/dev/null || \
173 /usr/sbin/$sysctl 2>/dev/null || \180 "/usr/sbin/$sysctl" 2>/dev/null || \
174 echo unknown)`181 echo unknown)`
175 case "${UNAME_MACHINE_ARCH}" in182 case "$UNAME_MACHINE_ARCH" in
176 armeb) machine=armeb-unknown ;;183 armeb) machine=armeb-unknown ;;
177 arm*) machine=arm-unknown ;;184 arm*) machine=arm-unknown ;;
178 sh3el) machine=shl-unknown ;;185 sh3el) machine=shl-unknown ;;
179 sh3eb) machine=sh-unknown ;;186 sh3eb) machine=sh-unknown ;;
180 sh5el) machine=sh5le-unknown ;;187 sh5el) machine=sh5le-unknown ;;
181 earmv*)188 earmv*)
182 arch=`echo ${UNAME_MACHINE_ARCH} | sed -e 's,^e\(armv[0-9]\).*$,\1,'`189 arch=`echo "$UNAME_MACHINE_ARCH" | sed -e 's,^e\(armv[0-9]\).*$,\1,'`
183 endian=`echo ${UNAME_MACHINE_ARCH} | sed -ne 's,^.*\(eb\)$,\1,p'`190 endian=`echo "$UNAME_MACHINE_ARCH" | sed -ne 's,^.*\(eb\)$,\1,p'`
184 machine=${arch}${endian}-unknown191 machine="${arch}${endian}"-unknown
185 ;;192 ;;
186 *) machine=${UNAME_MACHINE_ARCH}-unknown ;;193 *) machine="$UNAME_MACHINE_ARCH"-unknown ;;
187 esac194 esac
188 # The Operating System including object format, if it has switched195 # The Operating System including object format, if it has switched
189 # to ELF recently (or will in the future) and ABI.196 # to ELF recently (or will in the future) and ABI.
190 case "${UNAME_MACHINE_ARCH}" in197 case "$UNAME_MACHINE_ARCH" in
191 earm*)198 earm*)
192 os=netbsdelf199 os=netbsdelf
193 ;;200 ;;
194 arm*|i386|m68k|ns32k|sh3*|sparc|vax)201 arm*|i386|m68k|ns32k|sh3*|sparc|vax)
195 eval $set_cc_for_build202 eval "$set_cc_for_build"
196 if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \203 if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
197 | grep -q __ELF__204 | grep -q __ELF__
198 then205 then
@@ -208,10 +215,10 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
208 ;;215 ;;
209 esac216 esac
210 # Determine ABI tags.217 # Determine ABI tags.
211 case "${UNAME_MACHINE_ARCH}" in218 case "$UNAME_MACHINE_ARCH" in
212 earm*)219 earm*)
213 expr='s/^earmv[0-9]/-eabi/;s/eb$//'220 expr='s/^earmv[0-9]/-eabi/;s/eb$//'
214 abi=`echo ${UNAME_MACHINE_ARCH} | sed -e "$expr"`221 abi=`echo "$UNAME_MACHINE_ARCH" | sed -e "$expr"`
215 ;;222 ;;
216 esac223 esac
217 # The OS release224 # The OS release
@@ -219,49 +226,55 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
219 # thus, need a distinct triplet. However, they do not need226 # thus, need a distinct triplet. However, they do not need
220 # kernel version information, so it can be replaced with a227 # kernel version information, so it can be replaced with a
221 # suitable tag, in the style of linux-gnu.228 # suitable tag, in the style of linux-gnu.
222 case "${UNAME_VERSION}" in229 case "$UNAME_VERSION" in
223 Debian*)230 Debian*)
224 release='-gnu'231 release='-gnu'
225 ;;232 ;;
226 *)233 *)
227 release=`echo ${UNAME_RELEASE} | sed -e 's/[-_].*//' | cut -d. -f1,2`234 release=`echo "$UNAME_RELEASE" | sed -e 's/[-_].*//' | cut -d. -f1,2`
228 ;;235 ;;
229 esac236 esac
230 # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:237 # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
231 # contains redundant information, the shorter form:238 # contains redundant information, the shorter form:
232 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.239 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
233 echo "${machine}-${os}${release}${abi}"240 echo "$machine-${os}${release}${abi}"
234 exit ;;241 exit ;;
235 *:Bitrig:*:*)242 *:Bitrig:*:*)
236 UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`243 UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
237 echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE}244 echo "$UNAME_MACHINE_ARCH"-unknown-bitrig"$UNAME_RELEASE"
238 exit ;;245 exit ;;
239 *:OpenBSD:*:*)246 *:OpenBSD:*:*)
240 UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`247 UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
241 echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}248 echo "$UNAME_MACHINE_ARCH"-unknown-openbsd"$UNAME_RELEASE"
242 exit ;;249 exit ;;
243 *:LibertyBSD:*:*)250 *:LibertyBSD:*:*)
244 UNAME_MACHINE_ARCH=`arch | sed 's/^.*BSD\.//'`251 UNAME_MACHINE_ARCH=`arch | sed 's/^.*BSD\.//'`
245 echo ${UNAME_MACHINE_ARCH}-unknown-libertybsd${UNAME_RELEASE}252 echo "$UNAME_MACHINE_ARCH"-unknown-libertybsd"$UNAME_RELEASE"
253 exit ;;
254 *:MidnightBSD:*:*)
255 echo "$UNAME_MACHINE"-unknown-midnightbsd"$UNAME_RELEASE"
246 exit ;;256 exit ;;
247 *:ekkoBSD:*:*)257 *:ekkoBSD:*:*)
248 echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}258 echo "$UNAME_MACHINE"-unknown-ekkobsd"$UNAME_RELEASE"
249 exit ;;259 exit ;;
250 *:SolidBSD:*:*)260 *:SolidBSD:*:*)
251 echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}261 echo "$UNAME_MACHINE"-unknown-solidbsd"$UNAME_RELEASE"
252 exit ;;262 exit ;;
253 macppc:MirBSD:*:*)263 macppc:MirBSD:*:*)
254 echo powerpc-unknown-mirbsd${UNAME_RELEASE}264 echo powerpc-unknown-mirbsd"$UNAME_RELEASE"
255 exit ;;265 exit ;;
256 *:MirBSD:*:*)266 *:MirBSD:*:*)
257 echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}267 echo "$UNAME_MACHINE"-unknown-mirbsd"$UNAME_RELEASE"
258 exit ;;268 exit ;;
259 *:Sortix:*:*)269 *:Sortix:*:*)
260 echo ${UNAME_MACHINE}-unknown-sortix270 echo "$UNAME_MACHINE"-unknown-sortix
261 exit ;;271 exit ;;
262 *:Redox:*:*)272 *:Redox:*:*)
263 echo ${UNAME_MACHINE}-unknown-redox273 echo "$UNAME_MACHINE"-unknown-redox
264 exit ;;274 exit ;;
275 mips:OSF1:*.*)
276 echo mips-dec-osf1
277 exit ;;
265 alpha:OSF1:*:*)278 alpha:OSF1:*:*)
266 case $UNAME_RELEASE in279 case $UNAME_RELEASE in
267 *4.0)280 *4.0)
@@ -313,28 +326,19 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
313 # A Tn.n version is a released field test version.326 # A Tn.n version is a released field test version.
314 # A Xn.n version is an unreleased experimental baselevel.327 # A Xn.n version is an unreleased experimental baselevel.
315 # 1.2 uses "1.2" for uname -r.328 # 1.2 uses "1.2" for uname -r.
316 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`"
317 # Reset EXIT trap before exiting to avoid spurious non-zero exit code.330 # Reset EXIT trap before exiting to avoid spurious non-zero exit code.
318 exitcode=$?331 exitcode=$?
319 trap '' 0332 trap '' 0
320 exit $exitcode ;;333 exit $exitcode ;;
321 Alpha\ *:Windows_NT*:*)
322 # How do we know it's Interix rather than the generic POSIX subsystem?
323 # Should we change UNAME_MACHINE based on the output of uname instead
324 # of the specific Alpha model?
325 echo alpha-pc-interix
326 exit ;;
327 21064:Windows_NT:50:3)
328 echo alpha-dec-winnt3.5
329 exit ;;
330 Amiga*:UNIX_System_V:4.0:*)334 Amiga*:UNIX_System_V:4.0:*)
331 echo m68k-unknown-sysv4335 echo m68k-unknown-sysv4
332 exit ;;336 exit ;;
333 *:[Aa]miga[Oo][Ss]:*:*)337 *:[Aa]miga[Oo][Ss]:*:*)
334 echo ${UNAME_MACHINE}-unknown-amigaos338 echo "$UNAME_MACHINE"-unknown-amigaos
335 exit ;;339 exit ;;
336 *:[Mm]orph[Oo][Ss]:*:*)340 *:[Mm]orph[Oo][Ss]:*:*)
337 echo ${UNAME_MACHINE}-unknown-morphos341 echo "$UNAME_MACHINE"-unknown-morphos
338 exit ;;342 exit ;;
339 *:OS/390:*:*)343 *:OS/390:*:*)
340 echo i370-ibm-openedition344 echo i370-ibm-openedition
@@ -346,7 +350,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
346 echo powerpc-ibm-os400350 echo powerpc-ibm-os400
347 exit ;;351 exit ;;
348 arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)352 arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
349 echo arm-acorn-riscix${UNAME_RELEASE}353 echo arm-acorn-riscix"$UNAME_RELEASE"
350 exit ;;354 exit ;;
351 arm*:riscos:*:*|arm*:RISCOS:*:*)355 arm*:riscos:*:*|arm*:RISCOS:*:*)
352 echo arm-unknown-riscos356 echo arm-unknown-riscos
@@ -373,19 +377,19 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
373 sparc) echo sparc-icl-nx7; exit ;;377 sparc) echo sparc-icl-nx7; exit ;;
374 esac ;;378 esac ;;
375 s390x:SunOS:*:*)379 s390x:SunOS:*:*)
376 echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`380 echo "$UNAME_MACHINE"-ibm-solaris2"`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`"
377 exit ;;381 exit ;;
378 sun4H:SunOS:5.*:*)382 sun4H:SunOS:5.*:*)
379 echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`383 echo sparc-hal-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
380 exit ;;384 exit ;;
381 sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)385 sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
382 echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`386 echo sparc-sun-solaris2"`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`"
383 exit ;;387 exit ;;
384 i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)388 i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
385 echo i386-pc-auroraux${UNAME_RELEASE}389 echo i386-pc-auroraux"$UNAME_RELEASE"
386 exit ;;390 exit ;;
387 i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)391 i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
388 eval $set_cc_for_build392 eval "$set_cc_for_build"
389 SUN_ARCH=i386393 SUN_ARCH=i386
390 # If there is a compiler, see if it is configured for 64-bit objects.394 # If there is a compiler, see if it is configured for 64-bit objects.
391 # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.395 # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
@@ -398,13 +402,13 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
398 SUN_ARCH=x86_64402 SUN_ARCH=x86_64
399 fi403 fi
400 fi404 fi
401 echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`405 echo "$SUN_ARCH"-pc-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
402 exit ;;406 exit ;;
403 sun4*:SunOS:6*:*)407 sun4*:SunOS:6*:*)
404 # According to config.sub, this is the proper way to canonicalize408 # According to config.sub, this is the proper way to canonicalize
405 # SunOS6. Hard to guess exactly what SunOS6 will be like, but409 # SunOS6. Hard to guess exactly what SunOS6 will be like, but
406 # it's likely to be more like Solaris than SunOS4.410 # it's likely to be more like Solaris than SunOS4.
407 echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`411 echo sparc-sun-solaris3"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
408 exit ;;412 exit ;;
409 sun4*:SunOS:*:*)413 sun4*:SunOS:*:*)
410 case "`/usr/bin/arch -k`" in414 case "`/usr/bin/arch -k`" in
@@ -413,25 +417,25 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
413 ;;417 ;;
414 esac418 esac
415 # Japanese Language versions have a version number like `4.1.3-JL'.419 # Japanese Language versions have a version number like `4.1.3-JL'.
416 echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`420 echo sparc-sun-sunos"`echo "$UNAME_RELEASE"|sed -e 's/-/_/'`"
417 exit ;;421 exit ;;
418 sun3*:SunOS:*:*)422 sun3*:SunOS:*:*)
419 echo m68k-sun-sunos${UNAME_RELEASE}423 echo m68k-sun-sunos"$UNAME_RELEASE"
420 exit ;;424 exit ;;
421 sun*:*:4.2BSD:*)425 sun*:*:4.2BSD:*)
422 UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`426 UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
423 test "x${UNAME_RELEASE}" = x && UNAME_RELEASE=3427 test "x$UNAME_RELEASE" = x && UNAME_RELEASE=3
424 case "`/bin/arch`" in428 case "`/bin/arch`" in
425 sun3)429 sun3)
426 echo m68k-sun-sunos${UNAME_RELEASE}430 echo m68k-sun-sunos"$UNAME_RELEASE"
427 ;;431 ;;
428 sun4)432 sun4)
429 echo sparc-sun-sunos${UNAME_RELEASE}433 echo sparc-sun-sunos"$UNAME_RELEASE"
430 ;;434 ;;
431 esac435 esac
432 exit ;;436 exit ;;
433 aushp:SunOS:*:*)437 aushp:SunOS:*:*)
434 echo sparc-auspex-sunos${UNAME_RELEASE}438 echo sparc-auspex-sunos"$UNAME_RELEASE"
435 exit ;;439 exit ;;
436 # The situation for MiNT is a little confusing. The machine name440 # The situation for MiNT is a little confusing. The machine name
437 # can be virtually everything (everything which is not441 # can be virtually everything (everything which is not
@@ -442,44 +446,44 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
442 # MiNT. But MiNT is downward compatible to TOS, so this should446 # MiNT. But MiNT is downward compatible to TOS, so this should
443 # be no problem.447 # be no problem.
444 atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)448 atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
445 echo m68k-atari-mint${UNAME_RELEASE}449 echo m68k-atari-mint"$UNAME_RELEASE"
446 exit ;;450 exit ;;
447 atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)451 atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
448 echo m68k-atari-mint${UNAME_RELEASE}452 echo m68k-atari-mint"$UNAME_RELEASE"
449 exit ;;453 exit ;;
450 *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)454 *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
451 echo m68k-atari-mint${UNAME_RELEASE}455 echo m68k-atari-mint"$UNAME_RELEASE"
452 exit ;;456 exit ;;
453 milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)457 milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
454 echo m68k-milan-mint${UNAME_RELEASE}458 echo m68k-milan-mint"$UNAME_RELEASE"
455 exit ;;459 exit ;;
456 hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)460 hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
457 echo m68k-hades-mint${UNAME_RELEASE}461 echo m68k-hades-mint"$UNAME_RELEASE"
458 exit ;;462 exit ;;
459 *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)463 *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
460 echo m68k-unknown-mint${UNAME_RELEASE}464 echo m68k-unknown-mint"$UNAME_RELEASE"
461 exit ;;465 exit ;;
462 m68k:machten:*:*)466 m68k:machten:*:*)
463 echo m68k-apple-machten${UNAME_RELEASE}467 echo m68k-apple-machten"$UNAME_RELEASE"
464 exit ;;468 exit ;;
465 powerpc:machten:*:*)469 powerpc:machten:*:*)
466 echo powerpc-apple-machten${UNAME_RELEASE}470 echo powerpc-apple-machten"$UNAME_RELEASE"
467 exit ;;471 exit ;;
468 RISC*:Mach:*:*)472 RISC*:Mach:*:*)
469 echo mips-dec-mach_bsd4.3473 echo mips-dec-mach_bsd4.3
470 exit ;;474 exit ;;
471 RISC*:ULTRIX:*:*)475 RISC*:ULTRIX:*:*)
472 echo mips-dec-ultrix${UNAME_RELEASE}476 echo mips-dec-ultrix"$UNAME_RELEASE"
473 exit ;;477 exit ;;
474 VAX*:ULTRIX*:*:*)478 VAX*:ULTRIX*:*:*)
475 echo vax-dec-ultrix${UNAME_RELEASE}479 echo vax-dec-ultrix"$UNAME_RELEASE"
476 exit ;;480 exit ;;
477 2020:CLIX:*:* | 2430:CLIX:*:*)481 2020:CLIX:*:* | 2430:CLIX:*:*)
478 echo clipper-intergraph-clix${UNAME_RELEASE}482 echo clipper-intergraph-clix"$UNAME_RELEASE"
479 exit ;;483 exit ;;
480 mips:*:*:UMIPS | mips:*:*:RISCos)484 mips:*:*:UMIPS | mips:*:*:RISCos)
481 eval $set_cc_for_build485 eval "$set_cc_for_build"
482 sed 's/^ //' << EOF >$dummy.c486 sed 's/^ //' << EOF > "$dummy.c"
483#ifdef __cplusplus487#ifdef __cplusplus
484#include <stdio.h> /* for printf() prototype */488#include <stdio.h> /* for printf() prototype */
485 int main (int argc, char *argv[]) {489 int main (int argc, char *argv[]) {
@@ -488,23 +492,23 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
488#endif492#endif
489 #if defined (host_mips) && defined (MIPSEB)493 #if defined (host_mips) && defined (MIPSEB)
490 #if defined (SYSTYPE_SYSV)494 #if defined (SYSTYPE_SYSV)
491 printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0);495 printf ("mips-mips-riscos%ssysv\\n", argv[1]); exit (0);
492 #endif496 #endif
493 #if defined (SYSTYPE_SVR4)497 #if defined (SYSTYPE_SVR4)
494 printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0);498 printf ("mips-mips-riscos%ssvr4\\n", argv[1]); exit (0);
495 #endif499 #endif
496 #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)500 #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)
497 printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0);501 printf ("mips-mips-riscos%sbsd\\n", argv[1]); exit (0);
498 #endif502 #endif
499 #endif503 #endif
500 exit (-1);504 exit (-1);
501 }505 }
502EOF506EOF
503 $CC_FOR_BUILD -o $dummy $dummy.c &&507 $CC_FOR_BUILD -o "$dummy" "$dummy.c" &&
504 dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` &&508 dummyarg=`echo "$UNAME_RELEASE" | sed -n 's/\([0-9]*\).*/\1/p'` &&
505 SYSTEM_NAME=`$dummy $dummyarg` &&509 SYSTEM_NAME=`"$dummy" "$dummyarg"` &&
506 { echo "$SYSTEM_NAME"; exit; }510 { echo "$SYSTEM_NAME"; exit; }
507 echo mips-mips-riscos${UNAME_RELEASE}511 echo mips-mips-riscos"$UNAME_RELEASE"
508 exit ;;512 exit ;;
509 Motorola:PowerMAX_OS:*:*)513 Motorola:PowerMAX_OS:*:*)
510 echo powerpc-motorola-powermax514 echo powerpc-motorola-powermax
@@ -530,17 +534,17 @@ EOF
530 AViiON:dgux:*:*)534 AViiON:dgux:*:*)
531 # DG/UX returns AViiON for all architectures535 # DG/UX returns AViiON for all architectures
532 UNAME_PROCESSOR=`/usr/bin/uname -p`536 UNAME_PROCESSOR=`/usr/bin/uname -p`
533 if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]537 if [ "$UNAME_PROCESSOR" = mc88100 ] || [ "$UNAME_PROCESSOR" = mc88110 ]
534 then538 then
535 if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \539 if [ "$TARGET_BINARY_INTERFACE"x = m88kdguxelfx ] || \
536 [ ${TARGET_BINARY_INTERFACE}x = x ]540 [ "$TARGET_BINARY_INTERFACE"x = x ]
537 then541 then
538 echo m88k-dg-dgux${UNAME_RELEASE}542 echo m88k-dg-dgux"$UNAME_RELEASE"
539 else543 else
540 echo m88k-dg-dguxbcs${UNAME_RELEASE}544 echo m88k-dg-dguxbcs"$UNAME_RELEASE"
541 fi545 fi
542 else546 else
543 echo i586-dg-dgux${UNAME_RELEASE}547 echo i586-dg-dgux"$UNAME_RELEASE"
544 fi548 fi
545 exit ;;549 exit ;;
546 M88*:DolphinOS:*:*) # DolphinOS (SVR3)550 M88*:DolphinOS:*:*) # DolphinOS (SVR3)
@@ -557,7 +561,7 @@ EOF
557 echo m68k-tektronix-bsd561 echo m68k-tektronix-bsd
558 exit ;;562 exit ;;
559 *:IRIX*:*:*)563 *:IRIX*:*:*)
560 echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`564 echo mips-sgi-irix"`echo "$UNAME_RELEASE"|sed -e 's/-/_/g'`"
561 exit ;;565 exit ;;
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches