aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2008-08-24 03:13:05 +0000
committerAlan Modra <amodra@gmail.com>2008-08-24 03:13:05 +0000
commitda594c4a29ff199ff1b1986587cdd3babcaf1693 (patch)
tree024e56e9da96ff3d0186d33791ec8bafe647f168 /bfd
parentf27f411ae75833a958518eada4cfaa33ff5c87f8 (diff)
downloadgdb-da594c4a29ff199ff1b1986587cdd3babcaf1693.zip
gdb-da594c4a29ff199ff1b1986587cdd3babcaf1693.tar.gz
gdb-da594c4a29ff199ff1b1986587cdd3babcaf1693.tar.bz2
Update a number of obsolete autoconf macros.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/aclocal.m412
-rw-r--r--bfd/configure.in8
3 files changed, 9 insertions, 16 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 5319857..bf9d580 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2008-08-24 Alan Modra <amodra@bigpond.net.au>
+
+ * configure.in: Update a number of obsolete autoconf macros.
+ * aclocal.m4: Regenerate.
+
2008-08-23 Andreas Schwab <schwab@suse.de>
* opncls.c (find_separate_debug_file): Use the canonical
diff --git a/bfd/aclocal.m4 b/bfd/aclocal.m4
index 7054652..fa32dcb 100644
--- a/bfd/aclocal.m4
+++ b/bfd/aclocal.m4
@@ -340,18 +340,6 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
[AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
])
-# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
-# Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# serial 8
-
-# AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS.
-AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
-
# Do all the work for Automake. -*- Autoconf -*-
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
diff --git a/bfd/configure.in b/bfd/configure.in
index cd31706..d098988 100644
--- a/bfd/configure.in
+++ b/bfd/configure.in
@@ -10,20 +10,20 @@ AC_ISC_POSIX
AM_INIT_AUTOMAKE(bfd, 2.18.50)
-dnl These must be called before AM_PROG_LIBTOOL, because it may want
+dnl These must be called before LT_INIT, because it may want
dnl to call AC_CHECK_PROG.
AC_CHECK_TOOL(AR, ar)
AC_CHECK_TOOL(RANLIB, ranlib, :)
dnl Default to a non shared library. This may be overridden by the
dnl configure option --enable-shared.
-AM_DISABLE_SHARED
+AC_DISABLE_SHARED
AC_PROG_CC
AC_GNU_SOURCE
AC_USE_SYSTEM_EXTENSIONS
-AC_PROG_LIBTOOL
+LT_INIT
AC_ARG_ENABLE(64-bit-bfd,
[ --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes)],
@@ -102,7 +102,7 @@ ACX_BUGURL([http://www.sourceware.org/bugzilla/])
AM_BINUTILS_WARNINGS
-AM_CONFIG_HEADER(config.h:config.in)
+AC_CONFIG_HEADERS(config.h:config.in)
if test -z "$target" ; then
AC_MSG_ERROR(Unrecognized target system type; please check config.sub.)