Commit Graph

713 Commits

Author SHA1 Message Date
Thomas Tanner
f7e4e308ce * doc/libtool.texi (link mode): documentation for -module updated
* ltconfig.in: fast-install mode doesn't work for
  hardcode_into_libs=yes
* ltmain.in: bugfix: "-dlopen self [-all]-static" wouldn't use
  dlopen_self_static, automatically enable -export-dynamic when
  using "-dlopen self",	always make run-paths absolute,
  ignore -lc only on platforms that don't have such a library,
  cleanups in the ILD code, find even installed libtool libraries
  that were moved, before generating the DLL-import library we need
  to set libname, improved hardcoding of shlibpath for libraries,
  don't generate an installable pseudo-library for convenience
  libraries, bugfix: export_symbols would be removed immediately
  before it is used
1999-03-20 21:59:15 +00:00
Thomas Tanner
e65f46d3fc * use the same header in all configure.in's and Makefile.am's
* NEWS: improved support for BeOS and Cygwin
* TODO: ILD branch was merged, all internal variables and macros
  are now documented
* demo/Makefile.am: use $(LIBS) instead of -lm
* doc/libtool.texi: documented new variable hardcode_into_libs
  and thread_safe_flag_spec, renamed all AM_ENABLE/DISABLE_* macros
  to AC_*, documented AC_DISABLE_FAST_INSTALL and AC_LIBTOOL_DLOPEN
* libltdl/ltdl.c: added two new error messages (cannot_open_error,
  cannot_close_error), use them where approriate,
  BeOS support (thanks to Xavier Pianet), on BeOS search modules
  additionally in ADDON_PATH
* libtool.m4: rewrote AC_CHECK_LIBM: BeOS and Cygwin don't have
  libm and *-ncr-sysv4.3* requires libmw
* ltconfig.in: don't check for LoadLibrary, hardcode dlopen
  configuration for BeOS and Cygwin
* ltmain.in: fix sourcing of .la files on Solaris
  (patch by Raja R Harinath)
1999-03-20 00:27:33 +00:00
Alexandre Oliva
df9ed2d8d4 * ltconfig.in (sunos4*, with_gnu_ld, hardcode_minus_L): remove, we
have -rpath
(aix4*, without_gnu_ld, hardcode_shlibpath_var): unsupported is
default
(hpux9*, hpux10*, hpux11*, archive_cmds): drop +s, unneeded here
(hpux9*, hpux10*, hpux11*, hardcode_libdir_flag_spec): add +s
before +b
(hpux9*, hpux10*, hpux11*, shlibpath_overrides_runpath): since +s
appears before +b, set it to yes
(hardcode_shlibpath_var, hardcode_action): do not use
shlibpath_var to specify the compile-time search path; it loses,
and we may end up linking with pre-installed older versions of
libraries instead of yet-to-be-installed ones
(*, hardcode_direct, hardcode_minus_L): remove entries that set
them to no, that is default
1999-03-19 19:50:49 +00:00
Alexandre Oliva
339498a9de * demo/Makefile.am (hc-direct, hc-libpath, hc-minusL): link with
$$hardcode_libdir_flag_spec, if available, with libdir=$(libdir),
to make sure the hardcode_* variables will produce the expected
results even in the presence of a hardcoding flag; depend on
libhello.la having been installed already
(hc-libflag): link with the installed library, but try to
hard-code the uninstalled one
* doc/libtool.texi: document the changes
1999-03-19 18:43:32 +00:00
Alexandre Oliva
bbb484049e * tests/*.test: when a test fails, skip tests that depend on it.
If a certain configuration is not supported, skip all its tests.
1999-03-19 17:58:53 +00:00
Alexandre Oliva
e3da7154b0 * doc/libtool.texi: reorder tests to reflect execution order 1999-03-19 17:30:18 +00:00
Alexandre Oliva
72a4710566 * tests/noinst-link.test: new test
* tests/Makefile.am (TESTS): added noinst-link.test
* doc/libtool.texi: document it
1999-03-19 16:54:29 +00:00
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