Commit 206fe3c1 authored by Sam Hocevar's avatar Sam Hocevar

* bootstrap: make errors less obscure when using gettext 0.11.3 or 0.11.4,

    due to Debian bug #158383 in gettext (upstream bug).
parent 43ccd1f0
#! /bin/sh #! /bin/sh
## bootstrap file for the VLC media player ## bootstrap file for the VLC media player
## $Id: bootstrap,v 1.50 2003/06/21 20:45:53 sam Exp $ ## $Id: bootstrap,v 1.51 2003/06/23 10:21:25 sam Exp $
## ##
## Authors: Samuel Hocevar <sam@zoy.org> ## Authors: Samuel Hocevar <sam@zoy.org>
...@@ -187,8 +187,9 @@ rm -Rf intl ...@@ -187,8 +187,9 @@ rm -Rf intl
# Check for gettext # Check for gettext
if gettextize --version >/dev/null 2>&1 if gettextize --version >/dev/null 2>&1
then 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 | sed -e '1s/[^0-9]*//' -e q` \
'>' 0.11.2 >/dev/null 2>&1 '>=' 0.11.5 >/dev/null 2>&1
then then
# We have gettext, and a recent version! Everything is cool. # We have gettext, and a recent version! Everything is cool.
autopoint || exit 1 autopoint || exit 1
...@@ -340,7 +341,7 @@ EOF ...@@ -340,7 +341,7 @@ EOF
NOTE: you have an old version of gettext installed on your NOTE: you have an old version of gettext installed on your
system. The vlc build will work, but if your system does not system. The vlc build will work, but if your system does not
have libintl you will not have internationalization support. have libintl you will not have internationalization support.
We suggest upgrading to gettext 0.11.3 or later. We suggest upgrading to gettext 0.11.5 or later.
EOF EOF
;; ;;
esac esac
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment