changeset 1787:886746a02b5e

Workaround intltoolize 0.40.6 bug related to LINGUAS, see bug 2817602.
author zas_
date Sat, 09 Jan 2010 11:44:27 +0000
parents c00b59265ddb
children 6a88c55c6f68
files autogen.sh
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/autogen.sh	Sat Jan 09 10:37:48 2010 +0000
+++ b/autogen.sh	Sat Jan 09 11:44:27 2010 +0000
@@ -107,6 +107,10 @@
 	  echo "no" | glib-gettextize --force --copy
 	  echo "Running intltoolize"
 	  intltoolize --copy --force --automake
+	  if intltoolize --version | grep -q ' 0.40.6'; then
+		  echo "Workaround intltoolize 0.40.6 bug (LINGUAS)"
+		  sed "s:'\^\$\$lang\$\$':\^\$\$lang\$\$:g" -i po/Makefile.in.in
+	  fi
 	  echo "Making $dr/aclocal.m4 writable ..."
 	  test -r $dr/aclocal.m4 && chmod u+w $dr/aclocal.m4
         fi