From ff557cac634a7675676cb84a573ceadd8b4dbbcb Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 27 Jul 2012 16:30:46 +0000 Subject: 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 --- binutils/configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'binutils/configure') diff --git a/binutils/configure b/binutils/configure index 98e26d0069..a9ef21d0b7 100755 --- a/binutils/configure +++ b/binutils/configure @@ -3238,7 +3238,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), -- cgit v1.2.1