From: Will Newton Date: Mon, 5 Jan 2015 16:29:56 +0000 (+0000) Subject: src-release.sh: Use configure.ac instead of configure.in X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=301e31af5fc684c2bf19fe33c4567841816c7ce6;p=thirdparty%2Fbinutils-gdb.git src-release.sh: Use configure.ac instead of configure.in --- diff --git a/src-release.sh b/src-release.sh index 528de940190..f46204f4cf6 100755 --- a/src-release.sh +++ b/src-release.sh @@ -56,7 +56,7 @@ ETC_SUPPORT="Makefile.in configure configure.in standards.texi \ getver() { tool=$1 - if grep 'AM_INIT_AUTOMAKE.*BFD_VERSION' $tool/configure.in >/dev/null 2>&1; then + if grep 'AC_INIT.*BFD_VERSION' $tool/configure.ac >/dev/null 2>&1; then bfdver=$(bfd/configure --version | sed -n -e '1s,.* ,,p'); linarover=$(sed < bfd/version.h -n 's/.*Linaro \([^ ]*\) ".*/-\1/p'); echo -n $bfdver; echo $linarover; elif test -f $tool/common/create-version.sh; then $tool/common/create-version.sh $tool 'dummy-host' 'dummy-target' VER.tmp