Create "config" directory before running gettextize - new

gettextize (0.11.x) requires it.
This commit is contained in:
Pavel Roskin 2002-05-14 17:00:22 +00:00
parent 3098fbaf41
commit 0c19dfcc35
1 changed files with 4 additions and 4 deletions

View File

@ -17,6 +17,10 @@ cd $srcdir
# The autoconf cache (version after 2.52) is not reliable yet.
rm -rf autom4te.cache vfs/samba/autom4te.cache
if test ! -d config; then
mkdir config || exit 1
fi
# Ensure that gettext is reasonably new.
gettext_ver=`$GETTEXTIZE --version | sed -n '1s/\.//g;1s/.* //;1s/^\(...\)$/\100/;1s/^\(...\)\(.\)$/\10\2/;1p'`
if test $gettext_ver -lt 01038; then
@ -65,10 +69,6 @@ else
fi
fi
if test ! -d config; then
mkdir config || exit 1
fi
rm -f aclocal.m4
if test -f `aclocal --print-ac-dir`/gettext.m4; then
: # gettext macro files are available to aclocal.