config.h is not getting included before gettext.h in a few places, so 
the !ENABLE_NLS definitions get used even if NLS is enabled.

--- libidn-0.6.2/lib/strerror-punycode.c.configdoth
+++ libidn-0.6.2/lib/strerror-punycode.c
@@ -19,6 +19,10 @@
  *
  */
 
+#if HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include "punycode.h"
 
 #include "gettext.h"
--- libidn-0.6.2/lib/strerror-idna.c.configdoth
+++ libidn-0.6.2/lib/strerror-idna.c
@@ -19,6 +19,10 @@
  *
  */
 
+#if HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include "idna.h"
 
 #include "gettext.h"
--- libidn-0.6.2/lib/strerror-tld.c.configdoth
+++ libidn-0.6.2/lib/strerror-tld.c
@@ -19,6 +19,10 @@
  *
  */
 
+#if HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include "tld.h"
 
 #include "gettext.h"
--- libidn-0.6.2/lib/strerror-pr29.c.configdoth
+++ libidn-0.6.2/lib/strerror-pr29.c
@@ -19,6 +19,10 @@
  *
  */
 
+#if HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include "pr29.h"
 
 #include "gettext.h"
--- libidn-0.6.2/lib/strerror-stringprep.c.configdoth
+++ libidn-0.6.2/lib/strerror-stringprep.c
@@ -19,6 +19,10 @@
  *
  */
 
+#if HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include "stringprep.h"
 
 #include "gettext.h"



_______________________________________________
Help-libidn mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-libidn

Reply via email to