--- configure.orig 2014-10-14 07:32:02 UTC +++ configure @@ -2957,7 +2957,7 @@ case "${ENABLE_GOLD}" in case "${target}" in *-*-elf* | *-*-sysv4* | *-*-unixware* | *-*-eabi* | hppa*64*-*-hpux* \ | *-*-linux* | *-*-gnu* | frv-*-uclinux* | *-*-irix5* | *-*-irix6* \ - | *-*-netbsd* | *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* \ + | *-*-netbsd* | *-*-openbsd* | *-*-bsdsunix* | *-*-freebsd* | *-*-dragonfly* \ | *-*-solaris2* | *-*-nto* | *-*-nacl*) case "${target}" in *-*-linux*aout* | *-*-linux*oldld*) @@ -3137,7 +3137,7 @@ if test x$enable_libgomp = x ; then case "${target}" in *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu) ;; - *-*-netbsd* | *-*-freebsd* | *-*-openbsd* | *-*-dragonfly*) + *-*-netbsd* | *-*-bsdsunix* | *-*-freebsd* | *-*-openbsd* | *-*-dragonfly*) ;; *-*-solaris2* | *-*-hpux11*) ;; @@ -3333,6 +3333,10 @@ case "${target}" in ;; powerpc-*-aix* | rs6000-*-aix*) ;; + powerpc-*-bsdsunix*) + ;; + powerpc64-*-bsdsunix*) + ;; powerpc-*-freebsd*) ;; powerpc64-*-freebsd*) @@ -3538,6 +3542,9 @@ case "${target}" in *-*-dragonfly*) noconfigdirs="$noconfigdirs target-newlib target-libgloss" ;; + *-*-bsdsunix*) + noconfigdirs="$noconfigdirs target-newlib target-libgloss" + ;; *-*-freebsd*) noconfigdirs="$noconfigdirs target-newlib target-libgloss" ;; @@ -3588,6 +3595,12 @@ case "${target}" in ;; *-*-dragonfly*) ;; + *-*-bsdsunix*) + if test "x$with_gmp" = x && test "x$with_gmp_dir" = x \ + && test -f /usr/local/include/gmp.h; then + with_gmp=/usr/local + fi + ;; *-*-freebsd*) if test "x$with_gmp" = x && test "x$with_gmp_dir" = x \ && test -f /usr/local/include/gmp.h; then