]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
src-release.sh: Use configure.ac instead of configure.in
authorWill Newton <will.newton@linaro.org>
Mon, 5 Jan 2015 16:29:56 +0000 (16:29 +0000)
committerWill Newton <will.newton@linaro.org>
Mon, 5 Jan 2015 16:29:56 +0000 (16:29 +0000)
src-release.sh

index 528de9401905af6b7a6c064ca85bf0eb64c67764..f46204f4cf63842de15a3eeb319e2f0b41d58f4d 100755 (executable)
@@ -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