summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorSami Kerola <kerolasa@iki.fi>2011-10-08 21:14:21 +0200
committerSami Kerola <kerolasa@iki.fi>2011-12-20 17:17:03 +0100
commita220ba6770147cc3f22cadf66f00cc9ffa5bed40 (patch)
tree73f738cb7cea72fa9a1abd5ad5a8735626d7327e /autogen.sh
parent7393599f73fb58d6d91b4753a1cb568fe82e4ee0 (diff)
downloadprocps-ng-a220ba6770147cc3f22cadf66f00cc9ffa5bed40.tar.gz
build-sys: add NLS support
Add GNU gettext internationalization and localization support. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index b42f57b..4e3d499 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -54,6 +54,13 @@ echo " libtoolize: $(libtoolize --version | head -1)"
rm -rf autom4te.cache
set -e
+po/update-potfiles
+autopoint --force $AP_OPTS
+if ! grep -q datarootdir po/Makefile.in.in; then
+ echo autopoint does not honor dataroot variable, patching.
+ sed -i -e 's/^datadir *=\(.*\)/datarootdir = @datarootdir@\
+datadir = @datadir@/g' po/Makefile.in.in
+fi
libtoolize --force ${LT_OPTS}
aclocal -I m4 ${AL_OPTS}
autoconf ${AC_OPTS}