$NetBSD: patch-aa,v 1.8 2006/10/06 20:29:11 adam Exp $

--- configure.orig	2006-09-07 09:21:37.000000000 +0200
+++ configure
@@ -20883,17 +20883,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
