summaryrefslogtreecommitdiffstats
path: root/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'autogen.sh')
-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