--- config.guess.orig 2020-03-04 19:29:59.000000000 +1100 +++ config.guess 2020-09-07 16:33:05.562080000 +1000 @@ -156,6 +156,16 @@ # Note: order is significant - the case branches are not exclusive. case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in + *:BSDSUnIX:*:*) + UNAME_PROCESSOR=`/usr/bin/uname -p` + case ${UNAME_PROCESSOR} in + amd64) + UNAME_PROCESSOR=x86_64 ;; + i386) + UNAME_PROCESSOR=i586 ;; + esac + echo ${UNAME_PROCESSOR}-unknown-bsdsunix`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` + exit ;; *:NetBSD:*:*) # NetBSD (nbsd) targets should (where applicable) match one or # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,