Codebase list isc-kea / 98d7cf5
Added python depends to control file for kea-ctrl-agent jason.e.guy@gmail.com 5 years ago
3 changed file(s) with 200 addition(s) and 260 deletion(s). Raw diff Collapse all Expand all
00 #! /bin/sh
11 # Attempt to guess a canonical system name.
2 # Copyright 1992-2013 Free Software Foundation, Inc.
3
4 timestamp='2013-06-10'
2 # Copyright 1992-2016 Free Software Foundation, Inc.
3
4 timestamp='2016-10-02'
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.
26 # Originally written by Per Bothner; maintained since 2000 by Ben Elliston.
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;hb=HEAD
29 # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess
3030 #
31 # Please send patches with a ChangeLog entry to config-patches@gnu.org.
31 # Please send patches 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-2013 Free Software Foundation, Inc.
52 Copyright 1992-2016 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'`
151 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`
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=`(/sbin/$sysctl 2>/dev/null || \
171 /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
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)`
172174 case "${UNAME_MACHINE_ARCH}" in
173175 armeb) machine=armeb-unknown ;;
174176 arm*) machine=arm-unknown ;;
175177 sh3el) machine=shl-unknown ;;
176178 sh3eb) machine=sh-unknown ;;
177179 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 ;;
178185 *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
179186 esac
180187 # The Operating System including object format, if it has switched
181 # to ELF recently, or will in the future.
188 # to ELF recently (or will in the future) and ABI.
182189 case "${UNAME_MACHINE_ARCH}" in
190 earm*)
191 os=netbsdelf
192 ;;
183193 arm*|i386|m68k|ns32k|sh3*|sparc|vax)
184194 eval $set_cc_for_build
185195 if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
196206 os=netbsd
197207 ;;
198208 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
199216 # The OS release
200217 # Debian GNU/NetBSD machines have a different userland, and
201218 # thus, need a distinct triplet. However, they do not need
206223 release='-gnu'
207224 ;;
208225 *)
209 release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
226 release=`echo ${UNAME_RELEASE} | sed -e 's/[-_].*//' | cut -d. -f1,2`
210227 ;;
211228 esac
212229 # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
213230 # contains redundant information, the shorter form:
214231 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
215 echo "${machine}-${os}${release}"
232 echo "${machine}-${os}${release}${abi}"
216233 exit ;;
217234 *:Bitrig:*:*)
218235 UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
222239 UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
223240 echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
224241 exit ;;
242 *:LibertyBSD:*:*)
243 UNAME_MACHINE_ARCH=`arch | sed 's/^.*BSD\.//'`
244 echo ${UNAME_MACHINE_ARCH}-unknown-libertybsd${UNAME_RELEASE}
245 exit ;;
225246 *:ekkoBSD:*:*)
226247 echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
227248 exit ;;
233254 exit ;;
234255 *:MirBSD:*:*)
235256 echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
257 exit ;;
258 *:Sortix:*:*)
259 echo ${UNAME_MACHINE}-unknown-sortix
236260 exit ;;
237261 alpha:OSF1:*:*)
238262 case $UNAME_RELEASE in
250274 ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1`
251275 case "$ALPHA_CPU_TYPE" in
252276 "EV4 (21064)")
253 UNAME_MACHINE="alpha" ;;
277 UNAME_MACHINE=alpha ;;
254278 "EV4.5 (21064)")
255 UNAME_MACHINE="alpha" ;;
279 UNAME_MACHINE=alpha ;;
256280 "LCA4 (21066/21068)")
257 UNAME_MACHINE="alpha" ;;
281 UNAME_MACHINE=alpha ;;
258282 "EV5 (21164)")
259 UNAME_MACHINE="alphaev5" ;;
283 UNAME_MACHINE=alphaev5 ;;
260284 "EV5.6 (21164A)")
261 UNAME_MACHINE="alphaev56" ;;
285 UNAME_MACHINE=alphaev56 ;;
262286 "EV5.6 (21164PC)")
263 UNAME_MACHINE="alphapca56" ;;
287 UNAME_MACHINE=alphapca56 ;;
264288 "EV5.7 (21164PC)")
265 UNAME_MACHINE="alphapca57" ;;
289 UNAME_MACHINE=alphapca57 ;;
266290 "EV6 (21264)")
267 UNAME_MACHINE="alphaev6" ;;
291 UNAME_MACHINE=alphaev6 ;;
268292 "EV6.7 (21264A)")
269 UNAME_MACHINE="alphaev67" ;;
293 UNAME_MACHINE=alphaev67 ;;
270294 "EV6.8CB (21264C)")
271 UNAME_MACHINE="alphaev68" ;;
295 UNAME_MACHINE=alphaev68 ;;
272296 "EV6.8AL (21264B)")
273 UNAME_MACHINE="alphaev68" ;;
297 UNAME_MACHINE=alphaev68 ;;
274298 "EV6.8CX (21264D)")
275 UNAME_MACHINE="alphaev68" ;;
299 UNAME_MACHINE=alphaev68 ;;
276300 "EV6.9A (21264/EV69A)")
277 UNAME_MACHINE="alphaev69" ;;
301 UNAME_MACHINE=alphaev69 ;;
278302 "EV7 (21364)")
279 UNAME_MACHINE="alphaev7" ;;
303 UNAME_MACHINE=alphaev7 ;;
280304 "EV7.9 (21364A)")
281 UNAME_MACHINE="alphaev79" ;;
305 UNAME_MACHINE=alphaev79 ;;
282306 esac
283307 # A Pn.n version is a patched version.
284308 # A Vn.n version is a released version.
285309 # A Tn.n version is a released field test version.
286310 # A Xn.n version is an unreleased experimental baselevel.
287311 # 1.2 uses "1.2" for uname -r.
288 echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
312 echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`
289313 # Reset EXIT trap before exiting to avoid spurious non-zero exit code.
290314 exitcode=$?
291315 trap '' 0
358382 exit ;;
359383 i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
360384 eval $set_cc_for_build
361 SUN_ARCH="i386"
385 SUN_ARCH=i386
362386 # If there is a compiler, see if it is configured for 64-bit objects.
363387 # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
364388 # This test works for both compilers.
365 if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
389 if [ "$CC_FOR_BUILD" != no_compiler_found ]; then
366390 if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
367 (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
391 (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
368392 grep IS_64BIT_ARCH >/dev/null
369393 then
370 SUN_ARCH="x86_64"
394 SUN_ARCH=x86_64
371395 fi
372396 fi
373397 echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
392416 exit ;;
393417 sun*:*:4.2BSD:*)
394418 UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
395 test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
419 test "x${UNAME_RELEASE}" = x && UNAME_RELEASE=3
396420 case "`/bin/arch`" in
397421 sun3)
398422 echo m68k-sun-sunos${UNAME_RELEASE}
578602 else
579603 IBM_ARCH=powerpc
580604 fi
581 if [ -x /usr/bin/oslevel ] ; then
582 IBM_REV=`/usr/bin/oslevel`
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/`
583608 else
584609 IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
585610 fi
616641 sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
617642 sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
618643 case "${sc_cpu_version}" in
619 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
620 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
644 523) HP_ARCH=hppa1.0 ;; # CPU_PA_RISC1_0
645 528) HP_ARCH=hppa1.1 ;; # CPU_PA_RISC1_1
621646 532) # CPU_PA_RISC2_0
622647 case "${sc_kernel_bits}" in
623 32) HP_ARCH="hppa2.0n" ;;
624 64) HP_ARCH="hppa2.0w" ;;
625 '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20
648 32) HP_ARCH=hppa2.0n ;;
649 64) HP_ARCH=hppa2.0w ;;
650 '') HP_ARCH=hppa2.0 ;; # HP-UX 10.20
626651 esac ;;
627652 esac
628653 fi
661686 exit (0);
662687 }
663688 EOF
664 (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
689 (CCOPTS="" $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
665690 test -z "$HP_ARCH" && HP_ARCH=hppa
666691 fi ;;
667692 esac
668 if [ ${HP_ARCH} = "hppa2.0w" ]
693 if [ ${HP_ARCH} = hppa2.0w ]
669694 then
670695 eval $set_cc_for_build
671696
678703 # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
679704 # => hppa64-hp-hpux11.23
680705
681 if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
706 if echo __LP64__ | (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) |
682707 grep -q __LP64__
683708 then
684 HP_ARCH="hppa2.0w"
709 HP_ARCH=hppa2.0w
685710 else
686 HP_ARCH="hppa64"
711 HP_ARCH=hppa64
687712 fi
688713 fi
689714 echo ${HP_ARCH}-hp-hpux${HPUX_REV}
788813 echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
789814 exit ;;
790815 F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
791 FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
792 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
816 FUJITSU_PROC=`uname -m | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`
817 FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'`
793818 FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
794819 echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
795820 exit ;;
796821 5000:UNIX_System_V:4.*:*)
797 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
798 FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
822 FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'`
823 FUJITSU_REL=`echo ${UNAME_RELEASE} | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/ /_/'`
799824 echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
800825 exit ;;
801826 i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
825850 *:MINGW*:*)
826851 echo ${UNAME_MACHINE}-pc-mingw32
827852 exit ;;
828 i*:MSYS*:*)
853 *:MSYS*:*)
829854 echo ${UNAME_MACHINE}-pc-msys
830855 exit ;;
831856 i*:windows32*:*)
877902 exit ;;
878903 *:GNU/*:*:*)
879904 # other systems with GNU libc and userland
880 echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC}
905 echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC}
881906 exit ;;
882907 i*86:Minix:*:*)
883908 echo ${UNAME_MACHINE}-pc-minix
900925 EV68*) UNAME_MACHINE=alphaev68 ;;
901926 esac
902927 objdump --private-headers /bin/sh | grep -q ld.so.1
903 if test "$?" = 0 ; then LIBC="gnulibc1" ; fi
928 if test "$?" = 0 ; then LIBC=gnulibc1 ; fi
904929 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
905930 exit ;;
906931 arc:Linux:*:* | arceb:Linux:*:*)
931956 crisv32:Linux:*:*)
932957 echo ${UNAME_MACHINE}-axis-linux-${LIBC}
933958 exit ;;
959 e2k:Linux:*:*)
960 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
961 exit ;;
934962 frv:Linux:*:*)
935963 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
936964 exit ;;
941969 echo ${UNAME_MACHINE}-pc-linux-${LIBC}
942970 exit ;;
943971 ia64:Linux:*:*)
972 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
973 exit ;;
974 k1om:Linux:*:*)
944975 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
945976 exit ;;
946977 m32r*:Linux:*:*)
968999 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
9691000 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
9701001 ;;
971 or1k:Linux:*:*)
972 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
973 exit ;;
974 or32:Linux:*:*)
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:*:*)
9751009 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
9761010 exit ;;
9771011 padre:Linux:*:*)
10001034 ppcle:Linux:*:*)
10011035 echo powerpcle-unknown-linux-${LIBC}
10021036 exit ;;
1037 riscv32:Linux:*:* | riscv64:Linux:*:*)
1038 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1039 exit ;;
10031040 s390:Linux:*:* | s390x:Linux:*:*)
10041041 echo ${UNAME_MACHINE}-ibm-linux-${LIBC}
10051042 exit ;;
10191056 echo ${UNAME_MACHINE}-dec-linux-${LIBC}
10201057 exit ;;
10211058 x86_64:Linux:*:*)
1022 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
1059 echo ${UNAME_MACHINE}-pc-linux-${LIBC}
10231060 exit ;;
10241061 xtensa*:Linux:*:*)
10251062 echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
10981135 # uname -m prints for DJGPP always 'pc', but it prints nothing about
10991136 # the processor, so we play safe by assuming i586.
11001137 # Note: whatever this is, it MUST be the same as what config.sub
1101 # prints for the "djgpp" host, or else GDB configury will decide that
1138 # prints for the "djgpp" host, or else GDB configure will decide that
11021139 # this is a cross-build.
11031140 echo i586-pc-msdosdjgpp
11041141 exit ;;
12471284 SX-8R:SUPER-UX:*:*)
12481285 echo sx8r-nec-superux${UNAME_RELEASE}
12491286 exit ;;
1287 SX-ACE:SUPER-UX:*:*)
1288 echo sxace-nec-superux${UNAME_RELEASE}
1289 exit ;;
12501290 Power*:Rhapsody:*:*)
12511291 echo powerpc-apple-rhapsody${UNAME_RELEASE}
12521292 exit ;;
12591299 if test "$UNAME_PROCESSOR" = unknown ; then
12601300 UNAME_PROCESSOR=powerpc
12611301 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
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
12711313 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
12721322 fi
12731323 echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
12741324 exit ;;
12751325 *:procnto*:*:* | *:QNX:[0123456789]*:*)
12761326 UNAME_PROCESSOR=`uname -p`
1277 if test "$UNAME_PROCESSOR" = "x86"; then
1327 if test "$UNAME_PROCESSOR" = x86; then
12781328 UNAME_PROCESSOR=i386
12791329 UNAME_MACHINE=pc
12801330 fi
13051355 # "uname -m" is not consistent, so use $cputype instead. 386
13061356 # is converted to i386 for consistency with other x86
13071357 # operating systems.
1308 if test "$cputype" = "386"; then
1358 if test "$cputype" = 386; then
13091359 UNAME_MACHINE=i386
13101360 else
13111361 UNAME_MACHINE="$cputype"
13471397 echo i386-pc-xenix
13481398 exit ;;
13491399 i*86:skyos:*:*)
1350 echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
1400 echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE} | sed -e 's/ .*$//'`
13511401 exit ;;
13521402 i*86:rdos:*:*)
13531403 echo ${UNAME_MACHINE}-pc-rdos
13581408 x86_64:VMkernel:*:*)
13591409 echo ${UNAME_MACHINE}-unknown-esx
13601410 exit ;;
1411 amd64:Isilon\ OneFS:*:*)
1412 echo x86_64-unknown-onefs
1413 exit ;;
13611414 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
15101415
15111416 cat >&2 <<EOF
15121417 $0: unable to guess system type
15131418
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
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
15191424 and
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.
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.
15261430
15271431 config.guess timestamp = $timestamp
15281432
00 #! /bin/sh
11 # Configuration validation subroutine script.
2 # Copyright 1992-2013 Free Software Foundation, Inc.
3
4 timestamp='2013-08-10'
2 # Copyright 1992-2016 Free Software Foundation, Inc.
3
4 timestamp='2016-11-04'
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 with a ChangeLog entry to config-patches@gnu.org.
27 # Please send patches 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;hb=HEAD
35 # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub
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
56 $0 [OPTION] ALIAS
55 Usage: $0 [OPTION] CPU-MFR-OPSYS or ALIAS
5756
5857 Canonicalize a configuration name.
5958
6766 version="\
6867 GNU config.sub ($timestamp)
6968
70 Copyright 1992-2013 Free Software Foundation, Inc.
69 Copyright 1992-2016 Free Software Foundation, Inc.
7170
7271 This is free software; see the source for copying conditions. There is NO
7372 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
116115 case $maybe_os in
117116 nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
118117 linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
119 knetbsd*-gnu* | netbsd*-gnu* | \
120 kopensolaris*-gnu* | \
118 knetbsd*-gnu* | netbsd*-gnu* | netbsd*-eabi* | \
119 kopensolaris*-gnu* | cloudabi*-eabi* | \
121120 storm-chaos* | os2-emx* | rtmk-nova*)
122121 os=-$maybe_os
123122 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
254253 | arc | arceb \
255254 | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
256255 | avr | avr32 \
256 | ba \
257257 | be32 | be64 \
258258 | bfin \
259259 | c4x | c8051 | clipper \
260260 | d10v | d30v | dlx | dsp16xx \
261 | epiphany \
262 | fido | fr30 | frv \
261 | e2k | epiphany \
262 | fido | fr30 | frv | ft32 \
263263 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
264264 | hexagon \
265265 | i370 | i860 | i960 | ia64 \
266266 | ip2k | iq2000 \
267 | k1om \
267268 | le32 | le64 \
268269 | lm32 \
269270 | m32c | m32r | m32rle | m68000 | m68k | m88k \
281282 | mips64vr5900 | mips64vr5900el \
282283 | mipsisa32 | mipsisa32el \
283284 | mipsisa32r2 | mipsisa32r2el \
285 | mipsisa32r6 | mipsisa32r6el \
284286 | mipsisa64 | mipsisa64el \
285287 | mipsisa64r2 | mipsisa64r2el \
288 | mipsisa64r6 | mipsisa64r6el \
286289 | mipsisa64sb1 | mipsisa64sb1el \
287290 | mipsisa64sr71k | mipsisa64sr71kel \
288291 | mipsr5900 | mipsr5900el \
294297 | nds32 | nds32le | nds32be \
295298 | nios | nios2 | nios2eb | nios2el \
296299 | ns16k | ns32k \
297 | open8 \
298 | or1k | or32 \
300 | open8 | or1k | or1knd | or32 \
299301 | pdp10 | pdp11 | pj | pjl \
300302 | powerpc | powerpc64 | powerpc64le | powerpcle \
303 | pru \
301304 | pyramid \
305 | riscv32 | riscv64 \
302306 | rl78 | rx \
303307 | score \
304 | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
308 | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[234]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
305309 | sh64 | sh64le \
306310 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
307311 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
309313 | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
310314 | ubicom32 \
311315 | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
316 | visium \
312317 | we32k \
313318 | x86 | xc16x | xstormy16 | xtensa \
314319 | z8k | z80)
323328 c6x)
324329 basic_machine=tic6x-unknown
325330 ;;
326 m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip)
331 leon|leon[3-9])
332 basic_machine=sparc-$basic_machine
333 ;;
334 m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip)
327335 basic_machine=$basic_machine-unknown
328336 os=-none
329337 ;;
368376 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \
369377 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
370378 | avr-* | avr32-* \
379 | ba-* \
371380 | be32-* | be64-* \
372381 | bfin-* | bs2000-* \
373382 | c[123]* | c30-* | [cjt]90-* | c4x-* \
374383 | c8051-* | clipper-* | craynv-* | cydra-* \
375384 | d10v-* | d30v-* | dlx-* \
376 | elxsi-* \
385 | e2k-* | elxsi-* \
377386 | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
378387 | h8300-* | h8500-* \
379388 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
380389 | hexagon-* \
381390 | i*86-* | i860-* | i960-* | ia64-* \
382391 | ip2k-* | iq2000-* \
392 | k1om-* \
383393 | le32-* | le64-* \
384394 | lm32-* \
385395 | m32c-* | m32r-* | m32rle-* \
399409 | mips64vr5900-* | mips64vr5900el-* \
400410 | mipsisa32-* | mipsisa32el-* \
401411 | mipsisa32r2-* | mipsisa32r2el-* \
412 | mipsisa32r6-* | mipsisa32r6el-* \
402413 | mipsisa64-* | mipsisa64el-* \
403414 | mipsisa64r2-* | mipsisa64r2el-* \
415 | mipsisa64r6-* | mipsisa64r6el-* \
404416 | mipsisa64sb1-* | mipsisa64sb1el-* \
405417 | mipsisa64sr71k-* | mipsisa64sr71kel-* \
406418 | mipsr5900-* | mipsr5900el-* \
412424 | nios-* | nios2-* | nios2eb-* | nios2el-* \
413425 | none-* | np1-* | ns16k-* | ns32k-* \
414426 | open8-* \
427 | or1k*-* \
415428 | orion-* \
416429 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
417430 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
431 | pru-* \
418432 | pyramid-* \
433 | riscv32-* | riscv64-* \
419434 | rl78-* | romp-* | rs6000-* | rx-* \
420435 | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
421436 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
422437 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
423438 | sparclite-* \
424 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
439 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx*-* \
425440 | tahoe-* \
426441 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
427442 | tile*-* \
429444 | ubicom32-* \
430445 | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
431446 | vax-* \
447 | visium-* \
432448 | we32k-* \
433449 | x86-* | x86_64-* | xc16x-* | xps100-* \
434450 | xstormy16-* | xtensa*-* \
505521 basic_machine=i386-pc
506522 os=-aros
507523 ;;
524 asmjs)
525 basic_machine=asmjs-unknown
526 ;;
508527 aux)
509528 basic_machine=m68k-apple
510529 os=-aux
624643 dpx2* | dpx2*-bull)
625644 basic_machine=m68k-bull
626645 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"
627654 ;;
628655 ebmon29k)
629656 basic_machine=a29k-amd
766793 basic_machine=m68k-isi
767794 os=-sysv
768795 ;;
796 leon-*|leon[3-9]-*)
797 basic_machine=sparc-`echo $basic_machine | sed 's/-.*//'`
798 ;;
769799 m68knommu)
770800 basic_machine=m68k-unknown
771801 os=-linux
820850 morphos)
821851 basic_machine=powerpc-unknown
822852 os=-morphos
853 ;;
854 moxiebox)
855 basic_machine=moxie-unknown
856 os=-moxiebox
823857 ;;
824858 msdos)
825859 basic_machine=i386-pc
9971031 ppc-* | ppcbe-*)
9981032 basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
9991033 ;;
1000 ppcle | powerpclittle | ppc-le | powerpc-little)
1034 ppcle | powerpclittle)
10011035 basic_machine=powerpcle-unknown
10021036 ;;
10031037 ppcle-* | powerpclittle-*)
10071041 ;;
10081042 ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
10091043 ;;
1010 ppc64le | powerpc64little | ppc64-le | powerpc64-little)
1044 ppc64le | powerpc64little)
10111045 basic_machine=powerpc64le-unknown
10121046 ;;
10131047 ppc64le-* | powerpc64little-*)
13531387 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
13541388 | -sym* | -kopensolaris* | -plan9* \
13551389 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1356 | -aos* | -aros* \
1390 | -aos* | -aros* | -cloudabi* | -sortix* \
13571391 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
13581392 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
13591393 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
1360 | -bitrig* | -openbsd* | -solidbsd* \
1394 | -bitrig* | -openbsd* | -solidbsd* | -libertybsd* \
13611395 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
13621396 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
13631397 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
13641398 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
13651399 | -chorusos* | -chorusrdb* | -cegcc* \
13661400 | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1367 | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
1401 | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
13681402 | -linux-newlib* | -linux-musl* | -linux-uclibc* \
1369 | -uxpv* | -beos* | -mpeix* | -udk* \
1403 | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \
13701404 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
13711405 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
13721406 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
13731407 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
13741408 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
13751409 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1376 | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
1410 | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \
1411 | -onefs* | -tirtos* | -phoenix* | -fuchsia*)
13771412 # Remember, each alternative MUST END IN *, to match a version number.
13781413 ;;
13791414 -qnx*)
15051540 ;;
15061541 -nacl*)
15071542 ;;
1543 -ios)
1544 ;;
15081545 -none)
15091546 ;;
15101547 *)
15891626 os=-elf
15901627 ;;
15911628 mips*-*)
1592 os=-elf
1593 ;;
1594 or1k-*)
15951629 os=-elf
15961630 ;;
15971631 or32-*)
22 Priority: optional
33 Maintainer: Kea <isc-kea@packages.debian.org>
44 Uploaders: Adam Majer <adamm@zombino.com>,
5 Ondřej Surý <ondrej@debian.org>
5 Ondřej Surý <ondrej@debian.org>,
6 Jason Guy <jason.e.guy@gmail.com>
67 Build-Depends: autotools-dev,
78 bison,
89 debhelper (>= 9),
7071 Depends: kea-common (= ${binary:Version}),
7172 lsb-base,
7273 ${misc:Depends},
73 ${shlibs:Depends}
74 ${shlibs:Depends},
75 ${python:Depends}
7476 Suggests: kea-doc
7577 Description: ISC KEA DHCP server REST API service
7678 KEA is an IPv4 and IPv6 DHCP server developed by Internet Systems Consortium.