Updated the autotools check to handle the libtool 2.1a version string.
This commit was SVN r12557.
Этот коммит содержится в:
родитель
40834fd0c8
Коммит
37b72d03cd
6
contrib/dist/make_dist_tarball
поставляемый
6
contrib/dist/make_dist_tarball
поставляемый
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
#
|
||||||
# Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
|
# Copyright (c) 2004-2006 The Trustees of Indiana University and Indiana
|
||||||
# University Research and Technology
|
# University Research and Technology
|
||||||
# Corporation. All rights reserved.
|
# Corporation. All rights reserved.
|
||||||
# Copyright (c) 2004-2005 The University of Tennessee and The University
|
# Copyright (c) 2004-2005 The University of Tennessee and The University
|
||||||
@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
AM_TARGET_VERSION=1.9.6
|
AM_TARGET_VERSION=1.9.6
|
||||||
AC_TARGET_VERSION=2.59
|
AC_TARGET_VERSION=2.59
|
||||||
LT_TARGET_VERSION=1.5.22
|
LT_TARGET_VERSION=2.1a
|
||||||
|
|
||||||
#
|
#
|
||||||
# First things first -- check that the auto versions that we have are
|
# First things first -- check that the auto versions that we have are
|
||||||
@ -34,7 +34,7 @@ check_gnu_version() {
|
|||||||
prog="$1"
|
prog="$1"
|
||||||
target="$2"
|
target="$2"
|
||||||
|
|
||||||
ver="`$prog --version | head -n 1 | cut -d\ -f 4`"
|
ver="`$prog --version | head -n 1 | sed -e's/([^)]*)//g' -e's/[^0-9 .][^ ]* / /g' -e's/ //g'`"
|
||||||
if test "$ver" != "$target"; then
|
if test "$ver" != "$target"; then
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
ERROR: Program "$prog" does not have the correct/expected version:
|
ERROR: Program "$prog" does not have the correct/expected version:
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user