summaryrefslogtreecommitdiff
path: root/modules/gettext
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2006-04-24 11:35:07 +0000
committerBruno Haible <bruno@clisp.org>2006-04-24 11:35:07 +0000
commit69494ad3b91249fea9a8d913f566a5172cd83093 (patch)
treeb586dd59a5bf92ebd43c62ef02e8f3d2c1368985 /modules/gettext
parent314edd07026d8fab01c31fb91b5375ee25802440 (diff)
downloadgnulib-69494ad3b91249fea9a8d913f566a5172cd83093.tar.gz
Support for packages that use "gettextize --intl". From Claudio Fontana.
Diffstat (limited to 'modules/gettext')
-rw-r--r--modules/gettext9
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/gettext b/modules/gettext
index b8f03da6b6..af3aa435fc 100644
--- a/modules/gettext
+++ b/modules/gettext
@@ -39,6 +39,15 @@ AM_GNU_GETTEXT([external])
AM_GNU_GETTEXT_VERSION([0.14.5])
Makefile.am:
+# This is for those projects which use "gettextize --intl" to put a source-code
+# copy of libintl into their package. In such projects, every Makefile.am needs
+# -I$(top_builddir)/intl, so that <libintl.h> can be found in this directory.
+# For the Makefile.ams in other directories it is the maintainer's
+# responsibility; for the one from gnulib we do it here.
+# This option has no effect when the user disables NLS (because then the intl
+# directory contains no libintl.h file) or when the project does not use
+# "gettextize --intl".
+AM_CPPFLAGS += -I$(top_builddir)/intl
Include:
"gettext.h"