@ -29,28 +29,6 @@ DIE=0
}
}
grep "^AM_GNU_GETTEXT" $srcdir /configure.in >/dev/null && {
grep "sed.*POTFILES" $srcdir /configure.in >/dev/null || \
( gettext --version) < /dev/null > /dev/null 2>& 1 || {
echo
echo "**Error**: You must have \`gettext' installed."
echo "Get ftp://alpha.gnu.org/gnu/gettext-0.10.35.tar.gz"
echo "(or a newer version if it is available)"
DIE = 1
}
}
grep "^AM_GNOME_GETTEXT" $srcdir /configure.in >/dev/null && {
grep "sed.*POTFILES" $srcdir /configure.in >/dev/null || \
( gettext --version) < /dev/null > /dev/null 2>& 1 || {
echo
echo "**Error**: You must have \`gettext' installed."
echo "Get ftp://alpha.gnu.org/gnu/gettext-0.10.35.tar.gz"
echo "(or a newer version if it is available)"
DIE = 1
}
}
( automake --version) < /dev/null > /dev/null 2>& 1 || {
echo
echo "**Error**: You must have \`automake' installed."
@ -104,26 +82,6 @@ do
## echo "**Warning**: No such directory \`$k'. Ignored."
fi
done
if grep "^AM_GNU_GETTEXT" configure.in >/dev/null; then
if grep "sed.*POTFILES" configure.in >/dev/null; then
: do nothing -- we still have an old unmodified configure.in
else
echo " Creating $dr /aclocal.m4 ... "
test -r $dr /aclocal.m4 || touch $dr /aclocal.m4
echo "Running gettextize... Ignore non-fatal messages."
echo "no" | setup-gettext.sh
echo " Making $dr /aclocal.m4 writable ... "
test -r $dr /aclocal.m4 && chmod u+w $dr /aclocal.m4
fi
fi
if grep "^AM_GNOME_GETTEXT" configure.in >/dev/null; then
echo " Creating $dr /aclocal.m4 ... "
test -r $dr /aclocal.m4 || touch $dr /aclocal.m4
echo "Running gettextize... Ignore non-fatal messages."
echo "no" | setup-gettext.sh
echo " Making $dr /aclocal.m4 writable ... "
test -r $dr /aclocal.m4 && chmod u+w $dr /aclocal.m4
fi
if grep "^AM_PROG_LIBTOOL" configure.in >/dev/null; then
echo "Running libtoolize..."
libtoolize --force --copy || abort "libtoolize"