aboutsummaryrefslogtreecommitdiff
path: root/ld/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'ld/configure.in')
-rw-r--r--ld/configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/configure.in b/ld/configure.in
index b844927..9663399 100644
--- a/ld/configure.in
+++ b/ld/configure.in
@@ -9,7 +9,7 @@ AC_CANONICAL_BUILD
AC_ISC_POSIX
changequote(,)dnl
-BFD_VERSION=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ ]*\([^ ]*\)[ ]*).*/\1/p' < ${srcdir}/../bfd/configure.in`
+BFD_VERSION=`${srcdir}/../bfd/configure --version | sed -n -e '1s,.* ,,p'`
changequote([,])dnl
AM_INIT_AUTOMAKE(ld, ${BFD_VERSION})
AM_MAINTAINER_MODE