This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
A patch for ld
- To: binutils at sourceware dot cygnus dot com
- Subject: A patch for ld
- From: "H . J . Lu" <hjl at valinux dot com>
- Date: Tue, 5 Sep 2000 17:59:06 -0700
Here is a patch for ld. lexsup.c now includes demangle.h. We need
AC_ISC_POSIX. Otherwise, I got
# autoconf
configure.in:64: AC_TRY_COMPILE was called before AC_ISC_POSIX
AC_ISC_POSIX is also needed for binutils, gas and gprof.
--
H.J. Lu (hjl@gnu.org)
---
2000-09-05 H.J. Lu <hjl@gnu.org>
* Makefile.am (lexsup.o): Also depend on $(INCDIR)/demangle.h.
* Makefile.in: Rebuild.
* configure.in (AC_ISC_POSIX): Add after AC_CANONICAL_SYSTEM.
* configure: Rebuild.
Index: configure.in
===================================================================
RCS file: /work/cvs/gnu/binutils/ld/configure.in,v
retrieving revision 1.12
diff -u -p -r1.12 configure.in
--- configure.in 2000/09/06 00:31:52 1.12
+++ configure.in 2000/09/06 00:53:50
@@ -4,6 +4,7 @@ AC_PREREG(2.13)
AC_INIT(ldmain.c)
AC_CANONICAL_SYSTEM
+AC_ISC_POSIX
AM_INIT_AUTOMAKE(ld, 2.10.91)
Index: Makefile.am
===================================================================
RCS file: /work/cvs/gnu/binutils/ld/Makefile.am,v
retrieving revision 1.33
diff -u -p -r1.33 Makefile.am
--- Makefile.am 2000/09/06 00:31:52 1.33
+++ Makefile.am 2000/09/06 00:53:27
@@ -1003,7 +1003,7 @@ lexsup.o: lexsup.c ../bfd/bfd.h $(INCDIR
sysdep.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
$(INCDIR)/getopt.h $(INCDIR)/bfdlink.h ld.h $(INCDIR)/bin-bugs.h \
ldmain.h ldmisc.h ldexp.h ldlang.h ldgram.h ldlex.h \
- ldfile.h ldver.h ldemul.h
+ ldfile.h ldver.h ldemul.h $(INCDIR)/demangle.h
mri.o: mri.c ../bfd/bfd.h $(INCDIR)/ansidecl.h sysdep.h \
config.h $(INCDIR)/fopen-same.h ld.h $(INCDIR)/bin-bugs.h \
ldexp.h ldlang.h ldmisc.h mri.h ldgram.h $(INCDIR)/libiberty.h