]> git.sesse.net Git - vlc/blobdiff - bootstrap
Temporary change to try to force altair to update its version of gettext
[vlc] / bootstrap
index af4224432b450d226e4a21aa320cf94059e01cc6..430f9c609d3101dc8deb4112ebed4848c98039ea 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -116,11 +116,14 @@ fi
 # Check for gettext
 if gettextize --version >/dev/null 2>&1; then
 # Autopoint is available from 0.11.3, but we need 0.11.5
-if expr `gettextize --version | sed -e '1s/[^0-9]*//' -e q` \
+if expr `gettextize --version |cut -d' ' -f2- | sed -e '1s/[^0-9]*//' -e q` \
         '>=' 0.11.5 >/dev/null 2>&1; then
   # We have gettext, and a recent version! Everything is cool.
   autopoint=autopoint
   GETTEXT=yes
+  if test `which autopoint` = "/home/buildslave/slave/win32-trunk-contrib/build/extras/contrib/bin/autopoint"; then
+    (cd extras/contrib/src ; rm -rf gettext .gettext ; make gettext && make .intl)
+  fi
 else
   # User's gettext is too old. try to continue anyway.
   autopoint=: