$NetBSD: patch-configure,v 1.3 2018/01/02 12:23:55 fhajny Exp $

Regen after excluding -latomic test on NetBSD.

--- configure.orig	2017-12-04 12:51:13.000000000 +0000
+++ configure
@@ -15944,9 +15944,14 @@ else
 fi
 
 
-  case "$host" in
-  mips* | powerpc-* )
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -latomic" >&5
+  case "$host_os" in
+  netbsd*)
+    : # no -latomic
+    ;;
+  *)
+    case "$host" in
+    mips* | powerpc-* )
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -latomic" >&5
 $as_echo_n "checking whether the linker accepts -latomic... " >&6; }
     LDFLAGS="-latomic $LDFLAGS"
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -15968,7 +15973,9 @@ else
 
 fi
 rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
+      conftest$ac_exeext conftest.$ac_ext
+      ;;
+    esac
     ;;
   esac
 
