(Sorry if this is a dupe, didn't see it delivered.) The gettext module brings in the proper -I's to make gettext calls work, but doesn't bring in the library. On mingw, it isn't sufficient to add -lintl when I use the gnulib library, it has to be specified when the gnulib library is linked. The patch seems to work fine for me.
2006-06-16 Simon Josefsson <[EMAIL PROTECTED]> * modules/gettext (Makefile.am): Link to libintl when necessary. Index: modules/gettext =================================================================== RCS file: /sources/gnulib/gnulib/modules/gettext,v retrieving revision 1.13 diff -u -p -r1.13 gettext --- modules/gettext 24 Apr 2006 11:35:07 -0000 1.13 +++ modules/gettext 16 Jun 2006 16:09:11 -0000 @@ -48,6 +48,12 @@ Makefile.am: # directory contains no libintl.h file) or when the project does not use # "gettextize --intl". AM_CPPFLAGS += -I$(top_builddir)/intl +# We also need to link to libintl, if needed. +if GL_COND_LIBTOOL +lib_LIBADD += $(LTLIBINTL) +else +lib_LIBADD += $(LIBINTL) +endif Include: "gettext.h"