$NetBSD: patch-aa,v 1.7 2006/03/07 04:15:22 joerg Exp $

--- configure.orig	2006-03-07 02:34:46.000000000 +0000
+++ configure
@@ -21790,17 +21790,13 @@ cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 
 /* Override any gcc2 internal prototype to avoid an error.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
-   builtin and then its argument prototype would still apply.  */
-char dgettext ();
+#include <libintl.h>
+
 int
 main ()
 {
-dgettext ();
-  ;
+dgettext ("", "");
+
   return 0;
 }
 _ACEOF
