Commit Graph

756 Commits

Author SHA1 Message Date
Alexandre Oliva
6bb788c606 blank lines should not contain whitespace 1999-03-19 15:54:21 +00:00
Gary V. Vaughan
e44bc21c59 * ltmain.in (dependency_libs): There is no reason to infer that
the pseudo library is invalid if dependency_libs='' at
install-time, or else libltdl/libltdl.la is invalid!!
1999-03-19 10:18:39 +00:00
Thomas Tanner
64d9b880c5 * merged my inter-library dependencies code from the ILD branch:
* NEWS: inter-library dependencies are now supported
* configure.in: add the depdemo subdirectory
* depdemo/*: new demo to demonstrate inter-library dependencies
* tests/depdemo*: new tests for depdemo
* ltconfig.in: added hardcode_into_libs (whether library paths
  should be hardcoded into the libraries),
  it currently defaults to 'no'
* ltmain.in: new internal 'relink' mode to relink libraries
  on platforms with hardcode_into_libs=yes, save command line
  arguments in libtool_args, accept relative -L directories,
  ignore -lm on BeOS and Cygwin, always ignore -lc,
  handle -l, -L and .la arguments later, always make the library
  installation directory (-rpath) absolute, in relink mode don't
  delete the not-relinked library and exit immediately after relinking,
  try to find already-installed libtool libraries that were specified
  using -l, support hardcoding of library paths into libraries too,
  export shlibpath before linking libraries, and a lot of other
  big changes that I don't want to describe here... please read
  the source.

* merged Gary's Win32 code from the ILD branch:
* NEWS: Win32 DLLs are now supported
* TODO: removed .a library namespace clash for win32.  It is
  now resolved.
* ltconfig.in (cygwin, library_names_spec):  removed $libname.a.
  Creating a dll with libtool no longer creates an import library.
* ltconfig.in (extract_expsyms_cmds): Create $objdir if it does
  not exist -- i.e. we need to generate import an import library
  in a directory which has no libs of its own.
* doc/libtool.texi (old_archive_from_expsyms_cmds,
  extract_expsyms_cmds): documented these new variables.
* ltconfig.in (extract_expsyms_cmds): New variable.  Commands to
  extract the exported symbol list from a dll.
  (old_archive_from_expsyms_cmds): New variable.  Commands to build
  an old archive from the extracted expsyms list.
* ltmain.in: run the cmds in extract_expsyms_cmds and
  old_archive_from_expsyms_cmds as necessary.
* ltconfig.in (cygwin, old_archive_from_new_cmds): no longer
  required.
* ltconfig.in (cygwin, shlibpath_overrides_runpath): I'm not even
  sure whether win32 honours the runpath at all when searching for
  a dll to load!  Anyway, when set to yes this prevents a gratuitous
  warning.
* ltmain.in (deplib): The cygwin environment doesn't actually have
  -lm, and although the linker fakes having one, specifiying it to
  libtool will break ILD, so we ignore it when generating
  dependencies.
1999-03-18 21:57:08 +00:00
Gary V. Vaughan
013f1fb0ca * doc/PLATFORMS: Thanks to Alexandres changes below, both my
hp boxes pass the entire test suite.
1999-03-17 15:10:58 +00:00
Alexandre Oliva
b16dd68b9f typo (won't I ever learn that Zadok ends with k?) 1999-03-17 14:36:35 +00:00
Alexandre Oliva
22d7fd8cb5 * ltconfig.in (hpux*, hardcode_minus_L): should be no, we have +b
(hpux*, hardcode_libdir_separator): set to colon
1999-03-17 14:04:07 +00:00
Alexandre Oliva
e00de0d5e2 new 1999-03-17 07:07:04 +00:00
Alexandre Oliva
030c6635a0 s/debug/static/ 1999-03-17 06:53:36 +00:00
Alexandre Oliva
2fe7025e86 * doc/PLATFORMS: egcs is gcc; updates from Erez Zadoc 1999-03-17 06:48:31 +00:00
Alexandre Oliva
85804ca48e * ltmain.in (deplibs, beos*): don't append -lc
Reported by Xavier Pianet <xavier@xingo.com>
1999-03-17 00:47:53 +00:00
Alexandre Oliva
55aaaf9e09 * tests/build-relink.test (hardcode_action): when set to relink,
skip the test with lt-hell
1999-03-16 22:48:24 +00:00
Alexandre Oliva
37d2685834 * Makefile.am (EXTRA_DIST): add mkstamp
Reported by Xavier Pianet <xavier@xingo.com>
1999-03-16 22:17:46 +00:00
Alexandre Oliva
2443e3b73b * Makefile.am (EXTRA_DIST): add ChangeLog.0 1999-03-16 21:04:50 +00:00
Thomas Tanner
d3d99595b1 started new ChangeLog 1999-03-16 16:54:48 +00:00
Thomas Tanner
b990064c0f * ltconfig.in: some cosmetical changes
* ltmain.in: ditto
1999-03-16 15:41:53 +00:00
Alexandre Oliva
992f8947dc * configure.in, libtool.spec, NEWS: bump to 1.3a
* Branched for release 1.3 (branch-1-3)
* configure.in, libtool.spec, NEWS: bump to 1.2g
1999-03-15 20:16:33 +00:00
Alexandre Oliva
d6b6c13f5b * configure.in, libtool.spec: bump to 1.2f
* doc/PLATFORMS: ditto
* NEWS: libtool 1.2f released
1999-03-15 17:25:06 +00:00
Alexandre Oliva
6caa2fd6cc * ltmain.in: silence ``unbug :-) detected by sh.test 1999-03-15 17:04:56 +00:00
Alexandre Oliva
deac33cf8e * ltmain.in: silence ``unbug'' :-) detected by sh.test 1999-03-15 16:53:39 +00:00
Alexandre Oliva
3c5b79822e * TODO: we now use full pathnames for `file' 1999-03-14 11:42:19 +00:00
Thomas Tanner
7378519a1b * TODO: libltdl is now documented
* doc/libltdl.texi (linking with installed libtool libraries):
  fixed typo
* doc/libltdl.texi (libltdl): added documentation for building
  libtool modules and examples how to embed libltdl
* ltmain.in: don't ignore user-specified run-paths (fixed it
  at the right place)
1999-03-14 11:18:37 +00:00
Alexandre Oliva
d4d597e0ed * ltmain.in (deplibs_check_method=none): discard -L and -R
switches when testing whether deplibs contains some library
1999-03-14 10:56:23 +00:00
Erez Zadok
5f977cb540 * config.sub: recognize hppa2.0w, yet to be installed at GNU 1999-03-14 08:00:05 +00:00
Erez Zadok
c770ca334e * config.guess: minor update for FreeBSD-elf, yet to be installed
at GNU
1999-03-14 07:57:29 +00:00
Alexandre Oliva
6751463a48 * ltconfig.in (bsdi4*, sys_lib_search_path_spec,
sys_lib_dlsearch_path_spec): fix thinko in variable names; add
standard directories
1999-03-14 07:23:26 +00:00
Alexandre Oliva
230c1a794b more updates from Erez Zadok 1999-03-14 06:47:48 +00:00
Alexandre Oliva
e15156d206 * ltmain.in (exclude_expsyms): exclude symbols before sorting,
otherwise only the sorted list will have them excluded
1999-03-14 06:00:49 +00:00
Alexandre Oliva
5e7dd3cfd9 * ltconfig.in (file_magic_cmd, file_magic_test_file, freebsd-elf*,
bsdi4*): use full pathnames when possible
1999-03-14 05:51:02 +00:00
Alexandre Oliva
61b5e233b4 added acinclude.m4 1999-03-14 05:43:03 +00:00
Alexandre Oliva
19718ecd62 * Makefile.am (all-recursive): depend on ACINCLUDE_M4_LIST
(all-local, check-local): remove, unused
1999-03-14 05:41:21 +00:00
Alexandre Oliva
a8aef20e0e * config.guess: minor update for FreeBSD-elf, yet to be installed
at GNU
1999-03-14 05:25:13 +00:00
Alexandre Oliva
46aa918139 more reformatting 1999-03-14 05:11:11 +00:00
Alexandre Oliva
cc66e6eddb * doc/PLATFORMS: updated platforms tested on 1.2f-pre; clean up;
reorder; untabify
1999-03-14 04:41:59 +00:00
Alexandre Oliva
8f33d8b6d4 * config.guess, config.sub: updated from GNU common 1999-03-14 03:40:05 +00:00
Alexandre Oliva
a1210f767e * doc/libtool.texi: notes on thread-safety problems of
libltdl/dlopen on GNU/Linux and FreeBSD
1999-03-14 03:34:32 +00:00
Alexandre Oliva
5030549808 * ltconfig.in (aix3*, aix4*): GNU ld on AIX is very broken: it
cannot create working shared libraries.  Print a warning
suggesting the user not to use it and disable shared libraries.
1999-03-14 03:14:29 +00:00
Alexandre Oliva
06f34a0898 * ltconfig.in (global_symbol_to_cdecl): was reset before trying
`symprfx=_', rendering the test with `_' useless
1999-03-14 03:04:42 +00:00
Alexandre Oliva
d4a6d36ef0 * doc/libtool.texi (AM_PROG_LIBTOOL): eliminate overfull boxes 1999-03-14 03:00:21 +00:00
Alexandre Oliva
6ac54a6320 * doc/libtool.texi: complete dlopening/libltdl documentation 1999-03-14 02:31:38 +00:00
Alexandre Oliva
93f8997b02 * ltconfig.in (osf3*, osf4*, deplibs_check_method): pass_all does
not really work; use file_magic instead.
(osf3*, osf4*): customize sys_lib_[dl]search_path_spec
1999-03-14 00:40:03 +00:00
Alexandre Oliva
6ee69fe155 * ltconfig.in (file_magic_test_file): new variable; if set, it
will be used as an argument for $file_magic_cmd to test whether
the regex in deplibs_check_method matches its output
(file_magic_cmd): use full pathnames whenever possible
1999-03-14 00:34:34 +00:00
Alexandre Oliva
6518dbe0dd oops, cut&paste error 1999-03-13 23:18:49 +00:00
Alexandre Oliva
eae67ea2bf * ltconfig.in (sys_lib_dlsearch_path_spec): new variable, that
lists the system *run-time* search path.  Listed directories are
not implicitly hard-coded into executables.
* ltmain.in: use it, but *never* discard -R flags
* doc/libtool.texi: document it
* NEWS: ditto
Reported by Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
1999-03-13 23:09:57 +00:00
Alexandre Oliva
0762ab0a48 * tests/sh.test: look for $Xsed' without $echo "X...'
* ltconfig.in, ltmain.in: fixed a few such occurrences
1999-03-13 22:20:33 +00:00
Alexandre Oliva
d80906a5d0 * ltmain.in (-static, -all-static): revert March 11's patch, I was
barking up the wrong tree
1999-03-13 21:18:33 +00:00
Thomas Tanner
5a20021ee6 updated depdemo 1999-03-13 17:41:49 +00:00
Thomas Tanner
61bb801686 * libltdl/ltdl.c: removed FILENAME_MAX since LTDL_FILENAME_MAX
is sufficient and doesn't break HP/UX
1999-03-12 20:47:44 +00:00
Alexandre Oliva
d3d44b7803 * ltconfig.in: (global_symbol_pipe) extract symbol tag from the
output of NM too
(global_symbol_to_cdecl): new variable; convert the output of
global_symbol_pipe to valid C declarations; on HP/UX, convert
text symbols to function declarations
* libtool.m4: similar modifications
* doc/libtool.texi: document new variable
* ltmain.in: use global_symbol_to_cdecl to generate lt_dlpreopened
symbols; avoid extracting symbol lists from dlpreopened files
twice; do not filter symbols from dlpreopened libraries
* TODO: fixed HP/UX dlpreopening problem
1999-03-11 22:55:48 +00:00
Alexandre Oliva
d3fefd9d6c * ltmain.in (-static, -all-static): set dlopen_self to
$dlopen_self_static regardless of link_static_flag or pic_flag
1999-03-11 22:46:07 +00:00
Alexandre Oliva
16d8b07615 * ltmain.in: FreeBSD bug that needs symbol table compiled with
-fPIC is fixed in release 3.1; use it only for 2.* and 3.0
1999-03-11 22:38:51 +00:00