Commit Graph

781 Commits

Author SHA1 Message Date
Pavel Roskin
3e995631de * Makefile.am (uninstall-local): Remove installed libltdl tree. 1999-04-25 09:07:02 +00:00
Alexandre Oliva
bae6856cd0 * demo/Makefile.am (hc-direct, hc-libflag, hc-libpath, hc-minusl):
Added CFLAGS to link commands; SCO OSR needs it for -belf.
1999-04-25 08:35:32 +00:00
Alexandre Oliva
c665b28750 * TODO: -Wl and -Wc options. 1999-04-25 08:32:28 +00:00
Alexandre Oliva
d19a427a9c * libltdl/ltdl.c: Remove trivial warnings. 1999-04-12 19:41:29 +00:00
John David Anglin
b6e26ad6dd * libltdl/ltdl.c (shl_close): shl_t was correct here...
(shl_sym): ... but we have to pass the handle by reference here.
1999-04-12 19:02:18 +00:00
Alexandre Oliva
4b0ee5c032 typos 1999-04-12 06:22:39 +00:00
Alexandre Oliva
10dbe52dc8 * doc/libtool.texi (Invoking ltconfig): Document environment
variables used.
1999-04-12 06:10:59 +00:00
Alexandre Oliva
7bf12d64b8 * doc/libtool.texi (Invoking ltconfig): Document --cache-file. 1999-04-12 05:39:52 +00:00
Alexandre Oliva
ddcd2e7a1e * doc/libtool.texi (Invoking ltconfig): Document
--disable-fast-install, --enable-dlopen, --with-gnu-ld and
--disable-lock.
1999-04-12 05:32:54 +00:00
Thomas Tanner
c836f3090d * libltdl/configure.in: check for shl_load in libdld
* libltdl/ltdl.c (shl_close, shl_sym): use (shl_t *) instead of shl_t
* ltconfig.in (check for gcc): removed a bogus line,
  check for shl_load in libdld
* ltmain.in: added a warning to the header of the .la file
  to warn users against deleting the file,
  link shared against static libraries if
  deplibs_check_method == pass_all
1999-04-11 21:10:04 +00:00
Alexandre Oliva
4dac81d0d7 * libtool.m4 (AC_PROG_LD, AC_PROG_NM): When looking for programs,
try $ac_exeext too, so that they're found on DJGPP/MS-DOS.
* ltconfig.in: Likewise.
Reported by Robert S. Maier <rsm@math.arizona.edu>
1999-04-10 05:42:35 +00:00
Alexandre Oliva
6103261ff5 * ltconfig.in (Usage): Removed --enable-dlopen-self.
Reported by Pavel Roskin <pavel_roskin@geocities.com>
1999-04-10 05:12:17 +00:00
Alexandre Oliva
b4c360e9bc * ltconfig.in: Moved sysv4 before sysv4.*.
(symcode): Brian's overrider is specific to sysv4, not sysv4*.
1999-04-10 04:54:50 +00:00
Thomas Tanner
1ebc0a7f9b * NEWS, README: Motorola System V 4 support
* doc/PLATFORMS: added mk88-motorola-sysv4
* ltconfig.in: installed patch from Brian Ford <ford@vss.fsi.com>
  to support mk88-motorola-sysv4
1999-04-09 18:47:16 +00:00
Thomas Tanner
2c12b26e57 * doc/libtool.texi: some cleanups in the libltdl documentation 1999-04-08 22:55:45 +00:00
Alexandre Oliva
45641b8620 * ltconfig.in (--fallback-echo): Do not put an inline document and
an exec in the same if construct; otherwise the inline document
may not be removed.
* ltmain.in (--fallback-echo): Likewise.
Reported by John David Anglin <dave.anglin@nrc.ca>
1999-04-08 00:47:59 +00:00
Alexandre Oliva
de757d463e * dryrun.test: It would still fail at random times, because `cp'
and `mv' are not guaranteed to preserve the timestamps of the
installed files.  Instead of preserving them, just remove them
before the dry uninstall test.  Redirect dry-run output to stderr,
so that it can be easily separated from the regular output.
1999-04-07 19:36:05 +00:00
Thomas Tanner
8b59047341 * NEWS: support for moved libraries
* libtool.m4: another DJGPP fix
1999-04-07 10:55:44 +00:00
Alexandre Oliva
dbfc51f5b4 * doc/PLATFORMS: Updated to 1.3 for all platforms I've got. I'll
make sure 1.3 won't be released unless it passes all tests on
those platforms.
1999-04-07 10:29:49 +00:00
Alexandre Oliva
0225bec239 * doc/libtool.texi (Compile mode): Document potential problem and
work-around for `-c -o dir/foo.lo'.
1999-04-07 06:33:30 +00:00
Alexandre Oliva
5168badef7 * tests/dryrun.test: The constant modifications of libtool would
cause main.o to be updated at the wrong time; the new approach is
to modify the libtool script so that it enables dry run depending
on whether an environment variable is set or not.  I've also moved
`after' and `before' to a directory deep within $objdir, instead
of creating it in ../tests.
* tests/Makefile.am (CLEANFILES): Removed.
1999-04-07 06:02:12 +00:00
Alexandre Oliva
9d03aa6fc1 * tests/dryrun.test: We cannot rely on setting LIBTOOL, because
automake may use sub-makes, and the setting will not be propagated
to them on some makes.  Instead, create a dry version of libtool
and switch between it and the original one before and after dry
runs.
* tests/Makefile.am (CLEANFILES): Added libtool-*, created by
dryrun.test.
1999-04-07 00:33:43 +00:00
Alexandre Oliva
1d53527eb7 * tests/dryrun.test: Use cmp instead of diff.
(before, after): Create them within ../tests.
(libtool): Set to `/bin/sh ./libtool' by default, but use LIBTOOL,
SHELL and top_builddir from the environment if available.  For dry
runs, use "$libtool -n".
* tests/Makefile.am (CLEANFILES): Added before and after.
* ltmain.in: Do not create links to object files in dry runs.
1999-04-06 23:55:04 +00:00
Thomas Tanner
ba4c36f3cf * ltmain.in: added a missing line of the ILD patch 1999-04-06 22:10:46 +00:00
Thomas Tanner
87f8ef6d60 * NEWS: improved DJGPP support
* doc/libtool.texi: removed hardcode_into_libs documentation
* libtool.m4: some DJGPP fixes
* ltconfig.in: ditto, reverted one of my previous patches: we need
  to check for NM, removed the hardcode_into_libs support since
  no platform seems to support it
* ltmain.in: some DJGPP fixes, removed the hardcode_into_libs support
1999-04-06 22:08:59 +00:00
Alexandre Oliva
314ef2c7d1 * ltconfig.in (netbsd*, GNU ld): Support a.out shared libraries 1999-04-05 21:29:00 +00:00
Alexandre Oliva
4ddeed6d75 * Makefile.am (CVS): allow command-line overriding of cvs 1999-04-05 21:21:49 +00:00
Alexandre Oliva
8e2656a10d * ltconfig.in (exclude_expsyms): Exclude _GLOBAL_OFFSET_TABLE_ by
default, as most a.out platforms use it, and end up in trouble if
we preload it, so it's safer to rule it out by default, and
special case its removal from exclude_expsyms if someone ever
complains.
1999-04-05 21:04:32 +00:00
Thomas Tanner
cdf5a93630 * doc/libtool.texi: reorder tests to reflect execution order,
documented dryrun.test and depdemo*
* ltmain.in (lt_preloaded_symbols): dry-run mode bugfix
* tests/dryrun.test: new test to check whether the dry-run
  mode works properly
1999-04-05 12:32:21 +00:00
Thomas Tanner
6a32e6ad3c removed run.test 1999-04-05 10:21:40 +00:00
Thomas Tanner
2706767e2c * demo/run.test: removed the unnecessary test
* demo/Makefile.am: ditto
* ltmain.in: set the DLL search path on cygwin,mingw and os2
1999-04-05 10:20:57 +00:00
Alexandre Oliva
6df1c07038 * ltconfig.in (sunos4*, GNU ld): -Bstatic is not enough for
deplibs.test to work with GNU ld; -Bshareable is needed here.
1999-04-04 08:35:41 +00:00
Alexandre Oliva
7dc52cf746 * ltconfig.in (ld_shlibs, amigaos*): Disable shared libs with
native ld too.
1999-04-04 07:38:37 +00:00
Alexandre Oliva
a6eea79a1d * ltconfig.in (sunos4*, GNU ld): Reordered. 1999-04-04 07:34:51 +00:00
Alexandre Oliva
53f990aef8 * ltconfig.in (archive_cmds, sunos4*): Revert to -Bstatic; the
native linker doesn't even support -Bshareable, only GNU ld does.
Do not use `gcc -shared' in archive_cmds, it breaks deplibs.test.
1999-04-04 07:08:21 +00:00
Alexandre Oliva
c64b658547 * ltconfig.in: if ld_shlibs=no, set can_build_shared=no too,
otherwise it will just be disregarded.  This would cause
netbsd/m68k with GNU ld a.out, and certainly many other platforms,
to incorrectly believe that shared libraries were supported, while
archive_cmds was empty, causing shared libraries not to be created
1999-04-04 06:06:45 +00:00
Alexandre Oliva
2ddb8fdae6 * NEWS: improved support for AIX and HP/UX 1999-04-03 20:04:13 +00:00
Thomas Tanner
7f3aca95c1 * NEWS: updated
* libtool.m4: check for main in libm instead of cos
* ltmain.in: cosmetic fixes, don't try to link libraries only once
  (although it's not necessary on many platforms and looks ugly...),
1999-04-03 00:36:06 +00:00
Alexandre Oliva
f97db5092d * ltmain.in (convenience): fixed race condition when more than one
library was linked with the same convenience library by
uniquifying the extract directory.  It is now named after the new
library *and* the old one, and lives in the objdir of the new one.
1999-04-02 13:57:23 +00:00
Alexandre Oliva
a517bc7a9f * ltmain.in (-L*): do not abort just because a directory specified
with -L does not exist; just warn and discard it
1999-04-02 13:41:53 +00:00
Alexandre Oliva
602b4fc8c4 * depdemo/l1/Makefile.am (AUTOMAKE_OPTIONS): no-dependencies
* depdemo/l2/Makefile.am (AUTOMAKE_OPTIONS): ditto
* depdemo/l3/Makefile.am (AUTOMAKE_OPTIONS): ditto
* depdemo/l4/Makefile.am (AUTOMAKE_OPTIONS): ditto
1999-04-02 09:37:11 +00:00
Alexandre Oliva
b334b29a41 * ltconfig.in (archive_cmds, sunos4*): where we used -Bstatic, we
should have been using -Bshareable
1999-04-02 09:08:21 +00:00
Alexandre Oliva
c35bfe6de4 * demo/Makefile.am (CLEANFILES): clean EXTRA_* from deplibs-check 1999-04-02 08:18:10 +00:00
Alexandre Oliva
d05274cd86 * libtool.m4 (LDFLAGS, LIBS): pass them to ltconfig, for the tests
that involve linking
* Makefile.am (LDFLAGS, LIBS, libtool, clibtool): ditto
* tests/Makefile.am (CFLAGS, CPPFLAGS, LDFLAGS, LIBS): set
(LDFLAGS, LIBS, TESTS_ENVIRONMENT): pass them down
1999-04-02 06:22:10 +00:00
Erez Zadok
952d235c11 * doc/PLATFORMS: 1.2f ok on various versions of hpux cc 1999-04-02 05:40:37 +00:00
Alexandre Oliva
0319e34536 * ltconfig.in (link_all_deplibs): set to unknown by default
* ltmain.in: test != no, not = yes
* doc/libtool.texi: document unknown
1999-04-02 05:04:56 +00:00
Thomas Tanner
214af01fb1 * doc/libtool.texi: documented deplibs.test 1999-04-01 16:07:07 +00:00
Thomas Tanner
4bd346f93b new test 1999-04-01 15:34:55 +00:00
Thomas Tanner
b6eed25814 * demo/Makefile.am: moved testsuite specific declarations to the end,
the deplibs check is now optional
* libltdl/configure.in: read libtool --config only once,
  merged AC_SYS_SYMBOL_UNDERSCORE+AC_SYS_NM_PARSE from libtool.m4
* libtool.m4: AC_SYS_SYMBOL_UNDERSCORE+AC_SYS_NM_PARSE were not
  used, lt_dlopen and silent may be empty, AC_SYS_LIBTOOL_CYGWIN
  no longer necessary
* ltconfig.in: NM is already checked in libtool.m4,
* ltmain.in: always link all static dependency_libs
* tests/Makefile.am: added deplibs.test
* tests/demo-exec.test, demo-inst.test: removed hell0
* tests/deplibs.test: new test to test the deplibs_check_method
1999-04-01 15:34:13 +00:00
Thomas Tanner
b29cdab5af * ltmain.in: always link a library before its dependency libs
* mdemo/Makefile.am: test -export-symbols-regex
1999-03-30 23:32:07 +00:00