Commit Graph

28 Commits

Author SHA1 Message Date
Robert Millan
80dc6aa062 Patch from Robert Millan.
Add patches from libtool CVS.
* libtool.m4: Add kfreebsd*-gnu and knetbsd*-gnu.
* ltconfig: Likewise.
* ltcf-c.sh: Likewise.
* ltcf-cxx.sh: Likewise.
* ltcf-gcj.sh: Likewise.

From-SVN: r81213
2004-04-26 23:14:30 -07:00
Andreas Tobler
43d8d958ce libtool.m4: Sync darwin bits from libtool cvs to build a gcc with shared/dylibed libraries.
2003-11-19  Andreas Tobler  <a.tobler@schweiz.ch>

	* libtool.m4: Sync darwin bits from libtool cvs to build a gcc with
	shared/dylibed libraries.
	* ltmain.sh: Likewise.
	* ltcf-c.sh: Likewise, disable shared library build for OS-X < 10.3.
	* ltcf-cxx.sh: Likewise.
	* ltcf-gcj.sh: Likewise.
	* ltconfig: Likewise.

From-SVN: r73729
2003-11-19 06:29:32 +01:00
Rainer Orth
fffeb871a1 ltcf-cxx.sh (irix5*, irix6*): Prefix -soname and its arg with ${wl}.
* ltcf-cxx.sh (irix5*, irix6*): Prefix -soname and its arg with ${wl}.
	* ltconfig (irix5*, irix6*): Don't override version_type.

From-SVN: r72152
2003-10-06 15:13:13 +00:00
Alexandre Oliva
11856278b8 libtool.m4 (LD): Append -melf* option to LD on IRIX with GNU ld.
* libtool.m4 (LD): Append -melf* option to LD on IRIX with GNU ld.
* ltconfig: Handle it.
* ltcf-cxx.sh: Use with_gnu_ld passed as a shell variable instead of
auto-detecting it.

From-SVN: r63148
2003-02-20 01:11:51 +00:00
Alexandre Oliva
274aef32d9 ltcf-cxx.sh: Replace $linker_flags with $compiler_flags wherever it is used as argument to $CC.
* ltcf-cxx.sh: Replace $linker_flags with $compiler_flags wherever
it is used as argument to $CC.
* ltcf-gcj.sh: Likewise.

From-SVN: r63135
2003-02-19 23:50:23 +00:00
Steve Ellcey
a0af94a769 * ltcf-cxx.sh (hpux*): Modify to support ia64-*-hpux*.
From-SVN: r55250
2002-07-04 22:52:03 +00:00
Alexandre Oliva
898c7238df backport: ltcf-c.sh: Use $objext, not $ac_objext.
Merged from gcc-3_0-branch:
2001-07-30  Jeff Sturm  <jsturm@one-pont.com>
* ltcf-c.sh: Use $objext, not $ac_objext.
2001-07-27  Mark Kettenis  <kettenis@gnu.org>
* ltcf-cxx.sh: Add support for GNU.
2001-07-22  Timothy Wall  <twall@redhat.com>
* ltcf-c.sh: Don't disable shared libraries for AIX5/IA64.  Preserve
default settings if using GNU tools with that configuration.
* ltcf-cxx.sh: Ditto.
* ltcf-gcj.sh: Ditto.
2001-07-21  Michael Chastain  <chastain@redhat.com>
* ltconfig: Set max_cmd_len to a maximum of 512Kb, as it seems some
HPUX 11.0 systems have trouble with 1MB.  Mark as gcc-local.
* ltmain.sh: Mark as gcc-local.

From-SVN: r45341
2001-09-01 00:47:19 +00:00
Simon Patarin
55fce0ebc7 ltcf-cxx.sh (osf3/osf4/osf5): Support creation of C++ shared libraries when using g++ with native linker.
* ltcf-cxx.sh (osf3/osf4/osf5): Support creation of C++  shared
libraries when using g++ with native linker.

From-SVN: r42680
2001-05-28 21:03:21 +00:00
Alexandre Oliva
a7bc0fbbfe ltcf-cxx.sh (allow_undefined_flag, [...]): Prepend blank.
* ltcf-cxx.sh (allow_undefined_flag, no_undefined_flag)
[aix4*|aix5*]: Prepend blank.

From-SVN: r42438
2001-05-22 10:40:41 +00:00
Alexandre Oliva
334564454e ltconfig, [...]: Upgraded to libtool 1.4a 1.641.2.254.
* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,
ltcf-gcj.sh: Upgraded to libtool 1.4a 1.641.2.254.  Rebuilt a number
of subdir/configure scripts to use the new libtool.m4.

From-SVN: r42351
2001-05-20 18:55:59 +00:00
Jeffrey Oldham
6ebe3121aa ltcf-cxx.sh: Add -nostdlib to IRIX 6 archive_cmds.
2001-05-09  Jeffrey Oldham  <oldham@codesourcery.com>

	* ltcf-cxx.sh: Add -nostdlib to IRIX 6 archive_cmds.

From-SVN: r41931
2001-05-09 22:29:20 +00:00
Alexandre Oliva
99ffe40fe7 ltconfig, [...]: Upgraded to libtool 1.4a 1.641.2.228.
* ltconfig, ltmain.sh, ltcf-cxx.sh: Upgraded to libtool 1.4a
1.641.2.228.

From-SVN: r41452
2001-04-20 09:26:56 +00:00
Alexandre Oliva
75b9074c18 ltconfig, [...]: Upgraded to libtool 1.4a 1.641.2.226.
* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,
ltcf-gcj.sh: Upgraded to libtool 1.4a 1.641.2.226.

From-SVN: r41299
2001-04-12 12:28:03 +00:00
Loren J. Rittle
06729913c7 ltcf-cxx.sh: Support creation of C++ shared libraries on recent versions of FreeBSD (release...
2001-04-10  Loren J. Rittle  <ljrittle@acm.org>

	* ltcf-cxx.sh: Support creation of C++ shared libraries on
	recent versions of FreeBSD (release 3 or later).
	* ltconfig: On FreeBSD, -lc must not be provided when building
	a shared library or else the standard -pthread gcc option is
	rendered worthless to later users of the built library.

From-SVN: r41237
2001-04-11 05:25:00 +00:00
Alexandre Oliva
b6b14b1bb4 ltcf-c.sh: Clear ac_cv_prog_cc_pic for DJGPP.
Re-installed:
2001-01-02  Laurynas Biveinis  <lauras@softhome.net>
* ltcf-c.sh: Clear ac_cv_prog_cc_pic for DJGPP.  Do not add
'-DPIC' to ac_cv_prog_cc_pic for DJGPP.
* ltcf-cxx.sh: Likewise.
* ltcf-gcj.sh: Likewise.

From-SVN: r40749
2001-03-22 18:13:39 +00:00
Alexandre Oliva
82e232360d ltconfig, [...]: Upgraded to libtool 1.4a 1.641.2.198.
* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,
ltcf-gcj.sh: Upgraded to libtool 1.4a 1.641.2.198.

From-SVN: r40731
2001-03-22 06:48:32 +00:00
Mark Mitchell
2a4e96b718 ltcf-c.sh: Add support for --no-undefined under GNU/Linux.
* ltcf-c.sh: Add support for --no-undefined under GNU/Linux.
	* ltcf-cxx.sh: Likewise.

From-SVN: r39477
2001-02-06 05:52:33 +00:00
Michael Sokolov
8a8de62d6d ltcf-cxx.sh (ac_cv_prog_cc_pic_works, [...]): Don't unset, it's non-portable and no longer necessary, set to empty instead.
* ltcf-cxx.sh (ac_cv_prog_cc_pic_works, ac_cv_prog_cc_static_works):
	Don't unset, it's non-portable and no longer necessary, set to empty
	instead.

From-SVN: r39300
2001-01-27 19:51:13 +00:00
Alexandre Oliva
88a1c0abe9 ltcf-c.sh (ld_shlibs): Disable on unknown CPU types.
* ltcf-c.sh (ld_shlibs) [aix5*]: Disable on unknown CPU types.
* ltcf-cxx.sh, ltcf-gcj.sh: Likewise.

From-SVN: r39297
2001-01-27 19:12:14 +00:00
Michael Sokolov
45291dd585 * ltcf-cxx.sh: Use parentheses around eval $ac_compile.
From-SVN: r39288
2001-01-26 22:55:12 +00:00
David Edelsohn
0ef8b11bf2 - Add AIX 5 support following AIX 4.
From-SVN: r39270
2001-01-25 14:11:34 -05:00
Laurynas Biveinis
976b230df9 ltcf-c.sh: clear ac_cv_prog_cc_pic for DJGPP.
* ltcf-c.sh: clear ac_cv_prog_cc_pic for DJGPP. Do not add
'-DPIC' to ac_cv_prog_cc_pic for DJGPP.
* ltcf-cxx.sh: likewise.
* ltcf-gcj.sh: likewise.
* ltconfig.sh: fix typo.

From-SVN: r38624
2001-01-02 10:55:07 -05:00
Loren J. Rittle
7686cadfb2 ltcf-cxx.sh: Support creation of C++ shared libraries on recent versions of FreeBSD (release...
2000-11-22  Loren J. Rittle  <ljrittle@acm.org>

        * ltcf-cxx.sh: Support creation of C++ shared libraries on
        recent versions of FreeBSD (release 3 or later).
        * ltconfig: On FreeBSD, -lc must not be provided when building
        a shared library or else the standard -pthread gcc option is
        rendered worthless to later users of the built library.

From-SVN: r37663
2000-11-22 18:31:25 +00:00
David Edelsohn
7ca0e6d96e ltcf-c.sh (aix4): Improve shared library configuration; require exporting symbols.
* ltcf-c.sh (aix4): Improve shared library configuration; require
        exporting symbols.
        * ltcf-cxx.sh (aix4): Define.
        * ltconfig (aix4): Define library and soname specs appropriate for
        AIX.  Define command to create export symbols list.

From-SVN: r37347
2000-11-09 16:41:11 -05:00
Alexandre Oliva
3dd7094e20 ltconfig, [...]: Updated from libtool multi-language branch, to work around Solaris' /bin/sh bug.
* ltconfig, ltmain.sh, libtool.m4, ltcf-cxx.sh: Updated from libtool
multi-language branch, to work around Solaris' /bin/sh bug.  Rebuilt
all affected `configure' scripts.

From-SVN: r36672
2000-09-30 06:02:57 +00:00
Alexandre Oliva
06298abdb6 ltconfig, [...]: Updated from libtool multi-language branch.
* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,
ltcf-gcj.sh: Updated from libtool multi-language branch.

From-SVN: r36198
2000-09-06 13:59:29 +00:00
Alexandre Oliva
89820b4331 ltconfig, ltmain.sh: Update from libtool multi-language branch.
* ltconfig, ltmain.sh: Update from libtool multi-language branch.
* ltcf-c.sh (need_lc): Fix test message.  Set wl for archive_cmds.
(ac_cv_prog_cc_pic): Don't print `cached' without `checking'.
* ltcf-cxx.sh (need_lc): Set based on postdeps.

From-SVN: r35405
2000-08-01 04:45:34 +00:00
Alexandre Oliva
4f4caf92a3 libtool.m4, [...]: New files from the libtool CVS tree multi-language branch.
2000-07-28  Alexandre Oliva  <aoliva@redhat.com>

        * libtool.m4, ltcf-c.sh, ltcf-cxx.sh, ltcf-gcj.sh: New files from
	the libtool CVS tree multi-language branch.
	* ltconfig, ltmain.sh: Updated.

From-SVN: r35323
2000-07-28 18:04:21 +00:00