+2006-04-23 Claudio Fontana <claudio@gnu.org>
+ Bruno Haible <bruno@clisp.org>
+
+ * modules/gettext (Makefile.am): Add a -I flag for <libintl.h>.
+ * gnulib-tool (func_emit_lib_Makefile_am): Emit empty default value
+ for AM_CPPFLAGS.
+
2006-04-23 Bruno Haible <bruno@clisp.org>
* gnulib-tool (func_usage): Fix --import description. Document --update.
progname=$0
package=gnulib
-cvsdatestamp='$Date: 2006-04-24 11:30:00 $'
+cvsdatestamp='$Date: 2006-04-24 11:35:07 $'
last_checkin_date=`echo "$cvsdatestamp" | sed -e 's,^\$[D]ate: ,,'`
version=`echo "$last_checkin_date" | sed -e 's/ .*$//' -e 's,/,-,g'`
echo "DISTCLEANFILES ="
echo "MAINTAINERCLEANFILES ="
echo
+ echo "AM_CPPFLAGS ="
+ echo
for module in $modules; do
func_verify_nontests_module
if test -n "$module"; then
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"