diff options
Diffstat (limited to 'scripts/autogen.sh')
-rwxr-xr-x | scripts/autogen.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/autogen.sh b/scripts/autogen.sh index 215818965..6df5413d3 100755 --- a/scripts/autogen.sh +++ b/scripts/autogen.sh @@ -20,7 +20,8 @@ aclocal_vers=1.5 DIE=no if test "$1" = "--build-w32"; then - tsdir=$(cd `dirname $0`; cd ..; pwd) + tmp=`dirname $0` + tsdir=`cd "$tmp"`; cd ..; pwd) shift host=i386--mingw32 if [ ! -f $tsdir/scripts/config.guess ]; then @@ -116,7 +117,7 @@ else fi -if (gettext --version </dev/null 2>/dev/null | awk 'NR==1 { split($4,A,"\."); \ +if (gettext --version </dev/null 2>/dev/null | awk 'NR==1 { split($4,A,"."); \ X=10000*A[1]+100*A[2]+A[3]; echo X; if( X >= 1038 ) exit 1; exit 0}') then echo "**Error**: You must have "\`gettext\'" installed to compile $PGM." |