Patch #752671: NetBSD needs to link libintl to _locale.so.
diff --git a/pyconfig.h.in b/pyconfig.h.in
index 2f14b84..e0e2f5b 100644
--- a/pyconfig.h.in
+++ b/pyconfig.h.in
@@ -781,6 +781,9 @@
    Dyld is necessary to support frameworks. */
 #undef WITH_DYLD
 
+/* Define to 1 if libintl is needed for locale functions. */
+#undef WITH_LIBINTL
+
 /* Define if you want to produce an OpenStep/Rhapsody framework (shared
    library plus accessory files). */
 #undef WITH_NEXT_FRAMEWORK