Patch to prepare for updating libtool

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Patch to prepare for updating libtool

Steve Ellcey
Here is the patch to prepare for updating libtool.  It does not contain
the new libtool but it has all the other changes needed in order to do
the update.  I have tested it with the old and new libtool.  The patch
was approved by Paolo and I will be checking it in shortly.

Steve Ellcey
[hidden email]


Top level src tree ChangeLog:

2007-03-22  Steve Ellcey  <[hidden email]>
        * config-ml.in: Update from GCC.

bfd/ChangeLog
2007-03-22  Steve Ellcey  <[hidden email]>
        * Makefile.am: Add ACLOCAL_AMFLAGS.
        * configure.in: Change macro call order.
        * Makefile.in: Regnerate.
        * doc/Makefile.in: Regenerate.
        * configure: Regenerate.

binutils/ChangeLog
2007-03-22  Steve Ellcey  <[hidden email]>
        * Makefile.am: Add ACLOCAL_AMFLAGS.
        * configure.in: Change macro call order.
        * Makefile.in: Regenerate.
        * configure: Regenerate.

gas/ChangeLog
2007-03-22  Steve Ellcey  <[hidden email]>
        * Makefile.am: Add ACLOCAL_AMFLAGS.
        * Makefile.in: Regenerate.

gprof/ChangeLog
2007-03-22  Steve Ellcey  <[hidden email]>
        * Makefile.am: Add ACLOCAL_AMFLAGS.
        * Makefile.in: Regenerate.

rda/ChangeLog
2007-03-22  Steve Ellcey  <[hidden email]>
        * Makefile.am: Add ACLOCAL_AMFLAGS.
        * Makefile.in: Regenerate.

ld/ChangeLog
2007-03-22  Steve Ellcey  <[hidden email]>
        * Makefile.am: Add ACLOCAL_AMFLAGS.
        * Makefile.in: Regenerate.

opcodes/ChangeLog
2007-03-22  Steve Ellcey  <[hidden email]>
        * Makefile.am: Add ACLOCAL_AMFLAGS.
        * Makefile.in: Regenerate.


Index: config-ml.in
===================================================================
RCS file: /cvs/src/src/config-ml.in,v
retrieving revision 1.19
diff -u -p -r1.19 config-ml.in
--- config-ml.in 8 Jun 2006 16:10:12 -0000 1.19
+++ config-ml.in 13 Apr 2007 21:03:31 -0000
@@ -895,7 +895,7 @@ if [ -n "${multidirs}" ] && [ -z "${ml_n
 
     if eval ${ml_config_env} ${ml_config_shell} ${ml_recprog} \
  --with-multisubdir=${ml_dir} --with-multisrctop=${multisrctop} \
- ${ac_configure_args} ${ml_srcdiroption} ; then
+ ${ac_configure_args} ${ml_config_env} ${ml_srcdiroption} ; then
       true
     else
       exit 1
Index: bfd/Makefile.am
===================================================================
RCS file: /cvs/src/src/bfd/Makefile.am,v
retrieving revision 1.192
diff -u -p -r1.192 Makefile.am
--- bfd/Makefile.am 9 Apr 2007 15:36:43 -0000 1.192
+++ bfd/Makefile.am 13 Apr 2007 21:03:31 -0000
@@ -1,6 +1,7 @@
 ## Process this file with automake to generate Makefile.in
 
 AUTOMAKE_OPTIONS = 1.9 cygnus
+ACLOCAL_AMFLAGS = -I ..
 
 # Uncomment the following line when doing a release.
 # RELEASE=y
Index: bfd/configure.in
===================================================================
RCS file: /cvs/src/src/bfd/configure.in,v
retrieving revision 1.226
diff -u -p -r1.226 configure.in
--- bfd/configure.in 23 Mar 2007 02:51:30 -0000 1.226
+++ bfd/configure.in 13 Apr 2007 21:03:31 -0000
@@ -19,7 +19,10 @@ dnl Default to a non shared library.  Th
 dnl configure option --enable-shared.
 AM_DISABLE_SHARED
 
-AM_PROG_LIBTOOL
+AC_PROG_CC
+AC_GNU_SOURCE
+
+AC_PROG_LIBTOOL
 
 AC_ARG_ENABLE(64-bit-bfd,
 [  --enable-64-bit-bfd     64-bit support (on hosts with narrower word sizes)],
@@ -85,9 +88,6 @@ bfd_default_target_size=32
 
 # host stuff:
 
-AC_PROG_CC
-AC_GNU_SOURCE
-
 ALL_LINGUAS="fr tr ja es sv da zh_CN ro rw vi"
 ZW_GNU_GETTEXT_SISTER_DIR
 AM_PO_SUBDIRS
Index: binutils/Makefile.am
===================================================================
RCS file: /cvs/src/src/binutils/Makefile.am,v
retrieving revision 1.87
diff -u -p -r1.87 Makefile.am
--- binutils/Makefile.am 13 Apr 2007 12:05:59 -0000 1.87
+++ binutils/Makefile.am 13 Apr 2007 21:03:31 -0000
@@ -1,6 +1,7 @@
 ## Process this file with automake to generate Makefile.in
 
 AUTOMAKE_OPTIONS = cygnus dejagnu
+ACLOCAL_AMFLAGS = -I ..
 
 SUBDIRS = doc po
 
Index: binutils/configure.in
===================================================================
RCS file: /cvs/src/src/binutils/configure.in,v
retrieving revision 1.77
diff -u -p -r1.77 configure.in
--- binutils/configure.in 15 Mar 2007 14:17:16 -0000 1.77
+++ binutils/configure.in 13 Apr 2007 21:03:31 -0000
@@ -11,7 +11,9 @@ BFD_VERSION=`sed -n -e 's/^.._INIT_AUTOM
 changequote([,])dnl
 AM_INIT_AUTOMAKE(binutils, ${BFD_VERSION})
 
-AM_PROG_LIBTOOL
+AC_PROG_CC
+AC_GNU_SOURCE
+AC_PROG_LIBTOOL
 
 AC_ARG_ENABLE(targets,
 [  --enable-targets        alternative target configurations],
@@ -40,9 +42,6 @@ if test -z "$host" ; then
     AC_MSG_ERROR(Unrecognized host system type; please check config.sub.)
 fi
 
-AC_PROG_CC
-AC_GNU_SOURCE
-
 AC_PROG_YACC
 AM_PROG_LEX
 
Index: gas/Makefile.am
===================================================================
RCS file: /cvs/src/src/gas/Makefile.am,v
retrieving revision 1.145
diff -u -p -r1.145 Makefile.am
--- gas/Makefile.am 21 Mar 2007 15:37:19 -0000 1.145
+++ gas/Makefile.am 13 Apr 2007 21:03:31 -0000
@@ -1,6 +1,7 @@
 ## Process this file with automake to generate Makefile.in
 
 AUTOMAKE_OPTIONS = 1.8 cygnus dejagnu
+ACLOCAL_AMFLAGS = -I ..
 
 SUBDIRS = doc po
 # Automake should figure this out on its own.  It doesn't, because
Index: gprof/Makefile.am
===================================================================
RCS file: /cvs/src/src/gprof/Makefile.am,v
retrieving revision 1.34
diff -u -p -r1.34 Makefile.am
--- gprof/Makefile.am 22 Mar 2007 21:18:31 -0000 1.34
+++ gprof/Makefile.am 13 Apr 2007 21:03:31 -0000
@@ -1,6 +1,7 @@
 ## Process this file with automake to generate Makefile.in
 
 AUTOMAKE_OPTIONS = cygnus
+ACLOCAL_AMFLAGS = -I ..
 
 SUFFIXES = .m
 
Index: rda/Makefile.am
===================================================================
RCS file: /cvs/src/src/rda/Makefile.am,v
retrieving revision 1.1
diff -u -p -r1.1 Makefile.am
--- rda/Makefile.am 28 Aug 2002 01:22:27 -0000 1.1
+++ rda/Makefile.am 13 Apr 2007 21:03:31 -0000
@@ -1,6 +1,7 @@
 ## Process this with automake to create Makefile.in
 
 AUTOMAKE_OPTIONS = foreign
+ACLOCAL_AMFLAGS = -I ..
 
 WARN_CFLAGS = @WARN_CFLAGS@
 WERROR_CFLAGS = @WERROR_CFLAGS@
Index: ld/Makefile.am
===================================================================
RCS file: /cvs/src/src/ld/Makefile.am,v
retrieving revision 1.235
diff -u -p -r1.235 Makefile.am
--- ld/Makefile.am 26 Mar 2007 11:10:43 -0000 1.235
+++ ld/Makefile.am 13 Apr 2007 21:03:32 -0000
@@ -1,6 +1,7 @@
 ## Process this file with automake to generate Makefile.in
 
 AUTOMAKE_OPTIONS = cygnus dejagnu
+ACLOCAL_AMFLAGS = -I ..
 
 SUBDIRS = po
 
Index: opcodes/Makefile.am
===================================================================
RCS file: /cvs/src/src/opcodes/Makefile.am,v
retrieving revision 1.106
diff -u -p -r1.106 Makefile.am
--- opcodes/Makefile.am 15 Mar 2007 14:31:24 -0000 1.106
+++ opcodes/Makefile.am 13 Apr 2007 21:03:32 -0000
@@ -1,6 +1,7 @@
 ## Process this file with automake to generate Makefile.in
 
 AUTOMAKE_OPTIONS = 1.9 cygnus
+ACLOCAL_AMFLAGS = -I ..
 
 SUBDIRS = po