lrzsz: fix autoheader warning due to missing AC_DEFINE template

(From OE-Core rev: 5eb90ef508b041dcae5a16b9696d3688659b8f39)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton 2014-05-31 01:11:54 +01:00 committed by Richard Purdie
parent 32111c42b7
commit fd4a918d88
2 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,19 @@
Add a description to the AC_DEFINE for LOCALEDIR so that it appears in config.h
and silences a fatal warning.
Upstream-Status:Pending
Signed-off-by: Ross Burton <ross.burton@intel.com>
diff --git a/configure.in b/configure.in
index c10460c..aa20263 100644
--- a/configure.in
+++ b/configure.in
@@ -258,7 +258,7 @@ AC_SUBST(LIBS)
AM_GNU_GETTEXT
-AC_DEFINE_UNQUOTED(LOCALEDIR,"$prefix/$DATADIRNAME")
+AC_DEFINE_UNQUOTED(LOCALEDIR,"$prefix/$DATADIRNAME",[locale directory])
AC_OUTPUT([Makefile intl/Makefile lib/Makefile testsuite/Makefile m4/Makefile \
man/Makefile po/Makefile.in src/Makefile debian/rules Specfile systype \

View File

@ -16,6 +16,7 @@ SRC_URI = "http://www.ohse.de/uwe/releases/lrzsz-${PV}.tar.gz \
file://autotools.patch \
file://makefile.patch \
file://gettext.patch \
file://acdefine.patch \
file://lrzsz_fix_for_automake-1.12.patch \
file://lrzsz-check-locale.h.patch \
"