[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
support for AM_CPPFLAGS
From: |
Claudio Fontana |
Subject: |
support for AM_CPPFLAGS |
Date: |
Sat, 4 Mar 2006 05:54:46 -0500 |
User-agent: |
Mutt/1.5.6+20040907i |
Hello,
while trying to improve current support in gnulib for internal gettext,
I produced this patch, which I use successfully in the packages I
maintain to support per-package additions to AM_CPPFLAGS.
The patch is a unified p1 diff.
I suggest this for inclusion in the gnulib CVS.
CLaudio
diff -Naur gnulib/ChangeLog gnulib-new/ChangeLog
--- gnulib/ChangeLog 2006-01-30 17:13:01.000000000 +0100
+++ gnulib-new/ChangeLog 2006-01-30 17:07:27.000000000 +0100
@@ -1,3 +1,9 @@
+2006-01-30 Claudio Fontana <address@hidden>
+
+ * gnulib-tool (func_emit_lib_Makefile_am): emit AM_CPPFLAGS=
+ so modules can add to the AM_CPPFLAGS.
+ * modules/gettext: add intl directory to the AM_CPPFLAGS
+
2006-01-26 Bruno Haible <address@hidden>
* gnulib-tool (func_import): Use "trap 'exit $?' instead of "trap :".
diff -Naur gnulib/gnulib-tool gnulib-new/gnulib-tool
--- gnulib/gnulib-tool 2006-01-30 17:13:01.000000000 +0100
+++ gnulib-new/gnulib-tool 2006-01-30 17:06:56.000000000 +0100
@@ -732,6 +732,7 @@
echo
echo "${libname}_${libext}_SOURCES ="
echo "${libname}_${libext}_LIBADD = @${perhapsLT}LIBOBJS@"
+ echo "AM_CPPFLAGS ="
echo "noinst_HEADERS ="
echo "EXTRA_DIST ="
echo "BUILT_SOURCES ="
diff -Naur gnulib/modules/gettext gnulib-new/modules/gettext
--- gnulib/modules/gettext 2006-01-30 17:13:01.000000000 +0100
+++ gnulib-new/modules/gettext 2006-01-30 17:13:54.000000000 +0100
@@ -39,6 +39,7 @@
AM_GNU_GETTEXT_VERSION([0.14.5])
Makefile.am:
+AM_CPPFLAGS += -I$(top_builddir)/intl
Include:
"gettext.h"
gnulib.am_cppflags.p1.udiff
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- support for AM_CPPFLAGS,
Claudio Fontana <=