Codebase list isc-kea / 3f66a85
Fixed tabs in rules file jason.e.guy@gmail.com 5 years ago
4 changed file(s) with 262 addition(s) and 200 deletion(s). Raw diff Collapse all Expand all
00 #! /bin/sh
11 # Attempt to guess a canonical system name.
2 # Copyright 1992-2016 Free Software Foundation, Inc.
3
4 timestamp='2016-10-02'
2 # Copyright 1992-2013 Free Software Foundation, Inc.
3
4 timestamp='2013-06-10'
55
66 # This file is free software; you can redistribute it and/or modify it
77 # under the terms of the GNU General Public License as published by
2323 # program. This Exception is an additional permission under section 7
2424 # of the GNU General Public License, version 3 ("GPLv3").
2525 #
26 # Originally written by Per Bothner; maintained since 2000 by Ben Elliston.
26 # Originally written by Per Bothner.
2727 #
2828 # You can get the latest version of this script from:
29 # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess
29 # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
3030 #
31 # Please send patches to <config-patches@gnu.org>.
31 # Please send patches with a ChangeLog entry to config-patches@gnu.org.
3232
3333
3434 me=`echo "$0" | sed -e 's,.*/,,'`
4949 GNU config.guess ($timestamp)
5050
5151 Originally written by Per Bothner.
52 Copyright 1992-2016 Free Software Foundation, Inc.
52 Copyright 1992-2013 Free Software Foundation, Inc.
5353
5454 This is free software; see the source for copying conditions. There is NO
5555 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
148148 LIBC=gnu
149149 #endif
150150 EOF
151 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`
151 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
152152 ;;
153153 esac
154154
167167 # Note: NetBSD doesn't particularly care about the vendor
168168 # portion of the name. We always set it to "unknown".
169169 sysctl="sysctl -n hw.machine_arch"
170 UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \
171 /sbin/$sysctl 2>/dev/null || \
172 /usr/sbin/$sysctl 2>/dev/null || \
173 echo unknown)`
170 UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
171 /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
174172 case "${UNAME_MACHINE_ARCH}" in
175173 armeb) machine=armeb-unknown ;;
176174 arm*) machine=arm-unknown ;;
177175 sh3el) machine=shl-unknown ;;
178176 sh3eb) machine=sh-unknown ;;
179177 sh5el) machine=sh5le-unknown ;;
180 earmv*)
181 arch=`echo ${UNAME_MACHINE_ARCH} | sed -e 's,^e\(armv[0-9]\).*$,\1,'`
182 endian=`echo ${UNAME_MACHINE_ARCH} | sed -ne 's,^.*\(eb\)$,\1,p'`
183 machine=${arch}${endian}-unknown
184 ;;
185178 *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
186179 esac
187180 # The Operating System including object format, if it has switched
188 # to ELF recently (or will in the future) and ABI.
181 # to ELF recently, or will in the future.
189182 case "${UNAME_MACHINE_ARCH}" in
190 earm*)
191 os=netbsdelf
192 ;;
193183 arm*|i386|m68k|ns32k|sh3*|sparc|vax)
194184 eval $set_cc_for_build
195185 if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
206196 os=netbsd
207197 ;;
208198 esac
209 # Determine ABI tags.
210 case "${UNAME_MACHINE_ARCH}" in
211 earm*)
212 expr='s/^earmv[0-9]/-eabi/;s/eb$//'
213 abi=`echo ${UNAME_MACHINE_ARCH} | sed -e "$expr"`
214 ;;
215 esac
216199 # The OS release
217200 # Debian GNU/NetBSD machines have a different userland, and
218201 # thus, need a distinct triplet. However, they do not need
223206 release='-gnu'
224207 ;;
225208 *)
226 release=`echo ${UNAME_RELEASE} | sed -e 's/[-_].*//' | cut -d. -f1,2`
209 release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
227210 ;;
228211 esac
229212 # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
230213 # contains redundant information, the shorter form:
231214 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
232 echo "${machine}-${os}${release}${abi}"
215 echo "${machine}-${os}${release}"
233216 exit ;;
234217 *:Bitrig:*:*)
235218 UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
239222 UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
240223 echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
241224 exit ;;
242 *:LibertyBSD:*:*)
243 UNAME_MACHINE_ARCH=`arch | sed 's/^.*BSD\.//'`
244 echo ${UNAME_MACHINE_ARCH}-unknown-libertybsd${UNAME_RELEASE}
245 exit ;;
246225 *:ekkoBSD:*:*)
247226 echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
248227 exit ;;
254233 exit ;;
255234 *:MirBSD:*:*)
256235 echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
257 exit ;;
258 *:Sortix:*:*)
259 echo ${UNAME_MACHINE}-unknown-sortix
260236 exit ;;
261237 alpha:OSF1:*:*)
262238 case $UNAME_RELEASE in
274250 ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1`
275251 case "$ALPHA_CPU_TYPE" in
276252 "EV4 (21064)")
277 UNAME_MACHINE=alpha ;;
253 UNAME_MACHINE="alpha" ;;
278254 "EV4.5 (21064)")
279 UNAME_MACHINE=alpha ;;
255 UNAME_MACHINE="alpha" ;;
280256 "LCA4 (21066/21068)")
281 UNAME_MACHINE=alpha ;;
257 UNAME_MACHINE="alpha" ;;
282258 "EV5 (21164)")
283 UNAME_MACHINE=alphaev5 ;;
259 UNAME_MACHINE="alphaev5" ;;
284260 "EV5.6 (21164A)")
285 UNAME_MACHINE=alphaev56 ;;
261 UNAME_MACHINE="alphaev56" ;;
286262 "EV5.6 (21164PC)")
287 UNAME_MACHINE=alphapca56 ;;
263 UNAME_MACHINE="alphapca56" ;;
288264 "EV5.7 (21164PC)")
289 UNAME_MACHINE=alphapca57 ;;
265 UNAME_MACHINE="alphapca57" ;;
290266 "EV6 (21264)")
291 UNAME_MACHINE=alphaev6 ;;
267 UNAME_MACHINE="alphaev6" ;;
292268 "EV6.7 (21264A)")
293 UNAME_MACHINE=alphaev67 ;;
269 UNAME_MACHINE="alphaev67" ;;
294270 "EV6.8CB (21264C)")
295 UNAME_MACHINE=alphaev68 ;;
271 UNAME_MACHINE="alphaev68" ;;
296272 "EV6.8AL (21264B)")
297 UNAME_MACHINE=alphaev68 ;;
273 UNAME_MACHINE="alphaev68" ;;
298274 "EV6.8CX (21264D)")
299 UNAME_MACHINE=alphaev68 ;;
275 UNAME_MACHINE="alphaev68" ;;
300276 "EV6.9A (21264/EV69A)")
301 UNAME_MACHINE=alphaev69 ;;
277 UNAME_MACHINE="alphaev69" ;;
302278 "EV7 (21364)")
303 UNAME_MACHINE=alphaev7 ;;
279 UNAME_MACHINE="alphaev7" ;;
304280 "EV7.9 (21364A)")
305 UNAME_MACHINE=alphaev79 ;;
281 UNAME_MACHINE="alphaev79" ;;
306282 esac
307283 # A Pn.n version is a patched version.
308284 # A Vn.n version is a released version.
309285 # A Tn.n version is a released field test version.
310286 # A Xn.n version is an unreleased experimental baselevel.
311287 # 1.2 uses "1.2" for uname -r.
312 echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`
288 echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
313289 # Reset EXIT trap before exiting to avoid spurious non-zero exit code.
314290 exitcode=$?
315291 trap '' 0
382358 exit ;;
383359 i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
384360 eval $set_cc_for_build
385 SUN_ARCH=i386
361 SUN_ARCH="i386"
386362 # If there is a compiler, see if it is configured for 64-bit objects.
387363 # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
388364 # This test works for both compilers.
389 if [ "$CC_FOR_BUILD" != no_compiler_found ]; then
365 if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
390366 if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
391 (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
367 (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
392368 grep IS_64BIT_ARCH >/dev/null
393369 then
394 SUN_ARCH=x86_64
370 SUN_ARCH="x86_64"
395371 fi
396372 fi
397373 echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
416392 exit ;;
417393 sun*:*:4.2BSD:*)
418394 UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
419 test "x${UNAME_RELEASE}" = x && UNAME_RELEASE=3
395 test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
420396 case "`/bin/arch`" in
421397 sun3)
422398 echo m68k-sun-sunos${UNAME_RELEASE}
602578 else
603579 IBM_ARCH=powerpc
604580 fi
605 if [ -x /usr/bin/lslpp ] ; then
606 IBM_REV=`/usr/bin/lslpp -Lqc bos.rte.libc |
607 awk -F: '{ print $3 }' | sed s/[0-9]*$/0/`
581 if [ -x /usr/bin/oslevel ] ; then
582 IBM_REV=`/usr/bin/oslevel`
608583 else
609584 IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
610585 fi
641616 sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
642617 sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
643618 case "${sc_cpu_version}" in
644 523) HP_ARCH=hppa1.0 ;; # CPU_PA_RISC1_0
645 528) HP_ARCH=hppa1.1 ;; # CPU_PA_RISC1_1
619 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
620 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
646621 532) # CPU_PA_RISC2_0
647622 case "${sc_kernel_bits}" in
648 32) HP_ARCH=hppa2.0n ;;
649 64) HP_ARCH=hppa2.0w ;;
650 '') HP_ARCH=hppa2.0 ;; # HP-UX 10.20
623 32) HP_ARCH="hppa2.0n" ;;
624 64) HP_ARCH="hppa2.0w" ;;
625 '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20
651626 esac ;;
652627 esac
653628 fi
686661 exit (0);
687662 }
688663 EOF
689 (CCOPTS="" $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
664 (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
690665 test -z "$HP_ARCH" && HP_ARCH=hppa
691666 fi ;;
692667 esac
693 if [ ${HP_ARCH} = hppa2.0w ]
668 if [ ${HP_ARCH} = "hppa2.0w" ]
694669 then
695670 eval $set_cc_for_build
696671
703678 # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
704679 # => hppa64-hp-hpux11.23
705680
706 if echo __LP64__ | (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) |
681 if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
707682 grep -q __LP64__
708683 then
709 HP_ARCH=hppa2.0w
684 HP_ARCH="hppa2.0w"
710685 else
711 HP_ARCH=hppa64
686 HP_ARCH="hppa64"
712687 fi
713688 fi
714689 echo ${HP_ARCH}-hp-hpux${HPUX_REV}
813788 echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
814789 exit ;;
815790 F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
816 FUJITSU_PROC=`uname -m | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`
817 FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'`
791 FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
792 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
818793 FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
819794 echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
820795 exit ;;
821796 5000:UNIX_System_V:4.*:*)
822 FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'`
823 FUJITSU_REL=`echo ${UNAME_RELEASE} | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/ /_/'`
797 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
798 FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
824799 echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
825800 exit ;;
826801 i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
850825 *:MINGW*:*)
851826 echo ${UNAME_MACHINE}-pc-mingw32
852827 exit ;;
853 *:MSYS*:*)
828 i*:MSYS*:*)
854829 echo ${UNAME_MACHINE}-pc-msys
855830 exit ;;
856831 i*:windows32*:*)
902877 exit ;;
903878 *:GNU/*:*:*)
904879 # other systems with GNU libc and userland
905 echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC}
880 echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC}
906881 exit ;;
907882 i*86:Minix:*:*)
908883 echo ${UNAME_MACHINE}-pc-minix
925900 EV68*) UNAME_MACHINE=alphaev68 ;;
926901 esac
927902 objdump --private-headers /bin/sh | grep -q ld.so.1
928 if test "$?" = 0 ; then LIBC=gnulibc1 ; fi
903 if test "$?" = 0 ; then LIBC="gnulibc1" ; fi
929904 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
930905 exit ;;
931906 arc:Linux:*:* | arceb:Linux:*:*)
956931 crisv32:Linux:*:*)
957932 echo ${UNAME_MACHINE}-axis-linux-${LIBC}
958933 exit ;;
959 e2k:Linux:*:*)
960 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
961 exit ;;
962934 frv:Linux:*:*)
963935 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
964936 exit ;;
969941 echo ${UNAME_MACHINE}-pc-linux-${LIBC}
970942 exit ;;
971943 ia64:Linux:*:*)
972 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
973 exit ;;
974 k1om:Linux:*:*)
975944 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
976945 exit ;;
977946 m32r*:Linux:*:*)
999968 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
1000969 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
1001970 ;;
1002 mips64el:Linux:*:*)
1003 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1004 exit ;;
1005 openrisc*:Linux:*:*)
1006 echo or1k-unknown-linux-${LIBC}
1007 exit ;;
1008 or32:Linux:*:* | or1k*:Linux:*:*)
971 or1k:Linux:*:*)
972 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
973 exit ;;
974 or32:Linux:*:*)
1009975 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1010976 exit ;;
1011977 padre:Linux:*:*)
10341000 ppcle:Linux:*:*)
10351001 echo powerpcle-unknown-linux-${LIBC}
10361002 exit ;;
1037 riscv32:Linux:*:* | riscv64:Linux:*:*)
1038 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1039 exit ;;
10401003 s390:Linux:*:* | s390x:Linux:*:*)
10411004 echo ${UNAME_MACHINE}-ibm-linux-${LIBC}
10421005 exit ;;
10561019 echo ${UNAME_MACHINE}-dec-linux-${LIBC}
10571020 exit ;;
10581021 x86_64:Linux:*:*)
1059 echo ${UNAME_MACHINE}-pc-linux-${LIBC}
1022 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
10601023 exit ;;
10611024 xtensa*:Linux:*:*)
10621025 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
11351098 # uname -m prints for DJGPP always 'pc', but it prints nothing about
11361099 # the processor, so we play safe by assuming i586.
11371100 # Note: whatever this is, it MUST be the same as what config.sub
1138 # prints for the "djgpp" host, or else GDB configure will decide that
1101 # prints for the "djgpp" host, or else GDB configury will decide that
11391102 # this is a cross-build.
11401103 echo i586-pc-msdosdjgpp
11411104 exit ;;
12841247 SX-8R:SUPER-UX:*:*)
12851248 echo sx8r-nec-superux${UNAME_RELEASE}
12861249 exit ;;
1287 SX-ACE:SUPER-UX:*:*)
1288 echo sxace-nec-superux${UNAME_RELEASE}
1289 exit ;;
12901250 Power*:Rhapsody:*:*)
12911251 echo powerpc-apple-rhapsody${UNAME_RELEASE}
12921252 exit ;;
12991259 if test "$UNAME_PROCESSOR" = unknown ; then
13001260 UNAME_PROCESSOR=powerpc
13011261 fi
1302 if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then
1303 if [ "$CC_FOR_BUILD" != no_compiler_found ]; then
1304 if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
1305 (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
1306 grep IS_64BIT_ARCH >/dev/null
1307 then
1308 case $UNAME_PROCESSOR in
1309 i386) UNAME_PROCESSOR=x86_64 ;;
1310 powerpc) UNAME_PROCESSOR=powerpc64 ;;
1311 esac
1312 fi
1262 if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
1263 if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
1264 (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
1265 grep IS_64BIT_ARCH >/dev/null
1266 then
1267 case $UNAME_PROCESSOR in
1268 i386) UNAME_PROCESSOR=x86_64 ;;
1269 powerpc) UNAME_PROCESSOR=powerpc64 ;;
1270 esac
13131271 fi
1314 elif test "$UNAME_PROCESSOR" = i386 ; then
1315 # Avoid executing cc on OS X 10.9, as it ships with a stub
1316 # that puts up a graphical alert prompting to install
1317 # developer tools. Any system running Mac OS X 10.7 or
1318 # later (Darwin 11 and later) is required to have a 64-bit
1319 # processor. This is not true of the ARM version of Darwin
1320 # that Apple uses in portable devices.
1321 UNAME_PROCESSOR=x86_64
13221272 fi
13231273 echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
13241274 exit ;;
13251275 *:procnto*:*:* | *:QNX:[0123456789]*:*)
13261276 UNAME_PROCESSOR=`uname -p`
1327 if test "$UNAME_PROCESSOR" = x86; then
1277 if test "$UNAME_PROCESSOR" = "x86"; then
13281278 UNAME_PROCESSOR=i386
13291279 UNAME_MACHINE=pc
13301280 fi
13551305 # "uname -m" is not consistent, so use $cputype instead. 386
13561306 # is converted to i386 for consistency with other x86
13571307 # operating systems.
1358 if test "$cputype" = 386; then
1308 if test "$cputype" = "386"; then
13591309 UNAME_MACHINE=i386
13601310 else
13611311 UNAME_MACHINE="$cputype"
13971347 echo i386-pc-xenix
13981348 exit ;;
13991349 i*86:skyos:*:*)
1400 echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE} | sed -e 's/ .*$//'`
1350 echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
14011351 exit ;;
14021352 i*86:rdos:*:*)
14031353 echo ${UNAME_MACHINE}-pc-rdos
14081358 x86_64:VMkernel:*:*)
14091359 echo ${UNAME_MACHINE}-unknown-esx
14101360 exit ;;
1411 amd64:Isilon\ OneFS:*:*)
1412 echo x86_64-unknown-onefs
1413 exit ;;
14141361 esac
1362
1363 eval $set_cc_for_build
1364 cat >$dummy.c <<EOF
1365 #ifdef _SEQUENT_
1366 # include <sys/types.h>
1367 # include <sys/utsname.h>
1368 #endif
1369 main ()
1370 {
1371 #if defined (sony)
1372 #if defined (MIPSEB)
1373 /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed,
1374 I don't know.... */
1375 printf ("mips-sony-bsd\n"); exit (0);
1376 #else
1377 #include <sys/param.h>
1378 printf ("m68k-sony-newsos%s\n",
1379 #ifdef NEWSOS4
1380 "4"
1381 #else
1382 ""
1383 #endif
1384 ); exit (0);
1385 #endif
1386 #endif
1387
1388 #if defined (__arm) && defined (__acorn) && defined (__unix)
1389 printf ("arm-acorn-riscix\n"); exit (0);
1390 #endif
1391
1392 #if defined (hp300) && !defined (hpux)
1393 printf ("m68k-hp-bsd\n"); exit (0);
1394 #endif
1395
1396 #if defined (NeXT)
1397 #if !defined (__ARCHITECTURE__)
1398 #define __ARCHITECTURE__ "m68k"
1399 #endif
1400 int version;
1401 version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
1402 if (version < 4)
1403 printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version);
1404 else
1405 printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version);
1406 exit (0);
1407 #endif
1408
1409 #if defined (MULTIMAX) || defined (n16)
1410 #if defined (UMAXV)
1411 printf ("ns32k-encore-sysv\n"); exit (0);
1412 #else
1413 #if defined (CMU)
1414 printf ("ns32k-encore-mach\n"); exit (0);
1415 #else
1416 printf ("ns32k-encore-bsd\n"); exit (0);
1417 #endif
1418 #endif
1419 #endif
1420
1421 #if defined (__386BSD__)
1422 printf ("i386-pc-bsd\n"); exit (0);
1423 #endif
1424
1425 #if defined (sequent)
1426 #if defined (i386)
1427 printf ("i386-sequent-dynix\n"); exit (0);
1428 #endif
1429 #if defined (ns32000)
1430 printf ("ns32k-sequent-dynix\n"); exit (0);
1431 #endif
1432 #endif
1433
1434 #if defined (_SEQUENT_)
1435 struct utsname un;
1436
1437 uname(&un);
1438
1439 if (strncmp(un.version, "V2", 2) == 0) {
1440 printf ("i386-sequent-ptx2\n"); exit (0);
1441 }
1442 if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */
1443 printf ("i386-sequent-ptx1\n"); exit (0);
1444 }
1445 printf ("i386-sequent-ptx\n"); exit (0);
1446
1447 #endif
1448
1449 #if defined (vax)
1450 # if !defined (ultrix)
1451 # include <sys/param.h>
1452 # if defined (BSD)
1453 # if BSD == 43
1454 printf ("vax-dec-bsd4.3\n"); exit (0);
1455 # else
1456 # if BSD == 199006
1457 printf ("vax-dec-bsd4.3reno\n"); exit (0);
1458 # else
1459 printf ("vax-dec-bsd\n"); exit (0);
1460 # endif
1461 # endif
1462 # else
1463 printf ("vax-dec-bsd\n"); exit (0);
1464 # endif
1465 # else
1466 printf ("vax-dec-ultrix\n"); exit (0);
1467 # endif
1468 #endif
1469
1470 #if defined (alliant) && defined (i860)
1471 printf ("i860-alliant-bsd\n"); exit (0);
1472 #endif
1473
1474 exit (1);
1475 }
1476 EOF
1477
1478 $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` &&
1479 { echo "$SYSTEM_NAME"; exit; }
1480
1481 # Apollos put the system type in the environment.
1482
1483 test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; }
1484
1485 # Convex versions that predate uname can use getsysinfo(1)
1486
1487 if [ -x /usr/convex/getsysinfo ]
1488 then
1489 case `getsysinfo -f cpu_type` in
1490 c1*)
1491 echo c1-convex-bsd
1492 exit ;;
1493 c2*)
1494 if getsysinfo -f scalar_acc
1495 then echo c32-convex-bsd
1496 else echo c2-convex-bsd
1497 fi
1498 exit ;;
1499 c34*)
1500 echo c34-convex-bsd
1501 exit ;;
1502 c38*)
1503 echo c38-convex-bsd
1504 exit ;;
1505 c4*)
1506 echo c4-convex-bsd
1507 exit ;;
1508 esac
1509 fi
14151510
14161511 cat >&2 <<EOF
14171512 $0: unable to guess system type
14181513
1419 This script (version $timestamp), has failed to recognize the
1420 operating system you are using. If your script is old, overwrite
1421 config.guess and config.sub with the latest versions from:
1422
1423 http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess
1514 This script, last modified $timestamp, has failed to recognize
1515 the operating system you are using. It is advised that you
1516 download the most up to date version of the config scripts from
1517
1518 http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
14241519 and
1425 http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub
1426
1427 If $0 has already been updated, send the following data and any
1428 information you think might be pertinent to config-patches@gnu.org to
1429 provide the necessary information to handle your system.
1520 http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
1521
1522 If the version you run ($0) is already up to date, please
1523 send the following data and any information you think might be
1524 pertinent to <config-patches@gnu.org> in order to provide the needed
1525 information to handle your system.
14301526
14311527 config.guess timestamp = $timestamp
14321528
00 #! /bin/sh
11 # Configuration validation subroutine script.
2 # Copyright 1992-2016 Free Software Foundation, Inc.
3
4 timestamp='2016-11-04'
2 # Copyright 1992-2013 Free Software Foundation, Inc.
3
4 timestamp='2013-08-10'
55
66 # This file is free software; you can redistribute it and/or modify it
77 # under the terms of the GNU General Public License as published by
2424 # of the GNU General Public License, version 3 ("GPLv3").
2525
2626
27 # Please send patches to <config-patches@gnu.org>.
27 # Please send patches with a ChangeLog entry to config-patches@gnu.org.
2828 #
2929 # Configuration subroutine to validate and canonicalize a configuration type.
3030 # Supply the specified configuration type as an argument.
3232 # Otherwise, we print the canonical config type on stdout and succeed.
3333
3434 # You can get the latest version of this script from:
35 # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub
35 # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
3636
3737 # This file is supposed to be the same for all GNU packages
3838 # and recognize all the CPU types, system types and aliases
5252 me=`echo "$0" | sed -e 's,.*/,,'`
5353
5454 usage="\
55 Usage: $0 [OPTION] CPU-MFR-OPSYS or ALIAS
55 Usage: $0 [OPTION] CPU-MFR-OPSYS
56 $0 [OPTION] ALIAS
5657
5758 Canonicalize a configuration name.
5859
6667 version="\
6768 GNU config.sub ($timestamp)
6869
69 Copyright 1992-2016 Free Software Foundation, Inc.
70 Copyright 1992-2013 Free Software Foundation, Inc.
7071
7172 This is free software; see the source for copying conditions. There is NO
7273 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
115116 case $maybe_os in
116117 nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
117118 linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
118 knetbsd*-gnu* | netbsd*-gnu* | netbsd*-eabi* | \
119 kopensolaris*-gnu* | cloudabi*-eabi* | \
119 knetbsd*-gnu* | netbsd*-gnu* | \
120 kopensolaris*-gnu* | \
120121 storm-chaos* | os2-emx* | rtmk-nova*)
121122 os=-$maybe_os
122123 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
253254 | arc | arceb \
254255 | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
255256 | avr | avr32 \
256 | ba \
257257 | be32 | be64 \
258258 | bfin \
259259 | c4x | c8051 | clipper \
260260 | d10v | d30v | dlx | dsp16xx \
261 | e2k | epiphany \
262 | fido | fr30 | frv | ft32 \
261 | epiphany \
262 | fido | fr30 | frv \
263263 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
264264 | hexagon \
265265 | i370 | i860 | i960 | ia64 \
266266 | ip2k | iq2000 \
267 | k1om \
268267 | le32 | le64 \
269268 | lm32 \
270269 | m32c | m32r | m32rle | m68000 | m68k | m88k \
282281 | mips64vr5900 | mips64vr5900el \
283282 | mipsisa32 | mipsisa32el \
284283 | mipsisa32r2 | mipsisa32r2el \
285 | mipsisa32r6 | mipsisa32r6el \
286284 | mipsisa64 | mipsisa64el \
287285 | mipsisa64r2 | mipsisa64r2el \
288 | mipsisa64r6 | mipsisa64r6el \
289286 | mipsisa64sb1 | mipsisa64sb1el \
290287 | mipsisa64sr71k | mipsisa64sr71kel \
291288 | mipsr5900 | mipsr5900el \
297294 | nds32 | nds32le | nds32be \
298295 | nios | nios2 | nios2eb | nios2el \
299296 | ns16k | ns32k \
300 | open8 | or1k | or1knd | or32 \
297 | open8 \
298 | or1k | or32 \
301299 | pdp10 | pdp11 | pj | pjl \
302300 | powerpc | powerpc64 | powerpc64le | powerpcle \
303 | pru \
304301 | pyramid \
305 | riscv32 | riscv64 \
306302 | rl78 | rx \
307303 | score \
308 | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[234]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
304 | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
309305 | sh64 | sh64le \
310306 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
311307 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
313309 | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
314310 | ubicom32 \
315311 | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
316 | visium \
317312 | we32k \
318313 | x86 | xc16x | xstormy16 | xtensa \
319314 | z8k | z80)
328323 c6x)
329324 basic_machine=tic6x-unknown
330325 ;;
331 leon|leon[3-9])
332 basic_machine=sparc-$basic_machine
333 ;;
334 m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip)
326 m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip)
335327 basic_machine=$basic_machine-unknown
336328 os=-none
337329 ;;
376368 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \
377369 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
378370 | avr-* | avr32-* \
379 | ba-* \
380371 | be32-* | be64-* \
381372 | bfin-* | bs2000-* \
382373 | c[123]* | c30-* | [cjt]90-* | c4x-* \
383374 | c8051-* | clipper-* | craynv-* | cydra-* \
384375 | d10v-* | d30v-* | dlx-* \
385 | e2k-* | elxsi-* \
376 | elxsi-* \
386377 | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
387378 | h8300-* | h8500-* \
388379 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
389380 | hexagon-* \
390381 | i*86-* | i860-* | i960-* | ia64-* \
391382 | ip2k-* | iq2000-* \
392 | k1om-* \
393383 | le32-* | le64-* \
394384 | lm32-* \
395385 | m32c-* | m32r-* | m32rle-* \
409399 | mips64vr5900-* | mips64vr5900el-* \
410400 | mipsisa32-* | mipsisa32el-* \
411401 | mipsisa32r2-* | mipsisa32r2el-* \
412 | mipsisa32r6-* | mipsisa32r6el-* \
413402 | mipsisa64-* | mipsisa64el-* \
414403 | mipsisa64r2-* | mipsisa64r2el-* \
415 | mipsisa64r6-* | mipsisa64r6el-* \
416404 | mipsisa64sb1-* | mipsisa64sb1el-* \
417405 | mipsisa64sr71k-* | mipsisa64sr71kel-* \
418406 | mipsr5900-* | mipsr5900el-* \
424412 | nios-* | nios2-* | nios2eb-* | nios2el-* \
425413 | none-* | np1-* | ns16k-* | ns32k-* \
426414 | open8-* \
427 | or1k*-* \
428415 | orion-* \
429416 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
430417 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
431 | pru-* \
432418 | pyramid-* \
433 | riscv32-* | riscv64-* \
434419 | rl78-* | romp-* | rs6000-* | rx-* \
435420 | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
436421 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
437422 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
438423 | sparclite-* \
439 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx*-* \
424 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
440425 | tahoe-* \
441426 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
442427 | tile*-* \
444429 | ubicom32-* \
445430 | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
446431 | vax-* \
447 | visium-* \
448432 | we32k-* \
449433 | x86-* | x86_64-* | xc16x-* | xps100-* \
450434 | xstormy16-* | xtensa*-* \
521505 basic_machine=i386-pc
522506 os=-aros
523507 ;;
524 asmjs)
525 basic_machine=asmjs-unknown
526 ;;
527508 aux)
528509 basic_machine=m68k-apple
529510 os=-aux
643624 dpx2* | dpx2*-bull)
644625 basic_machine=m68k-bull
645626 os=-sysv3
646 ;;
647 e500v[12])
648 basic_machine=powerpc-unknown
649 os=$os"spe"
650 ;;
651 e500v[12]-*)
652 basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
653 os=$os"spe"
654627 ;;
655628 ebmon29k)
656629 basic_machine=a29k-amd
793766 basic_machine=m68k-isi
794767 os=-sysv
795768 ;;
796 leon-*|leon[3-9]-*)
797 basic_machine=sparc-`echo $basic_machine | sed 's/-.*//'`
798 ;;
799769 m68knommu)
800770 basic_machine=m68k-unknown
801771 os=-linux
850820 morphos)
851821 basic_machine=powerpc-unknown
852822 os=-morphos
853 ;;
854 moxiebox)
855 basic_machine=moxie-unknown
856 os=-moxiebox
857823 ;;
858824 msdos)
859825 basic_machine=i386-pc
1031997 ppc-* | ppcbe-*)
1032998 basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
1033999 ;;
1034 ppcle | powerpclittle)
1000 ppcle | powerpclittle | ppc-le | powerpc-little)
10351001 basic_machine=powerpcle-unknown
10361002 ;;
10371003 ppcle-* | powerpclittle-*)
10411007 ;;
10421008 ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
10431009 ;;
1044 ppc64le | powerpc64little)
1010 ppc64le | powerpc64little | ppc64-le | powerpc64-little)
10451011 basic_machine=powerpc64le-unknown
10461012 ;;
10471013 ppc64le-* | powerpc64little-*)
13871353 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
13881354 | -sym* | -kopensolaris* | -plan9* \
13891355 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1390 | -aos* | -aros* | -cloudabi* | -sortix* \
1356 | -aos* | -aros* \
13911357 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
13921358 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
13931359 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
1394 | -bitrig* | -openbsd* | -solidbsd* | -libertybsd* \
1360 | -bitrig* | -openbsd* | -solidbsd* \
13951361 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
13961362 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
13971363 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
13981364 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
13991365 | -chorusos* | -chorusrdb* | -cegcc* \
14001366 | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1401 | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
1367 | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
14021368 | -linux-newlib* | -linux-musl* | -linux-uclibc* \
1403 | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \
1369 | -uxpv* | -beos* | -mpeix* | -udk* \
14041370 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
14051371 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
14061372 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
14071373 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
14081374 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
14091375 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1410 | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \
1411 | -onefs* | -tirtos* | -phoenix* | -fuchsia*)
1376 | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
14121377 # Remember, each alternative MUST END IN *, to match a version number.
14131378 ;;
14141379 -qnx*)
15401505 ;;
15411506 -nacl*)
15421507 ;;
1543 -ios)
1544 ;;
15451508 -none)
15461509 ;;
15471510 *)
16261589 os=-elf
16271590 ;;
16281591 mips*-*)
1592 os=-elf
1593 ;;
1594 or1k-*)
16291595 os=-elf
16301596 ;;
16311597 or32-*)
77 * Fixed copyright (Closes: #905214)
88 * Cleaned up quilt patches.
99
10 -- Jason Guy <jason.e.guy@gmail.com> Wed, 26 Sep 2018 08:19:55 -0400
10 -- Jason Guy <jason.e.guy@gmail.com> Sun, 16 Dec 2018 19:31:18 -0500
1111
1212 isc-kea (1.4.0.P1-3) unstable; urgency=medium
1313
1616
1717 override_dh_auto_configure:
1818 dh_auto_configure $@ -- \
19 --prefix=/usr \
20 --sysconfdir=/etc \
21 --localstatedir=/var/lib \
19 --prefix=/usr \
20 --sysconfdir=/etc \
21 --localstatedir=/var/lib \
2222 --with-openssl \
2323 --with-mysql \
2424 --with-pgsql \