1
mirror of https://code.videolan.org/videolan/vlc synced 2024-10-07 03:56:28 +02:00

Couldn't bootstrap properly if a number existed anywhere in the path

to gettextize (eg. if I was building inside a directory called win32)
This commit is contained in:
Bernie Purcell 2007-09-24 05:30:51 +00:00
parent 46d0c69a89
commit 68456f6755

View File

@ -116,7 +116,7 @@ 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