Commit Graph

875 Commits

Author SHA1 Message Date
Gary V. Vaughan
1eafc0b428 * ltconfig.in (link_static_flag): Accept, in order of decreasing
preference: the cached value; the default value for the current
host.  Also test that the compiler accepts the flag, and cache
that result too.
1999-06-09 08:50:03 +00:00
Gary V. Vaughan
0bc7443c32 * ltconfig.in (pic_flag): Accept, in order of decreasing
preference:  the cached value; the default value for the current
host.  Also test that the compiler accepts the flag, and cache
that result too.
1999-06-09 08:34:28 +00:00
Gary V. Vaughan
1c938ef7b5 * ltconfig.in (LN_S): Accept, in order of decreasing preference:
the cached value; an environment setting; ``ln -s'' if it works;
``ln'' if ``ln -s'' doesn't appear to work.
1999-06-08 15:20:28 +00:00
Gary V. Vaughan
f9312a8076 * ltconfig.in (objext): Accept, in order of decreasing preference:
the cached value; the result of a test object compilation.
1999-06-08 15:00:17 +00:00
Gary V. Vaughan
63ccc1e0fd * ltconfig.in (RANLIB): Accept, in order of decreasing preference:
the cached value; an environment setting; the first file called
``ranlib'' in the user's path.
1999-06-08 14:19:02 +00:00
Gary V. Vaughan
cbd4699dab * ltmain.in (exeext): Use $exeext when working out the names of
programs (but not the wrapper script itself due to a stupidity in
win32 which hardwires the .exe extension to the binary loader!).
* ltconfig.in (exeext): Now that the wrapper script tries to move
executables, we need to know whether they have an extension (ala
AC_EXEEXT).  Since we can't rely on AC_EXEEXT having been called
in configure.in, we must be able to check for ourselves, though we
can look for a cached result incase AC_EXEEXT was called.
1999-06-08 12:52:33 +00:00
Gary V. Vaughan
2be972d59a * ltconfig.in (cygwin, need_version): Set to no, otherwise module
dll's end up with mighty long names!
1999-06-08 10:15:02 +00:00
Gary V. Vaughan
30d470e162 * ltconfig.in (cygwin, pic_flag): Force separate compilation of
objects for dlls vs. objects for static archives.  Using a cpp
macro also allows us to decide whether or not we need to use
dllexport/import declarations.
1999-06-08 10:03:41 +00:00
Alexandre Oliva
ceae7433c3 * ltconfig.in: Support new GNU ld --help output format.
* NEWS:  Likewise.
Reported by Gaël Quéri <gael@baoule.dyndns.org> and
H.J. Lu <hjl@varesearch.com>.
1999-06-06 23:52:36 +00:00
Mark Kettenis
483db00d68 * ltconfig.in: Update support for the Hurd. Make sure that the
soname includes the major version number and create the	right
links.  Allow shared objects without the `lib' prefix and without
version information.
1999-06-05 09:31:39 +00:00
Nick Rasmussen
33807d4290 * ltmain.in (link): use "$nonopt" as the compiler for
compile/finalize_command
1999-06-01 22:48:20 +00:00
Alexandre Oliva
7fde86c5ed * TODO: Remove the short list of people interested in C++
constructors; it's not meaningful, since there are so many more
people requesting this feature, and we just can't maintain it
accurate.
1999-05-27 21:29:29 +00:00
Pavel Roskin
4cf171585d * ltconfig.in (GNU Hurd, deplibs_check_method): Use pass_all. 1999-05-27 11:53:54 +00:00
Alexandre Oliva
85c66eecaf * ltmain.in: Expand convenience libraries when creating reloadable
objects.
* NEWS: Ditto.
1999-05-27 11:41:02 +00:00
Alexandre Oliva
c46e183ca1 * NEWS: Mention the two bugfixes below. 1999-05-27 10:56:10 +00:00
Alexandre Oliva
d80450f053 * ltmain.in: Only create directory into which to extract
convenience libraries when $convenience is not empty.  It would
always be created on systems that did not support
whole_archive_flag_spec.
1999-05-27 10:52:48 +00:00
Alexandre Oliva
ec523ab5d2 * ltconfig.in (export_symbols_cmds): Add $convenience.
(cygwin, export_symbols_cmds): Ditto.
* ltmain.in: Generate export symbol list before expanding
convenience libraries, to avoid passing whole_archive_flag_spec to
$NM.
Reported by Godmar Back <gback@cs.utah.edu>
1999-05-27 10:45:32 +00:00
David Jones
6b6c388699 * libltdl/ltdl.c (LTDL_BIND_FLAGS): Remove BIND_VERBOSE, to avoid
printing error messages.
1999-05-27 09:57:39 +00:00
Alexandre Oliva
e7fd42045d GNU libtool 1.3.2 was released. 1999-05-27 08:50:39 +00:00
Alexandre Oliva
5c8124b35d * NEWS: List fixed problems.
* doc/PLATFORMS: Tested for 1.3.2.
1999-05-26 00:16:39 +00:00
Alexandre Oliva
948967e404 * config.guess: Synch with GNU common. 1999-05-26 00:06:10 +00:00
Alexandre Oliva
f7b500ef48 * ltmain.in: Revert to stripping .exe on all platforms.
* TODO: Note about this problem.  Demo is fixed on win32.  -Wl and
-Wc are implemented for release 1.4.  Support `empty' convenience
libraries.
1999-05-26 00:00:40 +00:00
Alexandre Oliva
1cdc846ad0 typo spotted by Gary 1999-05-25 22:15:34 +00:00
Alexandre Oliva
1dc69d9315 * ltconfig.in (solaris*, ld_shlibs): Do not enable shared
libraries with GNU ld 2.8.*, it's broken.  Emit a warning
suggesting an upgrade.
Reported by Brian Ford <ford@vss.fsi.com> and Ronald Pijnacker
<Ronald.Pijnacker@best.ms.philips.com>
1999-05-25 18:33:03 +00:00
Frank Ch. Eigler
49723f5acd * ltmain.in: file_magic check would not avoid cyclic links. 1999-05-25 17:26:35 +00:00
Alexandre Oliva
611d90ffa9 * depdemo/main.c, depdemo/l1/l1.c, depdemo/l2/l2.c: K&R-ize.
* depdemo/l3/l3.c, depdemo/l4/l4.c: Likewise.
1999-05-25 16:28:00 +00:00
Alexandre Oliva
8c1990eccf * NEWS: support for installing stripped libraries using GNU strip
* ltconfig.in: set deplibs_check_method=pass_all on FreeBSD,
  Linux and Solaris since no one can reproduce the famous deplibs
  bug
* ltmain.in: preserve $CC (reported by Tom Tromey),
  strip libraries using GNU strip if it's available and the
  -s flag was passed to "install"
1999-05-25 16:05:50 +00:00
Alexandre Oliva
73c99f03b2 * ltmain.in: Remove object files before writing to them, to avoid
circular links.
Reported by Ron O'Hara <rono@sentuny.com.au>
1999-05-25 15:48:02 +00:00
Thomas Tanner
4b45958069 * NEWS: support for installing stripped libraries using GNU strip
* ltconfig.in: set deplibs_check_method=pass_all on FreeBSD,
  Linux and Solaris since no one can reproduce the famous deplibs
  bug
* ltmain.in: preserve $CC (reported by Tom Tromey),
  strip libraries using GNU strip if it's available and the
  -s flag was passed to "install"
1999-05-25 16:05:50 +00:00
Alexandre Oliva
c6838fbbdb * doc/PLATFORMS: Release 1.3.1 passes on GNU Hurd/x86.
Reported by Pavel Roskin <pavel_roskin@geocities.com>
1999-05-23 12:26:47 +00:00
Thomas Tanner
306612d348 * ltmain.in: strip off the .exe suffix only on *Win
(Reported by Matthew D. Langston <langston@SLAC.Stanford.EDU>)
1999-05-23 10:03:23 +00:00
Thomas Tanner
1b2ea275d2 * NEWS: updated
* TODO: -Wc, -Wl, implemented
* AUTHORS: changed my email address
* doc/libtool.texi: fix "wierd" typo :)
* ltmain.in: linking against convenience libraries was broken,
  implemented the "-Wc," "-Wl," "-Xcompiler" "-Xlinker" flag for
  compiler and linker-specific flags,
  add -lc before we do the deplibs check
* ltconfig.in: linkopts -> compiler_flags for $CC and linker_flags
  for $LD, link_all_deplibs=yes on IRIX


* NEWS: insert todays date alongside 1.3.1 release.
* Makefile.in: use gnu not gnits rules
* config.guess: synch with gnu common & apply Takabatake-san's
MIPS *000 patch.
* config.sub: synch with gnu common.
1999-05-22 18:04:32 +00:00
Doug Evans
0498d37a0d * libltdl/configure.in (dlerror): Fix typo in dlopen found in -ldl
test.
1999-05-22 12:53:36 +00:00
Pavel Roskin
9a931b5e53 * Makefile.am (EXTRA_DIST): Don't distribute instutils.
(install-data-hook): use libltdl/Makefile.am's local-install files
rule.
* libltdl/Makefile.am (local-install-files):  New rule to install
libltdl without creating links or mode 777 directories.
* instutil/*: deleted.
1999-05-22 12:50:00 +00:00
Alexandre Oliva
6e5e458d2c * doc/PLATFORMS: Updated to 1.3.1 for all platforms I've got.
Added sparc-unknown-linux-gnu.
1999-05-21 12:17:35 +00:00
Gary V. Vaughan
d6bb5e77a0 * demo/foo.h: s/PARAMS/LTDL_PARAMS/g
* libltdl/ltdl.h: ditto.
* libltdl/ltdl.c: ditto.
1999-05-21 11:47:21 +00:00
Gary V. Vaughan
5d50500ea7 * demo/foo.h: s/__P/PARAMS/g
* libltdl/ltdl.h: ditto.
* libltdl/ltdl.c: ditto.
Reported by Akim Demaille <demaille@inf.enst.fr>
1999-05-21 11:29:45 +00:00
Alexandre Oliva
7052713ac0 * NEWS: Updated docs.
* TODO: Recommend libtool.m4 to be inserted in acinclude.m4. AIX
4.3.2.0 no longer fails on static dlopening.  GNU DLD no longer
has to support .la files, since libltdl already does.  Convenience
libraries and reloadable objects should be tested in the
testsuite.  We could support some amount of control on the soname
of libraries.
* doc/libtool.texi: Notes about convenience libraries and
automake.  Documented INCLTDL.
1999-05-20 23:55:28 +00:00
Thomas Tanner
803dd4de74 Revert bootstrap change 1999-05-20 23:23:28 +00:00
Thomas Tanner
1707ab25bb * bootstrap: fix libltdl/Makefile.in
* cdemo/main.c: "Welcome _to_ ..."
* mdemo/main.c: ditto
* libltdl/configure.in: support multiple dlopening mechanisms
  at once
* libltdl/ltdl.c: prefix system dependent functions with "sys_"
  to avoid symbol conflicts (libdld didn't work)
* libtool.m4 (AC_LIBLTDL_*): set INCLTDL to the path of ltdl.h
* ltconfig.in: check for dlopen with -ldl first
1999-05-20 17:54:09 +00:00
Gary V. Vaughan
bcdbd54041 * NEWS: Added 1.3.1 news items.
* doc/PLATFORMS: updated the boxes I have access to, to 1.3.1
in preparation for the next release.
1999-05-19 07:57:37 +00:00
Gary V. Vaughan
32c0b8b4f2 * ltconfig.in (cygwin*, whole_archive_flag_spec): dlltool chokes
on this, so leave it unset in this case so that the ltmain code
knows it has to unpack convenience archives by itself.
1999-05-18 11:27:10 +00:00
Gary V. Vaughan
0d55a7031e * ltmain.in: Do not exit when an unknown library name is passed
passed in, simply warn and continue since some compilers require
-LANG:* like options to work.
Reported by Adam C. Powell, IV <adam.powell@nist.gov>
1999-05-17 15:53:58 +00:00
Jiro Takabatake
71dc9a2ec9 * ltconfig.in: port to NEC UX/4800.
* NEWS: updated.
1999-05-17 15:42:59 +00:00
Gary V. Vaughan
e9a99a7f0c * ltconfig.in (beos*, deplibs_check_method): set to pass_all. BeOS
is PIC by default.
Reported by "Shawn T . Amundson" <amundson@gimp.org>
1999-05-17 15:20:34 +00:00
Gary V. Vaughan
349d815981 * libltdl/configure.in: Fix test failures on AIX 4.3.2 by checking
for dlopen *with* -ldl first.
Reported by Greg Wooledge <ic5035%tss1crs.amgreetings.com@rose.amgreetings.com>
1999-05-17 14:55:21 +00:00
Gary V. Vaughan
8952359876 * demo/foo.h: Don't set any declspecs until we have full dlli
support.
1999-05-17 13:30:44 +00:00
Alexandre Oliva
bf145d1820 * ltconfig.in (solaris2.6, whole_archive_flag_spec): Do not use
-Wl for allextract.
1999-05-17 02:33:57 +00:00
Alexandre Oliva
5da077c29b * instutil/chmod: New script to avoid chmod'ing files while
installing libltdl's sources.
* instutil/ln: New script to avoid hard-linking libltdl's sources
in the install tree.
* Makefile.am (EXTRA_DIST): Dist them.
(instal-data-hook): Add srcdir/instutil to the beginning of the
PATH before installing libltdl's sources.
1999-05-14 06:50:32 +00:00
Gary V. Vaughan
645b15935d * TODO: updated. 1999-05-10 11:26:12 +00:00