From 522c62d3cc0d5f7cafec3b849574273dfe1f4aff Mon Sep 17 00:00:00 2001 From: alexpeshkoff Date: Fri, 18 Oct 2013 12:35:55 +0000 Subject: [PATCH] Avoid duplicated version check --- autogen.sh | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/autogen.sh b/autogen.sh index 1503d4ee23..693f2c8dd1 100755 --- a/autogen.sh +++ b/autogen.sh @@ -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."