$NetBSD: patch-configure,v 1.1.2.2 2017/07/10 19:42:10 bsiegert Exp $

Regenerate for PDNS_CHECK_OS fix.

--- configure.orig	2017-07-02 23:26:02.024754888 +0000
+++ configure
@@ -15885,17 +15885,14 @@ fi
 
   case "$host" in
   mips* | powerpc* )
-    as_CACHEVAR=`$as_echo "ax_cv_check_ldflags_cannot continue" "$LINENO" 5
-    _-latomic" | $as_tr_sh`
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -latomic" >&5
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -latomic" >&5
 $as_echo_n "checking whether the linker accepts -latomic... " >&6; }
-if eval \${$as_CACHEVAR+:} false; then :
+if ${ax_cv_check_ldflags___latomic+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
   ax_check_save_flags=$LDFLAGS
-  LDFLAGS="$LDFLAGS cannot continue" "$LINENO" 5
-     -latomic"
+  LDFLAGS="$LDFLAGS  -latomic"
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
@@ -15908,24 +15905,23 @@ main ()
 }
 _ACEOF
 if ac_fn_cxx_try_link "$LINENO"; then :
-  eval "$as_CACHEVAR=yes"
+  ax_cv_check_ldflags___latomic=yes
 else
-  eval "$as_CACHEVAR=no"
+  ax_cv_check_ldflags___latomic=no
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext conftest.$ac_ext
   LDFLAGS=$ax_check_save_flags
 fi
-eval ac_res=\$$as_CACHEVAR
-	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-$as_echo "$ac_res" >&6; }
-if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
-   :
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___latomic" >&5
+$as_echo "$ax_cv_check_ldflags___latomic" >&6; }
+if test "x$ax_cv_check_ldflags___latomic" = xyes; then :
+  LDFLAGS="-latomic $LDFLAGS"
+      as_fn_error $? "Unable to link against libatomic, cannot continue" "$LINENO" 5
 else
-  as_fn_error $? "Unable to link against libatomic
+  :
 fi
 
-    LDFLAGS="-latomic $LDFLAGS"
     ;;
   esac
 
