mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 22:43:03 +01:00
Avoid duplicated version check
This commit is contained in:
parent
94de1d7003
commit
522c62d3cc
20
autogen.sh
20
autogen.sh
@ -5,7 +5,6 @@
|
|||||||
|
|
||||||
PKG_NAME=Firebird3
|
PKG_NAME=Firebird3
|
||||||
SRCDIR=`dirname $0`
|
SRCDIR=`dirname $0`
|
||||||
DIE=0
|
|
||||||
|
|
||||||
if [ -z "$AUTORECONF" ]
|
if [ -z "$AUTORECONF" ]
|
||||||
then
|
then
|
||||||
@ -22,25 +21,6 @@ export AUTOMAKE
|
|||||||
ACLOCAL='aclocal -I .'
|
ACLOCAL='aclocal -I .'
|
||||||
export ACLOCAL
|
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.
|
# Give a warning if no arguments to 'configure' have been supplied.
|
||||||
if test -z "$*" -a x$NOCONFIGURE = x; then
|
if test -z "$*" -a x$NOCONFIGURE = x; then
|
||||||
echo "**Warning**: I am going to run \`configure' with no arguments."
|
echo "**Warning**: I am going to run \`configure' with no arguments."
|
||||||
|
Loading…
Reference in New Issue
Block a user