Merge ~3v1n0/ubuntu/+source/mutter:ubuntu/bionic into ~ubuntu-desktop/ubuntu/+source/mutter:ubuntu/bionic

Proposed by Marco Trevisan (Treviño)
Status: Merged
Merged at revision: fab127ba1a1abec42166d87e22aa43024a458aff
Proposed branch: ~3v1n0/ubuntu/+source/mutter:ubuntu/bionic
Merge into: ~ubuntu-desktop/ubuntu/+source/mutter:ubuntu/bionic
Diff against target: 16247 lines (+5772/-5737)
75 files modified
Makefile.in (+1/-2)
NEWS (+27/-0)
build-aux/compile (+1/-1)
build-aux/config.guess (+68/-62)
build-aux/config.sub (+1223/-1234)
build-aux/depcomp (+1/-1)
build-aux/install-sh (+1/-1)
build-aux/ltmain.sh (+73/-172)
build-aux/missing (+1/-1)
clutter/Makefile.in (+0/-1)
clutter/aclocal.m4 (+286/-217)
clutter/build/Makefile.in (+1/-2)
clutter/build/autotools/Makefile.in (+0/-1)
clutter/build/autotools/libtool.m4 (+16/-32)
clutter/build/compile (+1/-1)
clutter/build/config.guess (+68/-62)
clutter/build/config.sub (+1223/-1234)
clutter/build/depcomp (+1/-1)
clutter/build/install-sh (+1/-1)
clutter/build/ltmain.sh (+73/-172)
clutter/build/missing (+1/-1)
clutter/build/test-driver (+1/-1)
clutter/clutter/Makefile.in (+0/-1)
clutter/clutter/x11/clutter-keymap-x11.c (+187/-0)
clutter/clutter/x11/clutter-keymap-x11.h (+5/-1)
clutter/clutter/x11/clutter-virtual-input-device-x11.c (+14/-5)
clutter/configure (+201/-50)
clutter/examples/Makefile.in (+0/-1)
clutter/tests/Makefile.in (+0/-1)
clutter/tests/accessibility/Makefile.in (+0/-1)
clutter/tests/conform/Makefile.in (+0/-1)
clutter/tests/interactive/Makefile.in (+0/-1)
clutter/tests/micro-bench/Makefile.in (+0/-1)
clutter/tests/performance/Makefile.in (+0/-1)
cogl/Makefile.in (+1/-2)
cogl/aclocal.m4 (+286/-217)
cogl/build/autotools/libtool.m4 (+16/-32)
cogl/build/compile (+1/-1)
cogl/build/config.guess (+68/-62)
cogl/build/config.sub (+1223/-1234)
cogl/build/depcomp (+1/-1)
cogl/build/install-sh (+1/-1)
cogl/build/ltmain.sh (+73/-172)
cogl/build/missing (+1/-1)
cogl/cogl-gles2/Makefile.in (+0/-1)
cogl/cogl-pango/Makefile.in (+0/-1)
cogl/cogl-path/Makefile.in (+0/-1)
cogl/cogl/Makefile.in (+0/-1)
cogl/configure (+213/-73)
cogl/test-fixtures/Makefile.in (+0/-1)
cogl/tests/Makefile.in (+0/-1)
cogl/tests/conform/Makefile.in (+0/-1)
cogl/tests/data/Makefile.in (+0/-1)
cogl/tests/micro-perf/Makefile.in (+0/-1)
cogl/tests/unit/Makefile.in (+0/-1)
configure (+245/-67)
configure.ac (+1/-1)
data/Makefile.in (+0/-1)
debian/changelog (+3/-4)
debian/patches/series (+0/-2)
debian/watch (+1/-1)
dev/null (+0/-294)
doc/Makefile.in (+0/-1)
doc/man/Makefile.in (+0/-1)
m4/glib-2.0.m4 (+17/-16)
m4/gsettings.m4 (+8/-6)
m4/libtool.m4 (+16/-32)
m4/pkg.m4 (+71/-3)
po/mutter.pot (+3/-227)
src/Makefile.in (+0/-1)
src/compositor/compositor-private.h (+3/-0)
src/compositor/compositor.c (+33/-5)
src/compositor/meta-shadow-factory.c (+12/-3)
src/compositor/plugins/Makefile.in (+0/-1)
src/wayland/meta-wayland-outputs.c (+0/-1)
Reviewer Review Type Date Requested Status
Ubuntu Desktop Pending
Review via email: mp+367673@code.launchpad.net

Description of the change

Re-update the changelog as per upstream 3.28.4 version, not major changes a part from patches removal.

I didn't added a new changelog entry as still not SRU'ed, so if we beat release team...

--

I assume pristine-tar and upstream/3.28.x merged in salsa, otherwise get them from my lp repo

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 f738308..a9d77de 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -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 \179 build-aux/config.rpath build-aux/config.sub build-aux/depcomp \
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,7 +398,6 @@ pdfdir = @pdfdir@
398prefix = @prefix@398prefix = @prefix@
399program_transform_name = @program_transform_name@399program_transform_name = @program_transform_name@
400psdir = @psdir@400psdir = @psdir@
401runstatedir = @runstatedir@
402sbindir = @sbindir@401sbindir = @sbindir@
403sharedstatedir = @sharedstatedir@402sharedstatedir = @sharedstatedir@
404srcdir = @srcdir@403srcdir = @srcdir@
diff --git a/NEWS b/NEWS
index 92090cc..d7df9cb 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,30 @@
13.28.4
2======
3* Don't expose resolutions that are below the minimum [Andrea; #793223]
4* Fix lock up with some DRI drivers [Alex; #127]
5* Improve grab-device clock updates on X11 [Jeff; !174]
6* Prevent clients from modifying the shared keymap [Jonas; #784206]
7* Fix screen rotation regression [Jonas; #216]
8* Fix non-lowercase letters on virtual key devices [Carlos; gnome-shell#135]
9* Send correct button codes from virtual evdev devices [Jonas; !190]
10* Avoid crash when a cursor is not found [Sebastian; #254]
11* Improve EGLstream support [Miguel; #2, #782575]
12* Handle requests to unmanaged windows gracefully [Jonas; #240]
13* Improve support for proprietary Nvidia driver [Jonas; #790316]
14* Fix handling of non-UTF8 encodings [Florian; !227]
15* Consider remapped keys when guessing keycode from keysym [Andrea; #443]
16* Fix support of extended characters in on-screen keyboard [Andrea; #109]
17* Various crash fixes [Jonas, Olivier, Florian, Marco; #70, #189, #15,
18 #130, #255, #194, #336, #576]
19* Misc. bug fixes [Iain, Jonas, Sam, Carlos, Florian, Olivier, Marco; #223,
20 #192, #788834, #782344, !130, #134, #221, #306, #279, #331, !557]
21
22Contributors:
23 Jonas Ådahl, Andrea Azzarone, Olivier Fourdan, Carlos Garnacho,
24 Sebastian Keller, Iain Lane, Alex Villacís Lasso, Florian Müllner,
25 Bastien Nocera, Aaron Plattner, Jeff Smith, Sam Spilsbury,
26 Marco Trevisan (Treviño), Miguel A. Vico, Daniel van Vugt
27
13.28.3283.28.3
2======29======
3* Handle touch events on server-side titlebars [Carlos; #770185]30* Handle touch events on server-side titlebars [Carlos; #770185]
diff --git a/build-aux/compile b/build-aux/compile
index 99e5052..b89c278 100755
--- a/build-aux/compile
+++ b/build-aux/compile
@@ -1,4 +1,4 @@
1#! /bin/sh1#!/usr/bin/sh
2# Wrapper for compilers which do not understand '-c -o'.2# Wrapper for compilers which do not understand '-c -o'.
33
4scriptversion=2018-03-07.03; # UTC4scriptversion=2018-03-07.03; # UTC
diff --git a/build-aux/config.guess b/build-aux/config.guess
index f50dcdb..b5d7a0f 100755
--- a/build-aux/config.guess
+++ b/build-aux/config.guess
@@ -1,8 +1,8 @@
1#! /bin/sh1#!/usr/bin/sh
2# Attempt to guess a canonical system name.2# Attempt to guess a canonical system name.
3# Copyright 1992-2018 Free Software Foundation, Inc.3# Copyright 1992-2018 Free Software Foundation, Inc.
44
5timestamp='2018-02-24'5timestamp='2018-08-29'
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
@@ -84,8 +84,6 @@ if test $# != 0; then
84 exit 184 exit 1
85fi85fi
8686
87trap 'exit 1' 1 2 15
88
89# CC_FOR_BUILD -- compiler used by this script. Note that the use of a87# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
90# compiler to aid in system detection is discouraged as it requires88# compiler to aid in system detection is discouraged as it requires
91# temporary files to be created and, as you can see below, it is a89# temporary files to be created and, as you can see below, it is a
@@ -96,34 +94,39 @@ trap 'exit 1' 1 2 15
9694
97# Portable tmp directory creation inspired by the Autoconf team.95# Portable tmp directory creation inspired by the Autoconf team.
9896
99set_cc_for_build='97tmp=
100trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;98# shellcheck disable=SC2172
101trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;99trap 'test -z "$tmp" || rm -fr "$tmp"' 1 2 13 15
102: ${TMPDIR=/tmp} ;100trap 'exitcode=$?; test -z "$tmp" || rm -fr "$tmp"; exit $exitcode' 0
103 { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||101
104 { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||102set_cc_for_build() {
105 { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||103 : "${TMPDIR=/tmp}"
106 { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;104 # shellcheck disable=SC2039
107dummy=$tmp/dummy ;105 { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
108tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;106 { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir "$tmp" 2>/dev/null) ; } ||
109case $CC_FOR_BUILD,$HOST_CC,$CC in107 { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir "$tmp" 2>/dev/null) && echo "Warning: creating insecure temp directory" >&2 ; } ||
110 ,,) echo "int x;" > "$dummy.c" ;108 { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; }
111 for c in cc gcc c89 c99 ; do109 dummy=$tmp/dummy
112 if ($c -c -o "$dummy.o" "$dummy.c") >/dev/null 2>&1 ; then110 case ${CC_FOR_BUILD-},${HOST_CC-},${CC-} in
113 CC_FOR_BUILD="$c"; break ;111 ,,) echo "int x;" > "$dummy.c"
114 fi ;112 for driver in cc gcc c89 c99 ; do
115 done ;113 if ($driver -c -o "$dummy.o" "$dummy.c") >/dev/null 2>&1 ; then
116 if test x"$CC_FOR_BUILD" = x ; then114 CC_FOR_BUILD="$driver"
117 CC_FOR_BUILD=no_compiler_found ;115 break
118 fi116 fi
119 ;;117 done
120 ,,*) CC_FOR_BUILD=$CC ;;118 if test x"$CC_FOR_BUILD" = x ; then
121 ,*,*) CC_FOR_BUILD=$HOST_CC ;;119 CC_FOR_BUILD=no_compiler_found
122esac ; set_cc_for_build= ;'120 fi
121 ;;
122 ,,*) CC_FOR_BUILD=$CC ;;
123 ,*,*) CC_FOR_BUILD=$HOST_CC ;;
124 esac
125}
123126
124# This is needed to find uname on a Pyramid OSx when run in the BSD universe.127# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
125# (ghazi@noc.rutgers.edu 1994-08-24)128# (ghazi@noc.rutgers.edu 1994-08-24)
126if (test -f /.attbin/uname) >/dev/null 2>&1 ; then129if test -f /.attbin/uname ; then
127 PATH=$PATH:/.attbin ; export PATH130 PATH=$PATH:/.attbin ; export PATH
128fi131fi
129132
@@ -138,7 +141,7 @@ Linux|GNU|GNU/*)
138 # We could probably try harder.141 # We could probably try harder.
139 LIBC=gnu142 LIBC=gnu
140143
141 eval "$set_cc_for_build"144 set_cc_for_build
142 cat <<-EOF > "$dummy.c"145 cat <<-EOF > "$dummy.c"
143 #include <features.h>146 #include <features.h>
144 #if defined(__UCLIBC__)147 #if defined(__UCLIBC__)
@@ -199,7 +202,7 @@ case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in
199 os=netbsdelf202 os=netbsdelf
200 ;;203 ;;
201 arm*|i386|m68k|ns32k|sh3*|sparc|vax)204 arm*|i386|m68k|ns32k|sh3*|sparc|vax)
202 eval "$set_cc_for_build"205 set_cc_for_build
203 if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \206 if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
204 | grep -q __ELF__207 | grep -q __ELF__
205 then208 then
@@ -237,7 +240,7 @@ case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in
237 # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:240 # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
238 # contains redundant information, the shorter form:241 # contains redundant information, the shorter form:
239 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.242 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
240 echo "$machine-${os}${release}${abi}"243 echo "$machine-${os}${release}${abi-}"
241 exit ;;244 exit ;;
242 *:Bitrig:*:*)245 *:Bitrig:*:*)
243 UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`246 UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
@@ -389,20 +392,15 @@ case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in
389 echo i386-pc-auroraux"$UNAME_RELEASE"392 echo i386-pc-auroraux"$UNAME_RELEASE"
390 exit ;;393 exit ;;
391 i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)394 i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
392 eval "$set_cc_for_build"395 UNAME_REL="`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`"
393 SUN_ARCH=i386396 case `isainfo -b` in
394 # If there is a compiler, see if it is configured for 64-bit objects.397 32)
395 # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.398 echo i386-pc-solaris2"$UNAME_REL"
396 # This test works for both compilers.399 ;;
397 if [ "$CC_FOR_BUILD" != no_compiler_found ]; then400 64)
398 if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \401 echo x86_64-pc-solaris2"$UNAME_REL"
399 (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \402 ;;
400 grep IS_64BIT_ARCH >/dev/null403 esac
401 then
402 SUN_ARCH=x86_64
403 fi
404 fi
405 echo "$SUN_ARCH"-pc-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
406 exit ;;404 exit ;;
407 sun4*:SunOS:6*:*)405 sun4*:SunOS:6*:*)
408 # According to config.sub, this is the proper way to canonicalize406 # According to config.sub, this is the proper way to canonicalize
@@ -482,7 +480,7 @@ case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in
482 echo clipper-intergraph-clix"$UNAME_RELEASE"480 echo clipper-intergraph-clix"$UNAME_RELEASE"
483 exit ;;481 exit ;;
484 mips:*:*:UMIPS | mips:*:*:RISCos)482 mips:*:*:UMIPS | mips:*:*:RISCos)
485 eval "$set_cc_for_build"483 set_cc_for_build
486 sed 's/^ //' << EOF > "$dummy.c"484 sed 's/^ //' << EOF > "$dummy.c"
487#ifdef __cplusplus485#ifdef __cplusplus
488#include <stdio.h> /* for printf() prototype */486#include <stdio.h> /* for printf() prototype */
@@ -579,7 +577,7 @@ EOF
579 exit ;;577 exit ;;
580 *:AIX:2:3)578 *:AIX:2:3)
581 if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then579 if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
582 eval "$set_cc_for_build"580 set_cc_for_build
583 sed 's/^ //' << EOF > "$dummy.c"581 sed 's/^ //' << EOF > "$dummy.c"
584 #include <sys/systemcfg.h>582 #include <sys/systemcfg.h>
585583
@@ -660,7 +658,7 @@ EOF
660 esac658 esac
661 fi659 fi
662 if [ "$HP_ARCH" = "" ]; then660 if [ "$HP_ARCH" = "" ]; then
663 eval "$set_cc_for_build"661 set_cc_for_build
664 sed 's/^ //' << EOF > "$dummy.c"662 sed 's/^ //' << EOF > "$dummy.c"
665663
666 #define _HPUX_SOURCE664 #define _HPUX_SOURCE
@@ -700,7 +698,7 @@ EOF
700 esac698 esac
701 if [ "$HP_ARCH" = hppa2.0w ]699 if [ "$HP_ARCH" = hppa2.0w ]
702 then700 then
703 eval "$set_cc_for_build"701 set_cc_for_build
704702
705 # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating703 # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
706 # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler704 # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler
@@ -726,7 +724,7 @@ EOF
726 echo ia64-hp-hpux"$HPUX_REV"724 echo ia64-hp-hpux"$HPUX_REV"
727 exit ;;725 exit ;;
728 3050*:HI-UX:*:*)726 3050*:HI-UX:*:*)
729 eval "$set_cc_for_build"727 set_cc_for_build
730 sed 's/^ //' << EOF > "$dummy.c"728 sed 's/^ //' << EOF > "$dummy.c"
731 #include <unistd.h>729 #include <unistd.h>
732 int730 int
@@ -840,6 +838,17 @@ EOF
840 *:BSD/OS:*:*)838 *:BSD/OS:*:*)
841 echo "$UNAME_MACHINE"-unknown-bsdi"$UNAME_RELEASE"839 echo "$UNAME_MACHINE"-unknown-bsdi"$UNAME_RELEASE"
842 exit ;;840 exit ;;
841 arm:FreeBSD:*:*)
842 UNAME_PROCESSOR=`uname -p`
843 set_cc_for_build
844 if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
845 | grep -q __ARM_PCS_VFP
846 then
847 echo "${UNAME_PROCESSOR}"-unknown-freebsd"`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`"-gnueabi
848 else
849 echo "${UNAME_PROCESSOR}"-unknown-freebsd"`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`"-gnueabihf
850 fi
851 exit ;;
843 *:FreeBSD:*:*)852 *:FreeBSD:*:*)
844 UNAME_PROCESSOR=`/usr/bin/uname -p`853 UNAME_PROCESSOR=`/usr/bin/uname -p`
845 case "$UNAME_PROCESSOR" in854 case "$UNAME_PROCESSOR" in
@@ -894,8 +903,8 @@ EOF
894 # other systems with GNU libc and userland903 # other systems with GNU libc and userland
895 echo "$UNAME_MACHINE-unknown-`echo "$UNAME_SYSTEM" | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"``echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`-$LIBC"904 echo "$UNAME_MACHINE-unknown-`echo "$UNAME_SYSTEM" | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"``echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`-$LIBC"
896 exit ;;905 exit ;;
897 i*86:Minix:*:*)906 *:Minix:*:*)
898 echo "$UNAME_MACHINE"-pc-minix907 echo "$UNAME_MACHINE"-unknown-minix
899 exit ;;908 exit ;;
900 aarch64:Linux:*:*)909 aarch64:Linux:*:*)
901 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"910 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
@@ -922,7 +931,7 @@ EOF
922 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"931 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
923 exit ;;932 exit ;;
924 arm*:Linux:*:*)933 arm*:Linux:*:*)
925 eval "$set_cc_for_build"934 set_cc_for_build
926 if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \935 if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
927 | grep -q __ARM_EABI__936 | grep -q __ARM_EABI__
928 then937 then
@@ -971,7 +980,7 @@ EOF
971 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"980 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
972 exit ;;981 exit ;;
973 mips:Linux:*:* | mips64:Linux:*:*)982 mips:Linux:*:* | mips64:Linux:*:*)
974 eval "$set_cc_for_build"983 set_cc_for_build
975 sed 's/^ //' << EOF > "$dummy.c"984 sed 's/^ //' << EOF > "$dummy.c"
976 #undef CPU985 #undef CPU
977 #undef ${UNAME_MACHINE}986 #undef ${UNAME_MACHINE}
@@ -1046,11 +1055,7 @@ EOF
1046 echo "$UNAME_MACHINE"-dec-linux-"$LIBC"1055 echo "$UNAME_MACHINE"-dec-linux-"$LIBC"
1047 exit ;;1056 exit ;;
1048 x86_64:Linux:*:*)1057 x86_64:Linux:*:*)
1049 if objdump -f /bin/sh | grep -q elf32-x86-64; then1058 echo "$UNAME_MACHINE"-pc-linux-"$LIBC"
1050 echo "$UNAME_MACHINE"-pc-linux-"$LIBC"x32
1051 else
1052 echo "$UNAME_MACHINE"-pc-linux-"$LIBC"
1053 fi
1054 exit ;;1059 exit ;;
1055 xtensa*:Linux:*:*)1060 xtensa*:Linux:*:*)
1056 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"1061 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
@@ -1289,7 +1294,7 @@ EOF
1289 exit ;;1294 exit ;;
1290 *:Darwin:*:*)1295 *:Darwin:*:*)
1291 UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown1296 UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
1292 eval "$set_cc_for_build"1297 set_cc_for_build
1293 if test "$UNAME_PROCESSOR" = unknown ; then1298 if test "$UNAME_PROCESSOR" = unknown ; then
1294 UNAME_PROCESSOR=powerpc1299 UNAME_PROCESSOR=powerpc
1295 fi1300 fi
@@ -1362,6 +1367,7 @@ EOF
1362 # "uname -m" is not consistent, so use $cputype instead. 3861367 # "uname -m" is not consistent, so use $cputype instead. 386
1363 # is converted to i386 for consistency with other x861368 # is converted to i386 for consistency with other x86
1364 # operating systems.1369 # operating systems.
1370 # shellcheck disable=SC2154
1365 if test "$cputype" = 386; then1371 if test "$cputype" = 386; then
1366 UNAME_MACHINE=i3861372 UNAME_MACHINE=i386
1367 else1373 else
@@ -1473,7 +1479,7 @@ EOF
1473exit 11479exit 1
14741480
1475# Local variables:1481# Local variables:
1476# eval: (add-hook 'write-file-functions 'time-stamp)1482# eval: (add-hook 'before-save-hook 'time-stamp)
1477# time-stamp-start: "timestamp='"1483# time-stamp-start: "timestamp='"
1478# time-stamp-format: "%:y-%02m-%02d"1484# time-stamp-format: "%:y-%02m-%02d"
1479# time-stamp-end: "'"1485# time-stamp-end: "'"
diff --git a/build-aux/config.sub b/build-aux/config.sub
index 1d8e98b..be4dc6e 100755
--- a/build-aux/config.sub
+++ b/build-aux/config.sub
@@ -1,8 +1,8 @@
1#! /bin/sh1#!/usr/bin/sh
2# Configuration validation subroutine script.2# Configuration validation subroutine script.
3# Copyright 1992-2018 Free Software Foundation, Inc.3# Copyright 1992-2018 Free Software Foundation, Inc.
44
5timestamp='2018-02-22'5timestamp='2018-08-29'
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
@@ -110,1223 +110,1159 @@ case $# in
110 exit 1;;110 exit 1;;
111esac111esac
112112
113# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).113# Split fields of configuration type
114# Here we must recognize all the valid KERNEL-OS combinations.114IFS="-" read -r field1 field2 field3 field4 <<EOF
115maybe_os=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`115$1
116case $maybe_os in116EOF
117 nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
118 linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
119 knetbsd*-gnu* | netbsd*-gnu* | netbsd*-eabi* | \
120 kopensolaris*-gnu* | cloudabi*-eabi* | \
121 storm-chaos* | os2-emx* | rtmk-nova*)
122 os=-$maybe_os
123 basic_machine=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
124 ;;
125 android-linux)
126 os=-linux-android
127 basic_machine=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
128 ;;
129 *)
130 basic_machine=`echo "$1" | sed 's/-[^-]*$//'`
131 if [ "$basic_machine" != "$1" ]
132 then os=`echo "$1" | sed 's/.*-/-/'`
133 else os=; fi
134 ;;
135esac
136117
137### Let's recognize common machines as not being operating systems so118# Separate into logical components for further validation
138### that things like config.sub decstation-3100 work. We also119case $1 in
139### recognize some manufacturers as not being operating systems, so we120 *-*-*-*-*)
140### can provide default operating systems below.121 echo Invalid configuration \`"$1"\': more than four components >&2
141case $os in122 exit 1
142 -sun*os*)
143 # Prevent following clause from handling this invalid input.
144 ;;
145 -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
146 -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
147 -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
148 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
149 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
150 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
151 -apple | -axis | -knuth | -cray | -microblaze*)
152 os=
153 basic_machine=$1
154 ;;
155 -bluegene*)
156 os=-cnk
157 ;;
158 -sim | -cisco | -oki | -wec | -winbond)
159 os=
160 basic_machine=$1
161 ;;
162 -scout)
163 ;;
164 -wrs)
165 os=-vxworks
166 basic_machine=$1
167 ;;
168 -chorusos*)
169 os=-chorusos
170 basic_machine=$1
171 ;;
172 -chorusrdb)
173 os=-chorusrdb
174 basic_machine=$1
175 ;;
176 -hiux*)
177 os=-hiuxwe2
178 ;;
179 -sco6)
180 os=-sco5v6
181 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
182 ;;
183 -sco5)
184 os=-sco3.2v5
185 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
186 ;;
187 -sco4)
188 os=-sco3.2v4
189 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
190 ;;
191 -sco3.2.[4-9]*)
192 os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
193 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
194 ;;
195 -sco3.2v[4-9]*)
196 # Don't forget version if it is 3.2v4 or newer.
197 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
198 ;;
199 -sco5v6*)
200 # Don't forget version if it is 3.2v4 or newer.
201 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
202 ;;
203 -sco*)
204 os=-sco3.2v2
205 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
206 ;;
207 -udk*)
208 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
209 ;;
210 -isc)
211 os=-isc2.2
212 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
213 ;;
214 -clix*)
215 basic_machine=clipper-intergraph
216 ;;
217 -isc*)
218 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
219 ;;
220 -lynx*178)
221 os=-lynxos178
222 ;;
223 -lynx*5)
224 os=-lynxos5
225 ;;123 ;;
226 -lynx*)124 *-*-*-*)
227 os=-lynxos125 basic_machine=$field1-$field2
126 os=$field3-$field4
228 ;;127 ;;
229 -ptx*)128 *-*-*)
230 basic_machine=`echo "$1" | sed -e 's/86-.*/86-sequent/'`129 # Ambiguous whether COMPANY is present, or skipped and KERNEL-OS is two
130 # parts
131 maybe_os=$field2-$field3
132 case $maybe_os in
133 nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc \
134 | linux-newlib* | linux-musl* | linux-uclibc* | uclinux-uclibc* \
135 | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* \
136 | netbsd*-eabi* | kopensolaris*-gnu* | cloudabi*-eabi* \
137 | storm-chaos* | os2-emx* | rtmk-nova*)
138 basic_machine=$field1
139 os=$maybe_os
140 ;;
141 android-linux)
142 basic_machine=$field1-unknown
143 os=linux-android
144 ;;
145 *)
146 basic_machine=$field1-$field2
147 os=$field3
148 ;;
149 esac
231 ;;150 ;;
232 -psos*)151 *-*)
233 os=-psos152 # A lone config we happen to match not fitting any patern
153 case $field1-$field2 in
154 decstation-3100)
155 basic_machine=mips-dec
156 os=
157 ;;
158 *-*)
159 # Second component is usually, but not always the OS
160 case $field2 in
161 # Prevent following clause from handling this valid os
162 sun*os*)
163 basic_machine=$field1
164 os=$field2
165 ;;
166 # Manufacturers
167 dec* | mips* | sequent* | encore* | pc533* | sgi* | sony* \
168 | att* | 7300* | 3300* | delta* | motorola* | sun[234]* \
169 | unicom* | ibm* | next | hp | isi* | apollo | altos* \
170 | convergent* | ncr* | news | 32* | 3600* | 3100* \
171 | hitachi* | c[123]* | convex* | sun | crds | omron* | dg \
172 | ultra | tti* | harris | dolphin | highlevel | gould \
173 | cbm | ns | masscomp | apple | axis | knuth | cray \
174 | microblaze* | sim | cisco \
175 | oki | wec | wrs | winbond)
176 basic_machine=$field1-$field2
177 os=
178 ;;
179 *)
180 basic_machine=$field1
181 os=$field2
182 ;;
183 esac
184 ;;
185 esac
234 ;;186 ;;
235 -mint | -mint[0-9]*)187 *)
236 basic_machine=m68k-atari188 # Convert single-component short-hands not valid as part of
237 os=-mint189 # multi-component configurations.
190 case $field1 in
191 386bsd)
192 basic_machine=i386-pc
193 os=bsd
194 ;;
195 a29khif)
196 basic_machine=a29k-amd
197 os=udi
198 ;;
199 adobe68k)
200 basic_machine=m68010-adobe
201 os=scout
202 ;;
203 alliant)
204 basic_machine=fx80-alliant
205 os=
206 ;;
207 altos | altos3068)
208 basic_machine=m68k-altos
209 os=
210 ;;
211 am29k)
212 basic_machine=a29k-none
213 os=bsd
214 ;;
215 amdahl)
216 basic_machine=580-amdahl
217 os=sysv
218 ;;
219 amiga)
220 basic_machine=m68k-unknown
221 os=
222 ;;
223 amigaos | amigados)
224 basic_machine=m68k-unknown
225 os=amigaos
226 ;;
227 amigaunix | amix)
228 basic_machine=m68k-unknown
229 os=sysv4
230 ;;
231 apollo68)
232 basic_machine=m68k-apollo
233 os=sysv
234 ;;
235 apollo68bsd)
236 basic_machine=m68k-apollo
237 os=bsd
238 ;;
239 aros)
240 basic_machine=i386-pc
241 os=aros
242 ;;
243 aux)
244 basic_machine=m68k-apple
245 os=aux
246 ;;
247 balance)
248 basic_machine=ns32k-sequent
249 os=dynix
250 ;;
251 blackfin)
252 basic_machine=bfin-unknown
253 os=linux
254 ;;
255 cegcc)
256 basic_machine=arm-unknown
257 os=cegcc
258 ;;
259 convex-c1)
260 basic_machine=c1-convex
261 os=bsd
262 ;;
263 convex-c2)
264 basic_machine=c2-convex
265 os=bsd
266 ;;
267 convex-c32)
268 basic_machine=c32-convex
269 os=bsd
270 ;;
271 convex-c34)
272 basic_machine=c34-convex
273 os=bsd
274 ;;
275 convex-c38)
276 basic_machine=c38-convex
277 os=bsd
278 ;;
279 cray)
280 basic_machine=j90-cray
281 os=unicos
282 ;;
283 crds | unos)
284 basic_machine=m68k-crds
285 os=
286 ;;
287 da30)
288 basic_machine=m68k-da30
289 os=
290 ;;
291 decstation | pmax | pmin | dec3100 | decstatn)
292 basic_machine=mips-dec
293 os=
294 ;;
295 delta88)
296 basic_machine=m88k-motorola
297 os=sysv3
298 ;;
299 dicos)
300 basic_machine=i686-pc
301 os=dicos
302 ;;
303 djgpp)
304 basic_machine=i586-pc
305 os=msdosdjgpp
306 ;;
307 ebmon29k)
308 basic_machine=a29k-amd
309 os=ebmon
310 ;;
311 es1800 | OSE68k | ose68k | ose | OSE)
312 basic_machine=m68k-ericsson
313 os=ose
314 ;;
315 gmicro)
316 basic_machine=tron-gmicro
317 os=sysv
318 ;;
319 go32)
320 basic_machine=i386-pc
321 os=go32
322 ;;
323 h8300hms)
324 basic_machine=h8300-hitachi
325 os=hms
326 ;;
327 h8300xray)
328 basic_machine=h8300-hitachi
329 os=xray
330 ;;
331 h8500hms)
332 basic_machine=h8500-hitachi
333 os=hms
334 ;;
335 harris)
336 basic_machine=m88k-harris
337 os=sysv3
338 ;;
339 hp300)
340 basic_machine=m68k-hp
341 ;;
342 hp300bsd)
343 basic_machine=m68k-hp
344 os=bsd
345 ;;
346 hp300hpux)
347 basic_machine=m68k-hp
348 os=hpux
349 ;;
350 hppaosf)
351 basic_machine=hppa1.1-hp
352 os=osf
353 ;;
354 hppro)
355 basic_machine=hppa1.1-hp
356 os=proelf
357 ;;
358 i386mach)
359 basic_machine=i386-mach
360 os=mach
361 ;;
362 vsta)
363 basic_machine=i386-pc
364 os=vsta
365 ;;
366 isi68 | isi)
367 basic_machine=m68k-isi
368 os=sysv
369 ;;
370 m68knommu)
371 basic_machine=m68k-unknown
372 os=linux
373 ;;
374 magnum | m3230)
375 basic_machine=mips-mips
376 os=sysv
377 ;;
378 merlin)
379 basic_machine=ns32k-utek
380 os=sysv
381 ;;
382 mingw64)
383 basic_machine=x86_64-pc
384 os=mingw64
385 ;;
386 mingw32)
387 basic_machine=i686-pc
388 os=mingw32
389 ;;
390 mingw32ce)
391 basic_machine=arm-unknown
392 os=mingw32ce
393 ;;
394 monitor)
395 basic_machine=m68k-rom68k
396 os=coff
397 ;;
398 morphos)
399 basic_machine=powerpc-unknown
400 os=morphos
401 ;;
402 moxiebox)
403 basic_machine=moxie-unknown
404 os=moxiebox
405 ;;
406 msdos)
407 basic_machine=i386-pc
408 os=msdos
409 ;;
410 msys)
411 basic_machine=i686-pc
412 os=msys
413 ;;
414 mvs)
415 basic_machine=i370-ibm
416 os=mvs
417 ;;
418 nacl)
419 basic_machine=le32-unknown
420 os=nacl
421 ;;
422 ncr3000)
423 basic_machine=i486-ncr
424 os=sysv4
425 ;;
426 netbsd386)
427 basic_machine=i386-pc
428 os=netbsd
429 ;;
430 netwinder)
431 basic_machine=armv4l-rebel
432 os=linux
433 ;;
434 news | news700 | news800 | news900)
435 basic_machine=m68k-sony
436 os=newsos
437 ;;
438 news1000)
439 basic_machine=m68030-sony
440 os=newsos
441 ;;
442 necv70)
443 basic_machine=v70-nec
444 os=sysv
445 ;;
446 nh3000)
447 basic_machine=m68k-harris
448 os=cxux
449 ;;
450 nh[45]000)
451 basic_machine=m88k-harris
452 os=cxux
453 ;;
454 nindy960)
455 basic_machine=i960-intel
456 os=nindy
457 ;;
458 mon960)
459 basic_machine=i960-intel
460 os=mon960
461 ;;
462 nonstopux)
463 basic_machine=mips-compaq
464 os=nonstopux
465 ;;
466 os400)
467 basic_machine=powerpc-ibm
468 os=os400
469 ;;
470 OSE68000 | ose68000)
471 basic_machine=m68000-ericsson
472 os=ose
473 ;;
474 os68k)
475 basic_machine=m68k-none
476 os=os68k
477 ;;
478 paragon)
479 basic_machine=i860-intel
480 os=osf
481 ;;
482 parisc)
483 basic_machine=hppa-unknown
484 os=linux
485 ;;
486 pw32)
487 basic_machine=i586-unknown
488 os=pw32
489 ;;
490 rdos | rdos64)
491 basic_machine=x86_64-pc
492 os=rdos
493 ;;
494 rdos32)
495 basic_machine=i386-pc
496 os=rdos
497 ;;
498 rom68k)
499 basic_machine=m68k-rom68k
500 os=coff
501 ;;
502 sa29200)
503 basic_machine=a29k-amd
504 os=udi
505 ;;
506 sei)
507 basic_machine=mips-sei
508 os=seiux
509 ;;
510 sequent)
511 basic_machine=i386-sequent
512 os=
513 ;;
514 sps7)
515 basic_machine=m68k-bull
516 os=sysv2
517 ;;
518 st2000)
519 basic_machine=m68k-tandem
520 os=
521 ;;
522 stratus)
523 basic_machine=i860-stratus
524 os=sysv4
525 ;;
526 sun2)
527 basic_machine=m68000-sun
528 os=
529 ;;
530 sun2os3)
531 basic_machine=m68000-sun
532 os=sunos3
533 ;;
534 sun2os4)
535 basic_machine=m68000-sun
536 os=sunos4
537 ;;
538 sun3)
539 basic_machine=m68k-sun
540 os=
541 ;;
542 sun3os3)
543 basic_machine=m68k-sun
544 os=sunos3
545 ;;
546 sun3os4)
547 basic_machine=m68k-sun
548 os=sunos4
549 ;;
550 sun4)
551 basic_machine=sparc-sun
552 os=
553 ;;
554 sun4os3)
555 basic_machine=sparc-sun
556 os=sunos3
557 ;;
558 sun4os4)
559 basic_machine=sparc-sun
560 os=sunos4
561 ;;
562 sun4sol2)
563 basic_machine=sparc-sun
564 os=solaris2
565 ;;
566 sun386 | sun386i | roadrunner)
567 basic_machine=i386-sun
568 os=
569 ;;
570 sv1)
571 basic_machine=sv1-cray
572 os=unicos
573 ;;
574 symmetry)
575 basic_machine=i386-sequent
576 os=dynix
577 ;;
578 t3e)
579 basic_machine=alphaev5-cray
580 os=unicos
581 ;;
582 t90)
583 basic_machine=t90-cray
584 os=unicos
585 ;;
586 toad1)
587 basic_machine=pdp10-xkl
588 os=tops20
589 ;;
590 tpf)
591 basic_machine=s390x-ibm
592 os=tpf
593 ;;
594 udi29k)
595 basic_machine=a29k-amd
596 os=udi
597 ;;
598 ultra3)
599 basic_machine=a29k-nyu
600 os=sym1
601 ;;
602 v810 | necv810)
603 basic_machine=v810-nec
604 os=none
605 ;;
606 vaxv)
607 basic_machine=vax-dec
608 os=sysv
609 ;;
610 vms)
611 basic_machine=vax-dec
612 os=vms
613 ;;
614 vxworks960)
615 basic_machine=i960-wrs
616 os=vxworks
617 ;;
618 vxworks68)
619 basic_machine=m68k-wrs
620 os=vxworks
621 ;;
622 vxworks29k)
623 basic_machine=a29k-wrs
624 os=vxworks
625 ;;
626 xbox)
627 basic_machine=i686-pc
628 os=mingw32
629 ;;
630 ymp)
631 basic_machine=ymp-cray
632 os=unicos
633 ;;
634 *)
635 basic_machine=$1
636 os=
637 ;;
638 esac
238 ;;639 ;;
239esac640esac
240641
241# Decode aliases for certain CPU-COMPANY combinations.642# Decode 1-component or ad-hoc basic machines
242case $basic_machine in643case $basic_machine in
243 # Recognize the basic CPU types without company name.644 # Here we handle the default manufacturer of certain CPU types. It is in
244 # Some are omitted here because they have special meanings below.645 # some cases the only manufacturer, in others, it is the most popular.
245 1750a | 580 \646 w89k)
246 | a29k \647 cpu=hppa1.1
247 | aarch64 | aarch64_be \648 vendor=winbond
248 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
249 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
250 | am33_2.0 \
251 | arc | arceb \
252 | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
253 | avr | avr32 \
254 | ba \
255 | be32 | be64 \
256 | bfin \
257 | c4x | c8051 | clipper \
258 | d10v | d30v | dlx | dsp16xx \
259 | e2k | epiphany \
260 | fido | fr30 | frv | ft32 \
261 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
262 | hexagon \
263 | i370 | i860 | i960 | ia16 | ia64 \
264 | ip2k | iq2000 \
265 | k1om \
266 | le32 | le64 \
267 | lm32 \
268 | m32c | m32r | m32rle | m68000 | m68k | m88k \
269 | maxq | mb | microblaze | microblazeel | mcore | mep | metag \
270 | mips | mipsbe | mipseb | mipsel | mipsle \
271 | mips16 \
272 | mips64 | mips64el \
273 | mips64octeon | mips64octeonel \
274 | mips64orion | mips64orionel \
275 | mips64r5900 | mips64r5900el \
276 | mips64vr | mips64vrel \
277 | mips64vr4100 | mips64vr4100el \
278 | mips64vr4300 | mips64vr4300el \
279 | mips64vr5000 | mips64vr5000el \
280 | mips64vr5900 | mips64vr5900el \
281 | mipsisa32 | mipsisa32el \
282 | mipsisa32r2 | mipsisa32r2el \
283 | mipsisa32r6 | mipsisa32r6el \
284 | mipsisa64 | mipsisa64el \
285 | mipsisa64r2 | mipsisa64r2el \
286 | mipsisa64r6 | mipsisa64r6el \
287 | mipsisa64sb1 | mipsisa64sb1el \
288 | mipsisa64sr71k | mipsisa64sr71kel \
289 | mipsr5900 | mipsr5900el \
290 | mipstx39 | mipstx39el \
291 | mn10200 | mn10300 \
292 | moxie \
293 | mt \
294 | msp430 \
295 | nds32 | nds32le | nds32be \
296 | nios | nios2 | nios2eb | nios2el \
297 | ns16k | ns32k \
298 | open8 | or1k | or1knd | or32 \
299 | pdp10 | pj | pjl \
300 | powerpc | powerpc64 | powerpc64le | powerpcle \
301 | pru \
302 | pyramid \
303 | riscv32 | riscv64 \
304 | rl78 | rx \
305 | score \
306 | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[234]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
307 | sh64 | sh64le \
308 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
309 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
310 | spu \
311 | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
312 | ubicom32 \
313 | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
314 | visium \
315 | wasm32 \
316 | x86 | xc16x | xstormy16 | xtensa \
317 | z8k | z80)
318 basic_machine=$basic_machine-unknown
319 ;;
320 c54x)
321 basic_machine=tic54x-unknown
322 ;;
323 c55x)
324 basic_machine=tic55x-unknown
325 ;;
326 c6x)
327 basic_machine=tic6x-unknown
328 ;;
329 leon|leon[3-9])
330 basic_machine=sparc-$basic_machine
331 ;;
332 m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip)
333 basic_machine=$basic_machine-unknown
334 os=-none
335 ;;649 ;;
336 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65)650 op50n)
651 cpu=hppa1.1
652 vendor=oki
337 ;;653 ;;
338 ms1)654 op60c)
339 basic_machine=mt-unknown655 cpu=hppa1.1
656 vendor=oki
340 ;;657 ;;
341658 ibm*)
342 strongarm | thumb | xscale)659 cpu=i370
343 basic_machine=arm-unknown660 vendor=ibm
344 ;;661 ;;
345 xgate)662 orion105)
346 basic_machine=$basic_machine-unknown663 cpu=clipper
347 os=-none664 vendor=highlevel
348 ;;665 ;;
349 xscaleeb)666 mac | mpw | mac-mpw)
350 basic_machine=armeb-unknown667 cpu=m68k
668 vendor=apple
351 ;;669 ;;
352670 pmac | pmac-mpw)
353 xscaleel)671 cpu=powerpc
354 basic_machine=armel-unknown672 vendor=apple
355 ;;673 ;;
356674
357 # We use `pc' rather than `unknown'
358 # because (1) that's what they normally are, and
359 # (2) the word "unknown" tends to confuse beginning users.
360 i*86 | x86_64)
361 basic_machine=$basic_machine-pc
362 ;;
363 # Object if more than one company name word.
364 *-*-*)
365 echo Invalid configuration \`"$1"\': machine \`"$basic_machine"\' not recognized 1>&2
366 exit 1
367 ;;
368 # Recognize the basic CPU types with company name.
369 580-* \
370 | a29k-* \
371 | aarch64-* | aarch64_be-* \
372 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
373 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
374 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \
375 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
376 | avr-* | avr32-* \
377 | ba-* \
378 | be32-* | be64-* \
379 | bfin-* | bs2000-* \
380 | c[123]* | c30-* | [cjt]90-* | c4x-* \
381 | c8051-* | clipper-* | craynv-* | cydra-* \
382 | d10v-* | d30v-* | dlx-* \
383 | e2k-* | elxsi-* \
384 | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
385 | h8300-* | h8500-* \
386 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
387 | hexagon-* \
388 | i*86-* | i860-* | i960-* | ia16-* | ia64-* \
389 | ip2k-* | iq2000-* \
390 | k1om-* \
391 | le32-* | le64-* \
392 | lm32-* \
393 | m32c-* | m32r-* | m32rle-* \
394 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
395 | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
396 | microblaze-* | microblazeel-* \
397 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
398 | mips16-* \
399 | mips64-* | mips64el-* \
400 | mips64octeon-* | mips64octeonel-* \
401 | mips64orion-* | mips64orionel-* \
402 | mips64r5900-* | mips64r5900el-* \
403 | mips64vr-* | mips64vrel-* \
404 | mips64vr4100-* | mips64vr4100el-* \
405 | mips64vr4300-* | mips64vr4300el-* \
406 | mips64vr5000-* | mips64vr5000el-* \
407 | mips64vr5900-* | mips64vr5900el-* \
408 | mipsisa32-* | mipsisa32el-* \
409 | mipsisa32r2-* | mipsisa32r2el-* \
410 | mipsisa32r6-* | mipsisa32r6el-* \
411 | mipsisa64-* | mipsisa64el-* \
412 | mipsisa64r2-* | mipsisa64r2el-* \
413 | mipsisa64r6-* | mipsisa64r6el-* \
414 | mipsisa64sb1-* | mipsisa64sb1el-* \
415 | mipsisa64sr71k-* | mipsisa64sr71kel-* \
416 | mipsr5900-* | mipsr5900el-* \
417 | mipstx39-* | mipstx39el-* \
418 | mmix-* \
419 | mt-* \
420 | msp430-* \
421 | nds32-* | nds32le-* | nds32be-* \
422 | nios-* | nios2-* | nios2eb-* | nios2el-* \
423 | none-* | np1-* | ns16k-* | ns32k-* \
424 | open8-* \
425 | or1k*-* \
426 | orion-* \
427 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
428 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
429 | pru-* \
430 | pyramid-* \
431 | riscv32-* | riscv64-* \
432 | rl78-* | romp-* | rs6000-* | rx-* \
433 | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
434 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
435 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
436 | sparclite-* \
437 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx*-* \
438 | tahoe-* \
439 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
440 | tile*-* \
441 | tron-* \
442 | ubicom32-* \
443 | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
444 | vax-* \
445 | visium-* \
446 | wasm32-* \
447 | we32k-* \
448 | x86-* | x86_64-* | xc16x-* | xps100-* \
449 | xstormy16-* | xtensa*-* \
450 | ymp-* \
451 | z8k-* | z80-*)
452 ;;
453 # Recognize the basic CPU types without company name, with glob match.
454 xtensa*)
455 basic_machine=$basic_machine-unknown
456 ;;
457 # Recognize the various machine names and aliases which stand675 # Recognize the various machine names and aliases which stand
458 # for a CPU type and a company and sometimes even an OS.676 # for a CPU type and a company and sometimes even an OS.
459 386bsd)
460 basic_machine=i386-pc
461 os=-bsd
462 ;;
463 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)677 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
464 basic_machine=m68000-att678 cpu=m68000
679 vendor=att
465 ;;680 ;;
466 3b*)681 3b*)
467 basic_machine=we32k-att682 cpu=we32k
468 ;;683 vendor=att
469 a29khif)
470 basic_machine=a29k-amd
471 os=-udi
472 ;;
473 abacus)
474 basic_machine=abacus-unknown
475 ;;
476 adobe68k)
477 basic_machine=m68010-adobe
478 os=-scout
479 ;;
480 alliant | fx80)
481 basic_machine=fx80-alliant
482 ;;
483 altos | altos3068)
484 basic_machine=m68k-altos
485 ;;
486 am29k)
487 basic_machine=a29k-none
488 os=-bsd
489 ;;
490 amd64)
491 basic_machine=x86_64-pc
492 ;;
493 amd64-*)
494 basic_machine=x86_64-`echo "$basic_machine" | sed 's/^[^-]*-//'`
495 ;;
496 amdahl)
497 basic_machine=580-amdahl
498 os=-sysv
499 ;;
500 amiga | amiga-*)
501 basic_machine=m68k-unknown
502 ;;
503 amigaos | amigados)
504 basic_machine=m68k-unknown
505 os=-amigaos
506 ;;
507 amigaunix | amix)
508 basic_machine=m68k-unknown
509 os=-sysv4
510 ;;
511 apollo68)
512 basic_machine=m68k-apollo
513 os=-sysv
514 ;;
515 apollo68bsd)
516 basic_machine=m68k-apollo
517 os=-bsd
518 ;;
519 aros)
520 basic_machine=i386-pc
521 os=-aros
522 ;;
523 asmjs)
524 basic_machine=asmjs-unknown
525 ;;
526 aux)
527 basic_machine=m68k-apple
528 os=-aux
529 ;;
530 balance)
531 basic_machine=ns32k-sequent
532 os=-dynix
533 ;;
534 blackfin)
535 basic_machine=bfin-unknown
536 os=-linux
537 ;;
538 blackfin-*)
539 basic_machine=bfin-`echo "$basic_machine" | sed 's/^[^-]*-//'`
540 os=-linux
541 ;;684 ;;
542 bluegene*)685 bluegene*)
543 basic_machine=powerpc-ibm686 cpu=powerpc
544 os=-cnk687 vendor=ibm
545 ;;688 os=cnk
546 c54x-*)
547 basic_machine=tic54x-`echo "$basic_machine" | sed 's/^[^-]*-//'`
548 ;;
549 c55x-*)
550 basic_machine=tic55x-`echo "$basic_machine" | sed 's/^[^-]*-//'`
551 ;;
552 c6x-*)
553 basic_machine=tic6x-`echo "$basic_machine" | sed 's/^[^-]*-//'`
554 ;;
555 c90)
556 basic_machine=c90-cray
557 os=-unicos
558 ;;
559 cegcc)
560 basic_machine=arm-unknown
561 os=-cegcc
562 ;;
563 convex-c1)
564 basic_machine=c1-convex
565 os=-bsd
566 ;;
567 convex-c2)
568 basic_machine=c2-convex
569 os=-bsd
570 ;;
571 convex-c32)
572 basic_machine=c32-convex
573 os=-bsd
574 ;;
575 convex-c34)
576 basic_machine=c34-convex
577 os=-bsd
578 ;;
579 convex-c38)
580 basic_machine=c38-convex
581 os=-bsd
582 ;;
583 cray | j90)
584 basic_machine=j90-cray
585 os=-unicos
586 ;;
587 craynv)
588 basic_machine=craynv-cray
589 os=-unicosmp
590 ;;
591 cr16 | cr16-*)
592 basic_machine=cr16-unknown
593 os=-elf
594 ;;
595 crds | unos)
596 basic_machine=m68k-crds
597 ;;
598 crisv32 | crisv32-* | etraxfs*)
599 basic_machine=crisv32-axis
600 ;;
601 cris | cris-* | etrax*)
602 basic_machine=cris-axis
603 ;;
604 crx)
605 basic_machine=crx-unknown
606 os=-elf
607 ;;
608 da30 | da30-*)
609 basic_machine=m68k-da30
610 ;;
611 decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
612 basic_machine=mips-dec
613 ;;689 ;;
614 decsystem10* | dec10*)690 decsystem10* | dec10*)
615 basic_machine=pdp10-dec691 cpu=pdp10
616 os=-tops10692 vendor=dec
693 os=tops10
617 ;;694 ;;
618 decsystem20* | dec20*)695 decsystem20* | dec20*)
619 basic_machine=pdp10-dec696 cpu=pdp10
620 os=-tops20697 vendor=dec
698 os=tops20
621 ;;699 ;;
622 delta | 3300 | motorola-3300 | motorola-delta \700 delta | 3300 | motorola-3300 | motorola-delta \
623 | 3300-motorola | delta-motorola)701 | 3300-motorola | delta-motorola)
624 basic_machine=m68k-motorola702 cpu=m68k
625 ;;703 vendor=motorola
626 delta88)
627 basic_machine=m88k-motorola
628 os=-sysv3
629 ;;
630 dicos)
631 basic_machine=i686-pc
632 os=-dicos
633 ;;
634 djgpp)
635 basic_machine=i586-pc
636 os=-msdosdjgpp
637 ;;
638 dpx20 | dpx20-*)
639 basic_machine=rs6000-bull
640 os=-bosx
641 ;;704 ;;
642 dpx2*)705 dpx2*)
643 basic_machine=m68k-bull706 cpu=m68k
644 os=-sysv3707 vendor=bull
645 ;;708 os=sysv3
646 e500v[12])
647 basic_machine=powerpc-unknown
648 os=$os"spe"
649 ;;
650 e500v[12]-*)
651 basic_machine=powerpc-`echo "$basic_machine" | sed 's/^[^-]*-//'`
652 os=$os"spe"
653 ;;
654 ebmon29k)
655 basic_machine=a29k-amd
656 os=-ebmon
657 ;;
658 elxsi)
659 basic_machine=elxsi-elxsi
660 os=-bsd
661 ;;709 ;;
662 encore | umax | mmax)710 encore | umax | mmax)
663 basic_machine=ns32k-encore711 cpu=ns32k
712 vendor=encore
664 ;;713 ;;
665 es1800 | OSE68k | ose68k | ose | OSE)714 elxsi)
666 basic_machine=m68k-ericsson715 cpu=elxsi
667 os=-ose716 vendor=elxsi
717 os=${os:-bsd}
668 ;;718 ;;
669 fx2800)719 fx2800)
670 basic_machine=i860-alliant720 cpu=i860
721 vendor=alliant
671 ;;722 ;;
672 genix)723 genix)
673 basic_machine=ns32k-ns724 cpu=ns32k
674 ;;725 vendor=ns
675 gmicro)
676 basic_machine=tron-gmicro
677 os=-sysv
678 ;;
679 go32)
680 basic_machine=i386-pc
681 os=-go32
682 ;;726 ;;
683 h3050r* | hiux*)727 h3050r* | hiux*)
684 basic_machine=hppa1.1-hitachi728 cpu=hppa1.1
685 os=-hiuxwe2729 vendor=hitachi
686 ;;730 os=hiuxwe2
687 h8300hms)
688 basic_machine=h8300-hitachi
689 os=-hms
690 ;;
691 h8300xray)
692 basic_machine=h8300-hitachi
693 os=-xray
694 ;;
695 h8500hms)
696 basic_machine=h8500-hitachi
697 os=-hms
698 ;;
699 harris)
700 basic_machine=m88k-harris
701 os=-sysv3
702 ;;
703 hp300-*)
704 basic_machine=m68k-hp
705 ;;
706 hp300bsd)
707 basic_machine=m68k-hp
708 os=-bsd
709 ;;
710 hp300hpux)
711 basic_machine=m68k-hp
712 os=-hpux
713 ;;731 ;;
714 hp3k9[0-9][0-9] | hp9[0-9][0-9])732 hp3k9[0-9][0-9] | hp9[0-9][0-9])
715 basic_machine=hppa1.0-hp733 cpu=hppa1.0
734 vendor=hp
716 ;;735 ;;
717 hp9k2[0-9][0-9] | hp9k31[0-9])736 hp9k2[0-9][0-9] | hp9k31[0-9])
718 basic_machine=m68000-hp737 cpu=m68000
738 vendor=hp
719 ;;739 ;;
720 hp9k3[2-9][0-9])740 hp9k3[2-9][0-9])
721 basic_machine=m68k-hp741 cpu=m68k
742 vendor=hp
722 ;;743 ;;
723 hp9k6[0-9][0-9] | hp6[0-9][0-9])744 hp9k6[0-9][0-9] | hp6[0-9][0-9])
724 basic_machine=hppa1.0-hp745 cpu=hppa1.0
746 vendor=hp
725 ;;747 ;;
726 hp9k7[0-79][0-9] | hp7[0-79][0-9])748 hp9k7[0-79][0-9] | hp7[0-79][0-9])
727 basic_machine=hppa1.1-hp749 cpu=hppa1.1
750 vendor=hp
728 ;;751 ;;
729 hp9k78[0-9] | hp78[0-9])752 hp9k78[0-9] | hp78[0-9])
730 # FIXME: really hppa2.0-hp753 # FIXME: really hppa2.0-hp
731 basic_machine=hppa1.1-hp754 cpu=hppa1.1
755 vendor=hp
732 ;;756 ;;
733 hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893)757 hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893)
734 # FIXME: really hppa2.0-hp758 # FIXME: really hppa2.0-hp
735 basic_machine=hppa1.1-hp759 cpu=hppa1.1
760 vendor=hp
736 ;;761 ;;
737 hp9k8[0-9][13679] | hp8[0-9][13679])762 hp9k8[0-9][13679] | hp8[0-9][13679])
738 basic_machine=hppa1.1-hp763 cpu=hppa1.1
764 vendor=hp
739 ;;765 ;;
740 hp9k8[0-9][0-9] | hp8[0-9][0-9])766 hp9k8[0-9][0-9] | hp8[0-9][0-9])
741 basic_machine=hppa1.0-hp767 cpu=hppa1.0
742 ;;768 vendor=hp
743 hppaosf)
744 basic_machine=hppa1.1-hp
745 os=-osf
746 ;;
747 hppro)
748 basic_machine=hppa1.1-hp
749 os=-proelf
750 ;;
751 i370-ibm* | ibm*)
752 basic_machine=i370-ibm
753 ;;769 ;;
754 i*86v32)770 i*86v32)
755 basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`771 cpu=`echo "$1" | sed -e 's/86.*/86/'`
756 os=-sysv32772 vendor=pc
773 os=sysv32
757 ;;774 ;;
758 i*86v4*)775 i*86v4*)
759 basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`776 cpu=`echo "$1" | sed -e 's/86.*/86/'`
760 os=-sysv4777 vendor=pc
778 os=sysv4
761 ;;779 ;;
762 i*86v)780 i*86v)
763 basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`781 cpu=`echo "$1" | sed -e 's/86.*/86/'`
764 os=-sysv782 vendor=pc
783 os=sysv
765 ;;784 ;;
766 i*86sol2)785 i*86sol2)
767 basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'`786 cpu=`echo "$1" | sed -e 's/86.*/86/'`
768 os=-solaris2787 vendor=pc
788 os=solaris2
769 ;;789 ;;
770 i386mach)790 j90 | j90-cray)
771 basic_machine=i386-mach791 cpu=j90
772 os=-mach792 vendor=cray
773 ;;793 os=${os:-unicos}
774 vsta)
775 basic_machine=i386-unknown
776 os=-vsta
777 ;;794 ;;
778 iris | iris4d)795 iris | iris4d)
779 basic_machine=mips-sgi796 cpu=mips
797 vendor=sgi
780 case $os in798 case $os in
781 -irix*)799 irix*)
782 ;;800 ;;
783 *)801 *)
784 os=-irix4802 os=irix4
785 ;;803 ;;
786 esac804 esac
787 ;;805 ;;
788 isi68 | isi)
789 basic_machine=m68k-isi
790 os=-sysv
791 ;;
792 leon-*|leon[3-9]-*)
793 basic_machine=sparc-`echo "$basic_machine" | sed 's/-.*//'`
794 ;;
795 m68knommu)
796 basic_machine=m68k-unknown
797 os=-linux
798 ;;
799 m68knommu-*)
800 basic_machine=m68k-`echo "$basic_machine" | sed 's/^[^-]*-//'`
801 os=-linux
802 ;;
803 magnum | m3230)
804 basic_machine=mips-mips
805 os=-sysv
806 ;;
807 merlin)
808 basic_machine=ns32k-utek
809 os=-sysv
810 ;;
811 microblaze*)
812 basic_machine=microblaze-xilinx
813 ;;
814 mingw64)
815 basic_machine=x86_64-pc
816 os=-mingw64
817 ;;
818 mingw32)
819 basic_machine=i686-pc
820 os=-mingw32
821 ;;
822 mingw32ce)
823 basic_machine=arm-unknown
824 os=-mingw32ce
825 ;;
826 miniframe)806 miniframe)
827 basic_machine=m68000-convergent807 cpu=m68000
828 ;;808 vendor=convergent
829 *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*)
830 basic_machine=m68k-atari
831 os=-mint
832 ;;
833 mips3*-*)
834 basic_machine=`echo "$basic_machine" | sed -e 's/mips3/mips64/'`
835 ;;
836 mips3*)
837 basic_machine=`echo "$basic_machine" | sed -e 's/mips3/mips64/'`-unknown
838 ;;
839 monitor)
840 basic_machine=m68k-rom68k
841 os=-coff
842 ;;
843 morphos)
844 basic_machine=powerpc-unknown
845 os=-morphos
846 ;;
847 moxiebox)
848 basic_machine=moxie-unknown
849 os=-moxiebox
850 ;;
851 msdos)
852 basic_machine=i386-pc
853 os=-msdos
854 ;;
855 ms1-*)
856 basic_machine=`echo "$basic_machine" | sed -e 's/ms1-/mt-/'`
857 ;;
858 msys)
859 basic_machine=i686-pc
860 os=-msys
861 ;;
862 mvs)
863 basic_machine=i370-ibm
864 os=-mvs
865 ;;
866 nacl)
867 basic_machine=le32-unknown
868 os=-nacl
869 ;;809 ;;
870 ncr3000)810 *mint | mint[0-9]* | *MiNT | *MiNT[0-9]*)
871 basic_machine=i486-ncr811 cpu=m68k
872 os=-sysv4812 vendor=atari
873 ;;813 os=mint
874 netbsd386)
875 basic_machine=i386-unknown
876 os=-netbsd
877 ;;
878 netwinder)
879 basic_machine=armv4l-rebel
880 os=-linux
881 ;;
882 news | news700 | news800 | news900)
883 basic_machine=m68k-sony
884 os=-newsos
885 ;;
886 news1000)
887 basic_machine=m68030-sony
888 os=-newsos
889 ;;814 ;;
890 news-3600 | risc-news)815 news-3600 | risc-news)
891 basic_machine=mips-sony816 cpu=mips
892 os=-newsos817 vendor=sony
893 ;;818 os=newsos
894 necv70)
895 basic_machine=v70-nec
896 os=-sysv
897 ;;819 ;;
898 next | m*-next)820 next | m*-next)
899 basic_machine=m68k-next821 cpu=m68k
822 vendor=next
900 case $os in823 case $os in
901 -nextstep* )824 nextstep* )
902 ;;825 ;;
903 -ns2*)826 ns2*)
904 os=-nextstep2827 os=nextstep2
905 ;;828 ;;
906 *)829 *)
907 os=-nextstep3830 os=nextstep3
908 ;;831 ;;
909 esac832 esac
910 ;;833 ;;
911 nh3000)
912 basic_machine=m68k-harris
913 os=-cxux
914 ;;
915 nh[45]000)
916 basic_machine=m88k-harris
917 os=-cxux
918 ;;
919 nindy960)
920 basic_machine=i960-intel
921 os=-nindy
922 ;;
923 mon960)
924 basic_machine=i960-intel
925 os=-mon960
926 ;;
927 nonstopux)
928 basic_machine=mips-compaq
929 os=-nonstopux
930 ;;
931 np1)834 np1)
932 basic_machine=np1-gould835 cpu=np1
933 ;;836 vendor=gould
934 neo-tandem)
935 basic_machine=neo-tandem
936 ;;
937 nse-tandem)
938 basic_machine=nse-tandem
939 ;;
940 nsr-tandem)
941 basic_machine=nsr-tandem
942 ;;
943 nsv-tandem)
944 basic_machine=nsv-tandem
945 ;;
946 nsx-tandem)
947 basic_machine=nsx-tandem
948 ;;837 ;;
949 op50n-* | op60c-*)838 op50n-* | op60c-*)
950 basic_machine=hppa1.1-oki839 cpu=hppa1.1
951 os=-proelf840 vendor=oki
952 ;;841 os=proelf
953 openrisc | openrisc-*)
954 basic_machine=or32-unknown
955 ;;
956 os400)
957 basic_machine=powerpc-ibm
958 os=-os400
959 ;;
960 OSE68000 | ose68000)
961 basic_machine=m68000-ericsson
962 os=-ose
963 ;;
964 os68k)
965 basic_machine=m68k-none
966 os=-os68k
967 ;;842 ;;
968 pa-hitachi)843 pa-hitachi)
969 basic_machine=hppa1.1-hitachi844 cpu=hppa1.1
970 os=-hiuxwe2845 vendor=hitachi
971 ;;846 os=hiuxwe2
972 paragon)
973 basic_machine=i860-intel
974 os=-osf
975 ;;
976 parisc)
977 basic_machine=hppa-unknown
978 os=-linux
979 ;;
980 parisc-*)
981 basic_machine=hppa-`echo "$basic_machine" | sed 's/^[^-]*-//'`
982 os=-linux
983 ;;847 ;;
984 pbd)848 pbd)
985 basic_machine=sparc-tti849 cpu=sparc
850 vendor=tti
986 ;;851 ;;
987 pbb)852 pbb)
988 basic_machine=m68k-tti853 cpu=m68k
989 ;;854 vendor=tti
990 pc532 | pc532-*)
991 basic_machine=ns32k-pc532
992 ;;
993 pc98)
994 basic_machine=i386-pc
995 ;;
996 pc98-*)
997 basic_machine=i386-`echo "$basic_machine" | sed 's/^[^-]*-//'`
998 ;;
999 pentium | p5 | k5 | k6 | nexgen | viac3)
1000 basic_machine=i586-pc
1001 ;;
1002 pentiumpro | p6 | 6x86 | athlon | athlon_*)
1003 basic_machine=i686-pc
1004 ;;
1005 pentiumii | pentium2 | pentiumiii | pentium3)
1006 basic_machine=i686-pc
1007 ;;
1008 pentium4)
1009 basic_machine=i786-pc
1010 ;;
1011 pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
1012 basic_machine=i586-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1013 ;;
1014 pentiumpro-* | p6-* | 6x86-* | athlon-*)
1015 basic_machine=i686-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1016 ;;855 ;;
1017 pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)856 pc532)
1018 basic_machine=i686-`echo "$basic_machine" | sed 's/^[^-]*-//'`857 cpu=ns32k
1019 ;;858 vendor=pc532
1020 pentium4-*)
1021 basic_machine=i786-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1022 ;;859 ;;
1023 pn)860 pn)
1024 basic_machine=pn-gould861 cpu=pn
1025 ;;862 vendor=gould
1026 power) basic_machine=power-ibm
1027 ;;
1028 ppc | ppcbe) basic_machine=powerpc-unknown
1029 ;;
1030 ppc-* | ppcbe-*)
1031 basic_machine=powerpc-`echo "$basic_machine" | sed 's/^[^-]*-//'`
1032 ;;863 ;;
1033 ppcle | powerpclittle)864 power)
1034 basic_machine=powerpcle-unknown865 cpu=power
866 vendor=ibm
1035 ;;867 ;;
1036 ppcle-* | powerpclittle-*)868 ps2)
1037 basic_machine=powerpcle-`echo "$basic_machine" | sed 's/^[^-]*-//'`869 cpu=i386
1038 ;;870 vendor=ibm
1039 ppc64) basic_machine=powerpc64-unknown
1040 ;;871 ;;
1041 ppc64-*) basic_machine=powerpc64-`echo "$basic_machine" | sed 's/^[^-]*-//'`872 rm[46]00)
873 cpu=mips
874 vendor=siemens
1042 ;;875 ;;
1043 ppc64le | powerpc64little)876 rtpc | rtpc-*)
1044 basic_machine=powerpc64le-unknown877 cpu=romp
878 vendor=ibm
1045 ;;879 ;;
1046 ppc64le-* | powerpc64little-*)880 sde)
1047 basic_machine=powerpc64le-`echo "$basic_machine" | sed 's/^[^-]*-//'`881 cpu=mipsisa32
882 vendor=sde
883 os=${os:-elf}
1048 ;;884 ;;
1049 ps2)885 simso-wrs)
1050 basic_machine=i386-ibm886 cpu=sparclite
887 vendor=wrs
888 os=vxworks
1051 ;;889 ;;
1052 pw32)890 tower | tower-32)
1053 basic_machine=i586-unknown891 cpu=m68k
1054 os=-pw32892 vendor=ncr
1055 ;;893 ;;
1056 rdos | rdos64)894 vpp*|vx|vx-*)
1057 basic_machine=x86_64-pc895 cpu=f301
1058 os=-rdos896 vendor=fujitsu
1059 ;;897 ;;
1060 rdos32)898 w65)
1061 basic_machine=i386-pc899 cpu=w65
1062 os=-rdos900 vendor=wdc
1063 ;;901 ;;
1064 rom68k)902 w89k-*)
1065 basic_machine=m68k-rom68k903 cpu=hppa1.1
1066 os=-coff904 vendor=winbond
905 os=proelf
1067 ;;906 ;;
1068 rm[46]00)907 none)
1069 basic_machine=mips-siemens908 cpu=none
909 vendor=none
1070 ;;910 ;;
1071 rtpc | rtpc-*)911 leon|leon[3-9])
1072 basic_machine=romp-ibm912 cpu=sparc
913 vendor=$basic_machine
1073 ;;914 ;;
1074 s390 | s390-*)915 leon-*|leon[3-9]-*)
1075 basic_machine=s390-ibm916 cpu=sparc
917 vendor=`echo "$basic_machine" | sed 's/-.*//'`
1076 ;;918 ;;
1077 s390x | s390x-*)919
1078 basic_machine=s390x-ibm920 *-*)
921 IFS="-" read -r cpu vendor <<EOF
922$basic_machine
923EOF
1079 ;;924 ;;
1080 sa29200)925 # We use `pc' rather than `unknown'
1081 basic_machine=a29k-amd926 # because (1) that's what they normally are, and
1082 os=-udi927 # (2) the word "unknown" tends to confuse beginning users.
928 i*86 | x86_64)
929 cpu=$basic_machine
930 vendor=pc
1083 ;;931 ;;
1084 sb1)932 # These rules are duplicated from below for sake of the special case above;
1085 basic_machine=mipsisa64sb1-unknown933 # i.e. things that normalized to x86 arches should also default to "pc"
934 pc98)
935 cpu=i386
936 vendor=pc
1086 ;;937 ;;
1087 sb1el)938 x64 | amd64)
1088 basic_machine=mipsisa64sb1el-unknown939 cpu=x86_64
940 vendor=pc
1089 ;;941 ;;
1090 sde)942 # Recognize the basic CPU types without company name.
1091 basic_machine=mipsisa32-sde943 *)
1092 os=-elf944 cpu=$basic_machine
945 vendor=unknown
1093 ;;946 ;;
1094 sei)947esac
1095 basic_machine=mips-sei948
1096 os=-seiux949unset -v basic_machine
950
951# Decode basic machines in the full and proper CPU-Company form.
952case $cpu-$vendor in
953 # Here we handle the default manufacturer of certain CPU types in cannonical form. It is in
954 # some cases the only manufacturer, in others, it is the most popular.
955 craynv-unknown)
956 vendor=cray
957 os=${os:-unicosmp}
1097 ;;958 ;;
1098 sequent)959 c90-unknown | c90-cray)
1099 basic_machine=i386-sequent960 vendor=cray
961 os=${os:-unicos}
1100 ;;962 ;;
1101 sh5el)963 fx80-unknown)
1102 basic_machine=sh5le-unknown964 vendor=alliant
1103 ;;965 ;;
1104 simso-wrs)966 romp-unknown)
1105 basic_machine=sparclite-wrs967 vendor=ibm
1106 os=-vxworks
1107 ;;968 ;;
1108 sps7)969 mmix-unknown)
1109 basic_machine=m68k-bull970 vendor=knuth
1110 os=-sysv2
1111 ;;971 ;;
1112 spur)972 microblaze-unknown | microblazeel-unknown)
1113 basic_machine=spur-unknown973 vendor=xilinx
1114 ;;974 ;;
1115 st2000)975 rs6000-unknown)
1116 basic_machine=m68k-tandem976 vendor=ibm
1117 ;;977 ;;
1118 stratus)978 vax-unknown)
1119 basic_machine=i860-stratus979 vendor=dec
1120 os=-sysv4
1121 ;;980 ;;
1122 strongarm-* | thumb-*)981 pdp11-unknown)
1123 basic_machine=arm-`echo "$basic_machine" | sed 's/^[^-]*-//'`982 vendor=dec
1124 ;;983 ;;
1125 sun2)984 we32k-unknown)
1126 basic_machine=m68000-sun985 vendor=att
1127 ;;986 ;;
1128 sun2os3)987 cydra-unknown)
1129 basic_machine=m68000-sun988 vendor=cydrome
1130 os=-sunos3
1131 ;;989 ;;
1132 sun2os4)990 i370-ibm*)
1133 basic_machine=m68000-sun991 vendor=ibm
1134 os=-sunos4
1135 ;;992 ;;
1136 sun3os3)993 orion-unknown)
1137 basic_machine=m68k-sun994 vendor=highlevel
1138 os=-sunos3
1139 ;;995 ;;
1140 sun3os4)996 xps-unknown | xps100-unknown)
1141 basic_machine=m68k-sun997 cpu=xps100
1142 os=-sunos4998 vendor=honeywell
1143 ;;999 ;;
1144 sun4os3)1000
1145 basic_machine=sparc-sun1001 # Here we normalize CPU types with a missing or matching vendor
1146 os=-sunos31002 dpx20-unknown | dpx20-bull)
1003 cpu=rs6000
1004 vendor=bull
1005 os=${os:-bosx}
1147 ;;1006 ;;
1148 sun4os4)1007
1149 basic_machine=sparc-sun1008 # Here we normalize CPU types irrespective of the vendor
1150 os=-sunos41009 amd64-*)
1010 cpu=x86_64
1151 ;;1011 ;;
1152 sun4sol2)1012 blackfin-*)
1153 basic_machine=sparc-sun1013 cpu=bfin
1154 os=-solaris21014 os=linux
1155 ;;1015 ;;
1156 sun3 | sun3-*)1016 c54x-*)
1157 basic_machine=m68k-sun1017 cpu=tic54x
1158 ;;1018 ;;
1159 sun4)1019 c55x-*)
1160 basic_machine=sparc-sun1020 cpu=tic55x
1161 ;;1021 ;;
1162 sun386 | sun386i | roadrunner)1022 c6x-*)
1163 basic_machine=i386-sun1023 cpu=tic6x
1164 ;;1024 ;;
1165 sv1)1025 e500v[12]-*)
1166 basic_machine=sv1-cray1026 cpu=powerpc
1167 os=-unicos1027 os=$os"spe"
1168 ;;1028 ;;
1169 symmetry)1029 mips3*-*)
1170 basic_machine=i386-sequent1030 cpu=mips64
1171 os=-dynix
1172 ;;1031 ;;
1173 t3e)1032 ms1-*)
1174 basic_machine=alphaev5-cray1033 cpu=mt
1175 os=-unicos
1176 ;;1034 ;;
1177 t90)1035 m68knommu-*)
1178 basic_machine=t90-cray1036 cpu=m68k
1179 os=-unicos1037 os=linux
1180 ;;1038 ;;
1181 tile*)1039 m9s12z-* | m68hcs12z-* | hcs12z-* | s12z-*)
1182 basic_machine=$basic_machine-unknown1040 cpu=s12z
1183 os=-linux-gnu
1184 ;;1041 ;;
1185 tx39)1042 openrisc-*)
1186 basic_machine=mipstx39-unknown1043 cpu=or32
1187 ;;1044 ;;
1188 tx39el)1045 parisc-*)
1189 basic_machine=mipstx39el-unknown1046 cpu=hppa
1047 os=linux
1190 ;;1048 ;;
1191 toad1)1049 pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
1192 basic_machine=pdp10-xkl1050 cpu=i586
1193 os=-tops20
1194 ;;1051 ;;
1195 tower | tower-32)1052 pentiumpro-* | p6-* | 6x86-* | athlon-* | athalon_*-*)
1196 basic_machine=m68k-ncr1053 cpu=i686
1197 ;;1054 ;;
1198 tpf)1055 pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
1199 basic_machine=s390x-ibm1056 cpu=i686
1200 os=-tpf
1201 ;;1057 ;;
1202 udi29k)1058 pentium4-*)
1203 basic_machine=a29k-amd1059 cpu=i786
1204 os=-udi
1205 ;;1060 ;;
1206 ultra3)1061 pc98-*)
1207 basic_machine=a29k-nyu1062 cpu=i386
1208 os=-sym1
1209 ;;1063 ;;
1210 v810 | necv810)1064 ppc-* | ppcbe-*)
1211 basic_machine=v810-nec1065 cpu=powerpc
1212 os=-none
1213 ;;1066 ;;
1214 vaxv)1067 ppcle-* | powerpclittle-*)
1215 basic_machine=vax-dec1068 cpu=powerpcle
1216 os=-sysv
1217 ;;1069 ;;
1218 vms)1070 ppc64-*)
1219 basic_machine=vax-dec1071 cpu=powerpc64
1220 os=-vms
1221 ;;1072 ;;
1222 vpp*|vx|vx-*)1073 ppc64le-* | powerpc64little-*)
1223 basic_machine=f301-fujitsu1074 cpu=powerpc64le
1224 ;;1075 ;;
1225 vxworks960)1076 sb1-*)
1226 basic_machine=i960-wrs1077 cpu=mipsisa64sb1
1227 os=-vxworks
1228 ;;1078 ;;
1229 vxworks68)1079 sb1el-*)
1230 basic_machine=m68k-wrs1080 cpu=mipsisa64sb1el
1231 os=-vxworks
1232 ;;1081 ;;
1233 vxworks29k)1082 sh5e[lb]-*)
1234 basic_machine=a29k-wrs1083 cpu=`echo "$cpu" | sed 's/^\(sh.\)e\(.\)$/\1\2e/'`
1235 os=-vxworks
1236 ;;1084 ;;
1237 w65*)1085 spur-*)
1238 basic_machine=w65-wdc1086 cpu=spur
1239 os=-none
1240 ;;1087 ;;
1241 w89k-*)1088 strongarm-* | thumb-*)
1242 basic_machine=hppa1.1-winbond1089 cpu=arm
1243 os=-proelf
1244 ;;1090 ;;
1245 x64)1091 tx39-*)
1246 basic_machine=x86_64-pc1092 cpu=mipstx39
1247 ;;1093 ;;
1248 xbox)1094 tx39el-*)
1249 basic_machine=i686-pc1095 cpu=mipstx39el
1250 os=-mingw32
1251 ;;1096 ;;
1252 xps | xps100)1097 x64-*)
1253 basic_machine=xps100-honeywell1098 cpu=x86_64
1254 ;;1099 ;;
1255 xscale-* | xscalee[bl]-*)1100 xscale-* | xscalee[bl]-*)
1256 basic_machine=`echo "$basic_machine" | sed 's/^xscale/arm/'`1101 cpu=`echo "$cpu" | sed 's/^xscale/arm/'`
1257 ;;
1258 ymp)
1259 basic_machine=ymp-cray
1260 os=-unicos
1261 ;;
1262 none)
1263 basic_machine=none-none
1264 os=-none
1265 ;;1102 ;;
12661103
1267# Here we handle the default manufacturer of certain CPU types. It is in1104 # Recognize the cannonical CPU Types that limit and/or modify the
1268# some cases the only manufacturer, in others, it is the most popular.1105 # company names they are paired with.
1269 w89k)1106 cr16-*)
1270 basic_machine=hppa1.1-winbond1107 os=${os:-elf}
1271 ;;1108 ;;
1272 op50n)1109 crisv32-* | etraxfs*-*)
1273 basic_machine=hppa1.1-oki1110 cpu=crisv32
1274 ;;1111 vendor=axis
1275 op60c)
1276 basic_machine=hppa1.1-oki
1277 ;;
1278 romp)
1279 basic_machine=romp-ibm
1280 ;;1112 ;;
1281 mmix)1113 cris-* | etrax*-*)
1282 basic_machine=mmix-knuth1114 cpu=cris
1115 vendor=axis
1283 ;;1116 ;;
1284 rs6000)1117 crx-*)
1285 basic_machine=rs6000-ibm1118 os=${os:-elf}
1286 ;;1119 ;;
1287 vax)1120 neo-tandem)
1288 basic_machine=vax-dec1121 cpu=neo
1289 ;;1122 vendor=tandem
1290 pdp11)
1291 basic_machine=pdp11-dec
1292 ;;
1293 we32k)
1294 basic_machine=we32k-att
1295 ;;1123 ;;
1296 sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)1124 nse-tandem)
1297 basic_machine=sh-unknown1125 cpu=nse
1126 vendor=tandem
1298 ;;1127 ;;
1299 cydra)1128 nsr-tandem)
1300 basic_machine=cydra-cydrome1129 cpu=nsr
1130 vendor=tandem
1301 ;;1131 ;;
1302 orion)1132 nsv-tandem)
1303 basic_machine=orion-highlevel1133 cpu=nsv
1134 vendor=tandem
1304 ;;1135 ;;
1305 orion105)1136 nsx-tandem)
1306 basic_machine=clipper-highlevel1137 cpu=nsx
1138 vendor=tandem
1307 ;;1139 ;;
1308 mac | mpw | mac-mpw)1140 s390-*)
1309 basic_machine=m68k-apple1141 cpu=s390
1142 vendor=ibm
1310 ;;1143 ;;
1311 pmac | pmac-mpw)1144 s390x-*)
1312 basic_machine=powerpc-apple1145 cpu=s390x
1146 vendor=ibm
1313 ;;1147 ;;
1314 *-unknown)1148 tile*-*)
1315 # Make sure to match an already-canonicalized machine name.1149 os=${os:-linux-gnu}
1316 ;;1150 ;;
1151
1317 *)1152 *)
1318 echo Invalid configuration \`"$1"\': machine \`"$basic_machine"\' not recognized 1>&21153 # Recognize the cannonical CPU types that are allowed with any
1319 exit 11154 # company name.
1155 case $cpu in
1156 1750a | 580 \
1157 | a29k \
1158 | aarch64 | aarch64_be \
1159 | abacus \
1160 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] \
1161 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] \
1162 | alphapca5[67] | alpha64pca5[67] \
1163 | am33_2.0 \
1164 | arc | arceb \
1165 | arm | arm[lb]e | arme[lb] | armv* \
1166 | avr | avr32 \
1167 | asmjs \
1168 | ba \
1169 | be32 | be64 \
1170 | bfin | bs2000 \
1171 | c[123]* | c30 | [cjt]90 | c4x \
1172 | c8051 | clipper | craynv | csky | cydra \
1173 | d10v | d30v | dlx | dsp16xx \
1174 | e2k | elxsi | epiphany \
1175 | f30[01] | f700 | fido | fr30 | frv | ft32 | fx80 \
1176 | h8300 | h8500 \
1177 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
1178 | hexagon \
1179 | i370 | i*86 | i860 | i960 | ia16 | ia64 \
1180 | ip2k | iq2000 \
1181 | k1om \
1182 | le32 | le64 \
1183 | lm32 \
1184 | m32c | m32r | m32rle \
1185 | m5200 | m68000 | m680[012346]0 | m68360 | m683?2 | m68k | v70 | w65 \
1186 | m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip \
1187 | m88110 | m88k | maxq | mb | mcore | mep | metag \
1188 | microblaze | microblazeel \
1189 | mips | mipsbe | mipseb | mipsel | mipsle \
1190 | mips16 \
1191 | mips64 | mips64el \
1192 | mips64octeon | mips64octeonel \
1193 | mips64orion | mips64orionel \
1194 | mips64r5900 | mips64r5900el \
1195 | mips64vr | mips64vrel \
1196 | mips64vr4100 | mips64vr4100el \
1197 | mips64vr4300 | mips64vr4300el \
1198 | mips64vr5000 | mips64vr5000el \
1199 | mips64vr5900 | mips64vr5900el \
1200 | mipsisa32 | mipsisa32el \
1201 | mipsisa32r2 | mipsisa32r2el \
1202 | mipsisa32r6 | mipsisa32r6el \
1203 | mipsisa64 | mipsisa64el \
1204 | mipsisa64r2 | mipsisa64r2el \
1205 | mipsisa64r6 | mipsisa64r6el \
1206 | mipsisa64sb1 | mipsisa64sb1el \
1207 | mipsisa64sr71k | mipsisa64sr71kel \
1208 | mipsr5900 | mipsr5900el \
1209 | mipstx39 | mipstx39el \
1210 | mmix \
1211 | mn10200 | mn10300 \
1212 | moxie \
1213 | mt \
1214 | msp430 \
1215 | nds32 | nds32le | nds32be \
1216 | nfp \
1217 | nios | nios2 | nios2eb | nios2el \
1218 | none | np1 | ns16k | ns32k \
1219 | open8 \
1220 | or1k* \
1221 | or32 \
1222 | orion \
1223 | pdp10 | pdp11 | pj | pjl | pn | power \
1224 | powerpc | powerpc64 | powerpc64le | powerpcle | powerpcspe \
1225 | pru \
1226 | pyramid \
1227 | riscv | riscv32 | riscv64 \
1228 | rl78 | romp | rs6000 | rx \
1229 | score \
1230 | sh | sh[1234] | sh[24]a | sh[24]ae[lb] | sh[23]e | she[lb] | sh[lb]e \
1231 | sh[1234]e[lb] | sh[12345][lb]e | sh[23]ele | sh64 | sh64le \
1232 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet \
1233 | sparclite \
1234 | sparcv8 | sparcv9 | sparcv9b | sparcv9v | sv1 | sx* \
1235 | spu \
1236 | tahoe \
1237 | tic30 | tic4x | tic54x | tic55x | tic6x | tic80 \
1238 | tron \
1239 | ubicom32 \
1240 | v850 | v850e | v850e1 | v850es | v850e2 | v850e2v3 \
1241 | vax \
1242 | visium \
1243 | wasm32 \
1244 | we32k \
1245 | x86 | x86_64 | xc16x | xgate | xps100 \
1246 | xstormy16 | xtensa* \
1247 | ymp \
1248 | z8k | z80)
1249 ;;
1250
1251 *)
1252 echo Invalid configuration \`"$1"\': machine \`"$cpu-$vendor"\' not recognized 1>&2
1253 exit 1
1254 ;;
1255 esac
1320 ;;1256 ;;
1321esac1257esac
13221258
1323# Here we canonicalize certain aliases for manufacturers.1259# Here we canonicalize certain aliases for manufacturers.
1324case $basic_machine in1260case $vendor in
1325 *-digital*)1261 digital*)
1326 basic_machine=`echo "$basic_machine" | sed 's/digital.*/dec/'`1262 vendor=dec
1327 ;;1263 ;;
1328 *-commodore*)1264 commodore*)
1329 basic_machine=`echo "$basic_machine" | sed 's/commodore.*/cbm/'`1265 vendor=cbm
1330 ;;1266 ;;
1331 *)1267 *)
1332 ;;1268 ;;
@@ -1334,199 +1270,245 @@ esac
13341270
1335# Decode manufacturer-specific aliases for certain operating systems.1271# Decode manufacturer-specific aliases for certain operating systems.
13361272
1337if [ x"$os" != x"" ]1273if [ x$os != x ]
1338then1274then
1339case $os in1275case $os in
1340 # First match some system type aliases that might get confused1276 # First match some system type aliases that might get confused
1341 # with valid system types.1277 # with valid system types.
1342 # -solaris* is a basic system type, with this one exception.1278 # solaris* is a basic system type, with this one exception.
1343 -auroraux)1279 auroraux)
1344 os=-auroraux1280 os=auroraux
1345 ;;1281 ;;
1346 -solaris1 | -solaris1.*)1282 bluegene*)
1283 os=cnk
1284 ;;
1285 solaris1 | solaris1.*)
1347 os=`echo $os | sed -e 's|solaris1|sunos4|'`1286 os=`echo $os | sed -e 's|solaris1|sunos4|'`
1348 ;;1287 ;;
1349 -solaris)1288 solaris)
1350 os=-solaris21289 os=solaris2
1351 ;;1290 ;;
1352 -unixware*)1291 unixware*)
1353 os=-sysv4.2uw1292 os=sysv4.2uw
1354 ;;1293 ;;
1355 -gnu/linux*)1294 gnu/linux*)
1356 os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`1295 os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
1357 ;;1296 ;;
1358 # es1800 is here to avoid being matched by es* (a different OS)1297 # es1800 is here to avoid being matched by es* (a different OS)
1359 -es1800*)1298 es1800*)
1360 os=-ose1299 os=ose
1300 ;;
1301 # Some version numbers need modification
1302 chorusos*)
1303 os=chorusos
1304 ;;
1305 isc)
1306 os=isc2.2
1307 ;;
1308 sco6)
1309 os=sco5v6
1310 ;;
1311 sco5)
1312 os=sco3.2v5
1313 ;;
1314 sco4)
1315 os=sco3.2v4
1316 ;;
1317 sco3.2.[4-9]*)
1318 os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
1319 ;;
1320 sco3.2v[4-9]* | sco5v6*)
1321 # Don't forget version if it is 3.2v4 or newer.
1322 ;;
1323 scout)
1324 # Don't match below
1325 ;;
1326 sco*)
1327 os=sco3.2v2
1328 ;;
1329 psos*)
1330 os=psos
1361 ;;1331 ;;
1362 # Now accept the basic system types.1332 # Now accept the basic system types.
1363 # The portable systems comes first.1333 # The portable systems comes first.
1364 # Each alternative MUST end in a * to match a version number.1334 # Each alternative MUST end in a * to match a version number.
1365 # -sysv* is not here because it comes later, after sysvr4.1335 # sysv* is not here because it comes later, after sysvr4.
1366 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \1336 gnu* | bsd* | mach* | minix* | genix* | ultrix* | irix* \
1367 | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\1337 | *vms* | esix* | aix* | cnk* | sunos | sunos[34]*\
1368 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \1338 | hpux* | unos* | osf* | luna* | dgux* | auroraux* | solaris* \
1369 | -sym* | -kopensolaris* | -plan9* \1339 | sym* | kopensolaris* | plan9* \
1370 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \1340 | amigaos* | amigados* | msdos* | newsos* | unicos* | aof* \
1371 | -aos* | -aros* | -cloudabi* | -sortix* \1341 | aos* | aros* | cloudabi* | sortix* \
1372 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \1342 | nindy* | vxsim* | vxworks* | ebmon* | hms* | mvs* \
1373 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \1343 | clix* | riscos* | uniplus* | iris* | isc* | rtu* | xenix* \
1374 | -hiux* | -knetbsd* | -mirbsd* | -netbsd* \1344 | knetbsd* | mirbsd* | netbsd* \
1375 | -bitrig* | -openbsd* | -solidbsd* | -libertybsd* \1345 | bitrig* | openbsd* | solidbsd* | libertybsd* \
1376 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \1346 | ekkobsd* | kfreebsd* | freebsd* | riscix* | lynxos* \
1377 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \1347 | bosx* | nextstep* | cxux* | aout* | elf* | oabi* \
1378 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \1348 | ptx* | coff* | ecoff* | winnt* | domain* | vsta* \
1379 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \1349 | udi* | eabi* | lites* | ieee* | go32* | aux* | hcos* \
1380 | -chorusos* | -chorusrdb* | -cegcc* | -glidix* \1350 | chorusrdb* | cegcc* | glidix* \
1381 | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \1351 | cygwin* | msys* | pe* | moss* | proelf* | rtems* \
1382 | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \1352 | midipix* | mingw32* | mingw64* | linux-gnu* | linux-android* \
1383 | -linux-newlib* | -linux-musl* | -linux-uclibc* \1353 | linux-newlib* | linux-musl* | linux-uclibc* \
1384 | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \1354 | uxpv* | beos* | mpeix* | udk* | moxiebox* \
1385 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* \1355 | interix* | uwin* | mks* | rhapsody* | darwin* \
1386 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \1356 | openstep* | oskit* | conix* | pw32* | nonstopux* \
1387 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \1357 | storm-chaos* | tops10* | tenex* | tops20* | its* \
1388 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \1358 | os2* | vos* | palmos* | uclinux* | nucleus* \
1389 | -morphos* | -superux* | -rtmk* | -windiss* \1359 | morphos* | superux* | rtmk* | windiss* \
1390 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \1360 | powermax* | dnix* | nx6 | nx7 | sei* | dragonfly* \
1391 | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \1361 | skyos* | haiku* | rdos* | toppers* | drops* | es* \
1392 | -onefs* | -tirtos* | -phoenix* | -fuchsia* | -redox* | -bme* \1362 | onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \
1393 | -midnightbsd*)1363 | midnightbsd*)
1394 # Remember, each alternative MUST END IN *, to match a version number.1364 # Remember, each alternative MUST END IN *, to match a version number.
1395 ;;1365 ;;
1396 -qnx*)1366 qnx*)
1397 case $basic_machine in1367 case $cpu in
1398 x86-* | i*86-*)1368 x86 | i*86)
1399 ;;1369 ;;
1400 *)1370 *)
1401 os=-nto$os1371 os=nto-$os
1402 ;;1372 ;;
1403 esac1373 esac
1404 ;;1374 ;;
1405 -nto-qnx*)1375 hiux*)
1376 os=hiuxwe2
1377 ;;
1378 nto-qnx*)
1406 ;;1379 ;;
1407 -nto*)1380 nto*)
1408 os=`echo $os | sed -e 's|nto|nto-qnx|'`1381 os=`echo $os | sed -e 's|nto|nto-qnx|'`
1409 ;;1382 ;;
1410 -sim | -xray | -os68k* | -v88r* \1383 sim | xray | os68k* | v88r* \
1411 | -windows* | -osx | -abug | -netware* | -os9* \1384 | windows* | osx | abug | netware* | os9* \
1412 | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)1385 | macos* | mpw* | magic* | mmixware* | mon960* | lnews*)
1386 ;;
1387 linux-dietlibc)
1388 os=linux-dietlibc
1389 ;;
1390 linux*)
1391 os=`echo $os | sed -e 's|linux|linux-gnu|'`
1392 ;;
1393 lynx*178)
1394 os=lynxos178
1413 ;;1395 ;;
1414 -mac*)1396 lynx*5)
1397 os=lynxos5
1398 ;;
1399 lynx*)
1400 os=lynxos
1401 ;;
1402 mac*)
1415 os=`echo "$os" | sed -e 's|mac|macos|'`1403 os=`echo "$os" | sed -e 's|mac|macos|'`
1416 ;;1404 ;;
1417 -linux-dietlibc)1405 opened*)
1418 os=-linux-dietlibc1406 os=openedition
1419 ;;1407 ;;
1420 -linux*)1408 os400*)
1421 os=`echo $os | sed -e 's|linux|linux-gnu|'`1409 os=os400
1422 ;;1410 ;;
1423 -sunos5*)1411 sunos5*)
1424 os=`echo "$os" | sed -e 's|sunos5|solaris2|'`1412 os=`echo "$os" | sed -e 's|sunos5|solaris2|'`
1425 ;;1413 ;;
1426 -sunos6*)1414 sunos6*)
1427 os=`echo "$os" | sed -e 's|sunos6|solaris3|'`1415 os=`echo "$os" | sed -e 's|sunos6|solaris3|'`
1428 ;;1416 ;;
1429 -opened*)1417 wince*)
1430 os=-openedition1418 os=wince
1431 ;;
1432 -os400*)
1433 os=-os400
1434 ;;1419 ;;
1435 -wince*)1420 utek*)
1436 os=-wince1421 os=bsd
1437 ;;1422 ;;
1438 -utek*)1423 dynix*)
1439 os=-bsd1424 os=bsd
1440 ;;1425 ;;
1441 -dynix*)1426 acis*)
1442 os=-bsd1427 os=aos
1443 ;;1428 ;;
1444 -acis*)1429 atheos*)
1445 os=-aos1430 os=atheos
1446 ;;1431 ;;
1447 -atheos*)1432 syllable*)
1448 os=-atheos1433 os=syllable
1449 ;;1434 ;;
1450 -syllable*)1435 386bsd)
1451 os=-syllable1436 os=bsd
1452 ;;
1453 -386bsd)
1454 os=-bsd
1455 ;;1437 ;;
1456 -ctix* | -uts*)1438 ctix* | uts*)
1457 os=-sysv1439 os=sysv
1458 ;;1440 ;;
1459 -nova*)1441 nova*)
1460 os=-rtmk-nova1442 os=rtmk-nova
1461 ;;1443 ;;
1462 -ns2)1444 ns2)
1463 os=-nextstep21445 os=nextstep2
1464 ;;1446 ;;
1465 -nsk*)1447 nsk*)
1466 os=-nsk1448 os=nsk
1467 ;;1449 ;;
1468 # Preserve the version number of sinix5.1450 # Preserve the version number of sinix5.
1469 -sinix5.*)1451 sinix5.*)
1470 os=`echo $os | sed -e 's|sinix|sysv|'`1452 os=`echo $os | sed -e 's|sinix|sysv|'`
1471 ;;1453 ;;
1472 -sinix*)1454 sinix*)
1473 os=-sysv41455 os=sysv4
1474 ;;1456 ;;
1475 -tpf*)1457 tpf*)
1476 os=-tpf1458 os=tpf
1477 ;;1459 ;;
1478 -triton*)1460 triton*)
1479 os=-sysv31461 os=sysv3
1480 ;;1462 ;;
1481 -oss*)1463 oss*)
1482 os=-sysv31464 os=sysv3
1483 ;;1465 ;;
1484 -svr4*)1466 svr4*)
1485 os=-sysv41467 os=sysv4
1486 ;;1468 ;;
1487 -svr3)1469 svr3)
1488 os=-sysv31470 os=sysv3
1489 ;;1471 ;;
1490 -sysvr4)1472 sysvr4)
1491 os=-sysv41473 os=sysv4
1492 ;;1474 ;;
1493 # This must come after -sysvr4.1475 # This must come after sysvr4.
1494 -sysv*)1476 sysv*)
1495 ;;1477 ;;
1496 -ose*)1478 ose*)
1497 os=-ose1479 os=ose
1498 ;;1480 ;;
1499 -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)1481 *mint | mint[0-9]* | *MiNT | MiNT[0-9]*)
1500 os=-mint1482 os=mint
1501 ;;1483 ;;
1502 -zvmoe)1484 zvmoe)
1503 os=-zvmoe1485 os=zvmoe
1504 ;;1486 ;;
1505 -dicos*)1487 dicos*)
1506 os=-dicos1488 os=dicos
1507 ;;1489 ;;
1508 -pikeos*)1490 pikeos*)
1509 # Until real need of OS specific support for1491 # Until real need of OS specific support for
1510 # particular features comes up, bare metal1492 # particular features comes up, bare metal
1511 # configurations are quite functional.1493 # configurations are quite functional.
1512 case $basic_machine in1494 case $cpu in
1513 arm*)1495 arm*)
1514 os=-eabi1496 os=eabi
1515 ;;1497 ;;
1516 *)1498 *)
1517 os=-elf1499 os=elf
1518 ;;1500 ;;
1519 esac1501 esac
1520 ;;1502 ;;
1521 -nacl*)1503 nacl*)
1522 ;;1504 ;;
1523 -ios)1505 ios)
1524 ;;1506 ;;
1525 -none)1507 none)
1508 ;;
1509 *-eabi)
1526 ;;1510 ;;
1527 *)1511 *)
1528 # Get rid of the `-' at the beginning of $os.
1529 os=`echo $os | sed 's/[^-]*-//'`
1530 echo Invalid configuration \`"$1"\': system \`"$os"\' not recognized 1>&21512 echo Invalid configuration \`"$1"\': system \`"$os"\' not recognized 1>&2
1531 exit 11513 exit 1
1532 ;;1514 ;;
@@ -1543,258 +1525,265 @@ else
1543# will signal an error saying that MANUFACTURER isn't an operating1525# will signal an error saying that MANUFACTURER isn't an operating
1544# system, and we'll never get to this point.1526# system, and we'll never get to this point.
15451527
1546case $basic_machine in1528case $cpu-$vendor in
1547 score-*)1529 score-*)
1548 os=-elf1530 os=elf
1549 ;;1531 ;;
1550 spu-*)1532 spu-*)
1551 os=-elf1533 os=elf
1552 ;;1534 ;;
1553 *-acorn)1535 *-acorn)
1554 os=-riscix1.21536 os=riscix1.2
1555 ;;1537 ;;
1556 arm*-rebel)1538 arm*-rebel)
1557 os=-linux1539 os=linux
1558 ;;1540 ;;
1559 arm*-semi)1541 arm*-semi)
1560 os=-aout1542 os=aout
1561 ;;1543 ;;
1562 c4x-* | tic4x-*)1544 c4x-* | tic4x-*)
1563 os=-coff1545 os=coff
1564 ;;1546 ;;
1565 c8051-*)1547 c8051-*)
1566 os=-elf1548 os=elf
1549 ;;
1550 clipper-intergraph)
1551 os=clix
1567 ;;1552 ;;
1568 hexagon-*)1553 hexagon-*)
1569 os=-elf1554 os=elf
1570 ;;1555 ;;
1571 tic54x-*)1556 tic54x-*)
1572 os=-coff1557 os=coff
1573 ;;1558 ;;
1574 tic55x-*)1559 tic55x-*)
1575 os=-coff1560 os=coff
1576 ;;1561 ;;
1577 tic6x-*)1562 tic6x-*)
1578 os=-coff1563 os=coff
1579 ;;1564 ;;
1580 # This must come before the *-dec entry.1565 # This must come before the *-dec entry.
1581 pdp10-*)1566 pdp10-*)
1582 os=-tops201567 os=tops20
1583 ;;1568 ;;
1584 pdp11-*)1569 pdp11-*)
1585 os=-none1570 os=none
1586 ;;1571 ;;
1587 *-dec | vax-*)1572 *-dec | vax-*)
1588 os=-ultrix4.21573 os=ultrix4.2
1589 ;;1574 ;;
1590 m68*-apollo)1575 m68*-apollo)
1591 os=-domain1576 os=domain
1592 ;;1577 ;;
1593 i386-sun)1578 i386-sun)
1594 os=-sunos4.0.21579 os=sunos4.0.2
1595 ;;1580 ;;
1596 m68000-sun)1581 m68000-sun)
1597 os=-sunos31582 os=sunos3
1598 ;;1583 ;;
1599 m68*-cisco)1584 m68*-cisco)
1600 os=-aout1585 os=aout
1601 ;;1586 ;;
1602 mep-*)1587 mep-*)
1603 os=-elf1588 os=elf
1604 ;;1589 ;;
1605 mips*-cisco)1590 mips*-cisco)
1606 os=-elf1591 os=elf
1607 ;;1592 ;;
1608 mips*-*)1593 mips*-*)
1609 os=-elf1594 os=elf
1610 ;;1595 ;;
1611 or32-*)1596 or32-*)
1612 os=-coff1597 os=coff
1613 ;;1598 ;;
1614 *-tti) # must be before sparc entry or we get the wrong os.1599 *-tti) # must be before sparc entry or we get the wrong os.
1615 os=-sysv31600 os=sysv3
1616 ;;1601 ;;
1617 sparc-* | *-sun)1602 sparc-* | *-sun)
1618 os=-sunos4.1.11603 os=sunos4.1.1
1619 ;;1604 ;;
1620 pru-*)1605 pru-*)
1621 os=-elf1606 os=elf
1622 ;;1607 ;;
1623 *-be)1608 *-be)
1624 os=-beos1609 os=beos
1625 ;;1610 ;;
1626 *-ibm)1611 *-ibm)
1627 os=-aix1612 os=aix
1628 ;;1613 ;;
1629 *-knuth)1614 *-knuth)
1630 os=-mmixware1615 os=mmixware
1631 ;;1616 ;;
1632 *-wec)1617 *-wec)
1633 os=-proelf1618 os=proelf
1634 ;;1619 ;;
1635 *-winbond)1620 *-winbond)
1636 os=-proelf1621 os=proelf
1637 ;;1622 ;;
1638 *-oki)1623 *-oki)
1639 os=-proelf1624 os=proelf
1640 ;;1625 ;;
1641 *-hp)1626 *-hp)
1642 os=-hpux1627 os=hpux
1643 ;;1628 ;;
1644 *-hitachi)1629 *-hitachi)
1645 os=-hiux1630 os=hiux
1646 ;;1631 ;;
1647 i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)1632 i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
1648 os=-sysv1633 os=sysv
1649 ;;1634 ;;
1650 *-cbm)1635 *-cbm)
1651 os=-amigaos1636 os=amigaos
1652 ;;1637 ;;
1653 *-dg)1638 *-dg)
1654 os=-dgux1639 os=dgux
1655 ;;1640 ;;
1656 *-dolphin)1641 *-dolphin)
1657 os=-sysv31642 os=sysv3
1658 ;;1643 ;;
1659 m68k-ccur)1644 m68k-ccur)
1660 os=-rtu1645 os=rtu
1661 ;;1646 ;;
1662 m88k-omron*)1647 m88k-omron*)
1663 os=-luna1648 os=luna
1664 ;;1649 ;;
1665 *-next)1650 *-next)
1666 os=-nextstep1651 os=nextstep
1667 ;;1652 ;;
1668 *-sequent)1653 *-sequent)
1669 os=-ptx1654 os=ptx
1670 ;;1655 ;;
1671 *-crds)1656 *-crds)
1672 os=-unos1657 os=unos
1673 ;;1658 ;;
1674 *-ns)1659 *-ns)
1675 os=-genix1660 os=genix
1676 ;;1661 ;;
1677 i370-*)1662 i370-*)
1678 os=-mvs1663 os=mvs
1679 ;;1664 ;;
1680 *-gould)1665 *-gould)
1681 os=-sysv1666 os=sysv
1682 ;;1667 ;;
1683 *-highlevel)1668 *-highlevel)
1684 os=-bsd1669 os=bsd
1685 ;;1670 ;;
1686 *-encore)1671 *-encore)
1687 os=-bsd1672 os=bsd
1688 ;;1673 ;;
1689 *-sgi)1674 *-sgi)
1690 os=-irix1675 os=irix
1691 ;;1676 ;;
1692 *-siemens)1677 *-siemens)
1693 os=-sysv41678 os=sysv4
1694 ;;1679 ;;
1695 *-masscomp)1680 *-masscomp)
1696 os=-rtu1681 os=rtu
1697 ;;1682 ;;
1698 f30[01]-fujitsu | f700-fujitsu)1683 f30[01]-fujitsu | f700-fujitsu)
1699 os=-uxpv1684 os=uxpv
1700 ;;1685 ;;
1701 *-rom68k)1686 *-rom68k)
1702 os=-coff1687 os=coff
1703 ;;1688 ;;
1704 *-*bug)1689 *-*bug)
1705 os=-coff1690 os=coff
1706 ;;1691 ;;
1707 *-apple)1692 *-apple)
1708 os=-macos1693 os=macos
1709 ;;1694 ;;
1710 *-atari*)1695 *-atari*)
1711 os=-mint1696 os=mint
1697 ;;
1698 *-wrs)
1699 os=vxworks
1712 ;;1700 ;;
1713 *)1701 *)
1714 os=-none1702 os=none
1715 ;;1703 ;;
1716esac1704esac
1717fi1705fi
17181706
1719# Here we handle the case where we know the os, and the CPU type, but not the1707# Here we handle the case where we know the os, and the CPU type, but not the
1720# manufacturer. We pick the logical manufacturer.1708# manufacturer. We pick the logical manufacturer.
1721vendor=unknown1709case $vendor in
1722case $basic_machine in1710 unknown)
1723 *-unknown)
1724 case $os in1711 case $os in
1725 -riscix*)1712 riscix*)
1726 vendor=acorn1713 vendor=acorn
1727 ;;1714 ;;
1728 -sunos*)1715 sunos*)
1729 vendor=sun1716 vendor=sun
1730 ;;1717 ;;
1731 -cnk*|-aix*)1718 cnk*|-aix*)
1732 vendor=ibm1719 vendor=ibm
1733 ;;1720 ;;
1734 -beos*)1721 beos*)
1735 vendor=be1722 vendor=be
1736 ;;1723 ;;
1737 -hpux*)1724 hpux*)
1738 vendor=hp1725 vendor=hp
1739 ;;1726 ;;
1740 -mpeix*)1727 mpeix*)
1741 vendor=hp1728 vendor=hp
1742 ;;1729 ;;
1743 -hiux*)1730 hiux*)
1744 vendor=hitachi1731 vendor=hitachi
1745 ;;1732 ;;
1746 -unos*)1733 unos*)
1747 vendor=crds1734 vendor=crds
1748 ;;1735 ;;
1749 -dgux*)1736 dgux*)
1750 vendor=dg1737 vendor=dg
1751 ;;1738 ;;
1752 -luna*)1739 luna*)
1753 vendor=omron1740 vendor=omron
1754 ;;1741 ;;
1755 -genix*)1742 genix*)
1756 vendor=ns1743 vendor=ns
1757 ;;1744 ;;
1758 -mvs* | -opened*)1745 clix*)
1746 vendor=intergraph
1747 ;;
1748 mvs* | opened*)
1759 vendor=ibm1749 vendor=ibm
1760 ;;1750 ;;
1761 -os400*)1751 os400*)
1762 vendor=ibm1752 vendor=ibm
1763 ;;1753 ;;
1764 -ptx*)1754 ptx*)
1765 vendor=sequent1755 vendor=sequent
1766 ;;1756 ;;
1767 -tpf*)1757 tpf*)
1768 vendor=ibm1758 vendor=ibm
1769 ;;1759 ;;
1770 -vxsim* | -vxworks* | -windiss*)1760 vxsim* | vxworks* | windiss*)
1771 vendor=wrs1761 vendor=wrs
1772 ;;1762 ;;
1773 -aux*)1763 aux*)
1774 vendor=apple1764 vendor=apple
1775 ;;1765 ;;
1776 -hms*)1766 hms*)
1777 vendor=hitachi1767 vendor=hitachi
1778 ;;1768 ;;
1779 -mpw* | -macos*)1769 mpw* | macos*)
1780 vendor=apple1770 vendor=apple
1781 ;;1771 ;;
1782 -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)1772 *mint | mint[0-9]* | *MiNT | MiNT[0-9]*)
1783 vendor=atari1773 vendor=atari
1784 ;;1774 ;;
1785 -vos*)1775 vos*)
1786 vendor=stratus1776 vendor=stratus
1787 ;;1777 ;;
1788 esac1778 esac
1789 basic_machine=`echo "$basic_machine" | sed "s/unknown/$vendor/"`
1790 ;;1779 ;;
1791esac1780esac
17921781
1793echo "$basic_machine$os"1782echo "$cpu-$vendor-$os"
1794exit1783exit
17951784
1796# Local variables:1785# Local variables:
1797# eval: (add-hook 'write-file-functions 'time-stamp)1786# eval: (add-hook 'before-save-hook 'time-stamp)
1798# time-stamp-start: "timestamp='"1787# time-stamp-start: "timestamp='"
1799# time-stamp-format: "%:y-%02m-%02d"1788# time-stamp-format: "%:y-%02m-%02d"
1800# time-stamp-end: "'"1789# time-stamp-end: "'"
diff --git a/build-aux/depcomp b/build-aux/depcomp
index 65cbf70..4e0ae31 100755
--- a/build-aux/depcomp
+++ b/build-aux/depcomp
@@ -1,4 +1,4 @@
1#! /bin/sh1#!/usr/bin/sh
2# depcomp - compile a program generating dependencies as side-effects2# depcomp - compile a program generating dependencies as side-effects
33
4scriptversion=2018-03-07.03; # UTC4scriptversion=2018-03-07.03; # UTC
diff --git a/build-aux/install-sh b/build-aux/install-sh
index 8175c64..defb86a 100755
--- a/build-aux/install-sh
+++ b/build-aux/install-sh
@@ -1,4 +1,4 @@
1#!/bin/sh1#!/usr/bin/sh
2# install - install a program, script, or datafile2# install - install a program, script, or datafile
33
4scriptversion=2018-03-11.20; # UTC4scriptversion=2018-03-11.20; # UTC
diff --git a/build-aux/ltmain.sh b/build-aux/ltmain.sh
index 617dde4..7f3523d 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.6 Debian-2.4.6-8"34VERSION=2.4.6
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=2015-10-07.11; # UTC1373scriptversion=2014-01-07.03; # 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,8 +1530,6 @@ func_run_hooks ()
1530{1530{
1531 $debug_cmd1531 $debug_cmd
15321532
1533 _G_rc_run_hooks=false
1534
1535 case " $hookable_fns " in1533 case " $hookable_fns " in
1536 *" $1 "*) ;;1534 *" $1 "*) ;;
1537 *) func_fatal_error "'$1' does not support hook funcions.n" ;;1535 *) func_fatal_error "'$1' does not support hook funcions.n" ;;
@@ -1540,16 +1538,16 @@ func_run_hooks ()
1540 eval _G_hook_fns=\$$1_hooks; shift1538 eval _G_hook_fns=\$$1_hooks; shift
15411539
1542 for _G_hook in $_G_hook_fns; do1540 for _G_hook in $_G_hook_fns; do
1543 if eval $_G_hook '"$@"'; then1541 eval $_G_hook '"$@"'
1544 # store returned options list back into positional1542
1545 # parameters for next 'cmd' execution.1543 # store returned options list back into positional
1546 eval _G_hook_result=\$${_G_hook}_result1544 # parameters for next 'cmd' execution.
1547 eval set dummy "$_G_hook_result"; shift1545 eval _G_hook_result=\$${_G_hook}_result
1548 _G_rc_run_hooks=:1546 eval set dummy "$_G_hook_result"; shift
1549 fi
1550 done1547 done
15511548
1552 $_G_rc_run_hooks && func_run_hooks_result=$_G_hook_result1549 func_quote_for_eval ${1+"$@"}
1550 func_run_hooks_result=$func_quote_for_eval_result
1553}1551}
15541552
15551553
@@ -1559,16 +1557,10 @@ func_run_hooks ()
1559## --------------- ##1557## --------------- ##
15601558
1561# In order to add your own option parsing hooks, you must accept the1559# In order to add your own option parsing hooks, you must accept the
1562# full positional parameter list in your hook function, you may remove/edit1560# full positional parameter list in your hook function, remove any
1563# any options that you action, and then pass back the remaining unprocessed1561# options that you action, and then pass back the remaining unprocessed
1564# options in '<hooked_function_name>_result', escaped suitably for1562# options in '<hooked_function_name>_result', escaped suitably for
1565# 'eval'. In this case you also must return $EXIT_SUCCESS to let the1563# 'eval'. Like this:
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:
1572#1564#
1573# my_options_prep ()1565# my_options_prep ()
1574# {1566# {
@@ -1578,11 +1570,9 @@ func_run_hooks ()
1578# usage_message=$usage_message'1570# usage_message=$usage_message'
1579# -s, --silent don'\''t print informational messages1571# -s, --silent don'\''t print informational messages
1580# '1572# '
1581# # No change in '$@' (ignored completely by this hook). There is1573#
1582# # no need to do the equivalent (but slower) action:1574# func_quote_for_eval ${1+"$@"}
1583# # func_quote_for_eval ${1+"$@"}1575# my_options_prep_result=$func_quote_for_eval_result
1584# # my_options_prep_result=$func_quote_for_eval_result
1585# false
1586# }1576# }
1587# func_add_hook func_options_prep my_options_prep1577# func_add_hook func_options_prep my_options_prep
1588#1578#
@@ -1591,37 +1581,25 @@ func_run_hooks ()
1591# {1581# {
1592# $debug_cmd1582# $debug_cmd
1593#1583#
1594# args_changed=false
1595#
1596# # Note that for efficiency, we parse as many options as we can1584# # Note that for efficiency, we parse as many options as we can
1597# # recognise in a loop before passing the remainder back to the1585# # recognise in a loop before passing the remainder back to the
1598# # caller on the first unrecognised argument we encounter.1586# # caller on the first unrecognised argument we encounter.
1599# while test $# -gt 0; do1587# while test $# -gt 0; do
1600# opt=$1; shift1588# opt=$1; shift
1601# case $opt in1589# case $opt in
1602# --silent|-s) opt_silent=:1590# --silent|-s) opt_silent=: ;;
1603# args_changed=:
1604# ;;
1605# # Separate non-argument short options:1591# # Separate non-argument short options:
1606# -s*) func_split_short_opt "$_G_opt"1592# -s*) func_split_short_opt "$_G_opt"
1607# set dummy "$func_split_short_opt_name" \1593# set dummy "$func_split_short_opt_name" \
1608# "-$func_split_short_opt_arg" ${1+"$@"}1594# "-$func_split_short_opt_arg" ${1+"$@"}
1609# shift1595# shift
1610# args_changed=:
1611# ;;1596# ;;
1612# *) # Make sure the first unrecognised option "$_G_opt"1597# *) set dummy "$_G_opt" "$*"; shift; break ;;
1613# # is added back to "$@", we could need that later
1614# # if $args_changed is true.
1615# set dummy "$_G_opt" ${1+"$@"}; shift; break ;;
1616# esac1598# esac
1617# done1599# done
1618#1600#
1619# if $args_changed; then1601# func_quote_for_eval ${1+"$@"}
1620# func_quote_for_eval ${1+"$@"}1602# my_silent_option_result=$func_quote_for_eval_result
1621# my_silent_option_result=$func_quote_for_eval_result
1622# fi
1623#
1624# $args_changed
1625# }1603# }
1626# func_add_hook func_parse_options my_silent_option1604# func_add_hook func_parse_options my_silent_option
1627#1605#
@@ -1633,32 +1611,16 @@ func_run_hooks ()
1633# $opt_silent && $opt_verbose && func_fatal_help "\1611# $opt_silent && $opt_verbose && func_fatal_help "\
1634# '--silent' and '--verbose' options are mutually exclusive."1612# '--silent' and '--verbose' options are mutually exclusive."
1635#1613#
1636# false1614# func_quote_for_eval ${1+"$@"}
1615# my_option_validation_result=$func_quote_for_eval_result
1637# }1616# }
1638# func_add_hook func_validate_options my_option_validation1617# func_add_hook func_validate_options my_option_validation
1639#1618#
1640# You'll also need to manually amend $usage_message to reflect the extra1619# You'll alse need to manually amend $usage_message to reflect the extra
1641# options you parse. It's preferable to append if you can, so that1620# options you parse. It's preferable to append if you can, so that
1642# multiple option parsing hooks can be added safely.1621# multiple option parsing hooks can be added safely.
16431622
16441623
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
1662# func_options [ARG]...1624# func_options [ARG]...
1663# ---------------------1625# ---------------------
1664# All the functions called inside func_options are hookable. See the1626# All the functions called inside func_options are hookable. See the
@@ -1668,28 +1630,17 @@ func_options ()
1668{1630{
1669 $debug_cmd1631 $debug_cmd
16701632
1671 _G_rc_options=false1633 func_options_prep ${1+"$@"}
16721634 eval func_parse_options \
1673 for my_func in options_prep parse_options validate_options options_finish1635 ${func_options_prep_result+"$func_options_prep_result"}
1674 do1636 eval func_validate_options \
1675 if eval func_$my_func '${1+"$@"}'; then1637 ${func_parse_options_result+"$func_parse_options_result"}
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
16811638
1682 # Save modified positional parameters for caller. As a top-level1639 eval func_run_hooks func_options \
1683 # options-parser function we always need to set the 'func_options_result'1640 ${func_validate_options_result+"$func_validate_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
16911641
1692 $_G_rc_options1642 # save modified positional parameters for caller
1643 func_options_result=$func_run_hooks_result
1693}1644}
16941645
16951646
@@ -1698,9 +1649,9 @@ func_options ()
1698# All initialisations required before starting the option parse loop.1649# All initialisations required before starting the option parse loop.
1699# Note that when calling hook functions, we pass through the list of1650# Note that when calling hook functions, we pass through the list of
1700# positional parameters. If a hook function modifies that list, and1651# positional parameters. If a hook function modifies that list, and
1701# needs to propagate that back to rest of this script, then the complete1652# needs to propogate that back to rest of this script, then the complete
1702# modified list must be put in 'func_run_hooks_result' before1653# modified list must be put in 'func_run_hooks_result' before
1703# returning $EXIT_SUCCESS (otherwise $EXIT_FAILURE is returned).1654# returning.
1704func_hookable func_options_prep1655func_hookable func_options_prep
1705func_options_prep ()1656func_options_prep ()
1706{1657{
@@ -1710,14 +1661,10 @@ func_options_prep ()
1710 opt_verbose=false1661 opt_verbose=false
1711 opt_warning_types=1662 opt_warning_types=
17121663
1713 _G_rc_options_prep=false1664 func_run_hooks func_options_prep ${1+"$@"}
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
17191665
1720 $_G_rc_options_prep1666 # save modified positional parameters for caller
1667 func_options_prep_result=$func_run_hooks_result
1721}1668}
17221669
17231670
@@ -1731,20 +1678,18 @@ func_parse_options ()
17311678
1732 func_parse_options_result=1679 func_parse_options_result=
17331680
1734 _G_rc_parse_options=false
1735 # this just eases exit handling1681 # this just eases exit handling
1736 while test $# -gt 0; do1682 while test $# -gt 0; do
1737 # Defer to hook functions for initial option parsing, so they1683 # Defer to hook functions for initial option parsing, so they
1738 # get priority in the event of reusing an option name.1684 # get priority in the event of reusing an option name.
1739 if func_run_hooks func_parse_options ${1+"$@"}; then1685 func_run_hooks func_parse_options ${1+"$@"}
1740 eval set dummy "$func_run_hooks_result"; shift1686
1741 _G_rc_parse_options=:1687 # Adjust func_parse_options positional parameters to match
1742 fi1688 eval set dummy "$func_run_hooks_result"; shift
17431689
1744 # Break out of the loop if we already parsed every option.1690 # Break out of the loop if we already parsed every option.
1745 test $# -gt 0 || break1691 test $# -gt 0 || break
17461692
1747 _G_match_parse_options=:
1748 _G_opt=$11693 _G_opt=$1
1749 shift1694 shift
1750 case $_G_opt in1695 case $_G_opt in
@@ -1759,10 +1704,7 @@ func_parse_options ()
1759 ;;1704 ;;
17601705
1761 --warnings|--warning|-W)1706 --warnings|--warning|-W)
1762 if test $# = 0 && func_missing_arg $_G_opt; then1707 test $# = 0 && func_missing_arg $_G_opt && break
1763 _G_rc_parse_options=:
1764 break
1765 fi
1766 case " $warning_categories $1" in1708 case " $warning_categories $1" in
1767 *" $1 "*)1709 *" $1 "*)
1768 # trailing space prevents matching last $1 above1710 # trailing space prevents matching last $1 above
@@ -1815,25 +1757,15 @@ func_parse_options ()
1815 shift1757 shift
1816 ;;1758 ;;
18171759
1818 --) _G_rc_parse_options=: ; break ;;1760 --) break ;;
1819 -*) func_fatal_help "unrecognised option: '$_G_opt'" ;;1761 -*) func_fatal_help "unrecognised option: '$_G_opt'" ;;
1820 *) set dummy "$_G_opt" ${1+"$@"}; shift1762 *) set dummy "$_G_opt" ${1+"$@"}; shift; break ;;
1821 _G_match_parse_options=false
1822 break
1823 ;;
1824 esac1763 esac
1825
1826 $_G_match_parse_options && _G_rc_parse_options=:
1827 done1764 done
18281765
18291766 # save modified positional parameters for caller
1830 if $_G_rc_parse_options; then1767 func_quote_for_eval ${1+"$@"}
1831 # save modified positional parameters for caller1768 func_parse_options_result=$func_quote_for_eval_result
1832 func_quote_for_eval ${1+"$@"}
1833 func_parse_options_result=$func_quote_for_eval_result
1834 fi
1835
1836 $_G_rc_parse_options
1837}1769}
18381770
18391771
@@ -1846,21 +1778,16 @@ func_validate_options ()
1846{1778{
1847 $debug_cmd1779 $debug_cmd
18481780
1849 _G_rc_validate_options=false
1850
1851 # Display all warnings if -W was not given.1781 # Display all warnings if -W was not given.
1852 test -n "$opt_warning_types" || opt_warning_types=" $warning_categories"1782 test -n "$opt_warning_types" || opt_warning_types=" $warning_categories"
18531783
1854 if func_run_hooks func_validate_options ${1+"$@"}; then1784 func_run_hooks func_validate_options ${1+"$@"}
1855 # save modified positional parameters for caller
1856 func_validate_options_result=$func_run_hooks_result
1857 _G_rc_validate_options=:
1858 fi
18591785
1860 # Bail if the options were screwed!1786 # Bail if the options were screwed!
1861 $exit_cmd $EXIT_FAILURE1787 $exit_cmd $EXIT_FAILURE
18621788
1863 $_G_rc_validate_options1789 # save modified positional parameters for caller
1790 func_validate_options_result=$func_run_hooks_result
1864}1791}
18651792
18661793
@@ -2141,12 +2068,12 @@ include the following information:
2141 compiler: $LTCC2068 compiler: $LTCC
2142 compiler flags: $LTCFLAGS2069 compiler flags: $LTCFLAGS
2143 linker: $LD (gnu? $with_gnu_ld)2070 linker: $LD (gnu? $with_gnu_ld)
2144 version: $progname $scriptversion Debian-2.4.6-82071 version: $progname (GNU libtool) 2.4.6
2145 automake: `($AUTOMAKE --version) 2>/dev/null |$SED 1q`2072 automake: `($AUTOMAKE --version) 2>/dev/null |$SED 1q`
2146 autoconf: `($AUTOCONF --version) 2>/dev/null |$SED 1q`2073 autoconf: `($AUTOCONF --version) 2>/dev/null |$SED 1q`
21472074
2148Report bugs to <bug-libtool@gnu.org>.2075Report bugs to <bug-libtool@gnu.org>.
2149GNU libtool home page: <http://www.gnu.org/s/libtool/>.2076GNU libtool home page: <http://www.gnu.org/software/libtool/>.
2150General help using GNU software: <http://www.gnu.org/gethelp/>."2077General help using GNU software: <http://www.gnu.org/gethelp/>."
2151 exit 02078 exit 0
2152}2079}
@@ -2197,7 +2124,7 @@ fi
2197# a configuration failure hint, and exit.2124# a configuration failure hint, and exit.
2198func_fatal_configuration ()2125func_fatal_configuration ()
2199{2126{
2200 func__fatal_error ${1+"$@"} \2127 func_fatal_error ${1+"$@"} \
2201 "See the $PACKAGE documentation for more information." \2128 "See the $PACKAGE documentation for more information." \
2202 "Fatal configuration error."2129 "Fatal configuration error."
2203}2130}
@@ -2343,8 +2270,6 @@ libtool_options_prep ()
2343 nonopt=2270 nonopt=
2344 preserve_args=2271 preserve_args=
23452272
2346 _G_rc_lt_options_prep=:
2347
2348 # Shorthand for --mode=foo, only valid as the first argument2273 # Shorthand for --mode=foo, only valid as the first argument
2349 case $1 in2274 case $1 in
2350 clean|clea|cle|cl)2275 clean|clea|cle|cl)
@@ -2368,18 +2293,11 @@ libtool_options_prep ()
2368 uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u)2293 uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u)
2369 shift; set dummy --mode uninstall ${1+"$@"}; shift2294 shift; set dummy --mode uninstall ${1+"$@"}; shift
2370 ;;2295 ;;
2371 *)
2372 _G_rc_lt_options_prep=false
2373 ;;
2374 esac2296 esac
23752297
2376 if $_G_rc_lt_options_prep; then2298 # Pass back the list of options.
2377 # Pass back the list of options.2299 func_quote_for_eval ${1+"$@"}
2378 func_quote_for_eval ${1+"$@"}2300 libtool_options_prep_result=$func_quote_for_eval_result
2379 libtool_options_prep_result=$func_quote_for_eval_result
2380 fi
2381
2382 $_G_rc_lt_options_prep
2383}2301}
2384func_add_hook func_options_prep libtool_options_prep2302func_add_hook func_options_prep libtool_options_prep
23852303
@@ -2391,12 +2309,9 @@ libtool_parse_options ()
2391{2309{
2392 $debug_cmd2310 $debug_cmd
23932311
2394 _G_rc_lt_parse_options=false
2395
2396 # Perform our own loop to consume as many options as possible in2312 # Perform our own loop to consume as many options as possible in
2397 # each iteration.2313 # each iteration.
2398 while test $# -gt 0; do2314 while test $# -gt 0; do
2399 _G_match_lt_parse_options=:
2400 _G_opt=$12315 _G_opt=$1
2401 shift2316 shift
2402 case $_G_opt in2317 case $_G_opt in
@@ -2471,22 +2386,15 @@ libtool_parse_options ()
2471 func_append preserve_args " $_G_opt"2386 func_append preserve_args " $_G_opt"
2472 ;;2387 ;;
24732388
2474 # An option not handled by this hook function:2389 # An option not handled by this hook function:
2475 *) set dummy "$_G_opt" ${1+"$@"} ; shift2390 *) set dummy "$_G_opt" ${1+"$@"}; shift; break ;;
2476 _G_match_lt_parse_options=false
2477 break
2478 ;;
2479 esac2391 esac
2480 $_G_match_lt_parse_options && _G_rc_lt_parse_options=:
2481 done2392 done
24822393
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
24882394
2489 $_G_rc_lt_parse_options2395 # save modified positional parameters for caller
2396 func_quote_for_eval ${1+"$@"}
2397 libtool_parse_options_result=$func_quote_for_eval_result
2490}2398}
2491func_add_hook func_parse_options libtool_parse_options2399func_add_hook func_parse_options libtool_parse_options
24922400
@@ -7366,11 +7274,10 @@ func_mode_link ()
7366 # -O*, -g*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization7274 # -O*, -g*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
7367 # -specs=* GCC specs files7275 # -specs=* GCC specs files
7368 # -stdlib=* select c++ std lib with clang7276 # -stdlib=* select c++ std lib with clang
7369 # -fsanitize=* Clang/GCC memory and address sanitizer
7370 -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \7277 -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
7371 -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \7278 -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
7372 -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*| \7279 -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*| \
7373 -specs=*|-fsanitize=*)7280 -specs=*)
7374 func_quote_for_eval "$arg"7281 func_quote_for_eval "$arg"
7375 arg=$func_quote_for_eval_result7282 arg=$func_quote_for_eval_result
7376 func_append compile_command " $arg"7283 func_append compile_command " $arg"
@@ -7663,10 +7570,7 @@ func_mode_link ()
7663 case $pass in7570 case $pass in
7664 dlopen) libs=$dlfiles ;;7571 dlopen) libs=$dlfiles ;;
7665 dlpreopen) libs=$dlprefiles ;;7572 dlpreopen) libs=$dlprefiles ;;
7666 link)7573 link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
7667 libs="$deplibs %DEPLIBS%"
7668 test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs"
7669 ;;
7670 esac7574 esac
7671 fi7575 fi
7672 if test lib,dlpreopen = "$linkmode,$pass"; then7576 if test lib,dlpreopen = "$linkmode,$pass"; then
@@ -7985,19 +7889,19 @@ func_mode_link ()
7985 # It is a libtool convenience library, so add in its objects.7889 # It is a libtool convenience library, so add in its objects.
7986 func_append convenience " $ladir/$objdir/$old_library"7890 func_append convenience " $ladir/$objdir/$old_library"
7987 func_append old_convenience " $ladir/$objdir/$old_library"7891 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
7998 elif test prog != "$linkmode" && test lib != "$linkmode"; then7892 elif test prog != "$linkmode" && test lib != "$linkmode"; then
7999 func_fatal_error "'$lib' is not a convenience library"7893 func_fatal_error "'$lib' is not a convenience library"
8000 fi7894 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
8001 continue7905 continue
8002 fi # $pass = conv7906 fi # $pass = conv
80037907
@@ -8921,9 +8825,6 @@ func_mode_link ()
8921 revision=$number_minor8825 revision=$number_minor
8922 lt_irix_increment=no8826 lt_irix_increment=no
8923 ;;8827 ;;
8924 *)
8925 func_fatal_configuration "$modename: unknown library version type '$version_type'"
8926 ;;
8927 esac8828 esac
8928 ;;8829 ;;
8929 no)8830 no)
diff --git a/build-aux/missing b/build-aux/missing
index 625aeb1..ab658ed 100755
--- a/build-aux/missing
+++ b/build-aux/missing
@@ -1,4 +1,4 @@
1#! /bin/sh1#!/usr/bin/sh
2# Common wrapper for a few potentially missing GNU programs.2# Common wrapper for a few potentially missing GNU programs.
33
4scriptversion=2018-03-07.03; # UTC4scriptversion=2018-03-07.03; # UTC
diff --git a/clutter/Makefile.in b/clutter/Makefile.in
index fd88e85..274f598 100644
--- a/clutter/Makefile.in
+++ b/clutter/Makefile.in
@@ -394,7 +394,6 @@ pdfdir = @pdfdir@
394prefix = @prefix@394prefix = @prefix@
395program_transform_name = @program_transform_name@395program_transform_name = @program_transform_name@
396psdir = @psdir@396psdir = @psdir@
397runstatedir = @runstatedir@
398sbindir = @sbindir@397sbindir = @sbindir@
399sharedstatedir = @sharedstatedir@398sharedstatedir = @sharedstatedir@
400srcdir = @srcdir@399srcdir = @srcdir@
diff --git a/clutter/aclocal.m4 b/clutter/aclocal.m4
index 24c7061..4721d8f 100644
--- a/clutter/aclocal.m4
+++ b/clutter/aclocal.m4
@@ -20,224 +20,9 @@ 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# Configure paths for GLIB23# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
24# Owen Taylor 1997-200124# serial 11 (pkg-config-0.29.1)
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])
23725
238dnl pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
239dnl serial 11 (pkg-config-0.29.1)
240dnl
241dnl Copyright © 2004 Scott James Remnant <scott@netsplit.com>.26dnl Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
242dnl Copyright © 2012-2015 Dan Nicholson <dbn.lists@gmail.com>27dnl Copyright © 2012-2015 Dan Nicholson <dbn.lists@gmail.com>
243dnl28dnl
@@ -511,6 +296,290 @@ AS_VAR_COPY([$1], [pkg_cv_][$1])
511AS_VAR_IF([$1], [""], [$5], [$4])dnl296AS_VAR_IF([$1], [""], [$5], [$4])dnl
512])dnl PKG_CHECK_VAR297])dnl PKG_CHECK_VAR
513298
299dnl PKG_WITH_MODULES(VARIABLE-PREFIX, MODULES,
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 3
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
381
382dnl We can't use PKG_PREREQ because that needs 0.29.
383m4_ifndef([PKG_PROG_PKG_CONFIG],
384 [pkg.m4 version 0.28 or later is required])
385
386AC_ARG_ENABLE(glibtest, [ --disable-glibtest do not try to compile and run a test GLIB program],
387 , enable_glibtest=yes)
388
389 min_glib_version=ifelse([$1], [], [2.0.0], [$1])
390 pkg_config_args="glib-2.0 >= $min_glib_version"
391 for module in . $4
392 do
393 case "$module" in
394 gmodule)
395 pkg_config_args="$pkg_config_args gmodule-2.0"
396 ;;
397 gmodule-no-export)
398 pkg_config_args="$pkg_config_args gmodule-no-export-2.0"
399 ;;
400 gobject)
401 pkg_config_args="$pkg_config_args gobject-2.0"
402 ;;
403 gthread)
404 pkg_config_args="$pkg_config_args gthread-2.0"
405 ;;
406 gio*)
407 pkg_config_args="$pkg_config_args $module-2.0"
408 ;;
409 esac
410 done
411
412 PKG_PROG_PKG_CONFIG([0.16])
413
414 no_glib=""
415
416 if test "x$PKG_CONFIG" = x ; then
417 no_glib=yes
418 PKG_CONFIG=no
419 fi
420
421 dnl For GLIB_CFLAGS and GLIB_LIBS
422 PKG_CHECK_MODULES([GLIB], [$pkg_config_args], [:], [:])
423
424 dnl For the tools
425 PKG_CHECK_VAR([GLIB_GENMARSHAL], [glib-2.0], [glib_genmarshal])
426 PKG_CHECK_VAR([GOBJECT_QUERY], [glib-2.0], [gobject_query])
427 PKG_CHECK_VAR([GLIB_MKENUMS], [glib-2.0], [glib_mkenums])
428 PKG_CHECK_VAR([GLIB_COMPILE_RESOURCES], [gio-2.0], [glib_compile_resources])
429
430 AC_MSG_CHECKING(for GLIB - version >= $min_glib_version)
431
432 if test x$PKG_CONFIG != xno ; then
433 ## don't try to run the test against uninstalled libtool libs
434 if $PKG_CONFIG --uninstalled $pkg_config_args; then
435 echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"
436 enable_glibtest=no
437 fi
438
439 if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
440 :
441 else
442 no_glib=yes
443 fi
444 fi
445
446 if test x"$no_glib" = x ; then
447 glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \
448 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
449 glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \
450 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
451 glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \
452 sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
453 if test "x$enable_glibtest" = "xyes" ; then
454 ac_save_CFLAGS="$CFLAGS"
455 ac_save_LIBS="$LIBS"
456 CFLAGS="$CFLAGS $GLIB_CFLAGS"
457 LIBS="$GLIB_LIBS $LIBS"
458dnl
459dnl Now check if the installed GLIB is sufficiently new. (Also sanity
460dnl checks the results of pkg-config to some extent)
461dnl
462 rm -f conf.glibtest
463 AC_TRY_RUN([
464#include <glib.h>
465#include <stdio.h>
466#include <stdlib.h>
467
468int
469main (void)
470{
471 unsigned int major, minor, micro;
472
473 fclose (fopen ("conf.glibtest", "w"));
474
475 if (sscanf("$min_glib_version", "%u.%u.%u", &major, &minor, &micro) != 3) {
476 printf("%s, bad version string\n", "$min_glib_version");
477 exit(1);
478 }
479
480 if ((glib_major_version != $glib_config_major_version) ||
481 (glib_minor_version != $glib_config_minor_version) ||
482 (glib_micro_version != $glib_config_micro_version))
483 {
484 printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
485 $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
486 glib_major_version, glib_minor_version, glib_micro_version);
487 printf ("*** was found! If pkg-config was correct, then it is best\n");
488 printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
489 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
490 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
491 printf("*** required on your system.\n");
492 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
493 printf("*** to point to the correct configuration files\n");
494 }
495 else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
496 (glib_minor_version != GLIB_MINOR_VERSION) ||
497 (glib_micro_version != GLIB_MICRO_VERSION))
498 {
499 printf("*** GLIB header files (version %d.%d.%d) do not match\n",
500 GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
501 printf("*** library (version %d.%d.%d)\n",
502 glib_major_version, glib_minor_version, glib_micro_version);
503 }
504 else
505 {
506 if ((glib_major_version > major) ||
507 ((glib_major_version == major) && (glib_minor_version > minor)) ||
508 ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
509 {
510 return 0;
511 }
512 else
513 {
514 printf("\n*** An old version of GLIB (%u.%u.%u) was found.\n",
515 glib_major_version, glib_minor_version, glib_micro_version);
516 printf("*** You need a version of GLIB newer than %u.%u.%u. The latest version of\n",
517 major, minor, micro);
518 printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
519 printf("***\n");
520 printf("*** If you have already installed a sufficiently new version, this error\n");
521 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
522 printf("*** being found. The easiest way to fix this is to remove the old version\n");
523 printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n");
524 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
525 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
526 printf("*** so that the correct libraries are found at run-time))\n");
527 }
528 }
529 return 1;
530}
531],, no_glib=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
532 CFLAGS="$ac_save_CFLAGS"
533 LIBS="$ac_save_LIBS"
534 fi
535 fi
536 if test "x$no_glib" = x ; then
537 AC_MSG_RESULT(yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version))
538 ifelse([$2], , :, [$2])
539 else
540 AC_MSG_RESULT(no)
541 if test "$PKG_CONFIG" = "no" ; then
542 echo "*** A new enough version of pkg-config was not found."
543 echo "*** See http://www.freedesktop.org/software/pkgconfig/"
544 else
545 if test -f conf.glibtest ; then
546 :
547 else
548 echo "*** Could not run GLIB test program, checking why..."
549 ac_save_CFLAGS="$CFLAGS"
550 ac_save_LIBS="$LIBS"
551 CFLAGS="$CFLAGS $GLIB_CFLAGS"
552 LIBS="$LIBS $GLIB_LIBS"
553 AC_TRY_LINK([
554#include <glib.h>
555#include <stdio.h>
556], [ return ((glib_major_version) || (glib_minor_version) || (glib_micro_version)); ],
557 [ echo "*** The test program compiled, but did not run. This usually means"
558 echo "*** that the run-time linker is not finding GLIB or finding the wrong"
559 echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
560 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
561 echo "*** to the installed location Also, make sure you have run ldconfig if that"
562 echo "*** is required on your system"
563 echo "***"
564 echo "*** If you have an old version installed, it is best to remove it, although"
565 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ],
566 [ echo "*** The test program failed to compile or link. See the file config.log for the"
567 echo "*** exact error that occured. This usually means GLIB is incorrectly installed."])
568 CFLAGS="$ac_save_CFLAGS"
569 LIBS="$ac_save_LIBS"
570 fi
571 fi
572 GLIB_CFLAGS=""
573 GLIB_LIBS=""
574 GLIB_GENMARSHAL=""
575 GOBJECT_QUERY=""
576 GLIB_MKENUMS=""
577 GLIB_COMPILE_RESOURCES=""
578 ifelse([$3], , :, [$3])
579 fi
580 rm -f conf.glibtest
581])
582
514# Copyright (C) 2002-2018 Free Software Foundation, Inc.583# Copyright (C) 2002-2018 Free Software Foundation, Inc.
515#584#
516# This file is free software; the Free Software Foundation585# This file is free software; the Free Software Foundation
diff --git a/clutter/build/Makefile.in b/clutter/build/Makefile.in
index 7fbab51..ffafc25 100644
--- a/clutter/build/Makefile.in
+++ b/clutter/build/Makefile.in
@@ -162,7 +162,7 @@ ETAGS = etags
162CTAGS = ctags162CTAGS = ctags
163DIST_SUBDIRS = $(SUBDIRS)163DIST_SUBDIRS = $(SUBDIRS)
164am__DIST_COMMON = $(srcdir)/Makefile.in compile config.guess \164am__DIST_COMMON = $(srcdir)/Makefile.in compile config.guess \
165 config.sub install-sh ltmain.sh missing165 config.sub depcomp install-sh ltmain.sh missing
166DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)166DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
167am__relativize = \167am__relativize = \
168 dir0=`pwd`; \168 dir0=`pwd`; \
@@ -372,7 +372,6 @@ pdfdir = @pdfdir@
372prefix = @prefix@372prefix = @prefix@
373program_transform_name = @program_transform_name@373program_transform_name = @program_transform_name@
374psdir = @psdir@374psdir = @psdir@
375runstatedir = @runstatedir@
376sbindir = @sbindir@375sbindir = @sbindir@
377sharedstatedir = @sharedstatedir@376sharedstatedir = @sharedstatedir@
378srcdir = @srcdir@377srcdir = @srcdir@
diff --git a/clutter/build/autotools/Makefile.in b/clutter/build/autotools/Makefile.in
index 489ce7a..25c4a75 100644
--- a/clutter/build/autotools/Makefile.in
+++ b/clutter/build/autotools/Makefile.in
@@ -311,7 +311,6 @@ pdfdir = @pdfdir@
311prefix = @prefix@311prefix = @prefix@
312program_transform_name = @program_transform_name@312program_transform_name = @program_transform_name@
313psdir = @psdir@313psdir = @psdir@
314runstatedir = @runstatedir@
315sbindir = @sbindir@314sbindir = @sbindir@
316sharedstatedir = @sharedstatedir@315sharedstatedir = @sharedstatedir@
317srcdir = @srcdir@316srcdir = @srcdir@
diff --git a/clutter/build/autotools/libtool.m4 b/clutter/build/autotools/libtool.m4
index c81e669..a644432 100644
--- a/clutter/build/autotools/libtool.m4
+++ b/clutter/build/autotools/libtool.m4
@@ -728,6 +728,7 @@ _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`:
731# NOTE: Changes made to this file will be lost: look at ltmain.sh.732# NOTE: Changes made to this file will be lost: look at ltmain.sh.
732733
733# Provide generalized library-building support services.734# Provide generalized library-building support services.
@@ -2866,6 +2867,9 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
2866 # before this can be enabled.2867 # before this can be enabled.
2867 hardcode_into_libs=yes2868 hardcode_into_libs=yes
28682869
2870 # Add ABI-specific directories to the system library path.
2871 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
2872
2869 # Ideally, we could use ldconfig to report *all* directores which are2873 # Ideally, we could use ldconfig to report *all* directores which are
2870 # searched for libraries, however this is still not possible. Aside from not2874 # searched for libraries, however this is still not possible. Aside from not
2871 # being certain /sbin/ldconfig is available, command2875 # being certain /sbin/ldconfig is available, command
@@ -2874,7 +2878,7 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
2874 # appending ld.so.conf contents (and includes) to the search path.2878 # appending ld.so.conf contents (and includes) to the search path.
2875 if test -f /etc/ld.so.conf; then2879 if test -f /etc/ld.so.conf; then
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' ' '`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' ' '`
2877 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"2881 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
2878 fi2882 fi
28792883
2880 # We used to test for /lib/ld.so.1 and disable shared libraries on2884 # We used to test for /lib/ld.so.1 and disable shared libraries on
@@ -2886,18 +2890,6 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
2886 dynamic_linker='GNU/Linux ld.so'2890 dynamic_linker='GNU/Linux ld.so'
2887 ;;2891 ;;
28882892
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
2901netbsd*)2893netbsd*)
2902 version_type=sunos2894 version_type=sunos
2903 need_lib_prefix=no2895 need_lib_prefix=no
@@ -3557,7 +3549,7 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
3557 lt_cv_deplibs_check_method=pass_all3549 lt_cv_deplibs_check_method=pass_all
3558 ;;3550 ;;
35593551
3560netbsd* | netbsdelf*-gnu)3552netbsd*)
3561 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then3553 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
3562 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'3554 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3563 else3555 else
@@ -4063,8 +4055,7 @@ _LT_EOF
4063 if AC_TRY_EVAL(ac_compile); then4055 if AC_TRY_EVAL(ac_compile); then
4064 # Now try to grab the symbols.4056 # Now try to grab the symbols.
4065 nlist=conftest.nm4057 nlist=conftest.nm
4066 $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&AS_MESSAGE_LOG_FD4058 if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) && test -s "$nlist"; then
4067 if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&AS_MESSAGE_LOG_FD && test -s "$nlist"; then
4068 # Try sorting and uniquifying the output.4059 # Try sorting and uniquifying the output.
4069 if sort "$nlist" | uniq > "$nlist"T; then4060 if sort "$nlist" | uniq > "$nlist"T; then
4070 mv -f "$nlist"T "$nlist"4061 mv -f "$nlist"T "$nlist"
@@ -4436,7 +4427,7 @@ m4_if([$1], [CXX], [
4436 ;;4427 ;;
4437 esac4428 esac
4438 ;;4429 ;;
4439 netbsd* | netbsdelf*-gnu)4430 netbsd*)
4440 ;;4431 ;;
4441 *qnx* | *nto*)4432 *qnx* | *nto*)
4442 # QNX uses GNU C++, but need to define -shared option too, otherwise4433 # QNX uses GNU C++, but need to define -shared option too, otherwise
@@ -4948,9 +4939,6 @@ m4_if([$1], [CXX], [
4948 ;;4939 ;;
4949 esac4940 esac
4950 ;;4941 ;;
4951 linux* | k*bsd*-gnu | gnu*)
4952 _LT_TAGVAR(link_all_deplibs, $1)=no
4953 ;;
4954 *)4942 *)
4955 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'4943 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
4956 ;;4944 ;;
@@ -5013,9 +5001,6 @@ dnl Note also adjust exclude_expsyms for C++ above.
5013 openbsd* | bitrig*)5001 openbsd* | bitrig*)
5014 with_gnu_ld=no5002 with_gnu_ld=no
5015 ;;5003 ;;
5016 linux* | k*bsd*-gnu | gnu*)
5017 _LT_TAGVAR(link_all_deplibs, $1)=no
5018 ;;
5019 esac5004 esac
50205005
5021 _LT_TAGVAR(ld_shlibs, $1)=yes5006 _LT_TAGVAR(ld_shlibs, $1)=yes
@@ -5270,7 +5255,7 @@ _LT_EOF
5270 fi5255 fi
5271 ;;5256 ;;
52725257
5273 netbsd* | netbsdelf*-gnu)5258 netbsd*)
5274 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then5259 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
5275 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'5260 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
5276 wlarc=5261 wlarc=
@@ -5791,7 +5776,6 @@ _LT_EOF
5791 if test yes = "$lt_cv_irix_exported_symbol"; then5776 if test yes = "$lt_cv_irix_exported_symbol"; then
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'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'
5793 fi5778 fi
5794 _LT_TAGVAR(link_all_deplibs, $1)=no
5795 else5779 else
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'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'
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'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'
@@ -5813,7 +5797,7 @@ _LT_EOF
5813 esac5797 esac
5814 ;;5798 ;;
58155799
5816 netbsd* | netbsdelf*-gnu)5800 netbsd*)
5817 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then5801 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
5818 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out5802 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
5819 else5803 else
@@ -6439,7 +6423,7 @@ if test yes != "$_lt_caught_CXX_error"; then
6439 # Commands to make compiler produce verbose output that lists6423 # Commands to make compiler produce verbose output that lists
6440 # what "hidden" libraries, object files and flags are used when6424 # what "hidden" libraries, object files and flags are used when
6441 # linking a shared library.6425 # linking a shared library.
6442 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'6426 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
64436427
6444 else6428 else
6445 GXX=no6429 GXX=no
@@ -6814,7 +6798,7 @@ if test yes != "$_lt_caught_CXX_error"; then
6814 # explicitly linking system object files so we need to strip them6798 # explicitly linking system object files so we need to strip them
6815 # from the output so that they don't get included in the library6799 # from the output so that they don't get included in the library
6816 # dependencies.6800 # dependencies.
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"'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"'
6818 ;;6802 ;;
6819 *)6803 *)
6820 if test yes = "$GXX"; then6804 if test yes = "$GXX"; then
@@ -6879,7 +6863,7 @@ if test yes != "$_lt_caught_CXX_error"; then
6879 # explicitly linking system object files so we need to strip them6863 # explicitly linking system object files so we need to strip them
6880 # from the output so that they don't get included in the library6864 # from the output so that they don't get included in the library
6881 # dependencies.6865 # dependencies.
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"'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"'
6883 ;;6867 ;;
6884 *)6868 *)
6885 if test yes = "$GXX"; then6869 if test yes = "$GXX"; then
@@ -7218,7 +7202,7 @@ if test yes != "$_lt_caught_CXX_error"; then
7218 # Commands to make compiler produce verbose output that lists7202 # Commands to make compiler produce verbose output that lists
7219 # what "hidden" libraries, object files and flags are used when7203 # what "hidden" libraries, object files and flags are used when
7220 # linking a shared library.7204 # linking a shared library.
7221 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'7205 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
72227206
7223 else7207 else
7224 # FIXME: insert proper C++ library support7208 # FIXME: insert proper C++ library support
@@ -7302,7 +7286,7 @@ if test yes != "$_lt_caught_CXX_error"; then
7302 # Commands to make compiler produce verbose output that lists7286 # Commands to make compiler produce verbose output that lists
7303 # what "hidden" libraries, object files and flags are used when7287 # what "hidden" libraries, object files and flags are used when
7304 # linking a shared library.7288 # linking a shared library.
7305 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'7289 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
7306 else7290 else
7307 # g++ 2.7 appears to require '-G' NOT '-shared' on this7291 # g++ 2.7 appears to require '-G' NOT '-shared' on this
7308 # platform.7292 # platform.
@@ -7313,7 +7297,7 @@ if test yes != "$_lt_caught_CXX_error"; then
7313 # Commands to make compiler produce verbose output that lists7297 # Commands to make compiler produce verbose output that lists
7314 # what "hidden" libraries, object files and flags are used when7298 # what "hidden" libraries, object files and flags are used when
7315 # linking a shared library.7299 # linking a shared library.
7316 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'7300 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
7317 fi7301 fi
73187302
7319 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $wl$libdir'7303 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $wl$libdir'
diff --git a/clutter/build/compile b/clutter/build/compile
index 99e5052..b89c278 100755
--- a/clutter/build/compile
+++ b/clutter/build/compile
@@ -1,4 +1,4 @@
1#! /bin/sh1#!/usr/bin/sh
2# Wrapper for compilers which do not understand '-c -o'.2# Wrapper for compilers which do not understand '-c -o'.
33
4scriptversion=2018-03-07.03; # UTC4scriptversion=2018-03-07.03; # UTC
diff --git a/clutter/build/config.guess b/clutter/build/config.guess
index f50dcdb..b5d7a0f 100755
--- a/clutter/build/config.guess
+++ b/clutter/build/config.guess
@@ -1,8 +1,8 @@
1#! /bin/sh1#!/usr/bin/sh
2# Attempt to guess a canonical system name.2# Attempt to guess a canonical system name.
3# Copyright 1992-2018 Free Software Foundation, Inc.3# Copyright 1992-2018 Free Software Foundation, Inc.
44
5timestamp='2018-02-24'5timestamp='2018-08-29'
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
@@ -84,8 +84,6 @@ if test $# != 0; then
84 exit 184 exit 1
85fi85fi
8686
87trap 'exit 1' 1 2 15
88
89# CC_FOR_BUILD -- compiler used by this script. Note that the use of a87# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
90# compiler to aid in system detection is discouraged as it requires88# compiler to aid in system detection is discouraged as it requires
91# temporary files to be created and, as you can see below, it is a89# temporary files to be created and, as you can see below, it is a
@@ -96,34 +94,39 @@ trap 'exit 1' 1 2 15
9694
97# Portable tmp directory creation inspired by the Autoconf team.95# Portable tmp directory creation inspired by the Autoconf team.
9896
99set_cc_for_build='97tmp=
100trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;98# shellcheck disable=SC2172
101trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;99trap 'test -z "$tmp" || rm -fr "$tmp"' 1 2 13 15
102: ${TMPDIR=/tmp} ;100trap 'exitcode=$?; test -z "$tmp" || rm -fr "$tmp"; exit $exitcode' 0
103 { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||101
104 { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||102set_cc_for_build() {
105 { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||103 : "${TMPDIR=/tmp}"
106 { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;104 # shellcheck disable=SC2039
107dummy=$tmp/dummy ;105 { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
108tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;106 { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir "$tmp" 2>/dev/null) ; } ||
109case $CC_FOR_BUILD,$HOST_CC,$CC in107 { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir "$tmp" 2>/dev/null) && echo "Warning: creating insecure temp directory" >&2 ; } ||
110 ,,) echo "int x;" > "$dummy.c" ;108 { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; }
111 for c in cc gcc c89 c99 ; do109 dummy=$tmp/dummy
112 if ($c -c -o "$dummy.o" "$dummy.c") >/dev/null 2>&1 ; then110 case ${CC_FOR_BUILD-},${HOST_CC-},${CC-} in
113 CC_FOR_BUILD="$c"; break ;111 ,,) echo "int x;" > "$dummy.c"
114 fi ;112 for driver in cc gcc c89 c99 ; do
115 done ;113 if ($driver -c -o "$dummy.o" "$dummy.c") >/dev/null 2>&1 ; then
116 if test x"$CC_FOR_BUILD" = x ; then114 CC_FOR_BUILD="$driver"
117 CC_FOR_BUILD=no_compiler_found ;115 break
118 fi116 fi
119 ;;117 done
120 ,,*) CC_FOR_BUILD=$CC ;;118 if test x"$CC_FOR_BUILD" = x ; then
121 ,*,*) CC_FOR_BUILD=$HOST_CC ;;119 CC_FOR_BUILD=no_compiler_found
122esac ; set_cc_for_build= ;'120 fi
121 ;;
122 ,,*) CC_FOR_BUILD=$CC ;;
123 ,*,*) CC_FOR_BUILD=$HOST_CC ;;
124 esac
125}
123126
124# This is needed to find uname on a Pyramid OSx when run in the BSD universe.127# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
125# (ghazi@noc.rutgers.edu 1994-08-24)128# (ghazi@noc.rutgers.edu 1994-08-24)
126if (test -f /.attbin/uname) >/dev/null 2>&1 ; then129if test -f /.attbin/uname ; then
127 PATH=$PATH:/.attbin ; export PATH130 PATH=$PATH:/.attbin ; export PATH
128fi131fi
129132
@@ -138,7 +141,7 @@ Linux|GNU|GNU/*)
138 # We could probably try harder.141 # We could probably try harder.
139 LIBC=gnu142 LIBC=gnu
140143
141 eval "$set_cc_for_build"144 set_cc_for_build
142 cat <<-EOF > "$dummy.c"145 cat <<-EOF > "$dummy.c"
143 #include <features.h>146 #include <features.h>
144 #if defined(__UCLIBC__)147 #if defined(__UCLIBC__)
@@ -199,7 +202,7 @@ case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in
199 os=netbsdelf202 os=netbsdelf
200 ;;203 ;;
201 arm*|i386|m68k|ns32k|sh3*|sparc|vax)204 arm*|i386|m68k|ns32k|sh3*|sparc|vax)
202 eval "$set_cc_for_build"205 set_cc_for_build
203 if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \206 if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
204 | grep -q __ELF__207 | grep -q __ELF__
205 then208 then
@@ -237,7 +240,7 @@ case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in
237 # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:240 # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
238 # contains redundant information, the shorter form:241 # contains redundant information, the shorter form:
239 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.242 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
240 echo "$machine-${os}${release}${abi}"243 echo "$machine-${os}${release}${abi-}"
241 exit ;;244 exit ;;
242 *:Bitrig:*:*)245 *:Bitrig:*:*)
243 UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`246 UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
@@ -389,20 +392,15 @@ case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in
389 echo i386-pc-auroraux"$UNAME_RELEASE"392 echo i386-pc-auroraux"$UNAME_RELEASE"
390 exit ;;393 exit ;;
391 i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)394 i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
392 eval "$set_cc_for_build"395 UNAME_REL="`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`"
393 SUN_ARCH=i386396 case `isainfo -b` in
394 # If there is a compiler, see if it is configured for 64-bit objects.397 32)
395 # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.398 echo i386-pc-solaris2"$UNAME_REL"
396 # This test works for both compilers.399 ;;
397 if [ "$CC_FOR_BUILD" != no_compiler_found ]; then400 64)
398 if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \401 echo x86_64-pc-solaris2"$UNAME_REL"
399 (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \402 ;;
400 grep IS_64BIT_ARCH >/dev/null403 esac
401 then
402 SUN_ARCH=x86_64
403 fi
404 fi
405 echo "$SUN_ARCH"-pc-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
406 exit ;;404 exit ;;
407 sun4*:SunOS:6*:*)405 sun4*:SunOS:6*:*)
408 # According to config.sub, this is the proper way to canonicalize406 # According to config.sub, this is the proper way to canonicalize
@@ -482,7 +480,7 @@ case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in
482 echo clipper-intergraph-clix"$UNAME_RELEASE"480 echo clipper-intergraph-clix"$UNAME_RELEASE"
483 exit ;;481 exit ;;
484 mips:*:*:UMIPS | mips:*:*:RISCos)482 mips:*:*:UMIPS | mips:*:*:RISCos)
485 eval "$set_cc_for_build"483 set_cc_for_build
486 sed 's/^ //' << EOF > "$dummy.c"484 sed 's/^ //' << EOF > "$dummy.c"
487#ifdef __cplusplus485#ifdef __cplusplus
488#include <stdio.h> /* for printf() prototype */486#include <stdio.h> /* for printf() prototype */
@@ -579,7 +577,7 @@ EOF
579 exit ;;577 exit ;;
580 *:AIX:2:3)578 *:AIX:2:3)
581 if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then579 if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
582 eval "$set_cc_for_build"580 set_cc_for_build
583 sed 's/^ //' << EOF > "$dummy.c"581 sed 's/^ //' << EOF > "$dummy.c"
584 #include <sys/systemcfg.h>582 #include <sys/systemcfg.h>
585583
@@ -660,7 +658,7 @@ EOF
660 esac658 esac
661 fi659 fi
662 if [ "$HP_ARCH" = "" ]; then660 if [ "$HP_ARCH" = "" ]; then
663 eval "$set_cc_for_build"661 set_cc_for_build
664 sed 's/^ //' << EOF > "$dummy.c"662 sed 's/^ //' << EOF > "$dummy.c"
665663
666 #define _HPUX_SOURCE664 #define _HPUX_SOURCE
@@ -700,7 +698,7 @@ EOF
700 esac698 esac
701 if [ "$HP_ARCH" = hppa2.0w ]699 if [ "$HP_ARCH" = hppa2.0w ]
702 then700 then
703 eval "$set_cc_for_build"701 set_cc_for_build
704702
705 # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating703 # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
706 # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler704 # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler
@@ -726,7 +724,7 @@ EOF
726 echo ia64-hp-hpux"$HPUX_REV"724 echo ia64-hp-hpux"$HPUX_REV"
727 exit ;;725 exit ;;
728 3050*:HI-UX:*:*)726 3050*:HI-UX:*:*)
729 eval "$set_cc_for_build"727 set_cc_for_build
730 sed 's/^ //' << EOF > "$dummy.c"728 sed 's/^ //' << EOF > "$dummy.c"
731 #include <unistd.h>729 #include <unistd.h>
732 int730 int
@@ -840,6 +838,17 @@ EOF
840 *:BSD/OS:*:*)838 *:BSD/OS:*:*)
841 echo "$UNAME_MACHINE"-unknown-bsdi"$UNAME_RELEASE"839 echo "$UNAME_MACHINE"-unknown-bsdi"$UNAME_RELEASE"
842 exit ;;840 exit ;;
841 arm:FreeBSD:*:*)
842 UNAME_PROCESSOR=`uname -p`
843 set_cc_for_build
844 if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
845 | grep -q __ARM_PCS_VFP
846 then
847 echo "${UNAME_PROCESSOR}"-unknown-freebsd"`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`"-gnueabi
848 else
849 echo "${UNAME_PROCESSOR}"-unknown-freebsd"`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`"-gnueabihf
850 fi
851 exit ;;
843 *:FreeBSD:*:*)852 *:FreeBSD:*:*)
844 UNAME_PROCESSOR=`/usr/bin/uname -p`853 UNAME_PROCESSOR=`/usr/bin/uname -p`
845 case "$UNAME_PROCESSOR" in854 case "$UNAME_PROCESSOR" in
@@ -894,8 +903,8 @@ EOF
894 # other systems with GNU libc and userland903 # other systems with GNU libc and userland
895 echo "$UNAME_MACHINE-unknown-`echo "$UNAME_SYSTEM" | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"``echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`-$LIBC"904 echo "$UNAME_MACHINE-unknown-`echo "$UNAME_SYSTEM" | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"``echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`-$LIBC"
896 exit ;;905 exit ;;
897 i*86:Minix:*:*)906 *:Minix:*:*)
898 echo "$UNAME_MACHINE"-pc-minix907 echo "$UNAME_MACHINE"-unknown-minix
899 exit ;;908 exit ;;
900 aarch64:Linux:*:*)909 aarch64:Linux:*:*)
901 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"910 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
@@ -922,7 +931,7 @@ EOF
922 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"931 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
923 exit ;;932 exit ;;
924 arm*:Linux:*:*)933 arm*:Linux:*:*)
925 eval "$set_cc_for_build"934 set_cc_for_build
926 if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \935 if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
927 | grep -q __ARM_EABI__936 | grep -q __ARM_EABI__
928 then937 then
@@ -971,7 +980,7 @@ EOF
971 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"980 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
972 exit ;;981 exit ;;
973 mips:Linux:*:* | mips64:Linux:*:*)982 mips:Linux:*:* | mips64:Linux:*:*)
974 eval "$set_cc_for_build"983 set_cc_for_build
975 sed 's/^ //' << EOF > "$dummy.c"984 sed 's/^ //' << EOF > "$dummy.c"
976 #undef CPU985 #undef CPU
977 #undef ${UNAME_MACHINE}986 #undef ${UNAME_MACHINE}
@@ -1046,11 +1055,7 @@ EOF
1046 echo "$UNAME_MACHINE"-dec-linux-"$LIBC"1055 echo "$UNAME_MACHINE"-dec-linux-"$LIBC"
1047 exit ;;1056 exit ;;
1048 x86_64:Linux:*:*)1057 x86_64:Linux:*:*)
1049 if objdump -f /bin/sh | grep -q elf32-x86-64; then1058 echo "$UNAME_MACHINE"-pc-linux-"$LIBC"
1050 echo "$UNAME_MACHINE"-pc-linux-"$LIBC"x32
1051 else
1052 echo "$UNAME_MACHINE"-pc-linux-"$LIBC"
1053 fi
1054 exit ;;1059 exit ;;
1055 xtensa*:Linux:*:*)1060 xtensa*:Linux:*:*)
1056 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"1061 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
@@ -1289,7 +1294,7 @@ EOF
1289 exit ;;1294 exit ;;
1290 *:Darwin:*:*)1295 *:Darwin:*:*)
1291 UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown1296 UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
1292 eval "$set_cc_for_build"1297 set_cc_for_build
1293 if test "$UNAME_PROCESSOR" = unknown ; then1298 if test "$UNAME_PROCESSOR" = unknown ; then
1294 UNAME_PROCESSOR=powerpc1299 UNAME_PROCESSOR=powerpc
1295 fi1300 fi
@@ -1362,6 +1367,7 @@ EOF
1362 # "uname -m" is not consistent, so use $cputype instead. 3861367 # "uname -m" is not consistent, so use $cputype instead. 386
1363 # is converted to i386 for consistency with other x861368 # is converted to i386 for consistency with other x86
1364 # operating systems.1369 # operating systems.
1370 # shellcheck disable=SC2154
1365 if test "$cputype" = 386; then1371 if test "$cputype" = 386; then
1366 UNAME_MACHINE=i3861372 UNAME_MACHINE=i386
1367 else1373 else
@@ -1473,7 +1479,7 @@ EOF
1473exit 11479exit 1
14741480
1475# Local variables:1481# Local variables:
1476# eval: (add-hook 'write-file-functions 'time-stamp)1482# eval: (add-hook 'before-save-hook 'time-stamp)
1477# time-stamp-start: "timestamp='"1483# time-stamp-start: "timestamp='"
1478# time-stamp-format: "%:y-%02m-%02d"1484# time-stamp-format: "%:y-%02m-%02d"
1479# time-stamp-end: "'"1485# time-stamp-end: "'"
diff --git a/clutter/build/config.sub b/clutter/build/config.sub
index 1d8e98b..be4dc6e 100755
--- a/clutter/build/config.sub
+++ b/clutter/build/config.sub
@@ -1,8 +1,8 @@
1#! /bin/sh1#!/usr/bin/sh
2# Configuration validation subroutine script.2# Configuration validation subroutine script.
3# Copyright 1992-2018 Free Software Foundation, Inc.3# Copyright 1992-2018 Free Software Foundation, Inc.
44
5timestamp='2018-02-22'5timestamp='2018-08-29'
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
@@ -110,1223 +110,1159 @@ case $# in
110 exit 1;;110 exit 1;;
111esac111esac
112112
113# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).113# Split fields of configuration type
114# Here we must recognize all the valid KERNEL-OS combinations.114IFS="-" read -r field1 field2 field3 field4 <<EOF
115maybe_os=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`115$1
116case $maybe_os in116EOF
117 nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
118 linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
119 knetbsd*-gnu* | netbsd*-gnu* | netbsd*-eabi* | \
120 kopensolaris*-gnu* | cloudabi*-eabi* | \
121 storm-chaos* | os2-emx* | rtmk-nova*)
122 os=-$maybe_os
123 basic_machine=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
124 ;;
125 android-linux)
126 os=-linux-android
127 basic_machine=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
128 ;;
129 *)
130 basic_machine=`echo "$1" | sed 's/-[^-]*$//'`
131 if [ "$basic_machine" != "$1" ]
132 then os=`echo "$1" | sed 's/.*-/-/'`
133 else os=; fi
134 ;;
135esac
136117
137### Let's recognize common machines as not being operating systems so118# Separate into logical components for further validation
138### that things like config.sub decstation-3100 work. We also119case $1 in
139### recognize some manufacturers as not being operating systems, so we120 *-*-*-*-*)
140### can provide default operating systems below.121 echo Invalid configuration \`"$1"\': more than four components >&2
141case $os in122 exit 1
142 -sun*os*)
143 # Prevent following clause from handling this invalid input.
144 ;;
145 -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
146 -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
147 -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
148 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
149 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
150 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
151 -apple | -axis | -knuth | -cray | -microblaze*)
152 os=
153 basic_machine=$1
154 ;;
155 -bluegene*)
156 os=-cnk
157 ;;
158 -sim | -cisco | -oki | -wec | -winbond)
159 os=
160 basic_machine=$1
161 ;;
162 -scout)
163 ;;
164 -wrs)
165 os=-vxworks
166 basic_machine=$1
167 ;;
168 -chorusos*)
169 os=-chorusos
170 basic_machine=$1
171 ;;
172 -chorusrdb)
173 os=-chorusrdb
174 basic_machine=$1
175 ;;
176 -hiux*)
177 os=-hiuxwe2
178 ;;
179 -sco6)
180 os=-sco5v6
181 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
182 ;;
183 -sco5)
184 os=-sco3.2v5
185 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
186 ;;
187 -sco4)
188 os=-sco3.2v4
189 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
190 ;;
191 -sco3.2.[4-9]*)
192 os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
193 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
194 ;;
195 -sco3.2v[4-9]*)
196 # Don't forget version if it is 3.2v4 or newer.
197 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
198 ;;
199 -sco5v6*)
200 # Don't forget version if it is 3.2v4 or newer.
201 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
202 ;;
203 -sco*)
204 os=-sco3.2v2
205 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
206 ;;
207 -udk*)
208 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
209 ;;
210 -isc)
211 os=-isc2.2
212 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
213 ;;
214 -clix*)
215 basic_machine=clipper-intergraph
216 ;;
217 -isc*)
218 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'`
219 ;;
220 -lynx*178)
221 os=-lynxos178
222 ;;
223 -lynx*5)
224 os=-lynxos5
225 ;;123 ;;
226 -lynx*)124 *-*-*-*)
227 os=-lynxos125 basic_machine=$field1-$field2
126 os=$field3-$field4
228 ;;127 ;;
229 -ptx*)128 *-*-*)
230 basic_machine=`echo "$1" | sed -e 's/86-.*/86-sequent/'`129 # Ambiguous whether COMPANY is present, or skipped and KERNEL-OS is two
130 # parts
131 maybe_os=$field2-$field3
132 case $maybe_os in
133 nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc \
134 | linux-newlib* | linux-musl* | linux-uclibc* | uclinux-uclibc* \
135 | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* \
136 | netbsd*-eabi* | kopensolaris*-gnu* | cloudabi*-eabi* \
137 | storm-chaos* | os2-emx* | rtmk-nova*)
138 basic_machine=$field1
139 os=$maybe_os
140 ;;
141 android-linux)
142 basic_machine=$field1-unknown
143 os=linux-android
144 ;;
145 *)
146 basic_machine=$field1-$field2
147 os=$field3
148 ;;
149 esac
231 ;;150 ;;
232 -psos*)151 *-*)
233 os=-psos152 # A lone config we happen to match not fitting any patern
153 case $field1-$field2 in
154 decstation-3100)
155 basic_machine=mips-dec
156 os=
157 ;;
158 *-*)
159 # Second component is usually, but not always the OS
160 case $field2 in
161 # Prevent following clause from handling this valid os
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches