Ralf Wildenhues
22e9ff0862
* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [ linux ]:
...
Avoid warning when "parsing" `/etc/ld.so.conf' and empty
`/etc/ld.so.conf.d'.
Reported by Orion Poplawski <orion@cora.nwra.com>.
2006-03-28 18:11:28 +00:00
Ralf Wildenhues
dccb94d892
* libltdl/m4/argz.m4 (gl_FUNC_ARGZ): Sync with gnulib: If we
...
define `error_t', also define `__error_t_defined', so argp.h
will not typedef the former.
2006-03-25 11:05:02 +00:00
Ralf Wildenhues
9e38ec274b
* libltdl/m4/ltdl.m4 (LT_SYS_DLOPEN_DEPLIBS) [ freebsd ]
...
[ dragonfly ]: Set libltdl_cv_sys_dlopen_deplibs to yes.
Fixes excessive lt_dlopen times on these systems.
* NEWS, THANKS: Update.
Bug reported by Peter Jeremy <peterjeremy@optushome.com.au>,
patch by Joerg Sonnenberger <joerg@netbsd.org>.
2006-03-23 22:39:41 +00:00
Ralf Wildenhues
c95b003861
* libltdl/config/ltmain.m4sh (func_mode_link)
...
< -static-libtool-libs >: New option.
* doc/libtool.texi (Link mode, Distributing libltdl):
Document it.
Suggested by Gary Kumfert <kumfert@llnl.gov>.
2006-03-20 20:40:07 +00:00
Ralf Wildenhues
a35265f704
* libltdl/m4/libtool.m4 (AC_PROG_SED): Do not forget to reset
...
IFS even in case of empty `$PATH'.
2006-03-17 04:20:17 +00:00
Ralf Wildenhues
3514d5f59b
* libltdl/config/ltmain.m4sh (func_mode_link): Comment out the
...
code to remove uninstalled paths, as it is wrong here. Change
the wrong shell quoting that kept it from "working" before.
* THANKS: Updated.
2006-03-16 20:47:54 +00:00
Ralf Wildenhues
d465ae7036
* libltdl/m4/libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER)
...
[ freebsd, dragonfly ]: Fix 1.5.22 regression caused by too
strict $host_os match that stopped DragonFly from working.
* THANKS: Updated.
Reported by Jeremy C. Reed <reed@reedmedia.net>,
patch by Todd Vierling <tv@duh.org>.
2006-03-16 16:56:34 +00:00
Ralf Wildenhues
af7ada4155
* libltdl/config/ltmain.m4sh (startup): save all locale specific
...
environment, variables:, LANG, LANGUAGE, LC_ADDRESS, LC_ALL
LC_COLLATE, LC_CTYPE, LC_IDENTIFICATION, LC_MEASUREMENT,
LC_MESSAGES LC_MONETARY, LC_NAME, LC_NUMERIC, LC_PAPER,
LC_TELEPHONE, LC_TIME.
(func_mode_execute): Restore them.
2006-02-24 19:45:48 +00:00
Ralf Wildenhues
1cafea60ff
* libltdl/config/getopt.m4sh (func_help): Substitute `$host'.
...
* libltdl/config/ltmain.m4sh (help message): Use $host not
@host_triplet@, as the `@..@' substitution is done at bootstrap
time already.
Reported by Julien Lecomte <julien@famille-lecomte.net>.
2006-02-15 09:33:47 +00:00
Ralf Wildenhues
f4cb10f1ba
* libltdl/config/ltmain.m4sh (func_mode_link) [ linux ]:
...
PGI: for `reload_cmds', we not only need to get rid of `$wl',
but also turn comma into space so $LD understands
whole_archive_flag_spec correctly.
2006-02-13 17:02:28 +00:00
Ralf Wildenhues
cf53b3d95a
* libltdl/config/ltmain.m4sh (func_mode_link) <shell wrapper>:
...
Add _AS_BOURNE_COMPATIBLE code from Autoconf, to fix issues
with zsh and other shells.
Reported by David Gómez Espinosa <david@pleyades.net>.
2006-02-13 16:51:50 +00:00
Ralf Wildenhues
bba62bd35b
* libltdl/m4/libtool.m4 (AC_PROG_SED): m4_defun this rather
...
than AC_DEFUN, so that old aclocal does not pick this up.
2006-02-09 16:04:01 +00:00
Ralf Wildenhues
b4b9f408c0
* libltdl/config/ltmain.m4sh (extracted_archives)
...
(extracted_serial): New globals.
(func_extract_archives): Use them to rename extraction archives
for linking against multiple convenience libraries with the same
name.
* tests/duplicate_conv.at: New tests.
* Makefile.am: Adjusted.
Reported by Carlo Contavalli <ccontavalli@commedia.it>.
2006-02-05 11:06:31 +00:00
Ralf Wildenhues
7d94a98b90
* libltdl/config/ltmain.m4sh (func_mode_link) < test_compile >:
...
Fix a couple of instances where `test .. -ne ..' would possibly
compare non-numbers. Clean up a bit.
2006-02-05 10:24:42 +00:00
Ralf Wildenhues
8d0a9a99da
* libltdl/m4/libtool.m4 [ solaris ] (_LT_LINKER_SHLIBS)
...
(_LT_LANG_CXX_CONFIG) < whole_archive_flag_spec >:
Fix this once and for all, for both the SUN compiler suite
(cc/CC/f77/f90/f95) and GCC.
Reported by Yuri Pukhalsky <pooh@cryptopro.ru>.
2006-02-03 20:03:54 +00:00
Ralf Wildenhues
5e3fb346e5
* libltdl/config/ltmain.m4sh (func_mode_link): Fix logic for
...
adding run paths to also add paths for installed libtool
libraries in case `-static' is used.
2006-02-03 09:25:01 +00:00
Ralf Wildenhues
8bc6f72db2
* libltdl/config/ltmain.m4sh (func_mode_link): Fix matching
...
duplicate run path entries with the correct separator.
2006-01-30 20:20:54 +00:00
Ralf Wildenhues
88721edb92
* ChangeLog, HACKING, README, README.alpha,
...
libltdl/config/ltmain.m4sh: Add vi(m) modelines, to match emacs
formatting variables.
2006-01-30 20:09:41 +00:00
Ralf Wildenhues
b794bc707a
* Makefile.am, bootstrap, clcommit.m4sh,
...
libltdl/config/getopt.m4sh, libltdl/config/mailnotify.m4sh,
tests/sh.test, tests/testsuite.at: Bump copyright years.
2006-01-23 18:33:57 +00:00
Ralf Wildenhues
1d9ab46f1e
* bootstrap: Don't use semicolons inside { } in sed scripts, as
...
Posix says it's not portable.
* Makefile.am (libltdl/Makefile.am): Likewise.
* libtoolize.m4sh (all over the map): Likewise.
* libltdl/config/getopt.m4sh (func_version, func_usage)
(func_help): Likewise.
* libltdl/config/ltmain.m4sh (func_win32_libid): Likewise.
* libltdl/m4/libtool.m4 (_LT_SYS_MODULE_PATH_AIX): Likewise.
* clcommit.m4sh, libltdl/config/mailnotify.m4sh: Likewise.
* tests/sh.test, tests/testsuite.at (LT_AT_TAG): Likewise.
Noted by Paul Eggert <eggert@cs.ucla.edu>.
2006-01-21 16:44:41 +00:00
Ralf Wildenhues
488dce300f
* libltdl/config/ltmain.m4sh (func_mode_compile): Also transform
...
`.obj' correctly.
Reported by George Bosilca <bosilca@cs.utk.edu>.
2006-01-21 08:56:43 +00:00
Ralf Wildenhues
03d1de542c
* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC): Fix my forward port
...
error of last commit.
2006-01-13 10:07:33 +00:00
Leif Ekblad
e425114109
* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER)
...
(_LT_CHECK_MAGIC_METHOD, _LT_COMPILER_PIC): Added support for
RDOS.
* NEWS: Updated.
2006-01-12 22:02:56 +00:00
Ralf Wildenhues
83b8d935cc
* libtoolize.m4sh, libltdl/config/general.m4sh,
...
libltdl/config/getopt.m4sh, libltdl/config/ltmain.m4sh,
libltdl/m4/libtool.m4: Bump copyright years.
2006-01-11 17:24:56 +00:00
Ralf Wildenhues
3036ac5576
* libltdl/config/ltmain.m4sh (func_mode_link) <temp_rpath>:
...
Fix position of separator for shlibpath_var setting in shell
wrapper.
2005-12-29 15:43:04 +00:00
Ralf Wildenhues
ab87d7df74
* libltdl/lt_error.c (error_strings): Remove parentheses around
...
string literal initializers, uncovered by `tcc'.
Reported by Edward Chernenko <edwardspec@yahoo.com>.
2005-12-29 13:52:54 +00:00
Gary V. Vaughan
b85731007e
* .cvsignore, libltdl/.cvsignore, tests/.cvsignore: Ignore
...
+build, +dest, +inst, .cvslog-tlasync, .gdb_history, .pc,
libltdl/INSTALL, libltdl/stamp-mk and tests/testsuite.log.
2005-12-21 11:40:47 +00:00
Jacob Meuser
841602adb6
* libltdl/config/ltmain.m4sh (func_mode_link): Move library
...
search paths that coincide with paths to not yet installed
libraries to the beginning of the library search list.
2005-12-18 23:06:44 +00:00
Ralf Wildenhues
c480ecea14
* libltdl/config/ltmain.m4sh <preserve_args, linknames>:
...
Initialize properly.
2005-12-18 18:10:09 +00:00
Kean Johnston
3c3e9801c3
* libltdl/m4/libtool.m4 (LT_PATH_NM): Also look in
...
/usr/ccs/bin/elf, for SCO. If we are not cross-compiling, but
$ac_tool_prefix is set, also try an un-prefixed `nm'.
2005-12-18 13:09:45 +00:00
Ralf Wildenhues
cba6430b31
* libltdl/m4/libtool.m4 (_LT_LANG_CXX_CONFIG)
...
<hardcode_shlibpath_var>: Initialize, to `unsupported'.
2005-12-18 12:56:16 +00:00
Marc Espie
a71c53ae8b
* libltdl/m4/libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER)
...
[ openbsd ] <sys_lib_dlsearch_path_spec>: Set to `/usr/lib'
only.
2005-12-18 12:06:51 +00:00
Ralf Wildenhues
1269486389
In the subpackage case, we do not install Makefile.inc. Since
...
we have to be correct for this case, remove `Makefile.inc' from
EXTRA_DIST. Recursive mode does not use it either. Since
nonrecursive mode requires an Automake >= 1.7 anyway, and those
versions automatically distribute included makefile fragments,
we don't need to cater for that one either.
* libltdl/Makefile.inc (EXTRA_DIST): Remove Makefile.inc.
Reorder other entries.
2005-12-16 16:36:20 +00:00
Ralf Wildenhues
8f31b780b5
* libltdl/m4/lt~obsolete.m4: Update documentation for aclocal
...
versions before 1.7. Change all macros to use AC_DEFUN instead
of AU_DEFUN.
* (_AC_PROG_LIBTOOL, AC_LIBTOOL_SETUP, _LT_AC_CHECK_DLFCN)
(AC_LIBTOOL_SYS_DYNAMIC_LINKER, _LT_AC_TAGCONFIG)
(AC_DISABLE_FAST_INSTALL, _LT_AC_LANG_CXX, _LT_AC_LANG_F77)
(_LT_AC_LANG_GCJ, AC_LIBTOOL_RC, AC_LIBTOOL_LANG_C_CONFIG)
(_LT_AC_LANG_C_CONFIG, AC_LIBTOOL_LANG_CXX_CONFIG)
(_LT_AC_LANG_CXX_CONFIG, AC_LIBTOOL_LANG_F77_CONFIG)
(_LT_AC_LANG_F77_CONFIG, AC_LIBTOOL_LANG_GCJ_CONFIG)
(_LT_AC_LANG_GCJ_CONFIG, AC_LIBTOOL_LANG_RC_CONFIG)
(_LT_AC_LANG_RC_CONFIG, AC_LIBTOOL_CONFIG)
(_LT_AC_FILE_LTDLL_C): Add new fake macros for these, they
were used at one time in libtool.m4.
2005-12-16 16:02:43 +00:00
Eric Blake
7e895363ef
* libltdl/libltdl/lt__alloc.h (FREE): Cast away constness of
...
argument to `free' to avoid compiler warning.
2005-12-08 17:27:09 +00:00
Peter O'Gorman
436146c7db
* libltdl/m4/libtool.m4 (_LT_LANG_CXX_CONFIG, _LT_LINKER_SHLIBS)
...
[darwin]: Use $LTCC $LTCFLAGS to check for -single_module.
Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2005-12-08 04:17:02 +00:00
Peter O'Gorman
8a3f305377
* libltdl/config/ltmain.m4sh, libltdl/m4/libtool.m4 [darwin]:
...
Use -single_module by default when linking shared libraries. Can
be overridden by specifying -multi-module or by setting the env
var LT_MULTI_MODULE before configure.
* libltdl/m4/libtool.m4 (archive_expsyms_cmds) [darwin]:
Simplify.
Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2005-12-07 13:23:14 +00:00
Ralf Wildenhues
33c0290e19
Basic support for PIE (position-independent executables).
...
* libltdl/config/ltmain.m4sh (func_generate_dlsyms):
Don't pass PIE flag for compilation of the symbol file object.
* NEWS: Updated.
2005-12-03 08:48:15 +00:00
Ralf Wildenhues
1ef097dbf6
* libltdl/config/general.m4sh (func_show_eval):
...
Rewrite use the failure expression, because the exit status of
the previous command may not be preserved in the next `eval' by
some shells, such as pdksh.
* libltdl/config/ltmain.m4sh (func_extract_an_archive):
Use func_show_eval correctly.
(func_mode_link): Likewise. Also, do not use `$status'.
* tests/fail.at: New set of tests to ensure libtool fails.
* Makefile.am, tests/testsuite.at: Adjusted.
2005-12-03 08:33:48 +00:00
Peter O'Gorman
efbbaaaf16
* libltdl/m4/libtool.m4 [darwin]: Use $LTCC $LTCFLAGS to create
...
reloadable objects.
2005-11-27 15:18:09 +00:00
Ralf Wildenhues
fe39aca14e
* libltdl/Makefile.inc (libltdl/argz.h): Create libltdl
...
directory if it does not exist yet. Take care that munging
of the file will not mess up the build rule.
Reported by Peter O'Gorman <peter@pogma.com>.
2005-11-25 18:54:08 +00:00
Eric Blake
794a900c74
* libltdl/loaders/loadlibrary.c (iface_id): New variable.
...
(get_vtable): Get an `iface_id' from `lt_dlinterface_register'.
(get_vtable): Rewrite to catch up with lt_dlhandle_iterate
interface change. Append dot only after w32 path conversion
so it works on cygwin managed mounts.
2005-11-25 18:44:43 +00:00
Eric Blake
a0d0a9adc0
* libltdl/ltdl.h, libltdl/ltdl.c (lt_dlinterface_free): New
...
function.
* doc/libtool.texi (User defined module data): Document it.
2005-11-25 18:42:28 +00:00
Ralf Wildenhues
96a89e9c51
* libltdl/m4/libtool.m4 [aix] <archive_expsym_cmds>
...
(_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG): Always move -bnoentry
before $compiler_flags, so it can be overridden.
2005-11-25 18:17:49 +00:00
Ralf Wildenhues
d90ab8c89c
* libltdl/config/ltmain.m4sh (func_mode_link): Allow GCC
...
response files through.
2005-11-25 18:13:53 +00:00
Peter O'Gorman
36e0337870
* libltdl/config/ltmain.m4sh (link mode): Pass through -isysroot
...
for cross architecture builds on darwin.
2005-11-25 12:50:54 +00:00
Ralf Wildenhues
2b5012fda1
* libltdl/config/ltmain.m4sh (func_mode_uninstall): In clean
...
mode, don't remove non-existent libfoo.lai.
2005-11-24 16:00:27 +00:00
Todd Vierling
7389434efe
* libltdl/m4/libtool.m4 (LT_CMD_MAX_LEN, _LT_SYS_DYNAMIC_LINKER)
...
(_LT_CHECK_MAGIC_METHOD, _LT_COMPILER_PIC, _LT_LINKER_SHLIBS)
(_LT_LANG_CXX_CONFIG) [ interix3 ]: Support for Interix/Microsoft
Services for Unix.
* libltdl/m4/ltdl.m4 (LT_SYS_DLOPEN_DEPLIBS): Likewise.
* NEWS: Updated.
2005-11-20 08:45:54 +00:00
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
7f20fac17f
* libltdl/m4/lt~obsolete.m4 (_LT_CC_BASENAME)
...
(_LT_COMPILER_BOILERPLATE, _LT_LINKER_BOILERPLATE):
Added because they were added to branch-1-5 AC_DEFUNed.
* HACKING: Add note about lt~obsolete.m4.
2005-11-14 20:48:15 +00:00