re PR bootstrap/19072 (--disable-static bootstrap failure)
commitad49d8653bc2ad7241def5825a07fdd9de204bf0
authorH.J. Lu <hjl@gcc.gnu.org>
Mon, 20 Dec 2004 04:01:20 +0000 (19 20:01 -0800)
committerH.J. Lu <hjl@gcc.gnu.org>
Mon, 20 Dec 2004 04:01:20 +0000 (19 20:01 -0800)
tree493054be8e82cf0ab4256b3e63449e6dd366c8bf
parent6efa2c7134708e1554460a84280aa5a7272ba990
re PR bootstrap/19072 (--disable-static bootstrap failure)

2004-12-19  H.J. Lu  <hongjiu.lu@intel.com>

PR bootstrap/19072
* Makefile.in (enable_shared): New substitute.
(LTTARGETLIB): New.
(PREFIXTARGETLIB): New.
(LTTESTLIB): New.
(PREFIXTESTLIB): New.
(CCLD): New.
(LINK): New.
($(TARGETLIB)): Use $(LINK) to create libraries and create
targets by hand.
($(TESTLIB)): Likewise.
(mostlyclean): Don't remove .libs. Remove the libtool object
directory.

* config.table (enable_shared): Removed.

* configure.ac (enable_static): Set to yes.
(AC_PROG_LIBTOOL): Removed.
(AM_DISABLE_SHARED): Uncommented.
(AM_PROG_LIBTOOL): Likewise.
(LIBOBJS): Add `./' to avoid VPATH.
(LTLIBOBJS): Likewise.
(enable_shared): Substitute.
* configure: Regenerated.

From-SVN: r92406
libiberty/Makefile.in
libiberty/config.table
libiberty/configure
libiberty/configure.ac