summaryrefslogtreecommitdiff
path: root/opcodes/configure
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes/configure')
-rwxr-xr-xopcodes/configure2
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/configure b/opcodes/configure
index dbfca48171..7e9461511c 100755
--- a/opcodes/configure
+++ b/opcodes/configure
@@ -3215,7 +3215,7 @@ fi
# We currently only use the version number for the name of any shared
# library. For user convenience, we always use the same version
# number that BFD is using.
-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'