8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 20:03:02 +01:00

Avoid duplicated version check

This commit is contained in:
alexpeshkoff 2013-10-18 12:35:55 +00:00
parent 94de1d7003
commit 522c62d3cc

View File

@ -5,7 +5,6 @@
PKG_NAME=Firebird3
SRCDIR=`dirname $0`
DIE=0
if [ -z "$AUTORECONF" ]
then
@ -22,25 +21,6 @@ export AUTOMAKE
ACLOCAL='aclocal -I .'
export ACLOCAL
VER=`$AUTORECONF --version|grep '^[Aa]utoreconf'|sed 's/^[^0-9]*//'`
case "$VER" in
0* | 1\.* | 2\.[0-9] | 2\.[0-9][a-z]* | \
2\.[1-5][0-9] | 2\.[1-5][0-9][a-z]* | 2\.6[0-8] | 2\.6[0-8][a-z]* )
echo
echo "**Error**: You must have autoconf 2.69 or later installed."
echo "Download the appropriate package for your distribution/OS,"
echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/autoconf/"
DIE=1
;;
esac
# Put other tests for programs here!
# If anything failed, exit now.
if test "$DIE" -eq 1; then
exit 1
fi
# Give a warning if no arguments to 'configure' have been supplied.
if test -z "$*" -a x$NOCONFIGURE = x; then
echo "**Warning**: I am going to run \`configure' with no arguments."