mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-06-11 07:44:12 +02:00
If gettext is not installed, eautoreconf breaks the package. Embed required m4 files to fix this. Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
25 lines
616 B
Diff
25 lines
616 B
Diff
This package does not contain the m4 macros from gettext, so if gettext is not
|
|
installed the macros are lost when running eautoreconf.
|
|
|
|
Embed the required m4 files and add the directory to configure.ac.
|
|
|
|
--- a/Makefile.am
|
|
+++ b/Makefile.am
|
|
@@ -5,6 +5,7 @@
|
|
noinst_SCRIPTS=systype
|
|
PR=@PACKAGE@-@VERSION@
|
|
CLEAN_FILES=fastcheck.done
|
|
+AC_CONFIG_MACRO_DIR=-I m4
|
|
|
|
dist-hook:
|
|
mkdir $(distdir)/debian
|
|
--- a/configure.in
|
|
+++ b/configure.in
|
|
@@ -3,6 +3,7 @@
|
|
AC_INIT(src/crctab.c)
|
|
AM_INIT_AUTOMAKE(lrzsz, 0.12.20)
|
|
AC_CONFIG_HEADERS([config.h])
|
|
+AC_CONFIG_MACRO_DIR([m4])
|
|
|
|
|
|
dnl AC_C_CROSS is in AC_PROG_CC since 2.12
|