summaryrefslogtreecommitdiff
path: root/gprof/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'gprof/configure.in')
-rw-r--r--gprof/configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/gprof/configure.in b/gprof/configure.in
index 631e3e4673..5481fd4ae8 100644
--- a/gprof/configure.in
+++ b/gprof/configure.in
@@ -7,7 +7,7 @@ AC_CANONICAL_TARGET([])
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(gprof, ${BFD_VERSION})