diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-07-27 16:30:57 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-07-27 16:30:57 +0000 |
commit | c4dd807e7bd468289a05d8af2d6cde45d727893b (patch) | |
tree | 997cd50308dde6d61fabc28e9c5ae4e5523b66d7 | |
parent | a8a64aa848820a3143319ad3bce00d1a2f815cc5 (diff) | |
download | gdb-c4dd807e7bd468289a05d8af2d6cde45d727893b.zip gdb-c4dd807e7bd468289a05d8af2d6cde45d727893b.tar.gz gdb-c4dd807e7bd468289a05d8af2d6cde45d727893b.tar.bz2 |
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>
-rw-r--r-- | bfd/ChangeLog | 6 | ||||
-rwxr-xr-x | bfd/configure | 40 | ||||
-rw-r--r-- | bfd/configure.in | 4 | ||||
-rw-r--r-- | binutils/ChangeLog | 6 | ||||
-rwxr-xr-x | binutils/configure | 2 | ||||
-rw-r--r-- | binutils/configure.in | 2 | ||||
-rw-r--r-- | gas/ChangeLog | 6 | ||||
-rwxr-xr-x | gas/configure | 2 | ||||
-rw-r--r-- | gas/configure.in | 2 | ||||
-rw-r--r-- | gprof/ChangeLog | 6 | ||||
-rwxr-xr-x | gprof/configure | 2 | ||||
-rw-r--r-- | gprof/configure.in | 2 | ||||
-rw-r--r-- | ld/ChangeLog | 6 | ||||
-rwxr-xr-x | ld/configure | 2 | ||||
-rw-r--r-- | ld/configure.in | 2 | ||||
-rw-r--r-- | opcodes/ChangeLog | 6 | ||||
-rwxr-xr-x | opcodes/configure | 2 | ||||
-rw-r--r-- | opcodes/configure.in | 2 |
18 files changed, 69 insertions, 31 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 232b9e1..9842e91 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2012-07-27 Mike Frysinger <vapier@gentoo.org> + + * configure.in (AC_INIT): Call with the args bfd and 2.22.52. + (AM_INIT_AUTOMAKE): Remove args. + * configure: Regenerate. + 2012-07-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * cpu-s390.c (bfd_s390_64_arch, bfd_s390_arch): Pick the default diff --git a/bfd/configure b/bfd/configure index 793b774..63f34ab 100755 --- a/bfd/configure +++ b/bfd/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.64. +# Generated by GNU Autoconf 2.64 for bfd 2.23.51. # # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software @@ -554,12 +554,12 @@ MFLAGS= MAKEFLAGS= # Identity of this package. -PACKAGE_NAME= -PACKAGE_TARNAME= -PACKAGE_VERSION= -PACKAGE_STRING= -PACKAGE_BUGREPORT= -PACKAGE_URL= +PACKAGE_NAME='bfd' +PACKAGE_TARNAME='bfd' +PACKAGE_VERSION='2.23.51' +PACKAGE_STRING='bfd 2.23.51' +PACKAGE_BUGREPORT='' +PACKAGE_URL='' ac_unique_file="libbfd.c" # Factoring default headers for most tests. @@ -847,7 +847,7 @@ sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' includedir='${prefix}/include' oldincludedir='/usr/include' -docdir='${datarootdir}/doc/${PACKAGE}' +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' infodir='${datarootdir}/info' htmldir='${docdir}' dvidir='${docdir}' @@ -1348,7 +1348,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures this package to adapt to many kinds of systems. +\`configure' configures bfd 2.23.51 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1396,7 +1396,7 @@ Fine tuning of the installation directories: --infodir=DIR info documentation [DATAROOTDIR/info] --localedir=DIR locale-dependent data [DATAROOTDIR/locale] --mandir=DIR man documentation [DATAROOTDIR/man] - --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] + --docdir=DIR documentation root [DATAROOTDIR/doc/bfd] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] @@ -1418,7 +1418,9 @@ _ACEOF fi if test -n "$ac_init_help"; then - + case $ac_init_help in + short | recursive ) echo "Configuration of bfd 2.23.51:";; + esac cat <<\_ACEOF Optional Features: @@ -1538,7 +1540,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -configure +bfd configure 2.23.51 generated by GNU Autoconf 2.64 Copyright (C) 2009 Free Software Foundation, Inc. @@ -2180,7 +2182,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by $as_me, which was +It was created by bfd $as_me 2.23.51, which was generated by GNU Autoconf 2.64. Invocation command line was $ $0 $@ @@ -3987,8 +3989,8 @@ fi # Define the identity of the package. - PACKAGE=bfd - VERSION=2.23.51 + PACKAGE='bfd' + VERSION='2.23.51' cat >>confdefs.h <<_ACEOF @@ -11404,7 +11406,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11407 "configure" +#line 11409 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11510,7 +11512,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11513 "configure" +#line 11515 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -16446,7 +16448,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by $as_me, which was +This file was extended by bfd $as_me 2.23.51, which was generated by GNU Autoconf 2.64. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -16510,7 +16512,7 @@ Report bugs to the package provider." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_version="\\ -config.status +bfd config.status 2.23.51 configured by $0, generated by GNU Autoconf 2.64, with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" diff --git a/bfd/configure.in b/bfd/configure.in index e8e83ec..97fff61 100644 --- a/bfd/configure.in +++ b/bfd/configure.in @@ -2,13 +2,13 @@ dnl Process this file with autoconf to produce a configure script. dnl AC_PREREQ(2.59) -AC_INIT +AC_INIT([bfd], [2.23.51]) AC_CONFIG_SRCDIR([libbfd.c]) AC_CANONICAL_TARGET AC_ISC_POSIX -AM_INIT_AUTOMAKE(bfd, 2.23.51) +AM_INIT_AUTOMAKE dnl These must be called before LT_INIT, because it may want dnl to call AC_CHECK_PROG. diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 58d69e8..2d3e0e3 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,9 @@ +2012-07-27 Mike Frysinger <vapier@gentoo.org> + + * configure.in (BFD_VERSION): Run bfd/configure --version and + parse the output of that. + * configure: Regenerate. + 2012-07-27 Tristan Gingold <gingold@adacore.com> * NEWS: Add marker for 2.23. diff --git a/binutils/configure b/binutils/configure index 98e26d0..a9ef21d 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), diff --git a/binutils/configure.in b/binutils/configure.in index 978fb81..c766f90 100644 --- a/binutils/configure.in +++ b/binutils/configure.in @@ -8,7 +8,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(binutils, ${BFD_VERSION}) diff --git a/gas/ChangeLog b/gas/ChangeLog index 2da4d6b..be6c907 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2012-07-27 Mike Frysinger <vapier@gentoo.org> + + * configure.in (BFD_VERSION): Run bfd/configure --version and + parse the output of that. + * configure: Regenerate. + 2012-07-27 Tristan Gingold <gingold@adacore.com> * NEWS: Add marker for 2.23. diff --git a/gas/configure b/gas/configure index 2e67449..4f976f6 100755 --- a/gas/configure +++ b/gas/configure @@ -3221,7 +3221,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), diff --git a/gas/configure.in b/gas/configure.in index 1c0206d..20a64d5 100644 --- a/gas/configure.in +++ b/gas/configure.in @@ -17,7 +17,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(gas, ${BFD_VERSION}) diff --git a/gprof/ChangeLog b/gprof/ChangeLog index 9525010..99e2aaa 100644 --- a/gprof/ChangeLog +++ b/gprof/ChangeLog @@ -1,3 +1,9 @@ +2012-07-27 Mike Frysinger <vapier@gentoo.org> + + * configure.in (BFD_VERSION): Run bfd/configure --version and + parse the output of that. + * configure: Regenerate. + 2012-06-02 Andreas Schwab <schwab@linux-m68k.org> * Makefile.am (TEXINFO_TEX): Remove $(top_srcdir) prefix. diff --git a/gprof/configure b/gprof/configure index 6ffdbe3..9f3be18 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), diff --git a/gprof/configure.in b/gprof/configure.in index 631e3e4..5481fd4 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}) diff --git a/ld/ChangeLog b/ld/ChangeLog index f36587a..d0a6744 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,9 @@ +2012-07-27 Mike Frysinger <vapier@gentoo.org> + + * configure.in (BFD_VERSION): Run bfd/configure --version and + parse the output of that. + * configure: Regenerate. + 2012-07-27 Tristan Gingold <gingold@adacore.com> * NEWS: Add marker for 2.23. diff --git a/ld/configure b/ld/configure index f4e4bb6..621fbb1 100755 --- a/ld/configure +++ b/ld/configure @@ -3555,7 +3555,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), diff --git a/ld/configure.in b/ld/configure.in index b844927..9663399 100644 --- a/ld/configure.in +++ b/ld/configure.in @@ -9,7 +9,7 @@ AC_CANONICAL_BUILD 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(ld, ${BFD_VERSION}) AM_MAINTAINER_MODE diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 25cedff..7baaf30 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,9 @@ +2012-07-27 Mike Frysinger <vapier@gentoo.org> + + * configure.in (BFD_VERSION): Run bfd/configure --version and + parse the output of that. + * configure: Regenerate. + 2012-07-25 James Lemke <jwlemke@codesourcery.com> * ppc-opc.c (powerpc_opcodes): Add/remove PPCVLE for some 32-bit insns. diff --git a/opcodes/configure b/opcodes/configure index dbfca48..7e94615 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' diff --git a/opcodes/configure.in b/opcodes/configure.in index dadfe4a..8927960 100644 --- a/opcodes/configure.in +++ b/opcodes/configure.in @@ -12,7 +12,7 @@ AC_ISC_POSIX # library. For user convenience, we always use the same version # number that BFD is using. 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(opcodes, ${BFD_VERSION}) |