Merge ~paelzer/ubuntu/+source/libseccomp:fix-ftbfs-1849785-focal into ubuntu/+source/libseccomp:debian/sid

Proposed by Christian Ehrhardt 
Status: Superseded
Proposed branch: ~paelzer/ubuntu/+source/libseccomp:fix-ftbfs-1849785-focal
Merge into: ubuntu/+source/libseccomp:debian/sid
Diff against target: 11229 lines (+7153/-0) (has conflicts)
50 files modified
CHANGELOG (+14/-0)
CREDITS (+9/-0)
Makefile.am (+4/-0)
Makefile.in (+4/-0)
README.md (+4/-0)
SECURITY.md (+45/-0)
build-aux/config.guess (+122/-0)
build-aux/config.sub (+1654/-0)
build-aux/ltmain.sh (+554/-0)
configure (+159/-0)
configure.ac (+9/-0)
debian/changelog (+15/-0)
debian/control (+5/-0)
debian/patches/series (+4/-0)
debian/patches/tests-rely-on-__SNR_xxx-instead-of-__NR_xxx-for-sysc.patch (+47/-0)
debian/rules (+10/-0)
include/Makefile.am (+4/-0)
include/Makefile.in (+4/-0)
include/seccomp-syscalls.h (+2292/-0)
include/seccomp.h (+16/-0)
include/seccomp.h.in (+12/-0)
m4/libtool.m4 (+115/-0)
m4/ltoptions.m4 (+4/-0)
m4/ltsugar.m4 (+4/-0)
m4/ltversion.m4 (+16/-0)
m4/lt~obsolete.m4 (+4/-0)
src/arch-aarch64-syscalls.c (+106/-0)
src/arch-arm-syscalls.c (+106/-0)
src/arch-mips-syscalls.c (+115/-0)
src/arch-mips64-syscalls.c (+98/-0)
src/arch-mips64n32-syscalls.c (+98/-0)
src/arch-parisc-syscalls.c (+99/-0)
src/arch-ppc-syscalls.c (+115/-0)
src/arch-ppc64-syscalls.c (+115/-0)
src/arch-s390-syscalls.c (+120/-0)
src/arch-s390.c (+171/-0)
src/arch-s390x-syscalls.c (+120/-0)
src/arch-s390x.c (+172/-0)
src/arch-x32-syscalls.c (+98/-0)
src/arch-x86-syscalls.c (+175/-0)
src/arch-x86.c (+174/-0)
src/arch-x86_64-syscalls.c (+98/-0)
src/db.c (+4/-0)
src/python/Makefile.am (+9/-0)
src/python/Makefile.in (+9/-0)
src/python/seccomp.pyx (+5/-0)
tools/Makefile.am (+3/-0)
tools/Makefile.in (+4/-0)
tools/check-syntax (+4/-0)
tools/scmp_bpf_sim.c (+5/-0)
Conflict in CHANGELOG
Conflict in CREDITS
Conflict in Makefile.am
Conflict in Makefile.in
Conflict in README.md
Conflict in build-aux/config.guess
Conflict in build-aux/config.sub
Conflict in build-aux/ltmain.sh
Conflict in configure
Conflict in configure.ac
Conflict in debian/changelog
Conflict in debian/control
Conflict in debian/patches/series
Conflict in debian/rules
Conflict in include/Makefile.am
Conflict in include/Makefile.in
Conflict in include/seccomp.h
Conflict in include/seccomp.h.in
Conflict in m4/libtool.m4
Conflict in m4/ltoptions.m4
Conflict in m4/ltsugar.m4
Conflict in m4/ltversion.m4
Conflict in m4/lt~obsolete.m4
Conflict in src/arch-aarch64-syscalls.c
Conflict in src/arch-arm-syscalls.c
Conflict in src/arch-mips-syscalls.c
Conflict in src/arch-mips64-syscalls.c
Conflict in src/arch-mips64n32-syscalls.c
Conflict in src/arch-parisc-syscalls.c
Conflict in src/arch-ppc-syscalls.c
Conflict in src/arch-ppc64-syscalls.c
Conflict in src/arch-s390-syscalls.c
Conflict in src/arch-s390.c
Conflict in src/arch-s390x-syscalls.c
Conflict in src/arch-s390x.c
Conflict in src/arch-x32-syscalls.c
Conflict in src/arch-x86-syscalls.c
Conflict in src/arch-x86.c
Conflict in src/arch-x86_64-syscalls.c
Conflict in src/db.c
Conflict in src/python/Makefile.am
Conflict in src/python/Makefile.in
Conflict in src/python/seccomp.pyx
Conflict in tools/Makefile.am
Conflict in tools/Makefile.in
Conflict in tools/check-syntax
Conflict in tools/scmp_bpf_sim.c
Reviewer Review Type Date Requested Status
Canonical Server packageset reviewers Pending
Canonical Server Pending
git-ubuntu developers Pending
Review via email: mp+375205@code.launchpad.net

This proposal has been superseded by a proposal from 2019-11-12.

To post a comment you must log in.
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

This is a bit odd in git-ubuntu.
As part of the python transition this was already made a sync [1] in Focal (by I guess doko).

But due to that being FTBFS it never entered proposed so far.
Due to that git-ubuntu is on 2.4.1-2 while rmadison and co report 2.4.1-0ubuntu0.19.10.3.

Build test PPA is at: https://launchpad.net/~paelzer/+archive/ubuntu/bug-1849785-libseccomp-ftbfs

[1]: https://launchpad.net/ubuntu/+source/libseccomp/2.4.1-2

1af91f9... by Christian Ehrhardt 

New upstream version 2.4.2

8449cbb... by Christian Ehrhardt 

debian/changelog: New upstream release 2.4.2 (LP: #1849785)

Signed-off-by: Christian Ehrhardt <email address hidden>

01624a7... by Christian Ehrhardt 

drop d/p/python_install_dir.patch (now upstream)

Signed-off-by: Christian Ehrhardt <email address hidden>

37d1514... by Christian Ehrhardt 

d/rules: python 3.8 includes lack the m modifier (https://wiki.debian.org/Python/Python3.8)

Signed-off-by: Christian Ehrhardt <email address hidden>

4c863f2... by Christian Ehrhardt 

update-maintainer

Signed-off-by: Christian Ehrhardt <email address hidden>

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Interim Report:
- Fixed to get new upstream 2.4.2 (fixing old kernel header issue)
- Then Fixed to support python 3.8 which changed imports.
- ATM remaining is an arm breakage around __NR_open being missing.

56e3b9d... by Christian Ehrhardt 

d/p/tests-rely-on-__SNR_xxx-instead-of-__NR_xxx-for-sysc.patch: fix build time test on arm64

Signed-off-by: Christian Ehrhardt <email address hidden>

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

The above commit fixed the arm64 build time test

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

FYI Debian MP to get it in there as well:
=> https://salsa.debian.org/debian/libseccomp/merge_requests/1

Hopefully they like my MP there and we can soon sync this again.
We might even consider waiting a few days to not do the extra found of uploading this just to sync it.
But a timely review would be nice still to be ready to upload as-needed.

Unmerged commits

4c863f2... by Christian Ehrhardt 

update-maintainer

Signed-off-by: Christian Ehrhardt <email address hidden>

8449cbb... by Christian Ehrhardt 

debian/changelog: New upstream release 2.4.2 (LP: #1849785)

Signed-off-by: Christian Ehrhardt <email address hidden>

56e3b9d... by Christian Ehrhardt 

d/p/tests-rely-on-__SNR_xxx-instead-of-__NR_xxx-for-sysc.patch: fix build time test on arm64

Signed-off-by: Christian Ehrhardt <email address hidden>

37d1514... by Christian Ehrhardt 

d/rules: python 3.8 includes lack the m modifier (https://wiki.debian.org/Python/Python3.8)

Signed-off-by: Christian Ehrhardt <email address hidden>

01624a7... by Christian Ehrhardt 

drop d/p/python_install_dir.patch (now upstream)

Signed-off-by: Christian Ehrhardt <email address hidden>

1af91f9... by Christian Ehrhardt 

New upstream version 2.4.2

72a1ca2... by Felix Geyer

Release to unstable.

e169c18... by Felix Geyer

Set Rules-Requires-Root: no.

197edee... by Felix Geyer

Remove build-dependency on valgrind for mipsel and x32 as it's broken on those archs.

2d61f3d... by Felix Geyer

Release to unstable.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/CHANGELOG b/CHANGELOG
2index a65bc5b..e1a732c 100644
3--- a/CHANGELOG
4+++ b/CHANGELOG
5@@ -2,6 +2,20 @@ libseccomp: Releases
6 ===============================================================================
7 https://github.com/seccomp/libseccomp
8
9+<<<<<<< CHANGELOG
10+=======
11+* Version 2.4.2 - November 7, 2019
12+- Update the syscall table for Linux v5.4-rc4
13+- Stop defining __NR_x values for syscalls that don't exist. Libseccomp
14+ now uses __SNR_x internally
15+- Update the Cython language level to "3str"
16+- Add support for io-uring related system calls
17+- Clarify the maintainer documentation and release process
18+- Fix python module name issue introduced in the v2.4.0 release. The module
19+ is now named "seccomp" as it was previously
20+- Deliver the SECURITY.md file in releases
21+
22+>>>>>>> CHANGELOG
23 * Version 2.4.1 - April 17, 2019
24 - Fix a BPF generation bug where the optimizer mistakenly identified duplicate
25 BPF code blocks
26diff --git a/CREDITS b/CREDITS
27index 2be42d9..fc6e203 100644
28--- a/CREDITS
29+++ b/CREDITS
30@@ -13,6 +13,10 @@ David Drysdale <drysdale@google.com>
31 Eduardo Otubo <otubo@linux.vnet.ibm.com>
32 Eric Paris <eparis@redhat.com>
33 Felix Abecassis <fabecassis@nvidia.com>
34+<<<<<<< CREDITS
35+=======
36+Felix Geyer <debfx@fobos.de>
37+>>>>>>> CREDITS
38 Heiko Carstens <heiko.carstens@de.ibm.com>
39 Helge Deller <deller@gmx.de>
40 Jake Edge <jake@lwn.net>
41@@ -35,6 +39,11 @@ Mike Frysinger <vapier@gentoo.org>
42 Mike Strosaker <strosake@linux.vnet.ibm.com>
43 Paul Moore <paul@paul-moore.com>
44 Serge Hallyn <serge.hallyn@ubuntu.com>
45+<<<<<<< CREDITS
46+=======
47+Stéphane Graber <stgraber@ubuntu.com>
48+Stephen Coleman <omegacoleman@gmail.com>
49+>>>>>>> CREDITS
50 Thiago Marcos P. Santos <thiago.santos@intel.com>
51 Tobias Klauser <tklauser@distanz.ch>
52 Tom Hromatka <tom.hromatka@oracle.com>
53diff --git a/Makefile.am b/Makefile.am
54index b69cec5..dbc974d 100644
55--- a/Makefile.am
56+++ b/Makefile.am
57@@ -24,7 +24,11 @@ pkgconf_DATA = libseccomp.pc
58
59 EXTRA_DIST = \
60 CHANGELOG CREDITS LICENSE \
61+<<<<<<< Makefile.am
62 README.md CONTRIBUTING.md RELEASE_PROCESS.md
63+=======
64+ README.md CONTRIBUTING.md SECURITY.md
65+>>>>>>> Makefile.am
66
67 # support silent builds
68 AM_MAKEFLAGS_0 = --quiet --no-print-directory
69diff --git a/Makefile.in b/Makefile.in
70index a9b4f40..b462964 100644
71--- a/Makefile.in
72+++ b/Makefile.in
73@@ -407,7 +407,11 @@ pkgconfdir = ${libdir}/pkgconfig
74 pkgconf_DATA = libseccomp.pc
75 EXTRA_DIST = \
76 CHANGELOG CREDITS LICENSE \
77+<<<<<<< Makefile.in
78 README.md CONTRIBUTING.md RELEASE_PROCESS.md
79+=======
80+ README.md CONTRIBUTING.md SECURITY.md
81+>>>>>>> Makefile.in
82
83
84 # support silent builds
85diff --git a/README.md b/README.md
86index cf67e47..953d315 100644
87--- a/README.md
88+++ b/README.md
89@@ -110,4 +110,8 @@ these tools are installed by default.
90
91 Problems with the libseccomp library can be reported using the GitHub issue
92 tracking system or the mailing list. Those who wish to privately report
93+<<<<<<< README.md
94 potential vulnerabilities can send mail to paul@paul-moore.com.
95+=======
96+potential vulnerabilities should follow the directions in SECURITY.md.
97+>>>>>>> README.md
98diff --git a/SECURITY.md b/SECURITY.md
99new file mode 100644
100index 0000000..3a173cc
101--- /dev/null
102+++ b/SECURITY.md
103@@ -0,0 +1,45 @@
104+The libseccomp Security Vulnerability Handling Process
105+===============================================================================
106+https://github.com/seccomp/libseccomp
107+
108+This document document attempts to describe the processes through which
109+sensitive security relevant bugs can be responsibly disclosed to the libseccomp
110+project and how the project maintainers should handle these reports. Just like
111+the other libseccomp process documents, this document should be treated as a
112+guiding document and not a hard, unyielding set of regulations; the bug
113+reporters and project maintainers are encouraged to work together to address
114+the issues as best they can, in a manner which works best for all parties
115+involved.
116+
117+### Reporting Problems
118+
119+Problems with the libseccomp library that are not suitable for immediate public
120+disclosure should be emailed to the current libseccomp maintainers, the list is
121+below. We typically request at most a 90 day time period to address the issue
122+before it is made public, but we will make every effort to address the issue as
123+quickly as possible and shorten the disclosure window.
124+
125+* Paul Moore, paul@paul-moore.com
126+* Tom Hromatka, tom.hromatka@oracle.com
127+
128+### Resolving Sensitive Security Issues
129+
130+Upon disclosure of a bug, the maintainers should work together to investigate
131+the problem and decide on a solution. In order to prevent an early disclosure
132+of the problem, those working on the solution should do so privately and
133+outside of the traditional libseccomp development practices. One possible
134+solution to this is to leverage the GitHub "Security" functionality to create a
135+private development fork that can be shared among the maintainers, and
136+optionally the reporter. A placeholder GitHub issue may be created, but
137+details should remain extremely limited until such time as the problem has been
138+fixed and responsibly disclosed. If a CVE, or other tag, has been assigned to
139+the problem, the GitHub issue title should include the vulnerability tag once
140+the problem has been disclosed.
141+
142+### Public Disclosure
143+
144+Whenever possible, responsible reporting and patching practices should be
145+followed, including notification to the linux-distros and oss-security mailing
146+lists.
147+
148+* https://oss-security.openwall.org/wiki/mailing-lists/distros
149diff --git a/build-aux/config.guess b/build-aux/config.guess
150index 256083a..e686b38 100755
151--- a/build-aux/config.guess
152+++ b/build-aux/config.guess
153@@ -2,7 +2,11 @@
154 # Attempt to guess a canonical system name.
155 # Copyright 1992-2018 Free Software Foundation, Inc.
156
157+<<<<<<< build-aux/config.guess
158 timestamp='2018-03-08'
159+=======
160+timestamp='2018-08-29'
161+>>>>>>> build-aux/config.guess
162
163 # This file is free software; you can redistribute it and/or modify it
164 # under the terms of the GNU General Public License as published by
165@@ -84,8 +88,11 @@ if test $# != 0; then
166 exit 1
167 fi
168
169+<<<<<<< build-aux/config.guess
170 trap 'exit 1' 1 2 15
171
172+=======
173+>>>>>>> build-aux/config.guess
174 # CC_FOR_BUILD -- compiler used by this script. Note that the use of a
175 # compiler to aid in system detection is discouraged as it requires
176 # temporary files to be created and, as you can see below, it is a
177@@ -96,6 +103,7 @@ trap 'exit 1' 1 2 15
178
179 # Portable tmp directory creation inspired by the Autoconf team.
180
181+<<<<<<< build-aux/config.guess
182 set_cc_for_build='
183 trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
184 trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
185@@ -124,6 +132,41 @@ esac ; set_cc_for_build= ;'
186 # This is needed to find uname on a Pyramid OSx when run in the BSD universe.
187 # (ghazi@noc.rutgers.edu 1994-08-24)
188 if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
189+=======
190+tmp=
191+# shellcheck disable=SC2172
192+trap 'test -z "$tmp" || rm -fr "$tmp"' 1 2 13 15
193+trap 'exitcode=$?; test -z "$tmp" || rm -fr "$tmp"; exit $exitcode' 0
194+
195+set_cc_for_build() {
196+ : "${TMPDIR=/tmp}"
197+ # shellcheck disable=SC2039
198+ { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
199+ { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir "$tmp" 2>/dev/null) ; } ||
200+ { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir "$tmp" 2>/dev/null) && echo "Warning: creating insecure temp directory" >&2 ; } ||
201+ { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; }
202+ dummy=$tmp/dummy
203+ case ${CC_FOR_BUILD-},${HOST_CC-},${CC-} in
204+ ,,) echo "int x;" > "$dummy.c"
205+ for driver in cc gcc c89 c99 ; do
206+ if ($driver -c -o "$dummy.o" "$dummy.c") >/dev/null 2>&1 ; then
207+ CC_FOR_BUILD="$driver"
208+ break
209+ fi
210+ done
211+ if test x"$CC_FOR_BUILD" = x ; then
212+ CC_FOR_BUILD=no_compiler_found
213+ fi
214+ ;;
215+ ,,*) CC_FOR_BUILD=$CC ;;
216+ ,*,*) CC_FOR_BUILD=$HOST_CC ;;
217+ esac
218+}
219+
220+# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
221+# (ghazi@noc.rutgers.edu 1994-08-24)
222+if test -f /.attbin/uname ; then
223+>>>>>>> build-aux/config.guess
224 PATH=$PATH:/.attbin ; export PATH
225 fi
226
227@@ -138,7 +181,11 @@ Linux|GNU|GNU/*)
228 # We could probably try harder.
229 LIBC=gnu
230
231+<<<<<<< build-aux/config.guess
232 eval "$set_cc_for_build"
233+=======
234+ set_cc_for_build
235+>>>>>>> build-aux/config.guess
236 cat <<-EOF > "$dummy.c"
237 #include <features.h>
238 #if defined(__UCLIBC__)
239@@ -199,7 +246,11 @@ case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in
240 os=netbsdelf
241 ;;
242 arm*|i386|m68k|ns32k|sh3*|sparc|vax)
243+<<<<<<< build-aux/config.guess
244 eval "$set_cc_for_build"
245+=======
246+ set_cc_for_build
247+>>>>>>> build-aux/config.guess
248 if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
249 | grep -q __ELF__
250 then
251@@ -237,7 +288,11 @@ case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in
252 # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
253 # contains redundant information, the shorter form:
254 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
255+<<<<<<< build-aux/config.guess
256 echo "$machine-${os}${release}${abi}"
257+=======
258+ echo "$machine-${os}${release}${abi-}"
259+>>>>>>> build-aux/config.guess
260 exit ;;
261 *:Bitrig:*:*)
262 UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
263@@ -389,6 +444,7 @@ case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in
264 echo i386-pc-auroraux"$UNAME_RELEASE"
265 exit ;;
266 i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
267+<<<<<<< build-aux/config.guess
268 eval "$set_cc_for_build"
269 SUN_ARCH=i386
270 # If there is a compiler, see if it is configured for 64-bit objects.
271@@ -403,6 +459,17 @@ case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in
272 fi
273 fi
274 echo "$SUN_ARCH"-pc-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
275+=======
276+ UNAME_REL="`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`"
277+ case `isainfo -b` in
278+ 32)
279+ echo i386-pc-solaris2"$UNAME_REL"
280+ ;;
281+ 64)
282+ echo x86_64-pc-solaris2"$UNAME_REL"
283+ ;;
284+ esac
285+>>>>>>> build-aux/config.guess
286 exit ;;
287 sun4*:SunOS:6*:*)
288 # According to config.sub, this is the proper way to canonicalize
289@@ -482,7 +549,11 @@ case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in
290 echo clipper-intergraph-clix"$UNAME_RELEASE"
291 exit ;;
292 mips:*:*:UMIPS | mips:*:*:RISCos)
293+<<<<<<< build-aux/config.guess
294 eval "$set_cc_for_build"
295+=======
296+ set_cc_for_build
297+>>>>>>> build-aux/config.guess
298 sed 's/^ //' << EOF > "$dummy.c"
299 #ifdef __cplusplus
300 #include <stdio.h> /* for printf() prototype */
301@@ -579,7 +650,11 @@ EOF
302 exit ;;
303 *:AIX:2:3)
304 if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
305+<<<<<<< build-aux/config.guess
306 eval "$set_cc_for_build"
307+=======
308+ set_cc_for_build
309+>>>>>>> build-aux/config.guess
310 sed 's/^ //' << EOF > "$dummy.c"
311 #include <sys/systemcfg.h>
312
313@@ -660,7 +735,11 @@ EOF
314 esac
315 fi
316 if [ "$HP_ARCH" = "" ]; then
317+<<<<<<< build-aux/config.guess
318 eval "$set_cc_for_build"
319+=======
320+ set_cc_for_build
321+>>>>>>> build-aux/config.guess
322 sed 's/^ //' << EOF > "$dummy.c"
323
324 #define _HPUX_SOURCE
325@@ -700,7 +779,11 @@ EOF
326 esac
327 if [ "$HP_ARCH" = hppa2.0w ]
328 then
329+<<<<<<< build-aux/config.guess
330 eval "$set_cc_for_build"
331+=======
332+ set_cc_for_build
333+>>>>>>> build-aux/config.guess
334
335 # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
336 # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler
337@@ -726,7 +809,11 @@ EOF
338 echo ia64-hp-hpux"$HPUX_REV"
339 exit ;;
340 3050*:HI-UX:*:*)
341+<<<<<<< build-aux/config.guess
342 eval "$set_cc_for_build"
343+=======
344+ set_cc_for_build
345+>>>>>>> build-aux/config.guess
346 sed 's/^ //' << EOF > "$dummy.c"
347 #include <unistd.h>
348 int
349@@ -840,6 +927,20 @@ EOF
350 *:BSD/OS:*:*)
351 echo "$UNAME_MACHINE"-unknown-bsdi"$UNAME_RELEASE"
352 exit ;;
353+<<<<<<< build-aux/config.guess
354+=======
355+ arm:FreeBSD:*:*)
356+ UNAME_PROCESSOR=`uname -p`
357+ set_cc_for_build
358+ if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
359+ | grep -q __ARM_PCS_VFP
360+ then
361+ echo "${UNAME_PROCESSOR}"-unknown-freebsd"`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`"-gnueabi
362+ else
363+ echo "${UNAME_PROCESSOR}"-unknown-freebsd"`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`"-gnueabihf
364+ fi
365+ exit ;;
366+>>>>>>> build-aux/config.guess
367 *:FreeBSD:*:*)
368 UNAME_PROCESSOR=`/usr/bin/uname -p`
369 case "$UNAME_PROCESSOR" in
370@@ -894,8 +995,13 @@ EOF
371 # other systems with GNU libc and userland
372 echo "$UNAME_MACHINE-unknown-`echo "$UNAME_SYSTEM" | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"``echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`-$LIBC"
373 exit ;;
374+<<<<<<< build-aux/config.guess
375 i*86:Minix:*:*)
376 echo "$UNAME_MACHINE"-pc-minix
377+=======
378+ *:Minix:*:*)
379+ echo "$UNAME_MACHINE"-unknown-minix
380+>>>>>>> build-aux/config.guess
381 exit ;;
382 aarch64:Linux:*:*)
383 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
384@@ -922,7 +1028,11 @@ EOF
385 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
386 exit ;;
387 arm*:Linux:*:*)
388+<<<<<<< build-aux/config.guess
389 eval "$set_cc_for_build"
390+=======
391+ set_cc_for_build
392+>>>>>>> build-aux/config.guess
393 if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
394 | grep -q __ARM_EABI__
395 then
396@@ -971,7 +1081,11 @@ EOF
397 echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
398 exit ;;
399 mips:Linux:*:* | mips64:Linux:*:*)
400+<<<<<<< build-aux/config.guess
401 eval "$set_cc_for_build"
402+=======
403+ set_cc_for_build
404+>>>>>>> build-aux/config.guess
405 sed 's/^ //' << EOF > "$dummy.c"
406 #undef CPU
407 #undef ${UNAME_MACHINE}
408@@ -1285,7 +1399,11 @@ EOF
409 exit ;;
410 *:Darwin:*:*)
411 UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
412+<<<<<<< build-aux/config.guess
413 eval "$set_cc_for_build"
414+=======
415+ set_cc_for_build
416+>>>>>>> build-aux/config.guess
417 if test "$UNAME_PROCESSOR" = unknown ; then
418 UNAME_PROCESSOR=powerpc
419 fi
420@@ -1358,6 +1476,10 @@ EOF
421 # "uname -m" is not consistent, so use $cputype instead. 386
422 # is converted to i386 for consistency with other x86
423 # operating systems.
424+<<<<<<< build-aux/config.guess
425+=======
426+ # shellcheck disable=SC2154
427+>>>>>>> build-aux/config.guess
428 if test "$cputype" = 386; then
429 UNAME_MACHINE=i386
430 else
431diff --git a/build-aux/config.sub b/build-aux/config.sub
432index 9ccf09a..d712ba5 100755
433--- a/build-aux/config.sub
434+++ b/build-aux/config.sub
435@@ -2,7 +2,11 @@
436 # Configuration validation subroutine script.
437 # Copyright 1992-2018 Free Software Foundation, Inc.
438
439+<<<<<<< build-aux/config.sub
440 timestamp='2018-03-08'
441+=======
442+timestamp='2018-08-29'
443+>>>>>>> build-aux/config.sub
444
445 # This file is free software; you can redistribute it and/or modify it
446 # under the terms of the GNU General Public License as published by
447@@ -110,6 +114,7 @@ case $# in
448 exit 1;;
449 esac
450
451+<<<<<<< build-aux/config.sub
452 # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
453 # Here we must recognize all the valid KERNEL-OS combinations.
454 maybe_os=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
455@@ -1317,16 +1322,1170 @@ case $basic_machine in
456 *)
457 echo Invalid configuration \`"$1"\': machine \`"$basic_machine"\' not recognized 1>&2
458 exit 1
459+=======
460+# Split fields of configuration type
461+IFS="-" read -r field1 field2 field3 field4 <<EOF
462+$1
463+EOF
464+
465+# Separate into logical components for further validation
466+case $1 in
467+ *-*-*-*-*)
468+ echo Invalid configuration \`"$1"\': more than four components >&2
469+ exit 1
470+ ;;
471+ *-*-*-*)
472+ basic_machine=$field1-$field2
473+ os=$field3-$field4
474+ ;;
475+ *-*-*)
476+ # Ambiguous whether COMPANY is present, or skipped and KERNEL-OS is two
477+ # parts
478+ maybe_os=$field2-$field3
479+ case $maybe_os in
480+ nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc \
481+ | linux-newlib* | linux-musl* | linux-uclibc* | uclinux-uclibc* \
482+ | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* \
483+ | netbsd*-eabi* | kopensolaris*-gnu* | cloudabi*-eabi* \
484+ | storm-chaos* | os2-emx* | rtmk-nova*)
485+ basic_machine=$field1
486+ os=$maybe_os
487+ ;;
488+ android-linux)
489+ basic_machine=$field1-unknown
490+ os=linux-android
491+ ;;
492+ *)
493+ basic_machine=$field1-$field2
494+ os=$field3
495+ ;;
496+ esac
497+ ;;
498+ *-*)
499+ # A lone config we happen to match not fitting any patern
500+ case $field1-$field2 in
501+ decstation-3100)
502+ basic_machine=mips-dec
503+ os=
504+ ;;
505+ *-*)
506+ # Second component is usually, but not always the OS
507+ case $field2 in
508+ # Prevent following clause from handling this valid os
509+ sun*os*)
510+ basic_machine=$field1
511+ os=$field2
512+ ;;
513+ # Manufacturers
514+ dec* | mips* | sequent* | encore* | pc533* | sgi* | sony* \
515+ | att* | 7300* | 3300* | delta* | motorola* | sun[234]* \
516+ | unicom* | ibm* | next | hp | isi* | apollo | altos* \
517+ | convergent* | ncr* | news | 32* | 3600* | 3100* \
518+ | hitachi* | c[123]* | convex* | sun | crds | omron* | dg \
519+ | ultra | tti* | harris | dolphin | highlevel | gould \
520+ | cbm | ns | masscomp | apple | axis | knuth | cray \
521+ | microblaze* | sim | cisco \
522+ | oki | wec | wrs | winbond)
523+ basic_machine=$field1-$field2
524+ os=
525+ ;;
526+ *)
527+ basic_machine=$field1
528+ os=$field2
529+ ;;
530+ esac
531+ ;;
532+ esac
533+ ;;
534+ *)
535+ # Convert single-component short-hands not valid as part of
536+ # multi-component configurations.
537+ case $field1 in
538+ 386bsd)
539+ basic_machine=i386-pc
540+ os=bsd
541+ ;;
542+ a29khif)
543+ basic_machine=a29k-amd
544+ os=udi
545+ ;;
546+ adobe68k)
547+ basic_machine=m68010-adobe
548+ os=scout
549+ ;;
550+ alliant)
551+ basic_machine=fx80-alliant
552+ os=
553+ ;;
554+ altos | altos3068)
555+ basic_machine=m68k-altos
556+ os=
557+ ;;
558+ am29k)
559+ basic_machine=a29k-none
560+ os=bsd
561+ ;;
562+ amdahl)
563+ basic_machine=580-amdahl
564+ os=sysv
565+ ;;
566+ amiga)
567+ basic_machine=m68k-unknown
568+ os=
569+ ;;
570+ amigaos | amigados)
571+ basic_machine=m68k-unknown
572+ os=amigaos
573+ ;;
574+ amigaunix | amix)
575+ basic_machine=m68k-unknown
576+ os=sysv4
577+ ;;
578+ apollo68)
579+ basic_machine=m68k-apollo
580+ os=sysv
581+ ;;
582+ apollo68bsd)
583+ basic_machine=m68k-apollo
584+ os=bsd
585+ ;;
586+ aros)
587+ basic_machine=i386-pc
588+ os=aros
589+ ;;
590+ aux)
591+ basic_machine=m68k-apple
592+ os=aux
593+ ;;
594+ balance)
595+ basic_machine=ns32k-sequent
596+ os=dynix
597+ ;;
598+ blackfin)
599+ basic_machine=bfin-unknown
600+ os=linux
601+ ;;
602+ cegcc)
603+ basic_machine=arm-unknown
604+ os=cegcc
605+ ;;
606+ convex-c1)
607+ basic_machine=c1-convex
608+ os=bsd
609+ ;;
610+ convex-c2)
611+ basic_machine=c2-convex
612+ os=bsd
613+ ;;
614+ convex-c32)
615+ basic_machine=c32-convex
616+ os=bsd
617+ ;;
618+ convex-c34)
619+ basic_machine=c34-convex
620+ os=bsd
621+ ;;
622+ convex-c38)
623+ basic_machine=c38-convex
624+ os=bsd
625+ ;;
626+ cray)
627+ basic_machine=j90-cray
628+ os=unicos
629+ ;;
630+ crds | unos)
631+ basic_machine=m68k-crds
632+ os=
633+ ;;
634+ da30)
635+ basic_machine=m68k-da30
636+ os=
637+ ;;
638+ decstation | pmax | pmin | dec3100 | decstatn)
639+ basic_machine=mips-dec
640+ os=
641+ ;;
642+ delta88)
643+ basic_machine=m88k-motorola
644+ os=sysv3
645+ ;;
646+ dicos)
647+ basic_machine=i686-pc
648+ os=dicos
649+ ;;
650+ djgpp)
651+ basic_machine=i586-pc
652+ os=msdosdjgpp
653+ ;;
654+ ebmon29k)
655+ basic_machine=a29k-amd
656+ os=ebmon
657+ ;;
658+ es1800 | OSE68k | ose68k | ose | OSE)
659+ basic_machine=m68k-ericsson
660+ os=ose
661+ ;;
662+ gmicro)
663+ basic_machine=tron-gmicro
664+ os=sysv
665+ ;;
666+ go32)
667+ basic_machine=i386-pc
668+ os=go32
669+ ;;
670+ h8300hms)
671+ basic_machine=h8300-hitachi
672+ os=hms
673+ ;;
674+ h8300xray)
675+ basic_machine=h8300-hitachi
676+ os=xray
677+ ;;
678+ h8500hms)
679+ basic_machine=h8500-hitachi
680+ os=hms
681+ ;;
682+ harris)
683+ basic_machine=m88k-harris
684+ os=sysv3
685+ ;;
686+ hp300)
687+ basic_machine=m68k-hp
688+ ;;
689+ hp300bsd)
690+ basic_machine=m68k-hp
691+ os=bsd
692+ ;;
693+ hp300hpux)
694+ basic_machine=m68k-hp
695+ os=hpux
696+ ;;
697+ hppaosf)
698+ basic_machine=hppa1.1-hp
699+ os=osf
700+ ;;
701+ hppro)
702+ basic_machine=hppa1.1-hp
703+ os=proelf
704+ ;;
705+ i386mach)
706+ basic_machine=i386-mach
707+ os=mach
708+ ;;
709+ vsta)
710+ basic_machine=i386-pc
711+ os=vsta
712+ ;;
713+ isi68 | isi)
714+ basic_machine=m68k-isi
715+ os=sysv
716+ ;;
717+ m68knommu)
718+ basic_machine=m68k-unknown
719+ os=linux
720+ ;;
721+ magnum | m3230)
722+ basic_machine=mips-mips
723+ os=sysv
724+ ;;
725+ merlin)
726+ basic_machine=ns32k-utek
727+ os=sysv
728+ ;;
729+ mingw64)
730+ basic_machine=x86_64-pc
731+ os=mingw64
732+ ;;
733+ mingw32)
734+ basic_machine=i686-pc
735+ os=mingw32
736+ ;;
737+ mingw32ce)
738+ basic_machine=arm-unknown
739+ os=mingw32ce
740+ ;;
741+ monitor)
742+ basic_machine=m68k-rom68k
743+ os=coff
744+ ;;
745+ morphos)
746+ basic_machine=powerpc-unknown
747+ os=morphos
748+ ;;
749+ moxiebox)
750+ basic_machine=moxie-unknown
751+ os=moxiebox
752+ ;;
753+ msdos)
754+ basic_machine=i386-pc
755+ os=msdos
756+ ;;
757+ msys)
758+ basic_machine=i686-pc
759+ os=msys
760+ ;;
761+ mvs)
762+ basic_machine=i370-ibm
763+ os=mvs
764+ ;;
765+ nacl)
766+ basic_machine=le32-unknown
767+ os=nacl
768+ ;;
769+ ncr3000)
770+ basic_machine=i486-ncr
771+ os=sysv4
772+ ;;
773+ netbsd386)
774+ basic_machine=i386-pc
775+ os=netbsd
776+ ;;
777+ netwinder)
778+ basic_machine=armv4l-rebel
779+ os=linux
780+ ;;
781+ news | news700 | news800 | news900)
782+ basic_machine=m68k-sony
783+ os=newsos
784+ ;;
785+ news1000)
786+ basic_machine=m68030-sony
787+ os=newsos
788+ ;;
789+ necv70)
790+ basic_machine=v70-nec
791+ os=sysv
792+ ;;
793+ nh3000)
794+ basic_machine=m68k-harris
795+ os=cxux
796+ ;;
797+ nh[45]000)
798+ basic_machine=m88k-harris
799+ os=cxux
800+ ;;
801+ nindy960)
802+ basic_machine=i960-intel
803+ os=nindy
804+ ;;
805+ mon960)
806+ basic_machine=i960-intel
807+ os=mon960
808+ ;;
809+ nonstopux)
810+ basic_machine=mips-compaq
811+ os=nonstopux
812+ ;;
813+ os400)
814+ basic_machine=powerpc-ibm
815+ os=os400
816+ ;;
817+ OSE68000 | ose68000)
818+ basic_machine=m68000-ericsson
819+ os=ose
820+ ;;
821+ os68k)
822+ basic_machine=m68k-none
823+ os=os68k
824+ ;;
825+ paragon)
826+ basic_machine=i860-intel
827+ os=osf
828+ ;;
829+ parisc)
830+ basic_machine=hppa-unknown
831+ os=linux
832+ ;;
833+ pw32)
834+ basic_machine=i586-unknown
835+ os=pw32
836+ ;;
837+ rdos | rdos64)
838+ basic_machine=x86_64-pc
839+ os=rdos
840+ ;;
841+ rdos32)
842+ basic_machine=i386-pc
843+ os=rdos
844+ ;;
845+ rom68k)
846+ basic_machine=m68k-rom68k
847+ os=coff
848+ ;;
849+ sa29200)
850+ basic_machine=a29k-amd
851+ os=udi
852+ ;;
853+ sei)
854+ basic_machine=mips-sei
855+ os=seiux
856+ ;;
857+ sequent)
858+ basic_machine=i386-sequent
859+ os=
860+ ;;
861+ sps7)
862+ basic_machine=m68k-bull
863+ os=sysv2
864+ ;;
865+ st2000)
866+ basic_machine=m68k-tandem
867+ os=
868+ ;;
869+ stratus)
870+ basic_machine=i860-stratus
871+ os=sysv4
872+ ;;
873+ sun2)
874+ basic_machine=m68000-sun
875+ os=
876+ ;;
877+ sun2os3)
878+ basic_machine=m68000-sun
879+ os=sunos3
880+ ;;
881+ sun2os4)
882+ basic_machine=m68000-sun
883+ os=sunos4
884+ ;;
885+ sun3)
886+ basic_machine=m68k-sun
887+ os=
888+ ;;
889+ sun3os3)
890+ basic_machine=m68k-sun
891+ os=sunos3
892+ ;;
893+ sun3os4)
894+ basic_machine=m68k-sun
895+ os=sunos4
896+ ;;
897+ sun4)
898+ basic_machine=sparc-sun
899+ os=
900+ ;;
901+ sun4os3)
902+ basic_machine=sparc-sun
903+ os=sunos3
904+ ;;
905+ sun4os4)
906+ basic_machine=sparc-sun
907+ os=sunos4
908+ ;;
909+ sun4sol2)
910+ basic_machine=sparc-sun
911+ os=solaris2
912+ ;;
913+ sun386 | sun386i | roadrunner)
914+ basic_machine=i386-sun
915+ os=
916+ ;;
917+ sv1)
918+ basic_machine=sv1-cray
919+ os=unicos
920+ ;;
921+ symmetry)
922+ basic_machine=i386-sequent
923+ os=dynix
924+ ;;
925+ t3e)
926+ basic_machine=alphaev5-cray
927+ os=unicos
928+ ;;
929+ t90)
930+ basic_machine=t90-cray
931+ os=unicos
932+ ;;
933+ toad1)
934+ basic_machine=pdp10-xkl
935+ os=tops20
936+ ;;
937+ tpf)
938+ basic_machine=s390x-ibm
939+ os=tpf
940+ ;;
941+ udi29k)
942+ basic_machine=a29k-amd
943+ os=udi
944+ ;;
945+ ultra3)
946+ basic_machine=a29k-nyu
947+ os=sym1
948+ ;;
949+ v810 | necv810)
950+ basic_machine=v810-nec
951+ os=none
952+ ;;
953+ vaxv)
954+ basic_machine=vax-dec
955+ os=sysv
956+ ;;
957+ vms)
958+ basic_machine=vax-dec
959+ os=vms
960+ ;;
961+ vxworks960)
962+ basic_machine=i960-wrs
963+ os=vxworks
964+ ;;
965+ vxworks68)
966+ basic_machine=m68k-wrs
967+ os=vxworks
968+ ;;
969+ vxworks29k)
970+ basic_machine=a29k-wrs
971+ os=vxworks
972+ ;;
973+ xbox)
974+ basic_machine=i686-pc
975+ os=mingw32
976+ ;;
977+ ymp)
978+ basic_machine=ymp-cray
979+ os=unicos
980+ ;;
981+ *)
982+ basic_machine=$1
983+ os=
984+ ;;
985+ esac
986+ ;;
987+esac
988+
989+# Decode 1-component or ad-hoc basic machines
990+case $basic_machine in
991+ # Here we handle the default manufacturer of certain CPU types. It is in
992+ # some cases the only manufacturer, in others, it is the most popular.
993+ w89k)
994+ cpu=hppa1.1
995+ vendor=winbond
996+ ;;
997+ op50n)
998+ cpu=hppa1.1
999+ vendor=oki
1000+ ;;
1001+ op60c)
1002+ cpu=hppa1.1
1003+ vendor=oki
1004+ ;;
1005+ ibm*)
1006+ cpu=i370
1007+ vendor=ibm
1008+ ;;
1009+ orion105)
1010+ cpu=clipper
1011+ vendor=highlevel
1012+ ;;
1013+ mac | mpw | mac-mpw)
1014+ cpu=m68k
1015+ vendor=apple
1016+ ;;
1017+ pmac | pmac-mpw)
1018+ cpu=powerpc
1019+ vendor=apple
1020+ ;;
1021+
1022+ # Recognize the various machine names and aliases which stand
1023+ # for a CPU type and a company and sometimes even an OS.
1024+ 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
1025+ cpu=m68000
1026+ vendor=att
1027+ ;;
1028+ 3b*)
1029+ cpu=we32k
1030+ vendor=att
1031+ ;;
1032+ bluegene*)
1033+ cpu=powerpc
1034+ vendor=ibm
1035+ os=cnk
1036+ ;;
1037+ decsystem10* | dec10*)
1038+ cpu=pdp10
1039+ vendor=dec
1040+ os=tops10
1041+ ;;
1042+ decsystem20* | dec20*)
1043+ cpu=pdp10
1044+ vendor=dec
1045+ os=tops20
1046+ ;;
1047+ delta | 3300 | motorola-3300 | motorola-delta \
1048+ | 3300-motorola | delta-motorola)
1049+ cpu=m68k
1050+ vendor=motorola
1051+ ;;
1052+ dpx2*)
1053+ cpu=m68k
1054+ vendor=bull
1055+ os=sysv3
1056+ ;;
1057+ encore | umax | mmax)
1058+ cpu=ns32k
1059+ vendor=encore
1060+ ;;
1061+ elxsi)
1062+ cpu=elxsi
1063+ vendor=elxsi
1064+ os=${os:-bsd}
1065+ ;;
1066+ fx2800)
1067+ cpu=i860
1068+ vendor=alliant
1069+ ;;
1070+ genix)
1071+ cpu=ns32k
1072+ vendor=ns
1073+ ;;
1074+ h3050r* | hiux*)
1075+ cpu=hppa1.1
1076+ vendor=hitachi
1077+ os=hiuxwe2
1078+ ;;
1079+ hp3k9[0-9][0-9] | hp9[0-9][0-9])
1080+ cpu=hppa1.0
1081+ vendor=hp
1082+ ;;
1083+ hp9k2[0-9][0-9] | hp9k31[0-9])
1084+ cpu=m68000
1085+ vendor=hp
1086+ ;;
1087+ hp9k3[2-9][0-9])
1088+ cpu=m68k
1089+ vendor=hp
1090+ ;;
1091+ hp9k6[0-9][0-9] | hp6[0-9][0-9])
1092+ cpu=hppa1.0
1093+ vendor=hp
1094+ ;;
1095+ hp9k7[0-79][0-9] | hp7[0-79][0-9])
1096+ cpu=hppa1.1
1097+ vendor=hp
1098+ ;;
1099+ hp9k78[0-9] | hp78[0-9])
1100+ # FIXME: really hppa2.0-hp
1101+ cpu=hppa1.1
1102+ vendor=hp
1103+ ;;
1104+ hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893)
1105+ # FIXME: really hppa2.0-hp
1106+ cpu=hppa1.1
1107+ vendor=hp
1108+ ;;
1109+ hp9k8[0-9][13679] | hp8[0-9][13679])
1110+ cpu=hppa1.1
1111+ vendor=hp
1112+ ;;
1113+ hp9k8[0-9][0-9] | hp8[0-9][0-9])
1114+ cpu=hppa1.0
1115+ vendor=hp
1116+ ;;
1117+ i*86v32)
1118+ cpu=`echo "$1" | sed -e 's/86.*/86/'`
1119+ vendor=pc
1120+ os=sysv32
1121+ ;;
1122+ i*86v4*)
1123+ cpu=`echo "$1" | sed -e 's/86.*/86/'`
1124+ vendor=pc
1125+ os=sysv4
1126+ ;;
1127+ i*86v)
1128+ cpu=`echo "$1" | sed -e 's/86.*/86/'`
1129+ vendor=pc
1130+ os=sysv
1131+ ;;
1132+ i*86sol2)
1133+ cpu=`echo "$1" | sed -e 's/86.*/86/'`
1134+ vendor=pc
1135+ os=solaris2
1136+ ;;
1137+ j90 | j90-cray)
1138+ cpu=j90
1139+ vendor=cray
1140+ os=${os:-unicos}
1141+ ;;
1142+ iris | iris4d)
1143+ cpu=mips
1144+ vendor=sgi
1145+ case $os in
1146+ irix*)
1147+ ;;
1148+ *)
1149+ os=irix4
1150+ ;;
1151+ esac
1152+ ;;
1153+ miniframe)
1154+ cpu=m68000
1155+ vendor=convergent
1156+ ;;
1157+ *mint | mint[0-9]* | *MiNT | *MiNT[0-9]*)
1158+ cpu=m68k
1159+ vendor=atari
1160+ os=mint
1161+ ;;
1162+ news-3600 | risc-news)
1163+ cpu=mips
1164+ vendor=sony
1165+ os=newsos
1166+ ;;
1167+ next | m*-next)
1168+ cpu=m68k
1169+ vendor=next
1170+ case $os in
1171+ nextstep* )
1172+ ;;
1173+ ns2*)
1174+ os=nextstep2
1175+ ;;
1176+ *)
1177+ os=nextstep3
1178+ ;;
1179+ esac
1180+ ;;
1181+ np1)
1182+ cpu=np1
1183+ vendor=gould
1184+ ;;
1185+ op50n-* | op60c-*)
1186+ cpu=hppa1.1
1187+ vendor=oki
1188+ os=proelf
1189+ ;;
1190+ pa-hitachi)
1191+ cpu=hppa1.1
1192+ vendor=hitachi
1193+ os=hiuxwe2
1194+ ;;
1195+ pbd)
1196+ cpu=sparc
1197+ vendor=tti
1198+ ;;
1199+ pbb)
1200+ cpu=m68k
1201+ vendor=tti
1202+ ;;
1203+ pc532)
1204+ cpu=ns32k
1205+ vendor=pc532
1206+ ;;
1207+ pn)
1208+ cpu=pn
1209+ vendor=gould
1210+ ;;
1211+ power)
1212+ cpu=power
1213+ vendor=ibm
1214+ ;;
1215+ ps2)
1216+ cpu=i386
1217+ vendor=ibm
1218+ ;;
1219+ rm[46]00)
1220+ cpu=mips
1221+ vendor=siemens
1222+ ;;
1223+ rtpc | rtpc-*)
1224+ cpu=romp
1225+ vendor=ibm
1226+ ;;
1227+ sde)
1228+ cpu=mipsisa32
1229+ vendor=sde
1230+ os=${os:-elf}
1231+ ;;
1232+ simso-wrs)
1233+ cpu=sparclite
1234+ vendor=wrs
1235+ os=vxworks
1236+ ;;
1237+ tower | tower-32)
1238+ cpu=m68k
1239+ vendor=ncr
1240+ ;;
1241+ vpp*|vx|vx-*)
1242+ cpu=f301
1243+ vendor=fujitsu
1244+ ;;
1245+ w65)
1246+ cpu=w65
1247+ vendor=wdc
1248+ ;;
1249+ w89k-*)
1250+ cpu=hppa1.1
1251+ vendor=winbond
1252+ os=proelf
1253+ ;;
1254+ none)
1255+ cpu=none
1256+ vendor=none
1257+ ;;
1258+ leon|leon[3-9])
1259+ cpu=sparc
1260+ vendor=$basic_machine
1261+ ;;
1262+ leon-*|leon[3-9]-*)
1263+ cpu=sparc
1264+ vendor=`echo "$basic_machine" | sed 's/-.*//'`
1265+ ;;
1266+
1267+ *-*)
1268+ IFS="-" read -r cpu vendor <<EOF
1269+$basic_machine
1270+EOF
1271+ ;;
1272+ # We use `pc' rather than `unknown'
1273+ # because (1) that's what they normally are, and
1274+ # (2) the word "unknown" tends to confuse beginning users.
1275+ i*86 | x86_64)
1276+ cpu=$basic_machine
1277+ vendor=pc
1278+ ;;
1279+ # These rules are duplicated from below for sake of the special case above;
1280+ # i.e. things that normalized to x86 arches should also default to "pc"
1281+ pc98)
1282+ cpu=i386
1283+ vendor=pc
1284+ ;;
1285+ x64 | amd64)
1286+ cpu=x86_64
1287+ vendor=pc
1288+ ;;
1289+ # Recognize the basic CPU types without company name.
1290+ *)
1291+ cpu=$basic_machine
1292+ vendor=unknown
1293+ ;;
1294+esac
1295+
1296+unset -v basic_machine
1297+
1298+# Decode basic machines in the full and proper CPU-Company form.
1299+case $cpu-$vendor in
1300+ # Here we handle the default manufacturer of certain CPU types in cannonical form. It is in
1301+ # some cases the only manufacturer, in others, it is the most popular.
1302+ craynv-unknown)
1303+ vendor=cray
1304+ os=${os:-unicosmp}
1305+ ;;
1306+ c90-unknown | c90-cray)
1307+ vendor=cray
1308+ os=${os:-unicos}
1309+ ;;
1310+ fx80-unknown)
1311+ vendor=alliant
1312+ ;;
1313+ romp-unknown)
1314+ vendor=ibm
1315+ ;;
1316+ mmix-unknown)
1317+ vendor=knuth
1318+ ;;
1319+ microblaze-unknown | microblazeel-unknown)
1320+ vendor=xilinx
1321+ ;;
1322+ rs6000-unknown)
1323+ vendor=ibm
1324+ ;;
1325+ vax-unknown)
1326+ vendor=dec
1327+ ;;
1328+ pdp11-unknown)
1329+ vendor=dec
1330+ ;;
1331+ we32k-unknown)
1332+ vendor=att
1333+ ;;
1334+ cydra-unknown)
1335+ vendor=cydrome
1336+ ;;
1337+ i370-ibm*)
1338+ vendor=ibm
1339+ ;;
1340+ orion-unknown)
1341+ vendor=highlevel
1342+ ;;
1343+ xps-unknown | xps100-unknown)
1344+ cpu=xps100
1345+ vendor=honeywell
1346+ ;;
1347+
1348+ # Here we normalize CPU types with a missing or matching vendor
1349+ dpx20-unknown | dpx20-bull)
1350+ cpu=rs6000
1351+ vendor=bull
1352+ os=${os:-bosx}
1353+ ;;
1354+
1355+ # Here we normalize CPU types irrespective of the vendor
1356+ amd64-*)
1357+ cpu=x86_64
1358+ ;;
1359+ blackfin-*)
1360+ cpu=bfin
1361+ os=linux
1362+ ;;
1363+ c54x-*)
1364+ cpu=tic54x
1365+ ;;
1366+ c55x-*)
1367+ cpu=tic55x
1368+ ;;
1369+ c6x-*)
1370+ cpu=tic6x
1371+ ;;
1372+ e500v[12]-*)
1373+ cpu=powerpc
1374+ os=$os"spe"
1375+ ;;
1376+ mips3*-*)
1377+ cpu=mips64
1378+ ;;
1379+ ms1-*)
1380+ cpu=mt
1381+ ;;
1382+ m68knommu-*)
1383+ cpu=m68k
1384+ os=linux
1385+ ;;
1386+ m9s12z-* | m68hcs12z-* | hcs12z-* | s12z-*)
1387+ cpu=s12z
1388+ ;;
1389+ openrisc-*)
1390+ cpu=or32
1391+ ;;
1392+ parisc-*)
1393+ cpu=hppa
1394+ os=linux
1395+ ;;
1396+ pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
1397+ cpu=i586
1398+ ;;
1399+ pentiumpro-* | p6-* | 6x86-* | athlon-* | athalon_*-*)
1400+ cpu=i686
1401+ ;;
1402+ pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
1403+ cpu=i686
1404+ ;;
1405+ pentium4-*)
1406+ cpu=i786
1407+ ;;
1408+ pc98-*)
1409+ cpu=i386
1410+ ;;
1411+ ppc-* | ppcbe-*)
1412+ cpu=powerpc
1413+ ;;
1414+ ppcle-* | powerpclittle-*)
1415+ cpu=powerpcle
1416+ ;;
1417+ ppc64-*)
1418+ cpu=powerpc64
1419+ ;;
1420+ ppc64le-* | powerpc64little-*)
1421+ cpu=powerpc64le
1422+ ;;
1423+ sb1-*)
1424+ cpu=mipsisa64sb1
1425+ ;;
1426+ sb1el-*)
1427+ cpu=mipsisa64sb1el
1428+ ;;
1429+ sh5e[lb]-*)
1430+ cpu=`echo "$cpu" | sed 's/^\(sh.\)e\(.\)$/\1\2e/'`
1431+ ;;
1432+ spur-*)
1433+ cpu=spur
1434+ ;;
1435+ strongarm-* | thumb-*)
1436+ cpu=arm
1437+ ;;
1438+ tx39-*)
1439+ cpu=mipstx39
1440+ ;;
1441+ tx39el-*)
1442+ cpu=mipstx39el
1443+ ;;
1444+ x64-*)
1445+ cpu=x86_64
1446+ ;;
1447+ xscale-* | xscalee[bl]-*)
1448+ cpu=`echo "$cpu" | sed 's/^xscale/arm/'`
1449+ ;;
1450+
1451+ # Recognize the cannonical CPU Types that limit and/or modify the
1452+ # company names they are paired with.
1453+ cr16-*)
1454+ os=${os:-elf}
1455+ ;;
1456+ crisv32-* | etraxfs*-*)
1457+ cpu=crisv32
1458+ vendor=axis
1459+ ;;
1460+ cris-* | etrax*-*)
1461+ cpu=cris
1462+ vendor=axis
1463+ ;;
1464+ crx-*)
1465+ os=${os:-elf}
1466+ ;;
1467+ neo-tandem)
1468+ cpu=neo
1469+ vendor=tandem
1470+ ;;
1471+ nse-tandem)
1472+ cpu=nse
1473+ vendor=tandem
1474+ ;;
1475+ nsr-tandem)
1476+ cpu=nsr
1477+ vendor=tandem
1478+ ;;
1479+ nsv-tandem)
1480+ cpu=nsv
1481+ vendor=tandem
1482+ ;;
1483+ nsx-tandem)
1484+ cpu=nsx
1485+ vendor=tandem
1486+ ;;
1487+ s390-*)
1488+ cpu=s390
1489+ vendor=ibm
1490+ ;;
1491+ s390x-*)
1492+ cpu=s390x
1493+ vendor=ibm
1494+ ;;
1495+ tile*-*)
1496+ os=${os:-linux-gnu}
1497+ ;;
1498+
1499+ *)
1500+ # Recognize the cannonical CPU types that are allowed with any
1501+ # company name.
1502+ case $cpu in
1503+ 1750a | 580 \
1504+ | a29k \
1505+ | aarch64 | aarch64_be \
1506+ | abacus \
1507+ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] \
1508+ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] \
1509+ | alphapca5[67] | alpha64pca5[67] \
1510+ | am33_2.0 \
1511+ | arc | arceb \
1512+ | arm | arm[lb]e | arme[lb] | armv* \
1513+ | avr | avr32 \
1514+ | asmjs \
1515+ | ba \
1516+ | be32 | be64 \
1517+ | bfin | bs2000 \
1518+ | c[123]* | c30 | [cjt]90 | c4x \
1519+ | c8051 | clipper | craynv | csky | cydra \
1520+ | d10v | d30v | dlx | dsp16xx \
1521+ | e2k | elxsi | epiphany \
1522+ | f30[01] | f700 | fido | fr30 | frv | ft32 | fx80 \
1523+ | h8300 | h8500 \
1524+ | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
1525+ | hexagon \
1526+ | i370 | i*86 | i860 | i960 | ia16 | ia64 \
1527+ | ip2k | iq2000 \
1528+ | k1om \
1529+ | le32 | le64 \
1530+ | lm32 \
1531+ | m32c | m32r | m32rle \
1532+ | m5200 | m68000 | m680[012346]0 | m68360 | m683?2 | m68k | v70 | w65 \
1533+ | m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip \
1534+ | m88110 | m88k | maxq | mb | mcore | mep | metag \
1535+ | microblaze | microblazeel \
1536+ | mips | mipsbe | mipseb | mipsel | mipsle \
1537+ | mips16 \
1538+ | mips64 | mips64el \
1539+ | mips64octeon | mips64octeonel \
1540+ | mips64orion | mips64orionel \
1541+ | mips64r5900 | mips64r5900el \
1542+ | mips64vr | mips64vrel \
1543+ | mips64vr4100 | mips64vr4100el \
1544+ | mips64vr4300 | mips64vr4300el \
1545+ | mips64vr5000 | mips64vr5000el \
1546+ | mips64vr5900 | mips64vr5900el \
1547+ | mipsisa32 | mipsisa32el \
1548+ | mipsisa32r2 | mipsisa32r2el \
1549+ | mipsisa32r6 | mipsisa32r6el \
1550+ | mipsisa64 | mipsisa64el \
1551+ | mipsisa64r2 | mipsisa64r2el \
1552+ | mipsisa64r6 | mipsisa64r6el \
1553+ | mipsisa64sb1 | mipsisa64sb1el \
1554+ | mipsisa64sr71k | mipsisa64sr71kel \
1555+ | mipsr5900 | mipsr5900el \
1556+ | mipstx39 | mipstx39el \
1557+ | mmix \
1558+ | mn10200 | mn10300 \
1559+ | moxie \
1560+ | mt \
1561+ | msp430 \
1562+ | nds32 | nds32le | nds32be \
1563+ | nfp \
1564+ | nios | nios2 | nios2eb | nios2el \
1565+ | none | np1 | ns16k | ns32k \
1566+ | open8 \
1567+ | or1k* \
1568+ | or32 \
1569+ | orion \
1570+ | pdp10 | pdp11 | pj | pjl | pn | power \
1571+ | powerpc | powerpc64 | powerpc64le | powerpcle | powerpcspe \
1572+ | pru \
1573+ | pyramid \
1574+ | riscv | riscv32 | riscv64 \
1575+ | rl78 | romp | rs6000 | rx \
1576+ | score \
1577+ | sh | sh[1234] | sh[24]a | sh[24]ae[lb] | sh[23]e | she[lb] | sh[lb]e \
1578+ | sh[1234]e[lb] | sh[12345][lb]e | sh[23]ele | sh64 | sh64le \
1579+ | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet \
1580+ | sparclite \
1581+ | sparcv8 | sparcv9 | sparcv9b | sparcv9v | sv1 | sx* \
1582+ | spu \
1583+ | tahoe \
1584+ | tic30 | tic4x | tic54x | tic55x | tic6x | tic80 \
1585+ | tron \
1586+ | ubicom32 \
1587+ | v850 | v850e | v850e1 | v850es | v850e2 | v850e2v3 \
1588+ | vax \
1589+ | visium \
1590+ | wasm32 \
1591+ | we32k \
1592+ | x86 | x86_64 | xc16x | xgate | xps100 \
1593+ | xstormy16 | xtensa* \
1594+ | ymp \
1595+ | z8k | z80)
1596+ ;;
1597+
1598+ *)
1599+ echo Invalid configuration \`"$1"\': machine \`"$cpu-$vendor"\' not recognized 1>&2
1600+ exit 1
1601+ ;;
1602+ esac
1603+>>>>>>> build-aux/config.sub
1604 ;;
1605 esac
1606
1607 # Here we canonicalize certain aliases for manufacturers.
1608+<<<<<<< build-aux/config.sub
1609 case $basic_machine in
1610 *-digital*)
1611 basic_machine=`echo "$basic_machine" | sed 's/digital.*/dec/'`
1612 ;;
1613 *-commodore*)
1614 basic_machine=`echo "$basic_machine" | sed 's/commodore.*/cbm/'`
1615+=======
1616+case $vendor in
1617+ digital*)
1618+ vendor=dec
1619+ ;;
1620+ commodore*)
1621+ vendor=cbm
1622+>>>>>>> build-aux/config.sub
1623 ;;
1624 *)
1625 ;;
1626@@ -1334,11 +2493,16 @@ esac
1627
1628 # Decode manufacturer-specific aliases for certain operating systems.
1629
1630+<<<<<<< build-aux/config.sub
1631 if [ x"$os" != x"" ]
1632+=======
1633+if [ x$os != x ]
1634+>>>>>>> build-aux/config.sub
1635 then
1636 case $os in
1637 # First match some system type aliases that might get confused
1638 # with valid system types.
1639+<<<<<<< build-aux/config.sub
1640 # -solaris* is a basic system type, with this one exception.
1641 -auroraux)
1642 os=-auroraux
1643@@ -1358,10 +2522,66 @@ case $os in
1644 # es1800 is here to avoid being matched by es* (a different OS)
1645 -es1800*)
1646 os=-ose
1647+=======
1648+ # solaris* is a basic system type, with this one exception.
1649+ auroraux)
1650+ os=auroraux
1651+ ;;
1652+ bluegene*)
1653+ os=cnk
1654+ ;;
1655+ solaris1 | solaris1.*)
1656+ os=`echo $os | sed -e 's|solaris1|sunos4|'`
1657+ ;;
1658+ solaris)
1659+ os=solaris2
1660+ ;;
1661+ unixware*)
1662+ os=sysv4.2uw
1663+ ;;
1664+ gnu/linux*)
1665+ os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
1666+ ;;
1667+ # es1800 is here to avoid being matched by es* (a different OS)
1668+ es1800*)
1669+ os=ose
1670+ ;;
1671+ # Some version numbers need modification
1672+ chorusos*)
1673+ os=chorusos
1674+ ;;
1675+ isc)
1676+ os=isc2.2
1677+ ;;
1678+ sco6)
1679+ os=sco5v6
1680+ ;;
1681+ sco5)
1682+ os=sco3.2v5
1683+ ;;
1684+ sco4)
1685+ os=sco3.2v4
1686+ ;;
1687+ sco3.2.[4-9]*)
1688+ os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
1689+ ;;
1690+ sco3.2v[4-9]* | sco5v6*)
1691+ # Don't forget version if it is 3.2v4 or newer.
1692+ ;;
1693+ scout)
1694+ # Don't match below
1695+ ;;
1696+ sco*)
1697+ os=sco3.2v2
1698+ ;;
1699+ psos*)
1700+ os=psos
1701+>>>>>>> build-aux/config.sub
1702 ;;
1703 # Now accept the basic system types.
1704 # The portable systems comes first.
1705 # Each alternative MUST end in a * to match a version number.
1706+<<<<<<< build-aux/config.sub
1707 # -sysv* is not here because it comes later, after sysvr4.
1708 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
1709 | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
1710@@ -1527,6 +2747,185 @@ case $os in
1711 *)
1712 # Get rid of the `-' at the beginning of $os.
1713 os=`echo $os | sed 's/[^-]*-//'`
1714+=======
1715+ # sysv* is not here because it comes later, after sysvr4.
1716+ gnu* | bsd* | mach* | minix* | genix* | ultrix* | irix* \
1717+ | *vms* | esix* | aix* | cnk* | sunos | sunos[34]*\
1718+ | hpux* | unos* | osf* | luna* | dgux* | auroraux* | solaris* \
1719+ | sym* | kopensolaris* | plan9* \
1720+ | amigaos* | amigados* | msdos* | newsos* | unicos* | aof* \
1721+ | aos* | aros* | cloudabi* | sortix* \
1722+ | nindy* | vxsim* | vxworks* | ebmon* | hms* | mvs* \
1723+ | clix* | riscos* | uniplus* | iris* | isc* | rtu* | xenix* \
1724+ | knetbsd* | mirbsd* | netbsd* \
1725+ | bitrig* | openbsd* | solidbsd* | libertybsd* \
1726+ | ekkobsd* | kfreebsd* | freebsd* | riscix* | lynxos* \
1727+ | bosx* | nextstep* | cxux* | aout* | elf* | oabi* \
1728+ | ptx* | coff* | ecoff* | winnt* | domain* | vsta* \
1729+ | udi* | eabi* | lites* | ieee* | go32* | aux* | hcos* \
1730+ | chorusrdb* | cegcc* | glidix* \
1731+ | cygwin* | msys* | pe* | moss* | proelf* | rtems* \
1732+ | midipix* | mingw32* | mingw64* | linux-gnu* | linux-android* \
1733+ | linux-newlib* | linux-musl* | linux-uclibc* \
1734+ | uxpv* | beos* | mpeix* | udk* | moxiebox* \
1735+ | interix* | uwin* | mks* | rhapsody* | darwin* \
1736+ | openstep* | oskit* | conix* | pw32* | nonstopux* \
1737+ | storm-chaos* | tops10* | tenex* | tops20* | its* \
1738+ | os2* | vos* | palmos* | uclinux* | nucleus* \
1739+ | morphos* | superux* | rtmk* | windiss* \
1740+ | powermax* | dnix* | nx6 | nx7 | sei* | dragonfly* \
1741+ | skyos* | haiku* | rdos* | toppers* | drops* | es* \
1742+ | onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \
1743+ | midnightbsd*)
1744+ # Remember, each alternative MUST END IN *, to match a version number.
1745+ ;;
1746+ qnx*)
1747+ case $cpu in
1748+ x86 | i*86)
1749+ ;;
1750+ *)
1751+ os=nto-$os
1752+ ;;
1753+ esac
1754+ ;;
1755+ hiux*)
1756+ os=hiuxwe2
1757+ ;;
1758+ nto-qnx*)
1759+ ;;
1760+ nto*)
1761+ os=`echo $os | sed -e 's|nto|nto-qnx|'`
1762+ ;;
1763+ sim | xray | os68k* | v88r* \
1764+ | windows* | osx | abug | netware* | os9* \
1765+ | macos* | mpw* | magic* | mmixware* | mon960* | lnews*)
1766+ ;;
1767+ linux-dietlibc)
1768+ os=linux-dietlibc
1769+ ;;
1770+ linux*)
1771+ os=`echo $os | sed -e 's|linux|linux-gnu|'`
1772+ ;;
1773+ lynx*178)
1774+ os=lynxos178
1775+ ;;
1776+ lynx*5)
1777+ os=lynxos5
1778+ ;;
1779+ lynx*)
1780+ os=lynxos
1781+ ;;
1782+ mac*)
1783+ os=`echo "$os" | sed -e 's|mac|macos|'`
1784+ ;;
1785+ opened*)
1786+ os=openedition
1787+ ;;
1788+ os400*)
1789+ os=os400
1790+ ;;
1791+ sunos5*)
1792+ os=`echo "$os" | sed -e 's|sunos5|solaris2|'`
1793+ ;;
1794+ sunos6*)
1795+ os=`echo "$os" | sed -e 's|sunos6|solaris3|'`
1796+ ;;
1797+ wince*)
1798+ os=wince
1799+ ;;
1800+ utek*)
1801+ os=bsd
1802+ ;;
1803+ dynix*)
1804+ os=bsd
1805+ ;;
1806+ acis*)
1807+ os=aos
1808+ ;;
1809+ atheos*)
1810+ os=atheos
1811+ ;;
1812+ syllable*)
1813+ os=syllable
1814+ ;;
1815+ 386bsd)
1816+ os=bsd
1817+ ;;
1818+ ctix* | uts*)
1819+ os=sysv
1820+ ;;
1821+ nova*)
1822+ os=rtmk-nova
1823+ ;;
1824+ ns2)
1825+ os=nextstep2
1826+ ;;
1827+ nsk*)
1828+ os=nsk
1829+ ;;
1830+ # Preserve the version number of sinix5.
1831+ sinix5.*)
1832+ os=`echo $os | sed -e 's|sinix|sysv|'`
1833+ ;;
1834+ sinix*)
1835+ os=sysv4
1836+ ;;
1837+ tpf*)
1838+ os=tpf
1839+ ;;
1840+ triton*)
1841+ os=sysv3
1842+ ;;
1843+ oss*)
1844+ os=sysv3
1845+ ;;
1846+ svr4*)
1847+ os=sysv4
1848+ ;;
1849+ svr3)
1850+ os=sysv3
1851+ ;;
1852+ sysvr4)
1853+ os=sysv4
1854+ ;;
1855+ # This must come after sysvr4.
1856+ sysv*)
1857+ ;;
1858+ ose*)
1859+ os=ose
1860+ ;;
1861+ *mint | mint[0-9]* | *MiNT | MiNT[0-9]*)
1862+ os=mint
1863+ ;;
1864+ zvmoe)
1865+ os=zvmoe
1866+ ;;
1867+ dicos*)
1868+ os=dicos
1869+ ;;
1870+ pikeos*)
1871+ # Until real need of OS specific support for
1872+ # particular features comes up, bare metal
1873+ # configurations are quite functional.
1874+ case $cpu in
1875+ arm*)
1876+ os=eabi
1877+ ;;
1878+ *)
1879+ os=elf
1880+ ;;
1881+ esac
1882+ ;;
1883+ nacl*)
1884+ ;;
1885+ ios)
1886+ ;;
1887+ none)
1888+ ;;
1889+ *-eabi)
1890+ ;;
1891+ *)
1892+>>>>>>> build-aux/config.sub
1893 echo Invalid configuration \`"$1"\': system \`"$os"\' not recognized 1>&2
1894 exit 1
1895 ;;
1896@@ -1543,6 +2942,7 @@ else
1897 # will signal an error saying that MANUFACTURER isn't an operating
1898 # system, and we'll never get to this point.
1899
1900+<<<<<<< build-aux/config.sub
1901 case $basic_machine in
1902 score-*)
1903 os=-elf
1904@@ -1712,12 +3112,190 @@ case $basic_machine in
1905 ;;
1906 *)
1907 os=-none
1908+=======
1909+case $cpu-$vendor in
1910+ score-*)
1911+ os=elf
1912+ ;;
1913+ spu-*)
1914+ os=elf
1915+ ;;
1916+ *-acorn)
1917+ os=riscix1.2
1918+ ;;
1919+ arm*-rebel)
1920+ os=linux
1921+ ;;
1922+ arm*-semi)
1923+ os=aout
1924+ ;;
1925+ c4x-* | tic4x-*)
1926+ os=coff
1927+ ;;
1928+ c8051-*)
1929+ os=elf
1930+ ;;
1931+ clipper-intergraph)
1932+ os=clix
1933+ ;;
1934+ hexagon-*)
1935+ os=elf
1936+ ;;
1937+ tic54x-*)
1938+ os=coff
1939+ ;;
1940+ tic55x-*)
1941+ os=coff
1942+ ;;
1943+ tic6x-*)
1944+ os=coff
1945+ ;;
1946+ # This must come before the *-dec entry.
1947+ pdp10-*)
1948+ os=tops20
1949+ ;;
1950+ pdp11-*)
1951+ os=none
1952+ ;;
1953+ *-dec | vax-*)
1954+ os=ultrix4.2
1955+ ;;
1956+ m68*-apollo)
1957+ os=domain
1958+ ;;
1959+ i386-sun)
1960+ os=sunos4.0.2
1961+ ;;
1962+ m68000-sun)
1963+ os=sunos3
1964+ ;;
1965+ m68*-cisco)
1966+ os=aout
1967+ ;;
1968+ mep-*)
1969+ os=elf
1970+ ;;
1971+ mips*-cisco)
1972+ os=elf
1973+ ;;
1974+ mips*-*)
1975+ os=elf
1976+ ;;
1977+ or32-*)
1978+ os=coff
1979+ ;;
1980+ *-tti) # must be before sparc entry or we get the wrong os.
1981+ os=sysv3
1982+ ;;
1983+ sparc-* | *-sun)
1984+ os=sunos4.1.1
1985+ ;;
1986+ pru-*)
1987+ os=elf
1988+ ;;
1989+ *-be)
1990+ os=beos
1991+ ;;
1992+ *-ibm)
1993+ os=aix
1994+ ;;
1995+ *-knuth)
1996+ os=mmixware
1997+ ;;
1998+ *-wec)
1999+ os=proelf
2000+ ;;
2001+ *-winbond)
2002+ os=proelf
2003+ ;;
2004+ *-oki)
2005+ os=proelf
2006+ ;;
2007+ *-hp)
2008+ os=hpux
2009+ ;;
2010+ *-hitachi)
2011+ os=hiux
2012+ ;;
2013+ i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
2014+ os=sysv
2015+ ;;
2016+ *-cbm)
2017+ os=amigaos
2018+ ;;
2019+ *-dg)
2020+ os=dgux
2021+ ;;
2022+ *-dolphin)
2023+ os=sysv3
2024+ ;;
2025+ m68k-ccur)
2026+ os=rtu
2027+ ;;
2028+ m88k-omron*)
2029+ os=luna
2030+ ;;
2031+ *-next)
2032+ os=nextstep
2033+ ;;
2034+ *-sequent)
2035+ os=ptx
2036+ ;;
2037+ *-crds)
2038+ os=unos
2039+ ;;
2040+ *-ns)
2041+ os=genix
2042+ ;;
2043+ i370-*)
2044+ os=mvs
2045+ ;;
2046+ *-gould)
2047+ os=sysv
2048+ ;;
2049+ *-highlevel)
2050+ os=bsd
2051+ ;;
2052+ *-encore)
2053+ os=bsd
2054+ ;;
2055+ *-sgi)
2056+ os=irix
2057+ ;;
2058+ *-siemens)
2059+ os=sysv4
2060+ ;;
2061+ *-masscomp)
2062+ os=rtu
2063+ ;;
2064+ f30[01]-fujitsu | f700-fujitsu)
2065+ os=uxpv
2066+ ;;
2067+ *-rom68k)
2068+ os=coff
2069+ ;;
2070+ *-*bug)
2071+ os=coff
2072+ ;;
2073+ *-apple)
2074+ os=macos
2075+ ;;
2076+ *-atari*)
2077+ os=mint
2078+ ;;
2079+ *-wrs)
2080+ os=vxworks
2081+ ;;
2082+ *)
2083+ os=none
2084+>>>>>>> build-aux/config.sub
2085 ;;
2086 esac
2087 fi
2088
2089 # Here we handle the case where we know the os, and the CPU type, but not the
2090 # manufacturer. We pick the logical manufacturer.
2091+<<<<<<< build-aux/config.sub
2092 vendor=unknown
2093 case $basic_machine in
2094 *-unknown)
2095@@ -1791,6 +3369,82 @@ case $basic_machine in
2096 esac
2097
2098 echo "$basic_machine$os"
2099+=======
2100+case $vendor in
2101+ unknown)
2102+ case $os in
2103+ riscix*)
2104+ vendor=acorn
2105+ ;;
2106+ sunos*)
2107+ vendor=sun
2108+ ;;
2109+ cnk*|-aix*)
2110+ vendor=ibm
2111+ ;;
2112+ beos*)
2113+ vendor=be
2114+ ;;
2115+ hpux*)
2116+ vendor=hp
2117+ ;;
2118+ mpeix*)
2119+ vendor=hp
2120+ ;;
2121+ hiux*)
2122+ vendor=hitachi
2123+ ;;
2124+ unos*)
2125+ vendor=crds
2126+ ;;
2127+ dgux*)
2128+ vendor=dg
2129+ ;;
2130+ luna*)
2131+ vendor=omron
2132+ ;;
2133+ genix*)
2134+ vendor=ns
2135+ ;;
2136+ clix*)
2137+ vendor=intergraph
2138+ ;;
2139+ mvs* | opened*)
2140+ vendor=ibm
2141+ ;;
2142+ os400*)
2143+ vendor=ibm
2144+ ;;
2145+ ptx*)
2146+ vendor=sequent
2147+ ;;
2148+ tpf*)
2149+ vendor=ibm
2150+ ;;
2151+ vxsim* | vxworks* | windiss*)
2152+ vendor=wrs
2153+ ;;
2154+ aux*)
2155+ vendor=apple
2156+ ;;
2157+ hms*)
2158+ vendor=hitachi
2159+ ;;
2160+ mpw* | macos*)
2161+ vendor=apple
2162+ ;;
2163+ *mint | mint[0-9]* | *MiNT | MiNT[0-9]*)
2164+ vendor=atari
2165+ ;;
2166+ vos*)
2167+ vendor=stratus
2168+ ;;
2169+ esac
2170+ ;;
2171+esac
2172+
2173+echo "$cpu-$vendor-$os"
2174+>>>>>>> build-aux/config.sub
2175 exit
2176
2177 # Local variables:
2178diff --git a/build-aux/ltmain.sh b/build-aux/ltmain.sh
2179index d3ab94d..ffe298c 100644
2180--- a/build-aux/ltmain.sh
2181+++ b/build-aux/ltmain.sh
2182@@ -1,5 +1,6 @@
2183 #! /bin/sh
2184 ## DO NOT EDIT - This file generated from ./build-aux/ltmain.in
2185+<<<<<<< build-aux/ltmain.sh
2186 ## by inline-source v2018-07-24.06
2187
2188 # libtool (GNU libtool) 2.4.6.42-b88ce
2189@@ -7,6 +8,15 @@
2190 # Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
2191
2192 # Copyright (C) 1996-2018 Free Software Foundation, Inc.
2193+=======
2194+## by inline-source v2014-01-03.01
2195+
2196+# libtool (GNU libtool) 2.4.6
2197+# Provide generalized library-building support services.
2198+# Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
2199+
2200+# Copyright (C) 1996-2015 Free Software Foundation, Inc.
2201+>>>>>>> build-aux/ltmain.sh
2202 # This is free software; see the source for copying conditions. There is NO
2203 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
2204
2205@@ -31,8 +41,13 @@
2206
2207 PROGRAM=libtool
2208 PACKAGE=libtool
2209+<<<<<<< build-aux/ltmain.sh
2210 VERSION=2.4.6.42-b88ce
2211 package_revision=2.4.6.42
2212+=======
2213+VERSION=2.4.6
2214+package_revision=2.4.6
2215+>>>>>>> build-aux/ltmain.sh
2216
2217
2218 ## ------ ##
2219@@ -64,11 +79,16 @@ package_revision=2.4.6.42
2220 # libraries, which are installed to $pkgauxdir.
2221
2222 # Set a version string for this script.
2223+<<<<<<< build-aux/ltmain.sh
2224 scriptversion=2018-07-24.06; # UTC
2225+=======
2226+scriptversion=2015-01-20.17; # UTC
2227+>>>>>>> build-aux/ltmain.sh
2228
2229 # General shell script boiler plate, and helper functions.
2230 # Written by Gary V. Vaughan, 2004
2231
2232+<<<<<<< build-aux/ltmain.sh
2233 # This is free software. There is NO warranty; not even for
2234 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
2235 #
2236@@ -83,6 +103,31 @@ scriptversion=2018-07-24.06; # UTC
2237
2238 # Please report bugs or propose patches to:
2239 # <https://github.com/gnulib-modules/bootstrap/issues>
2240+=======
2241+# Copyright (C) 2004-2015 Free Software Foundation, Inc.
2242+# This is free software; see the source for copying conditions. There is NO
2243+# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
2244+
2245+# This program is free software; you can redistribute it and/or modify
2246+# it under the terms of the GNU General Public License as published by
2247+# the Free Software Foundation; either version 3 of the License, or
2248+# (at your option) any later version.
2249+
2250+# As a special exception to the GNU General Public License, if you distribute
2251+# this file as part of a program or library that is built using GNU Libtool,
2252+# you may include this file under the same distribution terms that you use
2253+# for the rest of that program.
2254+
2255+# This program is distributed in the hope that it will be useful,
2256+# but WITHOUT ANY WARRANTY; without even the implied warranty of
2257+# MERCHANTABILITY or FITNES FOR A PARTICULAR PURPOSE. See the GNU
2258+# General Public License for more details.
2259+
2260+# You should have received a copy of the GNU General Public License
2261+# along with this program. If not, see <http://www.gnu.org/licenses/>.
2262+
2263+# Please report bugs or propose patches to gary@gnu.org.
2264+>>>>>>> build-aux/ltmain.sh
2265
2266
2267 ## ------ ##
2268@@ -131,6 +176,12 @@ do
2269 fi"
2270 done
2271
2272+<<<<<<< build-aux/ltmain.sh
2273+=======
2274+# CDPATH.
2275+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2276+
2277+>>>>>>> build-aux/ltmain.sh
2278 # Make sure IFS has a sensible default
2279 sp=' '
2280 nl='
2281@@ -147,6 +198,7 @@ if test "${PATH_SEPARATOR+set}" != set; then
2282 fi
2283
2284
2285+<<<<<<< build-aux/ltmain.sh
2286 # func_unset VAR
2287 # --------------
2288 # Portably unset VAR.
2289@@ -167,6 +219,8 @@ func_unset CDPATH
2290 # Make sure ${,E,F}GREP behave sanely.
2291 func_unset GREP_OPTIONS
2292
2293+=======
2294+>>>>>>> build-aux/ltmain.sh
2295
2296 ## ------------------------- ##
2297 ## Locate command utilities. ##
2298@@ -267,7 +321,11 @@ test -z "$SED" && {
2299 rm -f conftest.in conftest.tmp conftest.nl conftest.out
2300 }
2301
2302+<<<<<<< build-aux/ltmain.sh
2303 func_path_progs "sed gsed" func_check_prog_sed "$PATH:/usr/xpg4/bin"
2304+=======
2305+ func_path_progs "sed gsed" func_check_prog_sed $PATH:/usr/xpg4/bin
2306+>>>>>>> build-aux/ltmain.sh
2307 rm -f conftest.sed
2308 SED=$func_path_progs_result
2309 }
2310@@ -303,7 +361,11 @@ test -z "$GREP" && {
2311 rm -f conftest.in conftest.tmp conftest.nl conftest.out
2312 }
2313
2314+<<<<<<< build-aux/ltmain.sh
2315 func_path_progs "grep ggrep" func_check_prog_grep "$PATH:/usr/xpg4/bin"
2316+=======
2317+ func_path_progs "grep ggrep" func_check_prog_grep $PATH:/usr/xpg4/bin
2318+>>>>>>> build-aux/ltmain.sh
2319 GREP=$func_path_progs_result
2320 }
2321
2322@@ -588,16 +650,26 @@ if test yes = "$_G_HAVE_PLUSEQ_OP"; then
2323 {
2324 $debug_cmd
2325
2326+<<<<<<< build-aux/ltmain.sh
2327 func_quote_arg pretty "$2"
2328 eval "$1+=\\ \$func_quote_arg_result"
2329+=======
2330+ func_quote_for_eval "$2"
2331+ eval "$1+=\\ \$func_quote_for_eval_result"
2332+>>>>>>> build-aux/ltmain.sh
2333 }'
2334 else
2335 func_append_quoted ()
2336 {
2337 $debug_cmd
2338
2339+<<<<<<< build-aux/ltmain.sh
2340 func_quote_arg pretty "$2"
2341 eval "$1=\$$1\\ \$func_quote_arg_result"
2342+=======
2343+ func_quote_for_eval "$2"
2344+ eval "$1=\$$1\\ \$func_quote_for_eval_result"
2345+>>>>>>> build-aux/ltmain.sh
2346 }
2347 fi
2348
2349@@ -1099,6 +1171,7 @@ func_relative_path ()
2350 }
2351
2352
2353+<<<<<<< build-aux/ltmain.sh
2354 # func_quote_portable EVAL ARG
2355 # ----------------------------
2356 # Internal function to portably implement func_quote_arg. Note that we still
2357@@ -1292,6 +1365,87 @@ func_quote ()
2358 fi
2359 shift
2360 done
2361+=======
2362+# func_quote_for_eval ARG...
2363+# --------------------------
2364+# Aesthetically quote ARGs to be evaled later.
2365+# This function returns two values:
2366+# i) func_quote_for_eval_result
2367+# double-quoted, suitable for a subsequent eval
2368+# ii) func_quote_for_eval_unquoted_result
2369+# has all characters that are still active within double
2370+# quotes backslashified.
2371+func_quote_for_eval ()
2372+{
2373+ $debug_cmd
2374+
2375+ func_quote_for_eval_unquoted_result=
2376+ func_quote_for_eval_result=
2377+ while test 0 -lt $#; do
2378+ case $1 in
2379+ *[\\\`\"\$]*)
2380+ _G_unquoted_arg=`printf '%s\n' "$1" |$SED "$sed_quote_subst"` ;;
2381+ *)
2382+ _G_unquoted_arg=$1 ;;
2383+ esac
2384+ if test -n "$func_quote_for_eval_unquoted_result"; then
2385+ func_append func_quote_for_eval_unquoted_result " $_G_unquoted_arg"
2386+ else
2387+ func_append func_quote_for_eval_unquoted_result "$_G_unquoted_arg"
2388+ fi
2389+
2390+ case $_G_unquoted_arg in
2391+ # Double-quote args containing shell metacharacters to delay
2392+ # word splitting, command substitution and variable expansion
2393+ # for a subsequent eval.
2394+ # Many Bourne shells cannot handle close brackets correctly
2395+ # in scan sets, so we specify it separately.
2396+ *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
2397+ _G_quoted_arg=\"$_G_unquoted_arg\"
2398+ ;;
2399+ *)
2400+ _G_quoted_arg=$_G_unquoted_arg
2401+ ;;
2402+ esac
2403+
2404+ if test -n "$func_quote_for_eval_result"; then
2405+ func_append func_quote_for_eval_result " $_G_quoted_arg"
2406+ else
2407+ func_append func_quote_for_eval_result "$_G_quoted_arg"
2408+ fi
2409+ shift
2410+ done
2411+}
2412+
2413+
2414+# func_quote_for_expand ARG
2415+# -------------------------
2416+# Aesthetically quote ARG to be evaled later; same as above,
2417+# but do not quote variable references.
2418+func_quote_for_expand ()
2419+{
2420+ $debug_cmd
2421+
2422+ case $1 in
2423+ *[\\\`\"]*)
2424+ _G_arg=`$ECHO "$1" | $SED \
2425+ -e "$sed_double_quote_subst" -e "$sed_double_backslash"` ;;
2426+ *)
2427+ _G_arg=$1 ;;
2428+ esac
2429+
2430+ case $_G_arg in
2431+ # Double-quote args containing shell metacharacters to delay
2432+ # word splitting and command substitution for a subsequent eval.
2433+ # Many Bourne shells cannot handle close brackets correctly
2434+ # in scan sets, so we specify it separately.
2435+ *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
2436+ _G_arg=\"$_G_arg\"
2437+ ;;
2438+ esac
2439+
2440+ func_quote_for_expand_result=$_G_arg
2441+>>>>>>> build-aux/ltmain.sh
2442 }
2443
2444
2445@@ -1337,8 +1491,13 @@ func_show_eval ()
2446 _G_cmd=$1
2447 _G_fail_exp=${2-':'}
2448
2449+<<<<<<< build-aux/ltmain.sh
2450 func_quote_arg pretty,expand "$_G_cmd"
2451 eval "func_notquiet $func_quote_arg_result"
2452+=======
2453+ func_quote_for_expand "$_G_cmd"
2454+ eval "func_notquiet $func_quote_for_expand_result"
2455+>>>>>>> build-aux/ltmain.sh
2456
2457 $opt_dry_run || {
2458 eval "$_G_cmd"
2459@@ -1363,8 +1522,13 @@ func_show_eval_locale ()
2460 _G_fail_exp=${2-':'}
2461
2462 $opt_quiet || {
2463+<<<<<<< build-aux/ltmain.sh
2464 func_quote_arg expand,pretty "$_G_cmd"
2465 eval "func_echo $func_quote_arg_result"
2466+=======
2467+ func_quote_for_expand "$_G_cmd"
2468+ eval "func_echo $func_quote_for_expand_result"
2469+>>>>>>> build-aux/ltmain.sh
2470 }
2471
2472 $opt_dry_run || {
2473@@ -1491,6 +1655,7 @@ func_lt_ver ()
2474 # End:
2475 #! /bin/sh
2476
2477+<<<<<<< build-aux/ltmain.sh
2478 # A portable, pluggable option parser for Bourne shell.
2479 # Written by Gary V. Vaughan, 2010
2480
2481@@ -1511,6 +1676,32 @@ func_lt_ver ()
2482
2483 # Set a version string for this script.
2484 scriptversion=2018-07-24.06; # UTC
2485+=======
2486+# Set a version string for this script.
2487+scriptversion=2014-01-07.03; # UTC
2488+
2489+# A portable, pluggable option parser for Bourne shell.
2490+# Written by Gary V. Vaughan, 2010
2491+
2492+# Copyright (C) 2010-2015 Free Software Foundation, Inc.
2493+# This is free software; see the source for copying conditions. There is NO
2494+# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
2495+
2496+# This program is free software: you can redistribute it and/or modify
2497+# it under the terms of the GNU General Public License as published by
2498+# the Free Software Foundation, either version 3 of the License, or
2499+# (at your option) any later version.
2500+
2501+# This program is distributed in the hope that it will be useful,
2502+# but WITHOUT ANY WARRANTY; without even the implied warranty of
2503+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2504+# GNU General Public License for more details.
2505+
2506+# You should have received a copy of the GNU General Public License
2507+# along with this program. If not, see <http://www.gnu.org/licenses/>.
2508+
2509+# Please report bugs or propose patches to gary@gnu.org.
2510+>>>>>>> build-aux/ltmain.sh
2511
2512
2513 ## ------ ##
2514@@ -1533,7 +1724,11 @@ scriptversion=2018-07-24.06; # UTC
2515 #
2516 # In order for the '--version' option to work, you will need to have a
2517 # suitably formatted comment like the one at the top of this file
2518+<<<<<<< build-aux/ltmain.sh
2519 # starting with '# Written by ' and ending with '# Copyright'.
2520+=======
2521+# starting with '# Written by ' and ending with '# warranty; '.
2522+>>>>>>> build-aux/ltmain.sh
2523 #
2524 # For '-h' and '--help' to work, you will also need a one line
2525 # description of your script's purpose in a comment directly above the
2526@@ -1545,7 +1740,11 @@ scriptversion=2018-07-24.06; # UTC
2527 # to display verbose messages only when your user has specified
2528 # '--verbose'.
2529 #
2530+<<<<<<< build-aux/ltmain.sh
2531 # After sourcing this file, you can plug in processing for additional
2532+=======
2533+# After sourcing this file, you can plug processing for additional
2534+>>>>>>> build-aux/ltmain.sh
2535 # options by amending the variables from the 'Configuration' section
2536 # below, and following the instructions in the 'Option parsing'
2537 # section further down.
2538@@ -1594,8 +1793,13 @@ fatal_help="Try '\$progname --help' for more information."
2539 ## ------------------------- ##
2540
2541 # This section contains functions for adding, removing, and running hooks
2542+<<<<<<< build-aux/ltmain.sh
2543 # in the main code. A hook is just a list of function names that can be
2544 # run in order later on.
2545+=======
2546+# to the main code. A hook is just a named list of of function, that can
2547+# be run in order later on.
2548+>>>>>>> build-aux/ltmain.sh
2549
2550 # func_hookable FUNC_NAME
2551 # -----------------------
2552@@ -1628,8 +1832,12 @@ func_add_hook ()
2553
2554 # func_remove_hook FUNC_NAME HOOK_FUNC
2555 # ------------------------------------
2556+<<<<<<< build-aux/ltmain.sh
2557 # Remove HOOK_FUNC from the list of hook functions to be called by
2558 # FUNC_NAME.
2559+=======
2560+# Remove HOOK_FUNC from the list of functions called by FUNC_NAME.
2561+>>>>>>> build-aux/ltmain.sh
2562 func_remove_hook ()
2563 {
2564 $debug_cmd
2565@@ -1638,6 +1846,7 @@ func_remove_hook ()
2566 }
2567
2568
2569+<<<<<<< build-aux/ltmain.sh
2570 # func_propagate_result FUNC_NAME_A FUNC_NAME_B
2571 # ---------------------------------------------
2572 # If the *_result variable of FUNC_NAME_A _is set_, assign its value to
2573@@ -1660,6 +1869,12 @@ func_propagate_result ()
2574 # ---------------------------------
2575 # Run all hook functions registered to FUNC_NAME.
2576 # It's assumed that the list of hook functions contains nothing more
2577+=======
2578+# func_run_hooks FUNC_NAME [ARG]...
2579+# ---------------------------------
2580+# Run all hook functions registered to FUNC_NAME.
2581+# It is assumed that the list of hook functions contains nothing more
2582+>>>>>>> build-aux/ltmain.sh
2583 # than a whitespace-delimited list of legal shell function names, and
2584 # no effort is wasted trying to catch shell meta-characters or preserve
2585 # whitespace.
2586@@ -1669,12 +1884,17 @@ func_run_hooks ()
2587
2588 case " $hookable_fns " in
2589 *" $1 "*) ;;
2590+<<<<<<< build-aux/ltmain.sh
2591 *) func_fatal_error "'$1' does not support hook functions." ;;
2592+=======
2593+ *) func_fatal_error "'$1' does not support hook funcions.n" ;;
2594+>>>>>>> build-aux/ltmain.sh
2595 esac
2596
2597 eval _G_hook_fns=\$$1_hooks; shift
2598
2599 for _G_hook in $_G_hook_fns; do
2600+<<<<<<< build-aux/ltmain.sh
2601 func_unset "${_G_hook}_result"
2602 eval $_G_hook '${1+"$@"}'
2603 func_propagate_result $_G_hook func_run_hooks
2604@@ -1682,6 +1902,18 @@ func_run_hooks ()
2605 eval set dummy "$func_run_hooks_result"; shift
2606 fi
2607 done
2608+=======
2609+ eval $_G_hook '"$@"'
2610+
2611+ # store returned options list back into positional
2612+ # parameters for next 'cmd' execution.
2613+ eval _G_hook_result=\$${_G_hook}_result
2614+ eval set dummy "$_G_hook_result"; shift
2615+ done
2616+
2617+ func_quote_for_eval ${1+"$@"}
2618+ func_run_hooks_result=$func_quote_for_eval_result
2619+>>>>>>> build-aux/ltmain.sh
2620 }
2621
2622
2623@@ -1691,6 +1923,7 @@ func_run_hooks ()
2624 ## --------------- ##
2625
2626 # In order to add your own option parsing hooks, you must accept the
2627+<<<<<<< build-aux/ltmain.sh
2628 # full positional parameter list from your hook function. You may remove
2629 # or edit any options that you action, and then pass back the remaining
2630 # unprocessed options in '<hooked_function_name>_result', escaped
2631@@ -1703,6 +1936,12 @@ func_run_hooks ()
2632 # machines).
2633 #
2634 # Like this:
2635+=======
2636+# full positional parameter list in your hook function, remove any
2637+# options that you action, and then pass back the remaining unprocessed
2638+# options in '<hooked_function_name>_result', escaped suitably for
2639+# 'eval'. Like this:
2640+>>>>>>> build-aux/ltmain.sh
2641 #
2642 # my_options_prep ()
2643 # {
2644@@ -1712,8 +1951,14 @@ func_run_hooks ()
2645 # usage_message=$usage_message'
2646 # -s, --silent don'\''t print informational messages
2647 # '
2648+<<<<<<< build-aux/ltmain.sh
2649 # # No change in '$@' (ignored completely by this hook). Leave
2650 # # my_options_prep_result variable intact.
2651+=======
2652+#
2653+# func_quote_for_eval ${1+"$@"}
2654+# my_options_prep_result=$func_quote_for_eval_result
2655+>>>>>>> build-aux/ltmain.sh
2656 # }
2657 # func_add_hook func_options_prep my_options_prep
2658 #
2659@@ -1722,22 +1967,31 @@ func_run_hooks ()
2660 # {
2661 # $debug_cmd
2662 #
2663+<<<<<<< build-aux/ltmain.sh
2664 # args_changed=false
2665 #
2666 # # Note that, for efficiency, we parse as many options as we can
2667+=======
2668+# # Note that for efficiency, we parse as many options as we can
2669+>>>>>>> build-aux/ltmain.sh
2670 # # recognise in a loop before passing the remainder back to the
2671 # # caller on the first unrecognised argument we encounter.
2672 # while test $# -gt 0; do
2673 # opt=$1; shift
2674 # case $opt in
2675+<<<<<<< build-aux/ltmain.sh
2676 # --silent|-s) opt_silent=:
2677 # args_changed=:
2678 # ;;
2679+=======
2680+# --silent|-s) opt_silent=: ;;
2681+>>>>>>> build-aux/ltmain.sh
2682 # # Separate non-argument short options:
2683 # -s*) func_split_short_opt "$_G_opt"
2684 # set dummy "$func_split_short_opt_name" \
2685 # "-$func_split_short_opt_arg" ${1+"$@"}
2686 # shift
2687+<<<<<<< build-aux/ltmain.sh
2688 # args_changed=:
2689 # ;;
2690 # *) # Make sure the first unrecognised option "$_G_opt"
2691@@ -1752,6 +2006,15 @@ func_run_hooks ()
2692 # func_quote eval ${1+"$@"}
2693 # my_silent_option_result=$func_quote_result
2694 # fi
2695+=======
2696+# ;;
2697+# *) set dummy "$_G_opt" "$*"; shift; break ;;
2698+# esac
2699+# done
2700+#
2701+# func_quote_for_eval ${1+"$@"}
2702+# my_silent_option_result=$func_quote_for_eval_result
2703+>>>>>>> build-aux/ltmain.sh
2704 # }
2705 # func_add_hook func_parse_options my_silent_option
2706 #
2707@@ -1762,14 +2025,25 @@ func_run_hooks ()
2708 #
2709 # $opt_silent && $opt_verbose && func_fatal_help "\
2710 # '--silent' and '--verbose' options are mutually exclusive."
2711+<<<<<<< build-aux/ltmain.sh
2712 # }
2713 # func_add_hook func_validate_options my_option_validation
2714 #
2715 # You'll also need to manually amend $usage_message to reflect the extra
2716+=======
2717+#
2718+# func_quote_for_eval ${1+"$@"}
2719+# my_option_validation_result=$func_quote_for_eval_result
2720+# }
2721+# func_add_hook func_validate_options my_option_validation
2722+#
2723+# You'll alse need to manually amend $usage_message to reflect the extra
2724+>>>>>>> build-aux/ltmain.sh
2725 # options you parse. It's preferable to append if you can, so that
2726 # multiple option parsing hooks can be added safely.
2727
2728
2729+<<<<<<< build-aux/ltmain.sh
2730 # func_options_finish [ARG]...
2731 # ----------------------------
2732 # Finishing the option parse loop (call 'func_options' hooks ATM).
2733@@ -1782,6 +2056,8 @@ func_options_finish ()
2734 }
2735
2736
2737+=======
2738+>>>>>>> build-aux/ltmain.sh
2739 # func_options [ARG]...
2740 # ---------------------
2741 # All the functions called inside func_options are hookable. See the
2742@@ -1791,6 +2067,7 @@ func_options ()
2743 {
2744 $debug_cmd
2745
2746+<<<<<<< build-aux/ltmain.sh
2747 _G_options_quoted=false
2748
2749 for my_func in options_prep parse_options validate_options options_finish
2750@@ -1812,6 +2089,19 @@ func_options ()
2751 func_quote eval ${1+"$@"}
2752 func_options_result=$func_quote_result
2753 }
2754+=======
2755+ func_options_prep ${1+"$@"}
2756+ eval func_parse_options \
2757+ ${func_options_prep_result+"$func_options_prep_result"}
2758+ eval func_validate_options \
2759+ ${func_parse_options_result+"$func_parse_options_result"}
2760+
2761+ eval func_run_hooks func_options \
2762+ ${func_validate_options_result+"$func_validate_options_result"}
2763+
2764+ # save modified positional parameters for caller
2765+ func_options_result=$func_run_hooks_result
2766+>>>>>>> build-aux/ltmain.sh
2767 }
2768
2769
2770@@ -1820,8 +2110,14 @@ func_options ()
2771 # All initialisations required before starting the option parse loop.
2772 # Note that when calling hook functions, we pass through the list of
2773 # positional parameters. If a hook function modifies that list, and
2774+<<<<<<< build-aux/ltmain.sh
2775 # needs to propagate that back to rest of this script, then the complete
2776 # modified list must be put in 'func_run_hooks_result' before returning.
2777+=======
2778+# needs to propogate that back to rest of this script, then the complete
2779+# modified list must be put in 'func_run_hooks_result' before
2780+# returning.
2781+>>>>>>> build-aux/ltmain.sh
2782 func_hookable func_options_prep
2783 func_options_prep ()
2784 {
2785@@ -1832,7 +2128,13 @@ func_options_prep ()
2786 opt_warning_types=
2787
2788 func_run_hooks func_options_prep ${1+"$@"}
2789+<<<<<<< build-aux/ltmain.sh
2790 func_propagate_result func_run_hooks func_options_prep
2791+=======
2792+
2793+ # save modified positional parameters for caller
2794+ func_options_prep_result=$func_run_hooks_result
2795+>>>>>>> build-aux/ltmain.sh
2796 }
2797
2798
2799@@ -1844,12 +2146,18 @@ func_parse_options ()
2800 {
2801 $debug_cmd
2802
2803+<<<<<<< build-aux/ltmain.sh
2804 _G_parse_options_requote=false
2805+=======
2806+ func_parse_options_result=
2807+
2808+>>>>>>> build-aux/ltmain.sh
2809 # this just eases exit handling
2810 while test $# -gt 0; do
2811 # Defer to hook functions for initial option parsing, so they
2812 # get priority in the event of reusing an option name.
2813 func_run_hooks func_parse_options ${1+"$@"}
2814+<<<<<<< build-aux/ltmain.sh
2815 func_propagate_result func_run_hooks func_parse_options
2816 if $func_propagate_result_result; then
2817 eval set dummy "$func_parse_options_result"; shift
2818@@ -1858,18 +2166,30 @@ func_parse_options ()
2819 # this if-branch). No need to quote it again.
2820 _G_parse_options_requote=false
2821 fi
2822+=======
2823+
2824+ # Adjust func_parse_options positional parameters to match
2825+ eval set dummy "$func_run_hooks_result"; shift
2826+>>>>>>> build-aux/ltmain.sh
2827
2828 # Break out of the loop if we already parsed every option.
2829 test $# -gt 0 || break
2830
2831+<<<<<<< build-aux/ltmain.sh
2832 # We expect that one of the options parsed in this function matches
2833 # and thus we remove _G_opt from "$@" and need to re-quote.
2834 _G_match_parse_options=:
2835+=======
2836+>>>>>>> build-aux/ltmain.sh
2837 _G_opt=$1
2838 shift
2839 case $_G_opt in
2840 --debug|-x) debug_cmd='set -x'
2841+<<<<<<< build-aux/ltmain.sh
2842 func_echo "enabling shell trace mode" >&2
2843+=======
2844+ func_echo "enabling shell trace mode"
2845+>>>>>>> build-aux/ltmain.sh
2846 $debug_cmd
2847 ;;
2848
2849@@ -1879,10 +2199,14 @@ func_parse_options ()
2850 ;;
2851
2852 --warnings|--warning|-W)
2853+<<<<<<< build-aux/ltmain.sh
2854 if test $# = 0 && func_missing_arg $_G_opt; then
2855 _G_parse_options_requote=:
2856 break
2857 fi
2858+=======
2859+ test $# = 0 && func_missing_arg $_G_opt && break
2860+>>>>>>> build-aux/ltmain.sh
2861 case " $warning_categories $1" in
2862 *" $1 "*)
2863 # trailing space prevents matching last $1 above
2864@@ -1935,6 +2259,7 @@ func_parse_options ()
2865 shift
2866 ;;
2867
2868+<<<<<<< build-aux/ltmain.sh
2869 --) _G_parse_options_requote=: ; break ;;
2870 -*) func_fatal_help "unrecognised option: '$_G_opt'" ;;
2871 *) set dummy "$_G_opt" ${1+"$@"}; shift
2872@@ -1953,6 +2278,17 @@ func_parse_options ()
2873 func_quote eval ${1+"$@"}
2874 func_parse_options_result=$func_quote_result
2875 fi
2876+=======
2877+ --) break ;;
2878+ -*) func_fatal_help "unrecognised option: '$_G_opt'" ;;
2879+ *) set dummy "$_G_opt" ${1+"$@"}; shift; break ;;
2880+ esac
2881+ done
2882+
2883+ # save modified positional parameters for caller
2884+ func_quote_for_eval ${1+"$@"}
2885+ func_parse_options_result=$func_quote_for_eval_result
2886+>>>>>>> build-aux/ltmain.sh
2887 }
2888
2889
2890@@ -1969,10 +2305,19 @@ func_validate_options ()
2891 test -n "$opt_warning_types" || opt_warning_types=" $warning_categories"
2892
2893 func_run_hooks func_validate_options ${1+"$@"}
2894+<<<<<<< build-aux/ltmain.sh
2895 func_propagate_result func_run_hooks func_validate_options
2896
2897 # Bail if the options were screwed!
2898 $exit_cmd $EXIT_FAILURE
2899+=======
2900+
2901+ # Bail if the options were screwed!
2902+ $exit_cmd $EXIT_FAILURE
2903+
2904+ # save modified positional parameters for caller
2905+ func_validate_options_result=$func_run_hooks_result
2906+>>>>>>> build-aux/ltmain.sh
2907 }
2908
2909
2910@@ -2028,8 +2373,13 @@ func_missing_arg ()
2911
2912 # func_split_equals STRING
2913 # ------------------------
2914+<<<<<<< build-aux/ltmain.sh
2915 # Set func_split_equals_lhs and func_split_equals_rhs shell variables
2916 # after splitting STRING at the '=' sign.
2917+=======
2918+# Set func_split_equals_lhs and func_split_equals_rhs shell variables after
2919+# splitting STRING at the '=' sign.
2920+>>>>>>> build-aux/ltmain.sh
2921 test -z "$_G_HAVE_XSI_OPS" \
2922 && (eval 'x=a/b/c;
2923 test 5aa/bb/cc = "${#x}${x%%/*}${x%/*}${x#*/}${x##*/}"') 2>/dev/null \
2924@@ -2044,9 +2394,14 @@ then
2925
2926 func_split_equals_lhs=${1%%=*}
2927 func_split_equals_rhs=${1#*=}
2928+<<<<<<< build-aux/ltmain.sh
2929 if test "x$func_split_equals_lhs" = "x$1"; then
2930 func_split_equals_rhs=
2931 fi
2932+=======
2933+ test "x$func_split_equals_lhs" = "x$1" \
2934+ && func_split_equals_rhs=
2935+>>>>>>> build-aux/ltmain.sh
2936 }'
2937 else
2938 # ...otherwise fall back to using expr, which is often a shell builtin.
2939@@ -2124,6 +2479,7 @@ func_usage_message ()
2940 # func_version
2941 # ------------
2942 # Echo version message to standard output and exit.
2943+<<<<<<< build-aux/ltmain.sh
2944 # The version message is extracted from the calling file's header
2945 # comments, with leading '# ' stripped:
2946 # 1. First display the progname and version
2947@@ -2133,12 +2489,15 @@ func_usage_message ()
2948 # 4. Immediately followed by any lines between the previous matches,
2949 # except lines preceding the intervening completely blank line.
2950 # For example, see the header comments of this file.
2951+=======
2952+>>>>>>> build-aux/ltmain.sh
2953 func_version ()
2954 {
2955 $debug_cmd
2956
2957 printf '%s\n' "$progname $scriptversion"
2958 $SED -n '
2959+<<<<<<< build-aux/ltmain.sh
2960 /^# Written by /!b
2961 s|^# ||; p; n
2962
2963@@ -2162,6 +2521,27 @@ func_version ()
2964 G
2965 s|\(\n\)\n*|\1|g
2966 p; q' < "$progpath"
2967+=======
2968+ /(C)/!b go
2969+ :more
2970+ /\./!{
2971+ N
2972+ s|\n# | |
2973+ b more
2974+ }
2975+ :go
2976+ /^# Written by /,/# warranty; / {
2977+ s|^# ||
2978+ s|^# *$||
2979+ s|\((C)\)[ 0-9,-]*[ ,-]\([1-9][0-9]* \)|\1 \2|
2980+ p
2981+ }
2982+ /^# Written by / {
2983+ s|^# ||
2984+ p
2985+ }
2986+ /^warranty; /q' < "$progpath"
2987+>>>>>>> build-aux/ltmain.sh
2988
2989 exit $?
2990 }
2991@@ -2171,12 +2551,20 @@ func_version ()
2992 # mode: shell-script
2993 # sh-indentation: 2
2994 # eval: (add-hook 'before-save-hook 'time-stamp)
2995+<<<<<<< build-aux/ltmain.sh
2996 # time-stamp-pattern: "30/scriptversion=%:y-%02m-%02d.%02H; # UTC"
2997+=======
2998+# time-stamp-pattern: "10/scriptversion=%:y-%02m-%02d.%02H; # UTC"
2999+>>>>>>> build-aux/ltmain.sh
3000 # time-stamp-time-zone: "UTC"
3001 # End:
3002
3003 # Set a version string.
3004+<<<<<<< build-aux/ltmain.sh
3005 scriptversion='(GNU libtool) 2.4.6.42-b88ce'
3006+=======
3007+scriptversion='(GNU libtool) 2.4.6'
3008+>>>>>>> build-aux/ltmain.sh
3009
3010
3011 # func_echo ARG...
3012@@ -2267,12 +2655,20 @@ include the following information:
3013 compiler: $LTCC
3014 compiler flags: $LTCFLAGS
3015 linker: $LD (gnu? $with_gnu_ld)
3016+<<<<<<< build-aux/ltmain.sh
3017 version: $progname (GNU libtool) 2.4.6.42-b88ce
3018+=======
3019+ version: $progname (GNU libtool) 2.4.6
3020+>>>>>>> build-aux/ltmain.sh
3021 automake: `($AUTOMAKE --version) 2>/dev/null |$SED 1q`
3022 autoconf: `($AUTOCONF --version) 2>/dev/null |$SED 1q`
3023
3024 Report bugs to <bug-libtool@gnu.org>.
3025+<<<<<<< build-aux/ltmain.sh
3026 GNU libtool home page: <http://www.gnu.org/s/libtool/>.
3027+=======
3028+GNU libtool home page: <http://www.gnu.org/software/libtool/>.
3029+>>>>>>> build-aux/ltmain.sh
3030 General help using GNU software: <http://www.gnu.org/gethelp/>."
3031 exit 0
3032 }
3033@@ -2469,8 +2865,11 @@ libtool_options_prep ()
3034 nonopt=
3035 preserve_args=
3036
3037+<<<<<<< build-aux/ltmain.sh
3038 _G_rc_lt_options_prep=:
3039
3040+=======
3041+>>>>>>> build-aux/ltmain.sh
3042 # Shorthand for --mode=foo, only valid as the first argument
3043 case $1 in
3044 clean|clea|cle|cl)
3045@@ -2494,6 +2893,7 @@ libtool_options_prep ()
3046 uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u)
3047 shift; set dummy --mode uninstall ${1+"$@"}; shift
3048 ;;
3049+<<<<<<< build-aux/ltmain.sh
3050 *)
3051 _G_rc_lt_options_prep=false
3052 ;;
3053@@ -2504,6 +2904,13 @@ libtool_options_prep ()
3054 func_quote eval ${1+"$@"}
3055 libtool_options_prep_result=$func_quote_result
3056 fi
3057+=======
3058+ esac
3059+
3060+ # Pass back the list of options.
3061+ func_quote_for_eval ${1+"$@"}
3062+ libtool_options_prep_result=$func_quote_for_eval_result
3063+>>>>>>> build-aux/ltmain.sh
3064 }
3065 func_add_hook func_options_prep libtool_options_prep
3066
3067@@ -2515,12 +2922,18 @@ libtool_parse_options ()
3068 {
3069 $debug_cmd
3070
3071+<<<<<<< build-aux/ltmain.sh
3072 _G_rc_lt_parse_options=false
3073
3074 # Perform our own loop to consume as many options as possible in
3075 # each iteration.
3076 while test $# -gt 0; do
3077 _G_match_lt_parse_options=:
3078+=======
3079+ # Perform our own loop to consume as many options as possible in
3080+ # each iteration.
3081+ while test $# -gt 0; do
3082+>>>>>>> build-aux/ltmain.sh
3083 _G_opt=$1
3084 shift
3085 case $_G_opt in
3086@@ -2595,6 +3008,7 @@ libtool_parse_options ()
3087 func_append preserve_args " $_G_opt"
3088 ;;
3089
3090+<<<<<<< build-aux/ltmain.sh
3091 # An option not handled by this hook function:
3092 *) set dummy "$_G_opt" ${1+"$@"} ; shift
3093 _G_match_lt_parse_options=false
3094@@ -2609,6 +3023,17 @@ libtool_parse_options ()
3095 func_quote eval ${1+"$@"}
3096 libtool_parse_options_result=$func_quote_result
3097 fi
3098+=======
3099+ # An option not handled by this hook function:
3100+ *) set dummy "$_G_opt" ${1+"$@"}; shift; break ;;
3101+ esac
3102+ done
3103+
3104+
3105+ # save modified positional parameters for caller
3106+ func_quote_for_eval ${1+"$@"}
3107+ libtool_parse_options_result=$func_quote_for_eval_result
3108+>>>>>>> build-aux/ltmain.sh
3109 }
3110 func_add_hook func_parse_options libtool_parse_options
3111
3112@@ -2665,8 +3090,13 @@ libtool_validate_options ()
3113 }
3114
3115 # Pass back the unparsed argument list
3116+<<<<<<< build-aux/ltmain.sh
3117 func_quote eval ${1+"$@"}
3118 libtool_validate_options_result=$func_quote_result
3119+=======
3120+ func_quote_for_eval ${1+"$@"}
3121+ libtool_validate_options_result=$func_quote_for_eval_result
3122+>>>>>>> build-aux/ltmain.sh
3123 }
3124 func_add_hook func_validate_options libtool_validate_options
3125
3126@@ -3632,8 +4062,13 @@ func_mode_compile ()
3127 esac
3128 done
3129
3130+<<<<<<< build-aux/ltmain.sh
3131 func_quote_arg pretty "$libobj"
3132 test "X$libobj" != "X$func_quote_arg_result" \
3133+=======
3134+ func_quote_for_eval "$libobj"
3135+ test "X$libobj" != "X$func_quote_for_eval_result" \
3136+>>>>>>> build-aux/ltmain.sh
3137 && $ECHO "X$libobj" | $GREP '[]~#^*{};<>?"'"'"' &()|`$[]' \
3138 && func_warning "libobj name '$libobj' may not contain shell special characters."
3139 func_dirname_and_basename "$obj" "/" ""
3140@@ -3706,8 +4141,13 @@ compiler."
3141
3142 func_to_tool_file "$srcfile" func_convert_file_msys_to_w32
3143 srcfile=$func_to_tool_file_result
3144+<<<<<<< build-aux/ltmain.sh
3145 func_quote_arg pretty "$srcfile"
3146 qsrcfile=$func_quote_arg_result
3147+=======
3148+ func_quote_for_eval "$srcfile"
3149+ qsrcfile=$func_quote_for_eval_result
3150+>>>>>>> build-aux/ltmain.sh
3151
3152 # Only build a PIC object if we are building libtool libraries.
3153 if test yes = "$build_libtool_libs"; then
3154@@ -4310,8 +4750,13 @@ func_mode_install ()
3155 case $nonopt in *shtool*) :;; *) false;; esac
3156 then
3157 # Aesthetically quote it.
3158+<<<<<<< build-aux/ltmain.sh
3159 func_quote_arg pretty "$nonopt"
3160 install_prog="$func_quote_arg_result "
3161+=======
3162+ func_quote_for_eval "$nonopt"
3163+ install_prog="$func_quote_for_eval_result "
3164+>>>>>>> build-aux/ltmain.sh
3165 arg=$1
3166 shift
3167 else
3168@@ -4321,8 +4766,13 @@ func_mode_install ()
3169
3170 # The real first argument should be the name of the installation program.
3171 # Aesthetically quote it.
3172+<<<<<<< build-aux/ltmain.sh
3173 func_quote_arg pretty "$arg"
3174 func_append install_prog "$func_quote_arg_result"
3175+=======
3176+ func_quote_for_eval "$arg"
3177+ func_append install_prog "$func_quote_for_eval_result"
3178+>>>>>>> build-aux/ltmain.sh
3179 install_shared_prog=$install_prog
3180 case " $install_prog " in
3181 *[\\\ /]cp\ *) install_cp=: ;;
3182@@ -4379,12 +4829,21 @@ func_mode_install ()
3183 esac
3184
3185 # Aesthetically quote the argument.
3186+<<<<<<< build-aux/ltmain.sh
3187 func_quote_arg pretty "$arg"
3188 func_append install_prog " $func_quote_arg_result"
3189 if test -n "$arg2"; then
3190 func_quote_arg pretty "$arg2"
3191 fi
3192 func_append install_shared_prog " $func_quote_arg_result"
3193+=======
3194+ func_quote_for_eval "$arg"
3195+ func_append install_prog " $func_quote_for_eval_result"
3196+ if test -n "$arg2"; then
3197+ func_quote_for_eval "$arg2"
3198+ fi
3199+ func_append install_shared_prog " $func_quote_for_eval_result"
3200+>>>>>>> build-aux/ltmain.sh
3201 done
3202
3203 test -z "$install_prog" && \
3204@@ -4395,8 +4854,13 @@ func_mode_install ()
3205
3206 if test -n "$install_override_mode" && $no_mode; then
3207 if $install_cp; then :; else
3208+<<<<<<< build-aux/ltmain.sh
3209 func_quote_arg pretty "$install_override_mode"
3210 func_append install_shared_prog " -m $func_quote_arg_result"
3211+=======
3212+ func_quote_for_eval "$install_override_mode"
3213+ func_append install_shared_prog " -m $func_quote_for_eval_result"
3214+>>>>>>> build-aux/ltmain.sh
3215 fi
3216 fi
3217
3218@@ -4692,8 +5156,13 @@ func_mode_install ()
3219 relink_command=`$ECHO "$relink_command" | $SED 's%@OUTPUT@%'"$outputname"'%g'`
3220
3221 $opt_quiet || {
3222+<<<<<<< build-aux/ltmain.sh
3223 func_quote_arg expand,pretty "$relink_command"
3224 eval "func_echo $func_quote_arg_result"
3225+=======
3226+ func_quote_for_expand "$relink_command"
3227+ eval "func_echo $func_quote_for_expand_result"
3228+>>>>>>> build-aux/ltmain.sh
3229 }
3230 if eval "$relink_command"; then :
3231 else
3232@@ -5472,8 +5941,12 @@ else
3233 if test \"\$libtool_execute_magic\" != \"$magic\"; then
3234 file=\"\$0\""
3235
3236+<<<<<<< build-aux/ltmain.sh
3237 func_quote_arg pretty "$ECHO"
3238 qECHO=$func_quote_arg_result
3239+=======
3240+ qECHO=`$ECHO "$ECHO" | $SED "$sed_quote_subst"`
3241+>>>>>>> build-aux/ltmain.sh
3242 $ECHO "\
3243
3244 # A function that is used when there is no print builtin or printf.
3245@@ -5483,7 +5956,11 @@ func_fallback_echo ()
3246 \$1
3247 _LTECHO_EOF'
3248 }
3249+<<<<<<< build-aux/ltmain.sh
3250 ECHO=$qECHO
3251+=======
3252+ ECHO=\"$qECHO\"
3253+>>>>>>> build-aux/ltmain.sh
3254 fi
3255
3256 # Very basic option parsing. These options are (a) specific to
3257@@ -6826,9 +7303,15 @@ func_mode_link ()
3258 while test "$#" -gt 0; do
3259 arg=$1
3260 shift
3261+<<<<<<< build-aux/ltmain.sh
3262 func_quote_arg pretty,unquoted "$arg"
3263 qarg=$func_quote_arg_unquoted_result
3264 func_append libtool_args " $func_quote_arg_result"
3265+=======
3266+ func_quote_for_eval "$arg"
3267+ qarg=$func_quote_for_eval_unquoted_result
3268+ func_append libtool_args " $func_quote_for_eval_result"
3269+>>>>>>> build-aux/ltmain.sh
3270
3271 # If the previous option needs an argument, assign it.
3272 if test -n "$prev"; then
3273@@ -7426,9 +7909,15 @@ func_mode_link ()
3274 save_ifs=$IFS; IFS=,
3275 for flag in $args; do
3276 IFS=$save_ifs
3277+<<<<<<< build-aux/ltmain.sh
3278 func_quote_arg pretty "$flag"
3279 func_append arg " $func_quote_arg_result"
3280 func_append compiler_flags " $func_quote_arg_result"
3281+=======
3282+ func_quote_for_eval "$flag"
3283+ func_append arg " $func_quote_for_eval_result"
3284+ func_append compiler_flags " $func_quote_for_eval_result"
3285+>>>>>>> build-aux/ltmain.sh
3286 done
3287 IFS=$save_ifs
3288 func_stripname ' ' '' "$arg"
3289@@ -7442,10 +7931,17 @@ func_mode_link ()
3290 save_ifs=$IFS; IFS=,
3291 for flag in $args; do
3292 IFS=$save_ifs
3293+<<<<<<< build-aux/ltmain.sh
3294 func_quote_arg pretty "$flag"
3295 func_append arg " $wl$func_quote_arg_result"
3296 func_append compiler_flags " $wl$func_quote_arg_result"
3297 func_append linker_flags " $func_quote_arg_result"
3298+=======
3299+ func_quote_for_eval "$flag"
3300+ func_append arg " $wl$func_quote_for_eval_result"
3301+ func_append compiler_flags " $wl$func_quote_for_eval_result"
3302+ func_append linker_flags " $func_quote_for_eval_result"
3303+>>>>>>> build-aux/ltmain.sh
3304 done
3305 IFS=$save_ifs
3306 func_stripname ' ' '' "$arg"
3307@@ -7469,8 +7965,13 @@ func_mode_link ()
3308
3309 # -msg_* for osf cc
3310 -msg_*)
3311+<<<<<<< build-aux/ltmain.sh
3312 func_quote_arg pretty "$arg"
3313 arg=$func_quote_arg_result
3314+=======
3315+ func_quote_for_eval "$arg"
3316+ arg=$func_quote_for_eval_result
3317+>>>>>>> build-aux/ltmain.sh
3318 ;;
3319
3320 # Flags to be passed through unchanged, with rationale:
3321@@ -7489,6 +7990,7 @@ func_mode_link ()
3322 # -O*, -g*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
3323 # -specs=* GCC specs files
3324 # -stdlib=* select c++ std lib with clang
3325+<<<<<<< build-aux/ltmain.sh
3326 # -fsanitize=* Clang/GCC memory and address sanitizer
3327 # -fuse-ld=* Linker select flags for GCC
3328 -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
3329@@ -7497,6 +7999,14 @@ func_mode_link ()
3330 -specs=*|-fsanitize=*|-fuse-ld=*)
3331 func_quote_arg pretty "$arg"
3332 arg=$func_quote_arg_result
3333+=======
3334+ -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
3335+ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
3336+ -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*| \
3337+ -specs=*)
3338+ func_quote_for_eval "$arg"
3339+ arg=$func_quote_for_eval_result
3340+>>>>>>> build-aux/ltmain.sh
3341 func_append compile_command " $arg"
3342 func_append finalize_command " $arg"
3343 func_append compiler_flags " $arg"
3344@@ -7517,15 +8027,25 @@ func_mode_link ()
3345 continue
3346 else
3347 # Otherwise treat like 'Some other compiler flag' below
3348+<<<<<<< build-aux/ltmain.sh
3349 func_quote_arg pretty "$arg"
3350 arg=$func_quote_arg_result
3351+=======
3352+ func_quote_for_eval "$arg"
3353+ arg=$func_quote_for_eval_result
3354+>>>>>>> build-aux/ltmain.sh
3355 fi
3356 ;;
3357
3358 # Some other compiler flag.
3359 -* | +*)
3360+<<<<<<< build-aux/ltmain.sh
3361 func_quote_arg pretty "$arg"
3362 arg=$func_quote_arg_result
3363+=======
3364+ func_quote_for_eval "$arg"
3365+ arg=$func_quote_for_eval_result
3366+>>>>>>> build-aux/ltmain.sh
3367 ;;
3368
3369 *.$objext)
3370@@ -7645,8 +8165,13 @@ func_mode_link ()
3371 *)
3372 # Unknown arguments in both finalize_command and compile_command need
3373 # to be aesthetically quoted because they are evaled later.
3374+<<<<<<< build-aux/ltmain.sh
3375 func_quote_arg pretty "$arg"
3376 arg=$func_quote_arg_result
3377+=======
3378+ func_quote_for_eval "$arg"
3379+ arg=$func_quote_for_eval_result
3380+>>>>>>> build-aux/ltmain.sh
3381 ;;
3382 esac # arg
3383
3384@@ -10152,8 +10677,13 @@ EOF
3385 for cmd in $concat_cmds; do
3386 IFS=$save_ifs
3387 $opt_quiet || {
3388+<<<<<<< build-aux/ltmain.sh
3389 func_quote_arg expand,pretty "$cmd"
3390 eval "func_echo $func_quote_arg_result"
3391+=======
3392+ func_quote_for_expand "$cmd"
3393+ eval "func_echo $func_quote_for_expand_result"
3394+>>>>>>> build-aux/ltmain.sh
3395 }
3396 $opt_dry_run || eval "$cmd" || {
3397 lt_exit=$?
3398@@ -10246,8 +10776,13 @@ EOF
3399 eval cmd=\"$cmd\"
3400 IFS=$save_ifs
3401 $opt_quiet || {
3402+<<<<<<< build-aux/ltmain.sh
3403 func_quote_arg expand,pretty "$cmd"
3404 eval "func_echo $func_quote_arg_result"
3405+=======
3406+ func_quote_for_expand "$cmd"
3407+ eval "func_echo $func_quote_for_expand_result"
3408+>>>>>>> build-aux/ltmain.sh
3409 }
3410 $opt_dry_run || eval "$cmd" || {
3411 lt_exit=$?
3412@@ -10721,6 +11256,7 @@ EOF
3413 elif eval var_value=\$$var; test -z "$var_value"; then
3414 relink_command="$var=; export $var; $relink_command"
3415 else
3416+<<<<<<< build-aux/ltmain.sh
3417 func_quote_arg pretty "$var_value"
3418 relink_command="$var=$func_quote_arg_result; export $var; $relink_command"
3419 fi
3420@@ -10728,6 +11264,14 @@ EOF
3421 func_quote eval cd "`pwd`"
3422 func_quote_arg pretty,unquoted "($func_quote_result; $relink_command)"
3423 relink_command=$func_quote_arg_unquoted_result
3424+=======
3425+ func_quote_for_eval "$var_value"
3426+ relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command"
3427+ fi
3428+ done
3429+ relink_command="(cd `pwd`; $relink_command)"
3430+ relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"`
3431+>>>>>>> build-aux/ltmain.sh
3432 fi
3433
3434 # Only actually do things if not in dry run mode.
3435@@ -10967,6 +11511,7 @@ EOF
3436 elif eval var_value=\$$var; test -z "$var_value"; then
3437 relink_command="$var=; export $var; $relink_command"
3438 else
3439+<<<<<<< build-aux/ltmain.sh
3440 func_quote_arg pretty,unquoted "$var_value"
3441 relink_command="$var=$func_quote_arg_unquoted_result; export $var; $relink_command"
3442 fi
3443@@ -10976,6 +11521,15 @@ EOF
3444 relink_command="($func_quote_result; $SHELL \"$progpath\" $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
3445 func_quote_arg pretty,unquoted "$relink_command"
3446 relink_command=$func_quote_arg_unquoted_result
3447+=======
3448+ func_quote_for_eval "$var_value"
3449+ relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command"
3450+ fi
3451+ done
3452+ # Quote the link command for shipping.
3453+ relink_command="(cd `pwd`; $SHELL \"$progpath\" $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
3454+ relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"`
3455+>>>>>>> build-aux/ltmain.sh
3456 if test yes = "$hardcode_automatic"; then
3457 relink_command=
3458 fi
3459diff --git a/configure b/configure
3460index a0d6128..87e8811 100755
3461--- a/configure
3462+++ b/configure
3463@@ -1,6 +1,10 @@
3464 #! /bin/sh
3465 # Guess values for system-dependent variables and create Makefiles.
3466+<<<<<<< configure
3467 # Generated by GNU Autoconf 2.69 for libseccomp 2.4.1.
3468+=======
3469+# Generated by GNU Autoconf 2.69 for libseccomp 2.4.2.
3470+>>>>>>> configure
3471 #
3472 #
3473 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
3474@@ -587,8 +591,13 @@ MAKEFLAGS=
3475 # Identity of this package.
3476 PACKAGE_NAME='libseccomp'
3477 PACKAGE_TARNAME='libseccomp'
3478+<<<<<<< configure
3479 PACKAGE_VERSION='2.4.1'
3480 PACKAGE_STRING='libseccomp 2.4.1'
3481+=======
3482+PACKAGE_VERSION='2.4.2'
3483+PACKAGE_STRING='libseccomp 2.4.2'
3484+>>>>>>> configure
3485 PACKAGE_BUGREPORT=''
3486 PACKAGE_URL=''
3487
3488@@ -1347,7 +1356,11 @@ if test "$ac_init_help" = "long"; then
3489 # Omit some internal or obsolete options to make the list less imposing.
3490 # This message is too long to be a string in the A/UX 3.1 sh.
3491 cat <<_ACEOF
3492+<<<<<<< configure
3493 \`configure' configures libseccomp 2.4.1 to adapt to many kinds of systems.
3494+=======
3495+\`configure' configures libseccomp 2.4.2 to adapt to many kinds of systems.
3496+>>>>>>> configure
3497
3498 Usage: $0 [OPTION]... [VAR=VALUE]...
3499
3500@@ -1417,7 +1430,11 @@ fi
3501
3502 if test -n "$ac_init_help"; then
3503 case $ac_init_help in
3504+<<<<<<< configure
3505 short | recursive ) echo "Configuration of libseccomp 2.4.1:";;
3506+=======
3507+ short | recursive ) echo "Configuration of libseccomp 2.4.2:";;
3508+>>>>>>> configure
3509 esac
3510 cat <<\_ACEOF
3511
3512@@ -1531,7 +1548,11 @@ fi
3513 test -n "$ac_init_help" && exit $ac_status
3514 if $ac_init_version; then
3515 cat <<\_ACEOF
3516+<<<<<<< configure
3517 libseccomp configure 2.4.1
3518+=======
3519+libseccomp configure 2.4.2
3520+>>>>>>> configure
3521 generated by GNU Autoconf 2.69
3522
3523 Copyright (C) 2012 Free Software Foundation, Inc.
3524@@ -1809,7 +1830,11 @@ cat >config.log <<_ACEOF
3525 This file contains any messages produced by compilers while
3526 running configure, to aid debugging if configure makes a mistake.
3527
3528+<<<<<<< configure
3529 It was created by libseccomp $as_me 2.4.1, which was
3530+=======
3531+It was created by libseccomp $as_me 2.4.2, which was
3532+>>>>>>> configure
3533 generated by GNU Autoconf 2.69. Invocation command line was
3534
3535 $ $0 $@
3536@@ -2679,7 +2704,11 @@ fi
3537
3538 # Define the identity of the package.
3539 PACKAGE='libseccomp'
3540+<<<<<<< configure
3541 VERSION='2.4.1'
3542+=======
3543+ VERSION='2.4.2'
3544+>>>>>>> configure
3545
3546
3547 cat >>confdefs.h <<_ACEOF
3548@@ -4079,8 +4108,13 @@ esac
3549
3550
3551
3552+<<<<<<< configure
3553 macro_version='2.4.6.42-b88ce'
3554 macro_revision='2.4.6.42'
3555+=======
3556+macro_version='2.4.6'
3557+macro_revision='2.4.6'
3558+>>>>>>> configure
3559
3560
3561
3562@@ -5742,12 +5776,17 @@ esac
3563 fi
3564
3565 : ${AR=ar}
3566+<<<<<<< configure
3567+=======
3568+: ${AR_FLAGS=cru}
3569+>>>>>>> configure
3570
3571
3572
3573
3574
3575
3576+<<<<<<< configure
3577 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
3578 # Automake. If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
3579 # higher priority because thats what people were doing historically (setting
3580@@ -5765,6 +5804,8 @@ lt_ar_flags=$AR_FLAGS
3581 # Make AR_FLAGS overridable by 'make ARFLAGS='. Don't try to run-time override
3582 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
3583
3584+=======
3585+>>>>>>> configure
3586
3587
3588
3589@@ -6213,7 +6254,11 @@ for ac_symprfx in "" "_"; do
3590 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
3591 # Fake it for dumpbin and say T for any non-static function,
3592 # D for any global variable and I for any imported variable.
3593+<<<<<<< configure
3594 # Also find C++ and __fastcall symbols from MSVC++ or ICC,
3595+=======
3596+ # Also find C++ and __fastcall symbols from MSVC++,
3597+>>>>>>> configure
3598 # which start with @ or ?.
3599 lt_cv_sys_global_symbol_pipe="$AWK '"\
3600 " {last_section=section; section=\$ 3};"\
3601@@ -7482,8 +7527,13 @@ int forced_loaded() { return 2;}
3602 _LT_EOF
3603 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
3604 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
3605+<<<<<<< configure
3606 echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
3607 $AR $AR_FLAGS libconftest.a conftest.o 2>&5
3608+=======
3609+ echo "$AR cru libconftest.a conftest.o" >&5
3610+ $AR cru libconftest.a conftest.o 2>&5
3611+>>>>>>> configure
3612 echo "$RANLIB libconftest.a" >&5
3613 $RANLIB libconftest.a 2>&5
3614 cat > conftest.c << _LT_EOF
3615@@ -8144,8 +8194,13 @@ esac
3616 ofile=libtool
3617 can_build_shared=yes
3618
3619+<<<<<<< configure
3620 # All known linkers require a '.a' archive for static linking (except MSVC and
3621 # ICC, which need '.lib').
3622+=======
3623+# All known linkers require a '.a' archive for static linking (except MSVC,
3624+# which needs '.lib').
3625+>>>>>>> configure
3626 libext=a
3627
3628 with_gnu_ld=$lt_cv_prog_gnu_ld
3629@@ -9072,15 +9127,25 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
3630
3631 case $host_os in
3632 cygwin* | mingw* | pw32* | cegcc*)
3633+<<<<<<< configure
3634 # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
3635 # When not using gcc, we currently assume that we are using
3636 # Microsoft Visual C++ or Intel C++ Compiler.
3637+=======
3638+ # FIXME: the MSVC++ port hasn't been tested in a loooong time
3639+ # When not using gcc, we currently assume that we are using
3640+ # Microsoft Visual C++.
3641+>>>>>>> configure
3642 if test yes != "$GCC"; then
3643 with_gnu_ld=no
3644 fi
3645 ;;
3646 interix*)
3647+<<<<<<< configure
3648 # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
3649+=======
3650+ # we just hope/assume this is gcc and not c89 (= MSVC++)
3651+>>>>>>> configure
3652 with_gnu_ld=yes
3653 ;;
3654 openbsd* | bitrig*)
3655@@ -9244,7 +9309,10 @@ _LT_EOF
3656 emximp -o $lib $output_objdir/$libname.def'
3657 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
3658 enable_shared_with_static_runtimes=yes
3659+<<<<<<< configure
3660 file_list_spec='@'
3661+=======
3662+>>>>>>> configure
3663 ;;
3664
3665 interix[3-9]*)
3666@@ -9462,7 +9530,11 @@ _LT_EOF
3667 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
3668 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
3669 else
3670+<<<<<<< configure
3671 export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
3672+=======
3673+ export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
3674+>>>>>>> configure
3675 fi
3676 aix_use_runtimelinking=no
3677
3678@@ -9729,12 +9801,21 @@ fi
3679
3680 cygwin* | mingw* | pw32* | cegcc*)
3681 # When not using gcc, we currently assume that we are using
3682+<<<<<<< configure
3683 # Microsoft Visual C++ or Intel C++ Compiler.
3684 # hardcode_libdir_flag_spec is actually meaningless, as there is
3685 # no search path for DLLs.
3686 case $cc_basename in
3687 cl* | icl*)
3688 # Native MSVC or ICC
3689+=======
3690+ # Microsoft Visual C++.
3691+ # hardcode_libdir_flag_spec is actually meaningless, as there is
3692+ # no search path for DLLs.
3693+ case $cc_basename in
3694+ cl*)
3695+ # Native MSVC
3696+>>>>>>> configure
3697 hardcode_libdir_flag_spec=' '
3698 allow_undefined_flag=unsupported
3699 always_export_symbols=yes
3700@@ -9775,7 +9856,11 @@ fi
3701 fi'
3702 ;;
3703 *)
3704+<<<<<<< configure
3705 # Assume MSVC and ICC wrapper
3706+=======
3707+ # Assume MSVC wrapper
3708+>>>>>>> configure
3709 hardcode_libdir_flag_spec=' '
3710 allow_undefined_flag=unsupported
3711 # Tell ltmain to make .lib files, not .a files.
3712@@ -10099,7 +10184,10 @@ $as_echo "$lt_cv_irix_exported_symbol" >&6; }
3713 emximp -o $lib $output_objdir/$libname.def'
3714 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
3715 enable_shared_with_static_runtimes=yes
3716+<<<<<<< configure
3717 file_list_spec='@'
3718+=======
3719+>>>>>>> configure
3720 ;;
3721
3722 osf3*)
3723@@ -10807,8 +10895,13 @@ cygwin* | mingw* | pw32* | cegcc*)
3724 dynamic_linker='Win32 ld.exe'
3725 ;;
3726
3727+<<<<<<< configure
3728 *,cl* | *,icl*)
3729 # Native MSVC or ICC
3730+=======
3731+ *,cl*)
3732+ # Native MSVC
3733+>>>>>>> configure
3734 libname_spec='$name'
3735 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
3736 library_names_spec='$libname.dll.lib'
3737@@ -10864,7 +10957,11 @@ cygwin* | mingw* | pw32* | cegcc*)
3738 ;;
3739
3740 *)
3741+<<<<<<< configure
3742 # Assume MSVC and ICC wrapper
3743+=======
3744+ # Assume MSVC wrapper
3745+>>>>>>> configure
3746 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
3747 dynamic_linker='Win32 ld.exe'
3748 ;;
3749@@ -11128,6 +11225,12 @@ fi
3750 # before this can be enabled.
3751 hardcode_into_libs=yes
3752
3753+<<<<<<< configure
3754+=======
3755+ # Add ABI-specific directories to the system library path.
3756+ sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
3757+
3758+>>>>>>> configure
3759 # Ideally, we could use ldconfig to report *all* directores which are
3760 # searched for libraries, however this is still not possible. Aside from not
3761 # being certain /sbin/ldconfig is available, command
3762@@ -11136,7 +11239,11 @@ fi
3763 # appending ld.so.conf contents (and includes) to the search path.
3764 if test -f /etc/ld.so.conf; then
3765 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' ' '`
3766+<<<<<<< configure
3767 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
3768+=======
3769+ sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
3770+>>>>>>> configure
3771 fi
3772
3773 # We used to test for /lib/ld.so.1 and disable shared libraries on
3774@@ -12043,6 +12150,7 @@ striplib=
3775 old_striplib=
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
3777 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
3778+<<<<<<< configure
3779 if test -z "$STRIP"; then
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3781 $as_echo "no" >&6; }
3782@@ -12056,10 +12164,23 @@ $as_echo "yes" >&6; }
3783 case $host_os in
3784 darwin*)
3785 # FIXME - insert some real tests, host_os isn't really good enough
3786+=======
3787+if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
3788+ test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
3789+ test -z "$striplib" && striplib="$STRIP --strip-unneeded"
3790+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3791+$as_echo "yes" >&6; }
3792+else
3793+# FIXME - insert some real tests, host_os isn't really good enough
3794+ case $host_os in
3795+ darwin*)
3796+ if test -n "$STRIP"; then
3797+>>>>>>> configure
3798 striplib="$STRIP -x"
3799 old_striplib="$STRIP -S"
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3801 $as_echo "yes" >&6; }
3802+<<<<<<< configure
3803 ;;
3804 freebsd*)
3805 if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
3806@@ -12078,6 +12199,18 @@ $as_echo "no" >&6; }
3807 ;;
3808 esac
3809 fi
3810+=======
3811+ else
3812+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3813+$as_echo "no" >&6; }
3814+ fi
3815+ ;;
3816+ *)
3817+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3818+$as_echo "no" >&6; }
3819+ ;;
3820+ esac
3821+>>>>>>> configure
3822 fi
3823
3824
3825@@ -12301,9 +12434,15 @@ fi
3826 if test "$enable_python" = yes; then :
3827
3828 # cython version check
3829+<<<<<<< configure
3830 if test "$CYTHON_VER_MAJ" -eq 0 -a "$CYTHON_VER_MIN" -lt 16; then :
3831
3832 as_fn_error $? "python bindings require cython 0.16 or higher" "$LINENO" 5
3833+=======
3834+ if test "$CYTHON_VER_MAJ" -eq 0 -a "$CYTHON_VER_MIN" -lt 29; then :
3835+
3836+ as_fn_error $? "python bindings require cython 0.29 or higher" "$LINENO" 5
3837+>>>>>>> configure
3838
3839 fi
3840
3841@@ -13495,7 +13634,11 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3842 # report actual input values of CONFIG_FILES etc. instead of their
3843 # values after options handling.
3844 ac_log="
3845+<<<<<<< configure
3846 This file was extended by libseccomp $as_me 2.4.1, which was
3847+=======
3848+This file was extended by libseccomp $as_me 2.4.2, which was
3849+>>>>>>> configure
3850 generated by GNU Autoconf 2.69. Invocation command line was
3851
3852 CONFIG_FILES = $CONFIG_FILES
3853@@ -13561,7 +13704,11 @@ _ACEOF
3854 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3855 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3856 ac_cs_version="\\
3857+<<<<<<< configure
3858 libseccomp config.status 2.4.1
3859+=======
3860+libseccomp config.status 2.4.2
3861+>>>>>>> configure
3862 configured by $0, generated by GNU Autoconf 2.69,
3863 with options \\"\$ac_cs_config\\"
3864
3865@@ -13732,7 +13879,10 @@ want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
3866 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
3867 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
3868 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
3869+<<<<<<< configure
3870 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
3871+=======
3872+>>>>>>> configure
3873 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
3874 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
3875 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
3876@@ -13861,6 +14011,10 @@ want_nocaseglob \
3877 DLLTOOL \
3878 sharedlib_from_linklib_cmd \
3879 AR \
3880+<<<<<<< configure
3881+=======
3882+AR_FLAGS \
3883+>>>>>>> configure
3884 archiver_list_spec \
3885 STRIP \
3886 RANLIB \
3887@@ -14833,11 +14987,16 @@ sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
3888 # The archiver.
3889 AR=$lt_AR
3890
3891+<<<<<<< configure
3892 # Flags to create an archive (by configure).
3893 lt_ar_flags=$lt_ar_flags
3894
3895 # Flags to create an archive.
3896 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
3897+=======
3898+# Flags to create an archive.
3899+AR_FLAGS=$lt_AR_FLAGS
3900+>>>>>>> configure
3901
3902 # How to feed a file listing to the archiver.
3903 archiver_list_spec=$lt_archiver_list_spec
3904diff --git a/configure.ac b/configure.ac
3905index 05d34a5..d4fd1cf 100644
3906--- a/configure.ac
3907+++ b/configure.ac
3908@@ -19,7 +19,11 @@ dnl #
3909 dnl ####
3910 dnl libseccomp defines
3911 dnl ####
3912+<<<<<<< configure.ac
3913 AC_INIT([libseccomp], [2.4.1])
3914+=======
3915+AC_INIT([libseccomp], [2.4.2])
3916+>>>>>>> configure.ac
3917
3918 dnl ####
3919 dnl autoconf configuration
3920@@ -109,8 +113,13 @@ AC_ARG_ENABLE([python],
3921 [build the python bindings, requires cython])])
3922 AS_IF([test "$enable_python" = yes], [
3923 # cython version check
3924+<<<<<<< configure.ac
3925 AS_IF([test "$CYTHON_VER_MAJ" -eq 0 -a "$CYTHON_VER_MIN" -lt 16], [
3926 AC_MSG_ERROR([python bindings require cython 0.16 or higher])
3927+=======
3928+ AS_IF([test "$CYTHON_VER_MAJ" -eq 0 -a "$CYTHON_VER_MIN" -lt 29], [
3929+ AC_MSG_ERROR([python bindings require cython 0.29 or higher])
3930+>>>>>>> configure.ac
3931 ])
3932 AM_PATH_PYTHON
3933 ])
3934diff --git a/debian/changelog b/debian/changelog
3935index d6cc9b4..05e3b6d 100644
3936--- a/debian/changelog
3937+++ b/debian/changelog
3938@@ -1,3 +1,18 @@
3939+<<<<<<< debian/changelog
3940+=======
3941+libseccomp (2.4.2-0ubuntu1) focal; urgency=medium
3942+
3943+ * New upstream release 2.4.2 for compatibility with newer kernels and
3944+ and FTBFS (LP: #1849785).
3945+ - drop d/p/python_install_dir.patch (now upstream)
3946+ - d/rules: adapt to python 3.8 lacking the m modifier on includes
3947+ see https://wiki.debian.org/Python/Python3.8
3948+ - d/p/tests-rely-on-__SNR_xxx-instead-of-__NR_xxx-for-sysc.patch: fix
3949+ build time test on arm64
3950+
3951+ -- Christian Ehrhardt <christian.ehrhardt@canonical.com> Mon, 11 Nov 2019 11:31:26 +0100
3952+
3953+>>>>>>> debian/changelog
3954 libseccomp (2.4.1-2) unstable; urgency=medium
3955
3956 * Remove build-dependency on valgrind for mipsel and x32 as it's broken
3957diff --git a/debian/control b/debian/control
3958index 5515592..2afe09c 100644
3959--- a/debian/control
3960+++ b/debian/control
3961@@ -1,7 +1,12 @@
3962 Source: libseccomp
3963 Section: libs
3964 Priority: optional
3965+<<<<<<< debian/control
3966 Maintainer: Kees Cook <kees@debian.org>
3967+=======
3968+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
3969+XSBC-Original-Maintainer: Kees Cook <kees@debian.org>
3970+>>>>>>> debian/control
3971 Uploaders: Luca Bruno <lucab@debian.org>, Felix Geyer <fgeyer@debian.org>
3972 Build-Depends: debhelper-compat (= 12),
3973 linux-libc-dev,
3974diff --git a/debian/patches/series b/debian/patches/series
3975index 05d7297..fa08aca 100644
3976--- a/debian/patches/series
3977+++ b/debian/patches/series
3978@@ -1 +1,5 @@
3979+<<<<<<< debian/patches/series
3980 python_install_dir.patch
3981+=======
3982+tests-rely-on-__SNR_xxx-instead-of-__NR_xxx-for-sysc.patch
3983+>>>>>>> debian/patches/series
3984diff --git a/debian/patches/tests-rely-on-__SNR_xxx-instead-of-__NR_xxx-for-sysc.patch b/debian/patches/tests-rely-on-__SNR_xxx-instead-of-__NR_xxx-for-sysc.patch
3985new file mode 100644
3986index 0000000..82c9360
3987--- /dev/null
3988+++ b/debian/patches/tests-rely-on-__SNR_xxx-instead-of-__NR_xxx-for-sysc.patch
3989@@ -0,0 +1,47 @@
3990+From 35803ceb43c453762a3ab5177c5f8d5dbb813478 Mon Sep 17 00:00:00 2001
3991+From: Paul Moore <paul@paul-moore.com>
3992+Date: Tue, 5 Nov 2019 15:11:11 -0500
3993+Subject: [PATCH] tests: rely on __SNR_xxx instead of __NR_xxx for syscalls
3994+
3995+We recently changed how libseccomp handles syscall numbers that are
3996+not defined natively, but we missed test #15.
3997+
3998+Signed-off-by: Paul Moore <paul@paul-moore.com>
3999+
4000+Note: Tagged for v2.5, but needed to build 2.4.2 with newer kernels on arm
4001+This is part of PR: https://github.com/seccomp/libseccomp/pull/182
4002+Upstream Bug: https://github.com/seccomp/libseccomp/issues/184
4003+Origin: upstream, https://github.com/pcmoore/misc-libseccomp/commit/35803ceb43c453762a3ab5177c5f8d5dbb813478
4004+Bug-Ubuntu: https://bugs.launchpad.net/bugs/1849785
4005+Last-Update: 2019-11-12
4006+
4007+---
4008+ tests/15-basic-resolver.c | 6 +++---
4009+ 1 file changed, 3 insertions(+), 3 deletions(-)
4010+
4011+diff --git a/tests/15-basic-resolver.c b/tests/15-basic-resolver.c
4012+index 6badef1..0c1eefe 100644
4013+--- a/tests/15-basic-resolver.c
4014++++ b/tests/15-basic-resolver.c
4015+@@ -55,15 +55,15 @@ int main(int argc, char *argv[])
4016+ unsigned int arch;
4017+ char *name = NULL;
4018+
4019+- if (seccomp_syscall_resolve_name("open") != __NR_open)
4020++ if (seccomp_syscall_resolve_name("open") != __SNR_open)
4021+ goto fail;
4022+- if (seccomp_syscall_resolve_name("read") != __NR_read)
4023++ if (seccomp_syscall_resolve_name("read") != __SNR_read)
4024+ goto fail;
4025+ if (seccomp_syscall_resolve_name("INVALID") != __NR_SCMP_ERROR)
4026+ goto fail;
4027+
4028+ rc = seccomp_syscall_resolve_name_rewrite(SCMP_ARCH_NATIVE, "openat");
4029+- if (rc != __NR_openat)
4030++ if (rc != __SNR_openat)
4031+ goto fail;
4032+
4033+ while ((arch = arch_list[iter++]) != -1) {
4034+--
4035+2.24.0
4036+
4037diff --git a/debian/rules b/debian/rules
4038index ee252c9..da915cc 100755
4039--- a/debian/rules
4040+++ b/debian/rules
4041@@ -25,8 +25,18 @@ override_dh_auto_build:
4042
4043 override_dh_auto_install:
4044 dh_auto_install
4045+<<<<<<< debian/rules
4046 set -e; export _PYTHON_SYSCONFIGDATA_NAME='_sysconfigdata_m_${DEB_HOST_ARCH_OS}_${DEB_HOST_MULTIARCH}'; \
4047 for pyver in `py3versions -s`; do \
4048+=======
4049+ for pyver in `py3versions -s`; do \
4050+ set -e; \
4051+ if python -c "pyver='$$pyver'; exit(0 if float(pyver[6:]) >= 3.8 else 1)"; then \
4052+ export _PYTHON_SYSCONFIGDATA_NAME='_sysconfigdata__${DEB_HOST_ARCH_OS}_${DEB_HOST_MULTIARCH}'; \
4053+ else \
4054+ export _PYTHON_SYSCONFIGDATA_NAME='_sysconfigdata_m_${DEB_HOST_ARCH_OS}_${DEB_HOST_MULTIARCH}'; \
4055+ fi; \
4056+>>>>>>> debian/rules
4057 dh_auto_configure -- --enable-python PYTHON=$$pyver; \
4058 dh_auto_install --sourcedirectory=src/python -- PYTHON=$$pyver; \
4059 done
4060diff --git a/include/Makefile.am b/include/Makefile.am
4061index ba3723f..aecccda 100644
4062--- a/include/Makefile.am
4063+++ b/include/Makefile.am
4064@@ -16,4 +16,8 @@
4065 # along with this library; if not, see <http://www.gnu.org/licenses>.
4066 #
4067
4068+<<<<<<< include/Makefile.am
4069 include_HEADERS = seccomp.h
4070+=======
4071+include_HEADERS = seccomp.h seccomp-syscalls.h
4072+>>>>>>> include/Makefile.am
4073diff --git a/include/Makefile.in b/include/Makefile.in
4074index b9c38dc..06dffe9 100644
4075--- a/include/Makefile.in
4076+++ b/include/Makefile.in
4077@@ -330,7 +330,11 @@ target_alias = @target_alias@
4078 top_build_prefix = @top_build_prefix@
4079 top_builddir = @top_builddir@
4080 top_srcdir = @top_srcdir@
4081+<<<<<<< include/Makefile.in
4082 include_HEADERS = seccomp.h
4083+=======
4084+include_HEADERS = seccomp.h seccomp-syscalls.h
4085+>>>>>>> include/Makefile.in
4086 all: all-am
4087
4088 .SUFFIXES:
4089diff --git a/include/seccomp-syscalls.h b/include/seccomp-syscalls.h
4090new file mode 100644
4091index 0000000..6457592
4092--- /dev/null
4093+++ b/include/seccomp-syscalls.h
4094@@ -0,0 +1,2292 @@
4095+/**
4096+ * Seccomp Library
4097+ *
4098+ * Copyright (c) 2019 Cisco Systems <pmoore2@cisco.com>
4099+ * Author: Paul Moore <paul@paul-moore.com>
4100+ */
4101+
4102+/*
4103+ * This library is free software; you can redistribute it and/or modify it
4104+ * under the terms of version 2.1 of the GNU Lesser General Public License as
4105+ * published by the Free Software Foundation.
4106+ *
4107+ * This library is distributed in the hope that it will be useful, but WITHOUT
4108+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
4109+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
4110+ * for more details.
4111+ *
4112+ * You should have received a copy of the GNU Lesser General Public License
4113+ * along with this library; if not, see <http://www.gnu.org/licenses>.
4114+ */
4115+
4116+#ifndef _SECCOMP_H
4117+#error "do not include seccomp-syscalls.h directly, use seccomp.h instead"
4118+#endif
4119+
4120+/*
4121+ * psuedo syscall definitions
4122+ */
4123+
4124+/* socket syscalls */
4125+
4126+#define __PNR_socket -101
4127+#define __PNR_bind -102
4128+#define __PNR_connect -103
4129+#define __PNR_listen -104
4130+#define __PNR_accept -105
4131+#define __PNR_getsockname -106
4132+#define __PNR_getpeername -107
4133+#define __PNR_socketpair -108
4134+#define __PNR_send -109
4135+#define __PNR_recv -110
4136+#define __PNR_sendto -111
4137+#define __PNR_recvfrom -112
4138+#define __PNR_shutdown -113
4139+#define __PNR_setsockopt -114
4140+#define __PNR_getsockopt -115
4141+#define __PNR_sendmsg -116
4142+#define __PNR_recvmsg -117
4143+#define __PNR_accept4 -118
4144+#define __PNR_recvmmsg -119
4145+#define __PNR_sendmmsg -120
4146+
4147+/* ipc syscalls */
4148+
4149+#define __PNR_semop -201
4150+#define __PNR_semget -202
4151+#define __PNR_semctl -203
4152+#define __PNR_semtimedop -204
4153+#define __PNR_msgsnd -211
4154+#define __PNR_msgrcv -212
4155+#define __PNR_msgget -213
4156+#define __PNR_msgctl -214
4157+#define __PNR_shmat -221
4158+#define __PNR_shmdt -222
4159+#define __PNR_shmget -223
4160+#define __PNR_shmctl -224
4161+
4162+/* single syscalls */
4163+
4164+#define __PNR_arch_prctl -10001
4165+#define __PNR_bdflush -10002
4166+#define __PNR_break -10003
4167+#define __PNR_chown32 -10004
4168+#define __PNR_epoll_ctl_old -10005
4169+#define __PNR_epoll_wait_old -10006
4170+#define __PNR_fadvise64_64 -10007
4171+#define __PNR_fchown32 -10008
4172+#define __PNR_fcntl64 -10009
4173+#define __PNR_fstat64 -10010
4174+#define __PNR_fstatat64 -10011
4175+#define __PNR_fstatfs64 -10012
4176+#define __PNR_ftime -10013
4177+#define __PNR_ftruncate64 -10014
4178+#define __PNR_getegid32 -10015
4179+#define __PNR_geteuid32 -10016
4180+#define __PNR_getgid32 -10017
4181+#define __PNR_getgroups32 -10018
4182+#define __PNR_getresgid32 -10019
4183+#define __PNR_getresuid32 -10020
4184+#define __PNR_getuid32 -10021
4185+#define __PNR_gtty -10022
4186+#define __PNR_idle -10023
4187+#define __PNR_ipc -10024
4188+#define __PNR_lchown32 -10025
4189+#define __PNR__llseek -10026
4190+#define __PNR_lock -10027
4191+#define __PNR_lstat64 -10028
4192+#define __PNR_mmap2 -10029
4193+#define __PNR_mpx -10030
4194+#define __PNR_newfstatat -10031
4195+#define __PNR__newselect -10032
4196+#define __PNR_nice -10033
4197+#define __PNR_oldfstat -10034
4198+#define __PNR_oldlstat -10035
4199+#define __PNR_oldolduname -10036
4200+#define __PNR_oldstat -10037
4201+#define __PNR_olduname -10038
4202+#define __PNR_prof -10039
4203+#define __PNR_profil -10040
4204+#define __PNR_readdir -10041
4205+#define __PNR_security -10042
4206+#define __PNR_sendfile64 -10043
4207+#define __PNR_setfsgid32 -10044
4208+#define __PNR_setfsuid32 -10045
4209+#define __PNR_setgid32 -10046
4210+#define __PNR_setgroups32 -10047
4211+#define __PNR_setregid32 -10048
4212+#define __PNR_setresgid32 -10049
4213+#define __PNR_setresuid32 -10050
4214+#define __PNR_setreuid32 -10051
4215+#define __PNR_setuid32 -10052
4216+#define __PNR_sgetmask -10053
4217+#define __PNR_sigaction -10054
4218+#define __PNR_signal -10055
4219+#define __PNR_sigpending -10056
4220+#define __PNR_sigprocmask -10057
4221+#define __PNR_sigreturn -10058
4222+#define __PNR_sigsuspend -10059
4223+#define __PNR_socketcall -10060
4224+#define __PNR_ssetmask -10061
4225+#define __PNR_stat64 -10062
4226+#define __PNR_statfs64 -10063
4227+#define __PNR_stime -10064
4228+#define __PNR_stty -10065
4229+#define __PNR_truncate64 -10066
4230+#define __PNR_tuxcall -10067
4231+#define __PNR_ugetrlimit -10068
4232+#define __PNR_ulimit -10069
4233+#define __PNR_umount -10070
4234+#define __PNR_vm86 -10071
4235+#define __PNR_vm86old -10072
4236+#define __PNR_waitpid -10073
4237+#define __PNR_create_module -10074
4238+#define __PNR_get_kernel_syms -10075
4239+#define __PNR_get_thread_area -10076
4240+#define __PNR_nfsservctl -10077
4241+#define __PNR_query_module -10078
4242+#define __PNR_set_thread_area -10079
4243+#define __PNR__sysctl -10080
4244+#define __PNR_uselib -10081
4245+#define __PNR_vserver -10082
4246+#define __PNR_arm_fadvise64_64 -10083
4247+#define __PNR_arm_sync_file_range -10084
4248+#define __PNR_pciconfig_iobase -10086
4249+#define __PNR_pciconfig_read -10087
4250+#define __PNR_pciconfig_write -10088
4251+#define __PNR_sync_file_range2 -10089
4252+#define __PNR_syscall -10090
4253+#define __PNR_afs_syscall -10091
4254+#define __PNR_fadvise64 -10092
4255+#define __PNR_getpmsg -10093
4256+#define __PNR_ioperm -10094
4257+#define __PNR_iopl -10095
4258+#define __PNR_migrate_pages -10097
4259+#define __PNR_modify_ldt -10098
4260+#define __PNR_putpmsg -10099
4261+#define __PNR_sync_file_range -10100
4262+#define __PNR_select -10101
4263+#define __PNR_vfork -10102
4264+#define __PNR_cachectl -10103
4265+#define __PNR_cacheflush -10104
4266+#define __PNR_sysmips -10106
4267+#define __PNR_timerfd -10107
4268+#define __PNR_time -10108
4269+#define __PNR_getrandom -10109
4270+#define __PNR_memfd_create -10110
4271+#define __PNR_kexec_file_load -10111
4272+#define __PNR_sysfs -10145
4273+#define __PNR_oldwait4 -10146
4274+#define __PNR_access -10147
4275+#define __PNR_alarm -10148
4276+#define __PNR_chmod -10149
4277+#define __PNR_chown -10150
4278+#define __PNR_creat -10151
4279+#define __PNR_dup2 -10152
4280+#define __PNR_epoll_create -10153
4281+#define __PNR_epoll_wait -10154
4282+#define __PNR_eventfd -10155
4283+#define __PNR_fork -10156
4284+#define __PNR_futimesat -10157
4285+#define __PNR_getdents -10158
4286+#define __PNR_getpgrp -10159
4287+#define __PNR_inotify_init -10160
4288+#define __PNR_lchown -10161
4289+#define __PNR_link -10162
4290+#define __PNR_lstat -10163
4291+#define __PNR_mkdir -10164
4292+#define __PNR_mknod -10165
4293+#define __PNR_open -10166
4294+#define __PNR_pause -10167
4295+#define __PNR_pipe -10168
4296+#define __PNR_poll -10169
4297+#define __PNR_readlink -10170
4298+#define __PNR_rename -10171
4299+#define __PNR_rmdir -10172
4300+#define __PNR_signalfd -10173
4301+#define __PNR_stat -10174
4302+#define __PNR_symlink -10175
4303+#define __PNR_unlink -10176
4304+#define __PNR_ustat -10177
4305+#define __PNR_utime -10178
4306+#define __PNR_utimes -10179
4307+#define __PNR_getrlimit -10180
4308+#define __PNR_mmap -10181
4309+#define __PNR_breakpoint -10182
4310+#define __PNR_set_tls -10183
4311+#define __PNR_usr26 -10184
4312+#define __PNR_usr32 -10185
4313+#define __PNR_multiplexer -10186
4314+#define __PNR_rtas -10187
4315+#define __PNR_spu_create -10188
4316+#define __PNR_spu_run -10189
4317+#define __PNR_swapcontext -10190
4318+#define __PNR_sys_debug_setcontext -10191
4319+#define __PNR_switch_endian -10191
4320+#define __PNR_get_mempolicy -10192
4321+#define __PNR_move_pages -10193
4322+#define __PNR_mbind -10194
4323+#define __PNR_set_mempolicy -10195
4324+#define __PNR_s390_runtime_instr -10196
4325+#define __PNR_s390_pci_mmio_read -10197
4326+#define __PNR_s390_pci_mmio_write -10198
4327+#define __PNR_membarrier -10199
4328+#define __PNR_userfaultfd -10200
4329+#define __PNR_pkey_mprotect -10201
4330+#define __PNR_pkey_alloc -10202
4331+#define __PNR_pkey_free -10203
4332+#define __PNR_get_tls -10204
4333+#define __PNR_s390_guarded_storage -10205
4334+#define __PNR_s390_sthyi -10206
4335+#define __PNR_subpage_prot -10207
4336+#define __PNR_statx -10208
4337+#define __PNR_io_pgetevents -10209
4338+#define __PNR_rseq -10210
4339+#define __PNR_setrlimit -10211
4340+#define __PNR_clock_adjtime64 -10212
4341+#define __PNR_clock_getres_time64 -10213
4342+#define __PNR_clock_gettime64 -10214
4343+#define __PNR_clock_nanosleep_time64 -10215
4344+#define __PNR_clock_settime64 -10216
4345+#define __PNR_clone3 -10217
4346+#define __PNR_fsconfig -10218
4347+#define __PNR_fsmount -10219
4348+#define __PNR_fsopen -10220
4349+#define __PNR_fspick -10221
4350+#define __PNR_futex_time64 -10222
4351+#define __PNR_io_pgetevents_time64 -10223
4352+#define __PNR_move_mount -10224
4353+#define __PNR_mq_timedreceive_time64 -10225
4354+#define __PNR_mq_timedsend_time64 -10226
4355+#define __PNR_open_tree -10227
4356+#define __PNR_pidfd_open -10228
4357+#define __PNR_pidfd_send_signal -10229
4358+#define __PNR_ppoll_time64 -10230
4359+#define __PNR_pselect6_time64 -10231
4360+#define __PNR_recvmmsg_time64 -10232
4361+#define __PNR_rt_sigtimedwait_time64 -10233
4362+#define __PNR_sched_rr_get_interval_time64 -10234
4363+#define __PNR_semtimedop_time64 -10235
4364+#define __PNR_timer_gettime64 -10236
4365+#define __PNR_timer_settime64 -10237
4366+#define __PNR_timerfd_gettime64 -10238
4367+#define __PNR_timerfd_settime64 -10239
4368+#define __PNR_utimensat_time64 -10240
4369+
4370+/*
4371+ * libseccomp syscall definitions
4372+ */
4373+
4374+#ifdef __NR__llseek
4375+#define __SNR__llseek __NR__llseek
4376+#else
4377+#define __SNR__llseek __PNR__llseek
4378+#endif
4379+
4380+#ifdef __NR__newselect
4381+#define __SNR__newselect __NR__newselect
4382+#else
4383+#define __SNR__newselect __PNR__newselect
4384+#endif
4385+
4386+#ifdef __NR__sysctl
4387+#define __SNR__sysctl __NR__sysctl
4388+#else
4389+#define __SNR__sysctl __PNR__sysctl
4390+#endif
4391+
4392+#ifdef __NR_accept
4393+#define __SNR_accept __NR_accept
4394+#else
4395+#define __SNR_accept __PNR_accept
4396+#endif
4397+
4398+#ifdef __NR_accept4
4399+#define __SNR_accept4 __NR_accept4
4400+#else
4401+#define __SNR_accept4 __PNR_accept4
4402+#endif
4403+
4404+#ifdef __NR_access
4405+#define __SNR_access __NR_access
4406+#else
4407+#define __SNR_access __PNR_access
4408+#endif
4409+
4410+#define __SNR_acct __NR_acct
4411+
4412+#define __SNR_add_key __NR_add_key
4413+
4414+#define __SNR_adjtimex __NR_adjtimex
4415+
4416+#ifdef __NR_afs_syscall
4417+#define __SNR_afs_syscall __NR_afs_syscall
4418+#else
4419+#define __SNR_afs_syscall __PNR_afs_syscall
4420+#endif
4421+
4422+#ifdef __NR_alarm
4423+#define __SNR_alarm __NR_alarm
4424+#else
4425+#define __SNR_alarm __PNR_alarm
4426+#endif
4427+
4428+#ifdef __NR_arm_fadvise64_64
4429+#define __SNR_arm_fadvise64_64 __NR_arm_fadvise64_64
4430+#else
4431+#define __SNR_arm_fadvise64_64 __PNR_arm_fadvise64_64
4432+#endif
4433+
4434+#ifdef __NR_arm_sync_file_range
4435+#define __SNR_arm_sync_file_range __NR_arm_sync_file_range
4436+#else
4437+#define __SNR_arm_sync_file_range __PNR_arm_sync_file_range
4438+#endif
4439+
4440+#ifdef __NR_arch_prctl
4441+#define __SNR_arch_prctl __NR_arch_prctl
4442+#else
4443+#define __SNR_arch_prctl __PNR_arch_prctl
4444+#endif
4445+
4446+#ifdef __NR_bdflush
4447+#define __SNR_bdflush __NR_bdflush
4448+#else
4449+#define __SNR_bdflush __PNR_bdflush
4450+#endif
4451+
4452+#ifdef __NR_bind
4453+#define __SNR_bind __NR_bind
4454+#else
4455+#define __SNR_bind __PNR_bind
4456+#endif
4457+
4458+#define __SNR_bpf __NR_bpf
4459+
4460+#ifdef __NR_break
4461+#define __SNR_break __NR_break
4462+#else
4463+#define __SNR_break __PNR_break
4464+#endif
4465+
4466+#ifdef __NR_breakpoint
4467+#ifdef __ARM_NR_breakpoint
4468+#define __SNR_breakpoint __ARM_NR_breakpoint
4469+#else
4470+#define __SNR_breakpoint __NR_breakpoint
4471+#endif
4472+#else
4473+#define __SNR_breakpoint __PNR_breakpoint
4474+#endif
4475+
4476+#define __SNR_brk __NR_brk
4477+
4478+#ifdef __NR_cachectl
4479+#define __SNR_cachectl __NR_cachectl
4480+#else
4481+#define __SNR_cachectl __PNR_cachectl
4482+#endif
4483+
4484+#ifdef __NR_cacheflush
4485+#ifdef __ARM_NR_cacheflush
4486+#define __SNR_cacheflush __ARM_NR_cacheflush
4487+#else
4488+#define __SNR_cacheflush __NR_cacheflush
4489+#endif
4490+#else
4491+#define __SNR_cacheflush __PNR_cacheflush
4492+#endif
4493+
4494+#define __SNR_capget __NR_capget
4495+
4496+#define __SNR_capset __NR_capset
4497+
4498+#define __SNR_chdir __NR_chdir
4499+
4500+#ifdef __NR_chmod
4501+#define __SNR_chmod __NR_chmod
4502+#else
4503+#define __SNR_chmod __PNR_chmod
4504+#endif
4505+
4506+#ifdef __NR_chown
4507+#define __SNR_chown __NR_chown
4508+#else
4509+#define __SNR_chown __PNR_chown
4510+#endif
4511+
4512+#ifdef __NR_chown32
4513+#define __SNR_chown32 __NR_chown32
4514+#else
4515+#define __SNR_chown32 __PNR_chown32
4516+#endif
4517+
4518+#define __SNR_chroot __NR_chroot
4519+
4520+#define __SNR_clock_adjtime __NR_clock_adjtime
4521+
4522+#ifdef __NR_clock_adjtime64
4523+#define __SNR_clock_adjtime64 __NR_clock_adjtime64
4524+#else
4525+#define __SNR_clock_adjtime64 __PNR_clock_adjtime64
4526+#endif
4527+
4528+#define __SNR_clock_getres __NR_clock_getres
4529+
4530+#ifdef __NR_clock_getres_time64
4531+#define __SNR_clock_getres_time64 __NR_clock_getres_time64
4532+#else
4533+#define __SNR_clock_getres_time64 __PNR_clock_getres_time64
4534+#endif
4535+
4536+#define __SNR_clock_gettime __NR_clock_gettime
4537+
4538+#ifdef __NR_clock_gettime64
4539+#define __SNR_clock_gettime64 __NR_clock_gettime64
4540+#else
4541+#define __SNR_clock_gettime64 __PNR_clock_gettime64
4542+#endif
4543+
4544+#define __SNR_clock_nanosleep __NR_clock_nanosleep
4545+
4546+#ifdef __NR_clock_nanosleep_time64
4547+#define __SNR_clock_nanosleep_time64 __NR_clock_nanosleep_time64
4548+#else
4549+#define __SNR_clock_nanosleep_time64 __PNR_clock_nanosleep_time64
4550+#endif
4551+
4552+#define __SNR_clock_settime __NR_clock_settime
4553+
4554+#ifdef __NR_clock_settime64
4555+#define __SNR_clock_settime64 __NR_clock_settime64
4556+#else
4557+#define __SNR_clock_settime64 __PNR_clock_settime64
4558+#endif
4559+
4560+#define __SNR_clone __NR_clone
4561+
4562+#ifdef __NR_clone3
4563+#define __SNR_clone3 __NR_clone3
4564+#else
4565+#define __SNR_clone3 __PNR_clone3
4566+#endif
4567+
4568+#define __SNR_close __NR_close
4569+
4570+#ifdef __NR_connect
4571+#define __SNR_connect __NR_connect
4572+#else
4573+#define __SNR_connect __PNR_connect
4574+#endif
4575+
4576+#define __SNR_copy_file_range __NR_copy_file_range
4577+
4578+#ifdef __NR_creat
4579+#define __SNR_creat __NR_creat
4580+#else
4581+#define __SNR_creat __PNR_creat
4582+#endif
4583+
4584+#ifdef __NR_create_module
4585+#define __SNR_create_module __NR_create_module
4586+#else
4587+#define __SNR_create_module __PNR_create_module
4588+#endif
4589+
4590+#define __SNR_delete_module __NR_delete_module
4591+
4592+#ifdef __NR_dup
4593+#define __SNR_dup __NR_dup
4594+#else
4595+#define __SNR_dup __PNR_dup
4596+#endif
4597+
4598+#ifdef __NR_dup2
4599+#define __SNR_dup2 __NR_dup2
4600+#else
4601+#define __SNR_dup2 __PNR_dup2
4602+#endif
4603+
4604+#define __SNR_dup3 __NR_dup3
4605+
4606+#ifdef __NR_epoll_create
4607+#define __SNR_epoll_create __NR_epoll_create
4608+#else
4609+#define __SNR_epoll_create __PNR_epoll_create
4610+#endif
4611+
4612+#define __SNR_epoll_create1 __NR_epoll_create1
4613+
4614+#ifdef __NR_epoll_ctl
4615+#define __SNR_epoll_ctl __NR_epoll_ctl
4616+#else
4617+#define __SNR_epoll_ctl __PNR_epoll_ctl
4618+#endif
4619+
4620+#ifdef __NR_epoll_ctl_old
4621+#define __SNR_epoll_ctl_old __NR_epoll_ctl_old
4622+#else
4623+#define __SNR_epoll_ctl_old __PNR_epoll_ctl_old
4624+#endif
4625+
4626+#define __SNR_epoll_pwait __NR_epoll_pwait
4627+
4628+#ifdef __NR_epoll_wait
4629+#define __SNR_epoll_wait __NR_epoll_wait
4630+#else
4631+#define __SNR_epoll_wait __PNR_epoll_wait
4632+#endif
4633+
4634+#ifdef __NR_epoll_wait_old
4635+#define __SNR_epoll_wait_old __NR_epoll_wait_old
4636+#else
4637+#define __SNR_epoll_wait_old __PNR_epoll_wait_old
4638+#endif
4639+
4640+#ifdef __NR_eventfd
4641+#define __SNR_eventfd __NR_eventfd
4642+#else
4643+#define __SNR_eventfd __PNR_eventfd
4644+#endif
4645+
4646+#define __SNR_eventfd2 __NR_eventfd2
4647+
4648+#define __SNR_execve __NR_execve
4649+
4650+#define __SNR_execveat __NR_execveat
4651+
4652+#define __SNR_exit __NR_exit
4653+
4654+#define __SNR_exit_group __NR_exit_group
4655+
4656+#define __SNR_faccessat __NR_faccessat
4657+
4658+#ifdef __NR_fadvise64
4659+#define __SNR_fadvise64 __NR_fadvise64
4660+#else
4661+#define __SNR_fadvise64 __PNR_fadvise64
4662+#endif
4663+
4664+#ifdef __NR_fadvise64_64
4665+#define __SNR_fadvise64_64 __NR_fadvise64_64
4666+#else
4667+#define __SNR_fadvise64_64 __PNR_fadvise64_64
4668+#endif
4669+
4670+#define __SNR_fallocate __NR_fallocate
4671+
4672+#define __SNR_fanotify_init __NR_fanotify_init
4673+
4674+#define __SNR_fanotify_mark __NR_fanotify_mark
4675+
4676+#define __SNR_fchdir __NR_fchdir
4677+
4678+#define __SNR_fchmod __NR_fchmod
4679+
4680+#define __SNR_fchmodat __NR_fchmodat
4681+
4682+#ifdef __NR_fchown
4683+#define __SNR_fchown __NR_fchown
4684+#else
4685+#define __SNR_fchown __PNR_fchown
4686+#endif
4687+
4688+#ifdef __NR_fchown32
4689+#define __SNR_fchown32 __NR_fchown32
4690+#else
4691+#define __SNR_fchown32 __PNR_fchown32
4692+#endif
4693+
4694+#define __SNR_fchownat __NR_fchownat
4695+
4696+#ifdef __NR_fcntl
4697+#define __SNR_fcntl __NR_fcntl
4698+#else
4699+#define __SNR_fcntl __PNR_fcntl
4700+#endif
4701+
4702+#ifdef __NR_fcntl64
4703+#define __SNR_fcntl64 __NR_fcntl64
4704+#else
4705+#define __SNR_fcntl64 __PNR_fcntl64
4706+#endif
4707+
4708+#define __SNR_fdatasync __NR_fdatasync
4709+
4710+#define __SNR_fgetxattr __NR_fgetxattr
4711+
4712+#define __SNR_finit_module __NR_finit_module
4713+
4714+#define __SNR_flistxattr __NR_flistxattr
4715+
4716+#define __SNR_flock __NR_flock
4717+
4718+#ifdef __NR_fork
4719+#define __SNR_fork __NR_fork
4720+#else
4721+#define __SNR_fork __PNR_fork
4722+#endif
4723+
4724+#define __SNR_fremovexattr __NR_fremovexattr
4725+
4726+#ifdef __NR_fsconfig
4727+#define __SNR_fsconfig __NR_fsconfig
4728+#else
4729+#define __SNR_fsconfig __PNR_fsconfig
4730+#endif
4731+
4732+#define __SNR_fsetxattr __NR_fsetxattr
4733+
4734+#ifdef __NR_fsmount
4735+#define __SNR_fsmount __NR_fsmount
4736+#else
4737+#define __SNR_fsmount __PNR_fsmount
4738+#endif
4739+
4740+#ifdef __NR_fsopen
4741+#define __SNR_fsopen __NR_fsopen
4742+#else
4743+#define __SNR_fsopen __PNR_fsopen
4744+#endif
4745+
4746+#ifdef __NR_fspick
4747+#define __SNR_fspick __NR_fspick
4748+#else
4749+#define __SNR_fspick __PNR_fspick
4750+#endif
4751+
4752+#ifdef __NR_fstat
4753+#define __SNR_fstat __NR_fstat
4754+#else
4755+#define __SNR_fstat __PNR_fstat
4756+#endif
4757+
4758+#ifdef __NR_fstat64
4759+#define __SNR_fstat64 __NR_fstat64
4760+#else
4761+#define __SNR_fstat64 __PNR_fstat64
4762+#endif
4763+
4764+#ifdef __NR_fstatat64
4765+#define __SNR_fstatat64 __NR_fstatat64
4766+#else
4767+#define __SNR_fstatat64 __PNR_fstatat64
4768+#endif
4769+
4770+#ifdef __NR_fstatfs
4771+#define __SNR_fstatfs __NR_fstatfs
4772+#else
4773+#define __SNR_fstatfs __PNR_fstatfs
4774+#endif
4775+
4776+#ifdef __NR_fstatfs64
4777+#define __SNR_fstatfs64 __NR_fstatfs64
4778+#else
4779+#define __SNR_fstatfs64 __PNR_fstatfs64
4780+#endif
4781+
4782+#define __SNR_fsync __NR_fsync
4783+
4784+#ifdef __NR_ftime
4785+#define __SNR_ftime __NR_ftime
4786+#else
4787+#define __SNR_ftime __PNR_ftime
4788+#endif
4789+
4790+#ifdef __NR_ftruncate
4791+#define __SNR_ftruncate __NR_ftruncate
4792+#else
4793+#define __SNR_ftruncate __PNR_ftruncate
4794+#endif
4795+
4796+#ifdef __NR_ftruncate64
4797+#define __SNR_ftruncate64 __NR_ftruncate64
4798+#else
4799+#define __SNR_ftruncate64 __PNR_ftruncate64
4800+#endif
4801+
4802+#define __SNR_futex __NR_futex
4803+
4804+#ifdef __NR_futex_time64
4805+#define __SNR_futex_time64 __NR_futex_time64
4806+#else
4807+#define __SNR_futex_time64 __PNR_futex_time64
4808+#endif
4809+
4810+#ifdef __NR_futimesat
4811+#define __SNR_futimesat __NR_futimesat
4812+#else
4813+#define __SNR_futimesat __PNR_futimesat
4814+#endif
4815+
4816+#ifdef __NR_get_kernel_syms
4817+#define __SNR_get_kernel_syms __NR_get_kernel_syms
4818+#else
4819+#define __SNR_get_kernel_syms __PNR_get_kernel_syms
4820+#endif
4821+
4822+#ifdef __NR_get_mempolicy
4823+#define __SNR_get_mempolicy __NR_get_mempolicy
4824+#else
4825+#define __SNR_get_mempolicy __PNR_get_mempolicy
4826+#endif
4827+
4828+#define __SNR_get_robust_list __NR_get_robust_list
4829+
4830+#ifdef __NR_get_thread_area
4831+#define __SNR_get_thread_area __NR_get_thread_area
4832+#else
4833+#define __SNR_get_thread_area __PNR_get_thread_area
4834+#endif
4835+
4836+#ifdef __NR_get_tls
4837+#ifdef __ARM_NR_get_tls
4838+#define __SNR_get_tls __ARM_NR_get_tls
4839+#else
4840+#define __SNR_get_tls __NR_get_tls
4841+#endif
4842+#else
4843+#define __SNR_get_tls __PNR_get_tls
4844+#endif
4845+
4846+#define __SNR_getcpu __NR_getcpu
4847+
4848+#define __SNR_getcwd __NR_getcwd
4849+
4850+#ifdef __NR_getdents
4851+#define __SNR_getdents __NR_getdents
4852+#else
4853+#define __SNR_getdents __PNR_getdents
4854+#endif
4855+
4856+#define __SNR_getdents64 __NR_getdents64
4857+
4858+#ifdef __NR_getegid
4859+#define __SNR_getegid __NR_getegid
4860+#else
4861+#define __SNR_getegid __PNR_getegid
4862+#endif
4863+
4864+#ifdef __NR_getegid32
4865+#define __SNR_getegid32 __NR_getegid32
4866+#else
4867+#define __SNR_getegid32 __PNR_getegid32
4868+#endif
4869+
4870+#ifdef __NR_geteuid
4871+#define __SNR_geteuid __NR_geteuid
4872+#else
4873+#define __SNR_geteuid __PNR_geteuid
4874+#endif
4875+
4876+#ifdef __NR_geteuid32
4877+#define __SNR_geteuid32 __NR_geteuid32
4878+#else
4879+#define __SNR_geteuid32 __PNR_geteuid32
4880+#endif
4881+
4882+#ifdef __NR_getgid
4883+#define __SNR_getgid __NR_getgid
4884+#else
4885+#define __SNR_getgid __PNR_getgid
4886+#endif
4887+
4888+#ifdef __NR_getgid32
4889+#define __SNR_getgid32 __NR_getgid32
4890+#else
4891+#define __SNR_getgid32 __PNR_getgid32
4892+#endif
4893+
4894+#ifdef __NR_getgroups
4895+#define __SNR_getgroups __NR_getgroups
4896+#else
4897+#define __SNR_getgroups __PNR_getgroups
4898+#endif
4899+
4900+#ifdef __NR_getgroups32
4901+#define __SNR_getgroups32 __NR_getgroups32
4902+#else
4903+#define __SNR_getgroups32 __PNR_getgroups32
4904+#endif
4905+
4906+#define __SNR_getitimer __NR_getitimer
4907+
4908+#ifdef __NR_getpeername
4909+#define __SNR_getpeername __NR_getpeername
4910+#else
4911+#define __SNR_getpeername __PNR_getpeername
4912+#endif
4913+
4914+#define __SNR_getpgid __NR_getpgid
4915+
4916+#ifdef __NR_getpgrp
4917+#define __SNR_getpgrp __NR_getpgrp
4918+#else
4919+#define __SNR_getpgrp __PNR_getpgrp
4920+#endif
4921+
4922+#define __SNR_getpid __NR_getpid
4923+
4924+#ifdef __NR_getpmsg
4925+#define __SNR_getpmsg __NR_getpmsg
4926+#else
4927+#define __SNR_getpmsg __PNR_getpmsg
4928+#endif
4929+
4930+#define __SNR_getppid __NR_getppid
4931+
4932+#define __SNR_getpriority __NR_getpriority
4933+
4934+#ifdef __NR_getrandom
4935+#define __SNR_getrandom __NR_getrandom
4936+#else
4937+#define __SNR_getrandom __PNR_getrandom
4938+#endif
4939+
4940+#ifdef __NR_getresgid
4941+#define __SNR_getresgid __NR_getresgid
4942+#else
4943+#define __SNR_getresgid __PNR_getresgid
4944+#endif
4945+
4946+#ifdef __NR_getresgid32
4947+#define __SNR_getresgid32 __NR_getresgid32
4948+#else
4949+#define __SNR_getresgid32 __PNR_getresgid32
4950+#endif
4951+
4952+#ifdef __NR_getresuid
4953+#define __SNR_getresuid __NR_getresuid
4954+#else
4955+#define __SNR_getresuid __PNR_getresuid
4956+#endif
4957+
4958+#ifdef __NR_getresuid32
4959+#define __SNR_getresuid32 __NR_getresuid32
4960+#else
4961+#define __SNR_getresuid32 __PNR_getresuid32
4962+#endif
4963+
4964+#ifdef __NR_getrlimit
4965+#define __SNR_getrlimit __NR_getrlimit
4966+#else
4967+#define __SNR_getrlimit __PNR_getrlimit
4968+#endif
4969+
4970+#define __SNR_getrusage __NR_getrusage
4971+
4972+#define __SNR_getsid __NR_getsid
4973+
4974+#ifdef __NR_getsockname
4975+#define __SNR_getsockname __NR_getsockname
4976+#else
4977+#define __SNR_getsockname __PNR_getsockname
4978+#endif
4979+
4980+#ifdef __NR_getsockopt
4981+#define __SNR_getsockopt __NR_getsockopt
4982+#else
4983+#define __SNR_getsockopt __PNR_getsockopt
4984+#endif
4985+
4986+#define __SNR_gettid __NR_gettid
4987+
4988+#define __SNR_gettimeofday __NR_gettimeofday
4989+
4990+#ifdef __NR_getuid
4991+#define __SNR_getuid __NR_getuid
4992+#else
4993+#define __SNR_getuid __PNR_getuid
4994+#endif
4995+
4996+#ifdef __NR_getuid32
4997+#define __SNR_getuid32 __NR_getuid32
4998+#else
4999+#define __SNR_getuid32 __PNR_getuid32
5000+#endif
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches