2100 Commits

Author SHA1 Message Date
Ralf Wildenhues
ca7521540a * libtool.m4: Fix comment typo.
* tests/dryrun.test: Avoid `directory exists' warning.
2005-11-26 10:22:23 +00:00
Charles Wilson
4e5c612fc4 * ltmain.in (link mode, cwrappersource): Backport fixes from
CVS HEAD.
2005-11-25 18:36:15 +00:00
Charles Wilson
f1251da34a * ltmain.in (generate dlsyms): Backport of func_generate_dlsyms
fixes from HEAD.
2005-11-25 18:34:36 +00:00
Charles Wilson
ddce601ef9 * ltmain.in (link mode): add foo/bin for every foo/lib in
dllsearchpath when creating wrapper script.  Fixes
build-relink2 test failure.
Backport of CVS HEAD 2004-10-13.
2005-11-25 18:31:53 +00:00
Ralf Wildenhues
f104185325 * libtool.m4 [aix] <archive_expsym_cmds>
(AC_LIBTOOL_PROG_LD_SHLIBS, AC_LIBTOOL_LANG_CXX_CONFIG): Always
move -bnoentry before $compiler_flags, so it can be overridden.
2005-11-25 18:18:20 +00:00
Ralf Wildenhues
b7ae5c0124 * ltmain.in (link mode): Allow GCC response files through. 2005-11-25 18:14:22 +00:00
Peter O'Gorman
122bed2b7c * ltmain.in (link mode): Pass through -isysroot for cross
architecture builds on darwin.
2005-11-25 12:50:23 +00:00
Ralf Wildenhues
67fc16a722 * ltmain.in (clean mode): Don't remove non-existent libfoo.lai. 2005-11-24 16:00:49 +00:00
Albert Chin-A-Young
53bd753554 * libtool.m4, ltmain.in: When calling $LTCC, pass default $CFLAGS
through with $LTCFLAGS.
Backport from HEAD 2004-09-05.
2005-11-24 15:31:18 +00:00
David Edelsohn
3cf62bc232 * ltmain.in (link mode): Use $pic_object as $non_pic_object if
$non_pic_object=none.
* NEWS: Updated.
Missing backport from HEAD 2004-09-03 noted
by Max Bowsher <maxb1@ukf.net>.
2005-11-24 15:22:59 +00:00
Ralf Wildenhues
9c899bc8cd * ltmain.in (link mode): Pass through `-pg', for GCC.
Reported by Tor Lillqvist <tml@iki.fi>.
2005-11-20 14:09:00 +00:00
Ralf Wildenhues
fd17e92926 * libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS)
(AC_LIBTOOL_LANG_CXX_CONFIG) [aix4/aix5 !ia64]: Set
whole_archive_flag_spec to $convenience so the convenience libs
are really added to the link cmdline.
Missing backport from CVS HEAD 2004-11-17 noted by Jørgen Moth
<jorgen.moth@uni-c.dk>.
2005-11-20 12:09:26 +00:00
Todd Vierling
f2fa3bf220 * libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN)
(AC_LIBTOOL_SYS_DYNAMIC_LINKER,  AC_DEPLIBS_CHECK_METHOD)
(AC_LIBTOOL_LANG_CXX_CONFIG, AC_LIBTOOL_PROG_COMPILER_PIC)
(AC_LIBTOOL_PROG_COMPILER_PIC,  AC_LIBTOOL_PROG_LD_SHLIBS)
[ interix3 ]: Support for Interix/Microsoft Services for Unix.
* ltdl.m4 (AC_LTDL_SYS_DLOPEN_DEPLIBS): Likewise.
* NEWS: Updated.
2005-11-20 08:46:48 +00:00
Ralf Wildenhues
8cbfc2cdbc * tests/link-order.test [ aix, interix ]: Skip command line
grep.
Reported by Thorsten Glaser <tg@66h.42h.de>.
2005-11-20 08:18:24 +00:00
Ralf Wildenhues
634f7183f1 * ltmain.in (finish mode): Fix a couple of $echo uses.
Reported by Thorsten Glaser <tg@66h.42h.de>.
2005-11-18 20:29:07 +00:00
Albert Chin
77b99c3967 * libtool.m4 (_LT_AC_LANG_CXX_CONFIG, AC_LIBTOOL_PROG_LD_SHLIBS)
[ hpux11 ]: Pass +nodefaultrpath when linking on ia64*.
2005-11-14 22:50:35 +00:00
Ralf Wildenhues
077327daa4 * libtool.m4 (AC_LIBTOOL_LANG_C_CONFIG):
Removed `lt_prog_cc_shlib' cruft, not needed any more.
2005-11-13 19:36:34 +00:00
Kean Johnston
b6431c2264 * libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER)
(AC_DEPLIBS_CHECK_METHOD, AC_LIBTOOL_LANG_C_CONFIG)
(AC_LIBTOOL_LANG_CXX_CONFIG, AC_LIBTOOL_PROG_COMPILER_PIC)
(AC_LIBTOOL_PROG_LD_SHLIBS)
[ sco3.2v5, sysv4, sysv4.3, sysv5, sco3.2v5, sco5v6, unixware,
OpenUNIX, sysv4*uw2 ]: Complete overhaul of SCO support.
* THANKS: Updated.
2005-11-13 19:06:14 +00:00
Ralf Wildenhues
cb3d73fed6 * tests/quote.test: Do not fail on harmless shell bug present
in some ksh88 versions.
Reported by Tim Rice <tim@multitalents.net> and others.
2005-11-13 15:35:09 +00:00
Albert Chin-A-Young
f88a1c5a37 * libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) [ hpux10 ]:
Link with cc rather than ld (backport from HEAD).
2005-11-13 15:09:27 +00:00
Ralf Wildenhues
67d195a018 * libltdl.m4 (AC_LIBTOOL_PROG_COMPILER_PIC): `wl' is tagged
here.
2005-11-12 11:54:40 +00:00
Ralf Wildenhues
661b1c2703 * libtool.m4 (AC_LIBTOOL_DLOPEN_SELF)
(AC_LIBTOOL_PROG_COMPILER_PIC): Make sure `$wl' is properly
expanded for tests involving `export_dynamic_flag_spec',
`lt_prog_compiler_static'.
2005-11-12 10:42:06 +00:00
Ralf Wildenhues
5e6ed2c005 * libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [ freebsd ]:
Fix shlibpath_overrides_runpath settings.
Reported by Dave Benson <daveb@idealab.com>.
2005-11-11 22:06:41 +00:00
Charles Wilson
4a03832235 * ltmain.in (func_win32_libid): use $SED not sed. 2005-11-10 18:33:26 +00:00
Albert Chin-A-Young
0292e75074 * libtool.m4 (AC_LIBTOOL_LANG_CXX_CONFIG) [ hpux10, hpux11 ]
<hppa*64,ia64, aCC,g++>:
Use C++ compiler for linking rather than ld.
2005-11-10 18:29:38 +00:00
Ralf Wildenhues
33da9014b2 * libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS): Move setting of
`variables_saved_for_relink'..
(AC_LIBTOOL_SYS_DYNAMIC_LINKER): here, when both `shlibpath_var'
and `runpath_var' have been set.
Reported by Mike Frysinger <vapier@gentoo.org>.
2005-11-09 22:37:42 +00:00
Ralf Wildenhues
d8aa73a87f * libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS): Move setting of
`variables_saved_for_relink'..
(AC_LIBTOOL_SYS_DYNAMIC_LINKER): here, when both `shlibpath_var'
and `runpath_var' have been set.
Reported by Mike Frysinger <vapier@gentoo.org>.
2005-11-09 22:19:39 +00:00
Ralf Wildenhues
c59ad5a327 * libtool.m4 (AC_LIBTOOL_LANG_C_CONFIG): Move static_flag
check..
(AC_LIBTOOL_PROG_COMPILER_PIC): ..here, so that both
`lt_prog_compiler_static' have actually been set, and the check
is applied to each tag.
2005-11-09 22:06:04 +00:00
Kean Johnston
a8c4b7307f * ltmain.in (link mode) [ sysv4*uw2*, unixware7* ]: Work around linker
bug on older SCO systems.
2005-11-07 22:54:24 +00:00
Albert Chin-A-Young
9508a7a1ca * libtool.m4 (AC_LIBTOOL_LANG_CXX_CONFIG)
(AC_LIBTOOL_PROG_LD_SHLIBS) [ hpux10, hpux11 ]:
hardcode_libdir_flag_spec and hardcode_minus_L are the same for
hppa*64 and ia64*. Don't set
hardcode_libdir_flag_spec='-L$libdir' on ia64* because if you
specify +b and -L, +b overrides what is set into DT_RPATH.
2005-11-07 18:29:01 +00:00
Ralf Wildenhues
7893590a46 * libtool.m4 (_LT_AC_TRY_DLOPEN_SELF): lt_unknown is
lt_dlunknown.
2005-11-06 13:02:21 +00:00
Ralf Wildenhues
612373f94a * libtool.m4 (AC_LIBTOOL_LANG_C_CONFIG)
(AC_LIBTOOL_LANG_CXX_CONFIG, AC_LIBTOOL_LANG_F77_CONFIG)
(AC_LIBTOOL_LANG_GCJ_CONFIG):  Only call
AC_LIBTOOL_SYS_LIB_STRIP and AC_LIBTOOL_DLOPEN_SELF in the C
case, and without the tag argument.
2005-11-06 12:36:07 +00:00
Ralf Wildenhues
eb48ed254b * libtool.m4: Fix comments. 2005-11-06 11:38:37 +00:00
Kean Johnston
defc8355cf * ltmain.in (link mode) [*-*-sco3.2v5*]: Don't pass through -lc,
nor add it to deplibs.
[*-*-sysv5*]: Ditto.
[*-*-openbsd*, *-*-freebsd*, *-*-dragonfly*]: Remove bogus
`$arg'.
2005-11-05 11:20:46 +00:00
Ralf Wildenhues
3a436b8c5e * THANKS: Updated. 2005-11-04 16:46:54 +00:00
Ralf Wildenhues
9a90def302 * libtool.m4 (_LT_AC_LOCK) [ solaris ]: Add `-64' to $LD if
necessary, to permit combining of several convenience libs
without any further objects added.
Reported by Brian Barrett <brbarret@open-mpi.org>.
2005-11-01 16:24:58 +00:00
Kean Johnston
926fa7695e * libtool.m4 (AC_LIBTOOL_DLOPEN_SELF): Use
`lt_prog_compile_static', not `link_static_flag'.  Expand `$wl'
so expansion of `export_dynamic_flag_spec' works.
(_LT_AC_TRY_DLOPEN_SELF): Show dlerror() in case of failure.
(AC_LIBTOOL_PROG_LD_SHLIBS) [ aix3 ]: Likewise.
(AC_LIBTOOL_PROG_COMPILER_PIC) [ hpux* ]: Use `${wl}'.
2005-11-01 16:09:35 +00:00
Ralf Wildenhues
4a0b547538 * THANKS: Updated. 2005-11-01 15:57:59 +00:00
Kean Johnston
0293facce5 * libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): Set correctly for
SCO.
2005-10-31 18:54:20 +00:00
Kean Johnston
bbb31264f7 * libtool.m4 (AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE): Set correct
symcode values for the native nm on SCO platforms.
2005-10-31 09:59:15 +00:00
Kean Johnston
7d643c4b9f * ltdl.m4 (LT_SYS_DLOPEN_DEPLIBS): All SCO platforms open
dependency libraries when you dlopen a module.
2005-10-31 09:45:17 +00:00
Albert Chin-A-Young
8f23150c86 * libtool.m4 (AC_LIBTOOL_LANG_CXX_CONFIG)
(AC_LIBTOOL_PROG_LD_SHLIBS) [ aix ]: Remove duplicate
always_export_symbols=yes for AIX.
2005-10-31 08:38:50 +00:00
Howard Chu
26606d7e99 * ltmain.in (link mode): With `-static', only link statically
against uninstalled libtool libraries.  Fixes 1.5.x regression
to match documented (and actual 1.4.x) behavior.
* NEWS: Updated.
2005-10-29 14:21:45 +00:00
Ralf Wildenhues
3842642203 * libtoolize.in: Fail if libltdl files not present but
`--ltdl' given.
Reported by Troy Benjegerdes <hozer@hozed.org>.
2005-10-29 14:00:44 +00:00
Albert Chin-A-Young
9dc9547128 * ltmain.in (link mode): When accepting -64, -mips[0-9], et. al.
compiler flags, don't set compiler_flags only for GCC as the
vendor compiler also requires this flag. Sync with HEAD.
Reported by Donald Anderson <dda@ddanderson.com>.
2005-10-18 07:26:05 +00:00
Ralf Wildenhues
f2fb45b781 * ltmain.in [darwin]: Don't check for "bundle" in file path.
Reported by Christoph Egger <Christoph_Egger@gmx.de>.
2005-10-17 14:06:26 +00:00
Peter O'Gorman
70ec4c904e * libltdl/ltdl.c (find_module): Check that dir is set.
(load_deplibs): Don't free the user search paths too early.
2005-10-13 04:48:50 +00:00
Gary V. Vaughan
09fa890071 * ltdl.m4 (AC_LTDL_ENABLE_INSTALL): Remove bogus extra
closing brackets.
2005-10-10 17:27:26 +00:00
Christian Biesinger
02f5006955 * libtool.m4 (AC_LIBTOOL_LANG_CXX_CONFIG) [ beos ]:
Initial shared library support for C++.
2005-10-09 06:26:21 +00:00
Ralf Wildenhues
1bbfa722ff * libtool.m4 (AC_LIBTOOL_LANG_CXX_CONFIG): Fix m4 quoting for
lt_simple_link_test_code.
Reported by Nicolas Joly <njoly@pasteur.fr>.
2005-10-05 15:57:28 +00:00