Commit Graph

46 Commits

Author SHA1 Message Date
Albert Chin
320cf1412f * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG)
[ hpux11 ]: Pass +nodefaultrpath when linking on ia64*.
2005-11-14 22:49:57 +00:00
Ralf Wildenhues
1a8774d4f1 * libltdl/m4/libtool.m4 (_LT_LANG_C_CONFIG):
Removed `lt_prog_cc_shlib' cruft, not needed any more.
2005-11-13 19:35:43 +00:00
Kean Johnston
779e67e773 * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER)
(_LT_CHECK_MAGIC_METHOD, _LT_COMPILER_PIC, _LT_LINKER_SHLIBS)
(_LT_LANG_C_CONFIG, _LT_LANG_CXX_CONFIG)
[ sco3.2v5, sysv4, sysv4.3, sysv5, sco3.2v5, sco5v6, unixware,
OpenUNIX, sysv4*uw2 ]: Complete overhaul of SCO support.
* THANKS: Updated.
2005-11-13 19:04:42 +00:00
Ralf Wildenhues
a239315342 * libltdl/m4/libtool.m4 (_LT_COMPILER_PIC): `wl' is tagged here. 2005-11-12 11:54:13 +00:00
Ralf Wildenhues
edef0a4297 * libltdl/m4/libtool.m4 (LT_SYS_DLOPEN_SELF, _LT_COMPILER_PIC):
Make sure `$wl' is properly expanded for tests involving
`export_dynamic_flag_spec', `lt_prog_compiler_static'.
2005-11-12 10:41:09 +00:00
Ralf Wildenhues
1d83a0c4cd * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [ freebsd ]:
Fix shlibpath_overrides_runpath settings.
Reported by Dave Benson <daveb@idealab.com>.
2005-11-11 22:04:52 +00:00
Albert Chin-A-Young
e5a66bd4cd * libltdl/m4/libtool.m4 (_LT_LANG_CXX_CONFIG)
<hppa*64,ia64, aCC,g++>:
Use C++ compiler for linking rather than ld.
2005-11-10 18:29:03 +00:00
Ralf Wildenhues
ce92bfea3d * libltdl/m4/ltsugar.m4 (lt_join, lt_combine, lt_dict_filter):
Rewrite to eliminate tail recursion; use ..
(lt_unquote): New trivial helper macro.
* libltdl/m4/libtool.m4 (_lt_decl_filter): Document.
2005-11-10 18:20:05 +00:00
Ralf Wildenhues
c0bb251e2a * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS): Also set pic_flag.
(_LT_LANG_CXX_CONFIG): Use $as_unset, not unset.
(_LT_LANG_F77_CONFIG, _LT_LANG_FC_CONFIG): Remove bogus
ld_shlibs tests.
2005-11-09 22:36:22 +00:00
Ralf Wildenhues
23f11d17fd * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS): Move setting of
`variables_saved_for_relink'..
(_LT_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:18:44 +00:00
Albert Chin-A-Young
9ec27df786 * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS)
(_LT_LANG_CXX_CONFIG) [ 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:28:25 +00:00
Ralf Wildenhues
c284cc00bc * libltdl/m4/libtool.m4 (_LT_TRY_DLOPEN_SELF): lt_unknown is
lt_dlunknown.
2005-11-06 12:59:53 +00:00
Ralf Wildenhues
e48857e1ed * libltdl/m4/libtool.m4 (LT_SYS_DLOPEN_SELF): Revert
expansion of `$wl'.
(_LT_LANG_C_CONFIG, _LT_LANG_CXX_CONFIG, _LT_LANG_GCJ_CONFIG):
Do not require LT_SYS_DLOPEN_SELF.
(_LT_LANG_C_CONFIG): Instead call it at the right time.
(_LT_LANG_CXX_CONFIG, _LT_LANG_F77_CONFIG, _LT_LANG_FC_CONFIG)
(_LT_LANG_GCJ_CONFIG): Do not call _LT_CMD_STRIPLIB.
2005-11-06 12:35:28 +00:00
Ralf Wildenhues
580906de04 * Makefile.am: `2>&1' as suggested by Albert Chin.
* libltdl/m4/libtool.m4, libltdl/m4/ltdl.m4:
Two newlines before each macro, fix underlines.
2005-11-06 11:37:25 +00:00
Ralf Wildenhues
6ece64c09f * libltdl/m4/libtool.m4 (_LT_ENABLE_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:10 +00:00
Kean Johnston
41520bf0e0 * libltdl/m4/libtool.m4 (LT_SYS_DLOPEN_SELF): Use
`lt_prog_compile_static', not `link_static_flag'.  Expand `$wl'
so expansion of `export_dynamic_flag_spec' works.
(_LT_TRY_DLOPEN_SELF): Show dlerror() in case of failure.
(_LT_LINKER_SHLIBS) [ aix3 ]: Likewise.
(_LT_COMPILER_PIC) [ hpux* ]: Use `${wl}'.
2005-11-01 16:08:48 +00:00
Kean Johnston
2fa760964e * libltdl/m4/libtool.m4 (LT_CMD_MAX_LEN): Set correctly for SCO. 2005-10-31 18:53:39 +00:00
Kean Johnston
4a312c762f * libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS): Set correct
symcode values for the native nm on SCO platforms.
2005-10-31 09:58:38 +00:00
Albert Chin-A-Young
0f34a7c48e * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG)
[ aix ]: Remove duplicate always_export_symbols=yes for AIX.
2005-10-31 08:37:26 +00:00
Ralf Wildenhues
6eb353954c * libltdl/m4/libtool.m4 (LT_PATH_NM): End test source with
newline.
Reported by Charles Wilson <cygwin@cwilson.fastmail.fm>.
2005-10-13 13:22:55 +00:00
Christian Biesinger
3ce310b7b5 * libltdl/m4/libtool.m4 (_LT_LANG_CXX_CONFIG) [ beos ]:
Initial shared library support for C++.
2005-10-09 06:25:03 +00:00
Ralf Wildenhues
0b56662f5c * libltdl/m4/libtool.m4 (_LT_LANG_CXX_CONFIG): Fix m4 quoting
for lt_simple_link_test_code.
Reported by Nicolas Joly <njoly@pasteur.fr>.
2005-10-05 15:57:05 +00:00
Ralf Wildenhues
26ed90e060 * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER): Require
AC_CANONICAL_HOST and _LT_DECL_SED.
2005-10-05 08:54:25 +00:00
Peter Ekberg
0122010ceb * libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS): Fix awk
script to be a single line so that the cache variable isn't
multiline.
2005-09-23 10:33:34 +00:00
Tim Rice
a95fd21401 * libltdl/m4/libtool.m4 (LT_PATH_NM, _LT_LINKER_SHLIBS)
(_LT_LANG_CXX_CONFIG, _LT_SYS_HIDDEN_LIBDEPS):
Add missing `;;' after case list.
2005-09-22 06:03:59 +00:00
Peter Ekberg
914ca45e9a * libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS, _LT_COMPILER_PIC)
(_LT_LINKER_SHLIBS): Require _LT_TAG_COMPILER to make sure that
$compiler is assigned. Fixes crippled configure output.
2005-09-22 04:53:14 +00:00
Peter Ekberg
f8af770f96 * libltdl/m4/libtool.m4 (LT_PATH_NM): Fix autodetection of
dumpbin and also check for "link -dump -symbols" as a synonym
for "dumpbin -symbols".
2005-09-21 16:50:18 +00:00
Peter Ekberg
a34da7bbd7 * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG):
Split up --out-implib option for linker in separate args so that
the MSYS path translation can do its magic on the provided path
to the import library. Fixes problem in stresstest.at on MinGW.
2005-09-20 12:12:23 +00:00
Ralf Wildenhues
ba0a5124be * libltdl/m4/libtool.m4 (_LT_COMPILER_BOILERPLATE)
(_LT_LINKER_BOILERPLATE, _LT_COMPILER_OPTION, _LT_LINKER_OPTION)
(_LT_COMPILER_C_O): When comparing expected and actual compiler/
linker output for warnings, weed out both empty lines as well as
lines starting with possibly indented `+', to allow for shell
debugging with `set -x'.
Check the weeded instead of unweeded contents for emptiness.
2005-09-09 15:55:14 +00:00
Peter Ekberg
aa7580d941 * libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS) [dumpbin]:
Symbols in "pick any" sections are not global. Use
awk, not sed, in the global_symbol_pipe so that keeping
track of sections is easier.
* doc/libtool.texi (libtool script contents): Update to hint
at new findings concerning "pick any" sections.
2005-09-08 08:25:35 +00:00
Charles Wilson
4897ef84fc * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG)
[ cygwin, mingw, pw32 ]: Use --enable-auto-image-base instead of
a fixed image base address.
2005-09-08 07:00:03 +00:00
Ralf Wildenhues
8d8b5bffd1 * libltdl/m4/libtool.m4 (_LT_CHECK_MAGIC_METHOD) [ sysv4*uw2*,
sysv4.2uw2* ]: Fix my last checkin to really match the more special
case before the general case.
Reported by Stepan Kasal <kasal@ucw.cz>.
2005-09-06 08:58:34 +00:00
Roger Cornelius
a79f2138c9 * libltdl/m4/libtool.m4 (AC_DEPLIBS_CHECK_METHOD)
[ sysv5OpenUNIX8, sysv5UnixWare7, sysv5uw[78], unixware7,
sysv4*uw2* ]: Match special cases before general case.
2005-09-06 08:18:10 +00:00
Ralf Wildenhues
b5c83ecbe5 * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [ aix ]
<export_symbols_cmds>: Work around shell expansion issue in
func_show_eval by separating `$' and field number; drop then
unnecessary m4 quoting.
2005-09-04 16:32:41 +00:00
Gary V. Vaughan
00d9e84dac AC_BEFORE only works if declarations are made inside the macro
cited as the first argument:

* libltdl/m4/libtool.m4 (LT_OUTPUT): Move AC_BEFORE decls...
(LT_INIT, LT_LANG): ...to the macro that has to come first.
2005-09-02 17:42:14 +00:00
Peter O'Gorman
4d59a4c27e * libltdl/m4/libtool.m4 (old_postintall_cmds): chmod 644 before
running ranlib.
Reported by Gerald Pfeifer <gerald@pfeifer.com>
2005-09-01 16:05:49 +00:00
Ralf Wildenhues
2c0905f691 * libltdl/m4/libtool.m4 (_LT_PROG_CXX, _LT_PROG_F77)
(_LT_PROG_FC): aclocal-1.4 compatibility workaround.
2005-09-01 14:16:08 +00:00
Ralf Wildenhues
9af1d3e4e7 * libltdl/m4/ltoptions.m4 (_LT_SET_OPTIONS): m4_defun this..
* libltdl/m4/libtool.m4 (LT_INIT): so it can be m4_require'd
from here with user-supplied options.  Fixes output macro
ordering issue.
2005-09-01 11:41:26 +00:00
Ralf Wildenhues
9fab6deb7f * libltdl/m4/libtool.m4 [ solaris CC ]: Document issue with C++
standard libraries.
2005-08-31 07:37:26 +00:00
Gary V. Vaughan
cda98d4fe2 * libltdl/m4/libtool.m4 (_LT_SETUP): Remove duplicate
--enable-libtool-lock declaration.
2005-08-30 10:50:11 +00:00
Ralf Wildenhues
d9d0ea4b2e * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER)
(_LT_PATH_TOOL_PREFIX, _LT_SYS_HIDDEN_LIBDEPS, _LT_DECL_EGREP):
Fix typos.
2005-08-29 15:36:26 +00:00
Gary V. Vaughan
d7e4165333 Some macros had relied on accidentally correct ordering in order
for $MV to be defined before use.  Factor out setting of some
common file commands and m4_require it before use:

* libltdl/m4/libtool.m4 (_LT_FILEUTILS_DEFAULTS): Allow user to
override some common file commands at configure time.
(_LT_SETUP, _LT_CONFIG, _LT_COMPILER_OPTION, _LT_LINKER_OPTION)
(_LT_COMPILER_C_O, _LT_COMPILER_FILE_LOCKS)
(_LT_SYS_DYNAMIC_LINKER, _LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG)
(_LT_SYS_HIDDEN_DEPLIBS): m4_require it to ensure the commands are
defined before they are called.
2005-08-28 23:30:06 +00:00
Gary V. Vaughan
684fb2fa37 * libltdl/m4/libtool.m4, libltdl/m4/ltdl.m4: AU_DEFUN doesn't pass
arguments.  Use AU_ALIAS instead!
2005-08-28 22:55:40 +00:00
Ralf Wildenhues
5faec2f98a * libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER)
(_LT_LINKER_SHLIBS): Double-quote unsafe tag variable
descriptions: they are literals.
2005-08-26 09:58:39 +00:00
Ralf Wildenhues
f24610a07d * libltdl/m4/libtool.m4 (_LT_COMPILER_C_O): Send chmod warning to log. 2005-08-24 14:48:30 +00:00
Peter Ekberg
efe47e6656 This commit results in a temporary non-building tree, but CVS can't
cope with moving a file and changing it in the same changeset:

* config, m4: Moved from here...
* libltdl/config, libltdl/m4: ...to here.
2005-08-22 22:33:35 +00:00