aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2013-02-05 21:36:22 +0100
committerLukas Fleischer <calcurse@cryptocrack.de>2013-02-05 21:37:01 +0100
commitb3280b8bca86dedfe4018584a4d83d7bff2dfd7c (patch)
treeb42e476121de10b828808850cbafb8f8163b3ce8
parenta7944d335e9d005e6bbf6f521a5216f98318a131 (diff)
downloadcalcurse-b3280b8bca86dedfe4018584a4d83d7bff2dfd7c.tar.gz
calcurse-b3280b8bca86dedfe4018584a4d83d7bff2dfd7c.zip
Do not ignore "--datarootdir" in "po/Makefile.in.in"
This fixes the "--datarootdir" warning seen with autotools >=2.59c. Note that this is a workaround for a bug in autopoint(1). Inspired by util-linux commit cc3c3fdd29719883605687fc0d11391386ab46c6. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
-rwxr-xr-xautogen.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index 4323159..321876d 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -30,6 +30,11 @@
#
autopoint --force
+if ! grep -F -q datarootdir po/Makefile.in.in
+then
+ sed -i '/^datadir =/i\
+datarootdir = @datarootdir@\' po/Makefile.in.in
+fi
aclocal -I m4
autoheader
automake --foreign --copy --add-missing