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>
This commit is contained in:
Lukas Fleischer 2013-02-05 21:36:22 +01:00
parent a7944d335e
commit b3280b8bca

View File

@ -30,6 +30,11 @@
# #
autopoint --force 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 aclocal -I m4
autoheader autoheader
automake --foreign --copy --add-missing automake --foreign --copy --add-missing