summaryrefslogtreecommitdiff
path: root/gprof/configure
diff options
context:
space:
mode:
Diffstat (limited to 'gprof/configure')
-rwxr-xr-xgprof/configure2
1 files changed, 1 insertions, 1 deletions
diff --git a/gprof/configure b/gprof/configure
index 6ffdbe30ce..9f3be18964 100755
--- a/gprof/configure
+++ b/gprof/configure
@@ -3147,7 +3147,7 @@ if test "$ac_res" != no; then :
fi
-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'`
am__api_version='1.11'
# Find a good install program. We prefer a C program (faster),