summaryrefslogtreecommitdiff
path: root/gprof/configure
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-07-27 16:30:57 +0000
committerMike Frysinger <vapier@gentoo.org>2012-07-27 16:30:57 +0000
commitc4dd807e7bd468289a05d8af2d6cde45d727893b (patch)
tree997cd50308dde6d61fabc28e9c5ae4e5523b66d7 /gprof/configure
parenta8a64aa848820a3143319ad3bce00d1a2f815cc5 (diff)
bfd: update to AC_INIT
Move the package name/version from AM_INIT_AUTOMAKE to AC_INIT per recent autotools guidelines. We use recent versions of both, so it shouldn't be a problem. This sets PACKAGE_xxx variables correctly, and makes the output of: ./configure --version actually useful: bfd configure 2.22.52 Changing the other dirs to use AC_INIT would require a bit of m4 trickery that I don't feel like getting into, and they all use BFD_VERSION anyways, so there isn't much point. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
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),