--- build-aux/config.guess.orig 2016-09-18 02:50:39.183754000 +0200 +++ build-aux/config.guess 2016-09-18 02:52:14.192529000 +0200 @@ -141,6 +141,15 @@ # 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) + echo x86_64-unknown-bsdsunix`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + *) + echo ${UNAME_PROCESSOR}-unknown-bsdsunix`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; + esac + exit ;; *:NetBSD:*:*) # NetBSD (nbsd) targets should (where applicable) match one or # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,