Commit Graph

922 Commits

Author SHA1 Message Date
Gary V. Vaughan
d05c36e4e9 * libtool.m4 (mingw*, AC_PROG_LD): use tr for carriage return
stripping.
* ltconfig.in: ditto.
From Olly Betts <olly@muscat.co.uk>
1999-08-03 11:44:17 +00:00
Olly Betts
a63cecfad3 * doc/libtool.texi (Compile mode): typo correction.
(Link mode): and another.
(Release numbers):  and another.
(Distributing libltdl): and another.
(Test descriptions): and another.
(libtool script contents): and one more.
1999-08-02 22:40:36 +00:00
Olly Betts
93a647af43 * libtool.m4 (AC_PROG_LD): strip carriage returns from the
output of gcc -print-prog-name=ld.
* ltconfig.in: ditto.
1999-08-02 22:24:34 +00:00
Pavel Roskin
6558f517f5 Added pending patches file to mail subdir 1999-07-29 23:40:57 +00:00
Pavel Roskin
320240e999 * ltmain.in: Ensure that gcc on HPsUX uses -fPIC, or else
initialised structures are sometimes emitted in the code section.
1999-07-29 23:28:06 +00:00
Mumit Khan
48dc53d227 * ltconfig.in: Read line at a time to avoid tokenisation by
shell.
1999-07-29 22:58:41 +00:00
Alexandre Oliva
b0dad73a36 * ltmain.in: Fix creation of relative links to object files in
sub-dirs.
1999-07-29 19:33:55 +00:00
Olly Betts
136171cb82 * ltconfig.in(cygwin mingw32, archive_expsym_cmds): Only compile
and link ltdll.c if the libtool.m4 macros discovered that it is
required.
1999-07-29 16:31:24 +00:00
Olly Betts
ee8b053174 * libtool.m4(cygwin mingw32, AC_LIBTOOL_SETUP): Oops. Fix some
typos made by Evil Gary while (mis)applying my patch :-).
1999-07-26 15:16:10 +00:00
Olly Betts
fa156a1cad * libtool.m4(cygwin mingw32, AC_LIBTOOL_SETUP): On second
thoughts, only probe for -mdll vs -dll on mingw, and revert to
the old `-Wl,--dll -nostartfiles' on cygwin.
1999-07-26 12:45:03 +00:00
Erez Zadok
179131c63c * doc/PLATFORMS (i*86-*openbsd2.5): New platform.
Slight reordering of other bsd entries.
1999-07-23 22:43:14 +00:00
Olly Betts
d4a41297aa * NEWS: Note new user visible changes.
* libtool.m4 (mingw32, AC_LIBTOOL_SETUP): probe for -mdll vs -dll
under cygwin/mingw.
probe whether the cygwin/mingw library supplies a stub DllMain
(but this information isn't yet used).
* ltconfig.in (mingw32, extract_expsyms_cmds): if HOST_CC is set,
use that to build impgen so we can use it when cross-compiling.
use correct entry points for mingw so static C++ constructors get
called for code in the DLL.
* ltmain.in (impgen.c): define O_BINARY to 0 if it is not in the
system headers.
1999-07-23 16:09:49 +00:00
Bert Driehuis
8b7acbe516 * ltconfig.in: Updated bsdi4 soname specs to be more like
linux as discussed on the bsdi mailing list.
1999-07-23 00:48:04 +00:00
Gary V. Vaughan
2cc31a3e28 * configure.in (AC_PROG_RANLIB): No longer required as we now use
AC_CHECK_TOOL in AC_LIBTOOL_SETUP.
* libtool.m4 (AC_PROG_LIBTOOL):  Pass the $build variable to
ltconfig.
(AC_PROG_RANLIB): replaced with AC_CHECK_TOOL.
* ltconfig.in (build): new variable to hold the build triplet
which is now checked for unless --no-verify is specified.
(--build): new argument to set the build triplet.
(ranlib): Prefer ${host_alias}-ranlib[.exe] if $build is different
to $host.
* doc/libtool.texi (Invoking ltconfig): Document --build option.
* NEWS: Note --build option.
1999-07-20 09:29:31 +00:00
Erez Zadok
067961bd2f * doc/PLATFORMS: Updated mostly *bsd platforms. 1999-07-19 22:34:21 +00:00
Alexandre Oliva
10ca174015 * doc/libtool.texi (Porting inter-library dependencies): Typos
Reported by Petter Reinholdtsen <pere@hungry.com>
1999-07-19 11:44:01 +00:00
Thomas Tanner
cbc1402596 * NEWS, TODO: updated (pic flags)
* libtool.m4 (AC_PROG_LIBTOOL): added --with-pic flag
* ltconfig.in: new pic_mode variable and --prefer[-non]-pic flags,
  fixed the strip check (reported by Keith Bostic <bostic@bostic.com>)
* ltmain.in (compile mode): build only PIC/non-PIC code depending
  on pic_mode
* libltdl/README: document the supported dlopen interfaces
* doc/libtool.texi (tests): documented new tests
* tests/Makefile.am: added new tests
* tests/demo-pic.test: new test to test --with-pic
* tests/demo-nopic.test: new test to test --without-pic
* tests/build-relink2.test: variant of build-relink.test that
  uses depdemo
1999-07-17 09:00:53 +00:00
Olly Betts
910e10d745 * doc/libtool.texi (C++ Libraries): fixed a typo. 1999-07-09 14:08:08 +00:00
Gary V. Vaughan
aecf70c395 * README-alpha: improved the release instructions to mention
actual list addresses for announcements, and urls for upload
locations.
1999-07-06 15:27:19 +00:00
Thomas Tanner
6870393fea * doc/PLATFORMS: 1.3b passes all tests on cygwin
* ltconfig.in: finish_cmds for FreeBSD removed
* depdemo/l3/Makefile.am: install libl3.la into an extra directory
1999-07-02 23:19:20 +00:00
Gary V. Vaughan
cc5d6d41da * configure.in: bumped version to 1.3c. 1999-07-02 17:54:53 +00:00
Gary V. Vaughan
d71b404f18 GNU libtool 1.3b was released.
* NEWS: inserted todays date.
1999-07-02 15:16:39 +00:00
Alexandre Oliva
b2822fd81f * doc/PLATFORMS: Tested on as many platforms as possible for me. 1999-07-02 12:01:08 +00:00
Thomas Tanner
3f8de2c2fc * NEWS: updated
* doc/PLATFORMS: updated
* changed my email address
1999-07-01 14:48:06 +00:00
Thomas Tanner
17e3fe3947 * demo/foo.h: use LT_PARAMS instead of LTDL_PARAMS (this is not libltdl)
* tests/build-relink.test: also check for hardcode_into_libs = yes,
  if set, we need to relink at install-time
1999-06-30 12:50:59 +00:00
Thomas Tanner
86180ef4d5 * NEWS: mention -no-fast-install, rename dummy to force
* doc/PLATFORMS: 1.3b passes all tests on GNU/Linux,
  FreeBSD (2.2.6 and 3.1)
* doc/libtool.texi: it's possible to link libtool libraries
  using -L and -l, better documentation of uninstall and clean mode,
  rename dummy to force, documented -no-fast-install,
  AC_LIBLTDL_* must be called before AC_PROG_LIBTOOL,
  documented hardcode_into_libs and striplib/old_striplib,
* ltconfig.in: search for strip program, added hardcode_into_libs
  and striplib/old_striplib variables, set strip commands for GNU strip,
  on FreeBSD >= 3.2 set hardcode_into_libs to yes,
  fast-install mode doesn't work if hardcode_into_libs = yes
* ltmain.in: reimplemented hardcoding into libraries:
  new relink mode, preserve all libtool args, relink libraries
  when installing if necessary
  added -no-fast-install flag, removed unnecessary `dlname'
  initialization, use striplib/old_striplib for stripping libraries,
  dlname is always soname or in library_names so we don't need
  to handle different file names
1999-06-29 17:37:06 +00:00
Alexandre Oliva
8330680624 * ltconfig.in (freebsd*, shlibpath_overrides_runpath): Set to yes
up to release 3.1, and to no from 3.2 on.
Reported by Pavel Roskin <pavel_roskin@geocities.com>
1999-06-29 08:56:55 +00:00
Pavel Roskin
2b25c94e67 * ltconfig.in (freebsd*, shlibpath_overrides_runpath): Set to
yes; tested on 3.1-ELF by Pavel and on 2.2.6 by Alexandre.
1999-06-29 08:16:59 +00:00
Alexandre Oliva
c03b2010a7 * ltconfig.in (linux-gnu*, deplibs_check_method): Use pass_all on
alpha, x86 and sparc architectures by now, reverting to file_magic
at least on ARM, where it breaks.
1999-06-25 23:10:24 +00:00
Thomas Tanner
b39cf2419f AIX and HPsUX information 1999-06-25 23:08:46 +00:00
Thomas Tanner
1be7f3cc98 * NEWS: updated
* README: added GNU Hurd to the supported platforms
* doc/libtool.texi: document `-dlpreopen dummy'
  instead of `-dlopen dummy'
* libltdl/ltdl.c (strchr): fixed typo (missing star)


* libltdl/ltdl.c (strrchr): fixed typo (missing star)
* libltdl/ltdl.c (trim): use `const' to silence -Wwrite-strings

* ltmain.in: support `-dlopen dummy', define lt_preloaded_symbols
1999-06-23 15:09:28 +00:00
Olly Betts
8c34a71462 * ltmain.in (ltdll.c): Support for crosscompiling from linux to
mingw32.
1999-06-23 13:22:27 +00:00
Gary V. Vaughan
5f007a4c1e * ltconfig.in (cygwin, export_symbols_cmds): If there is already
an extracted and compiled ltdll.c, then don't delete, reextract
and recompile.
(cygwin, archive_expsym_cmds): Make sure the ltdll source has been
extracted and compiled before referencing the object, since there
are paths through the code which run archive_expsym_cmds without
running export_symbols_cmds.
1999-06-23 12:50:23 +00:00
Gary V. Vaughan
ea20fa5a74 * ltconfig.in: moved the test for NM after the test for
no_builtin_flag.
1999-06-20 18:10:07 +00:00
Alexandre Oliva
fea7159813 * ltconfig.in: Use sed '$q' instead of sed "" for copying ltmain,
just in case some sed does not support an empty command.
1999-06-20 09:07:22 +00:00
Alexandre Oliva
27e8f2a5ea * ltconfig.in (link_static_flag, ac_cv_prog_cc_static): Use the
latter in the test.
1999-06-20 08:57:30 +00:00
Thomas Tanner
debe84ef9b * ltconfig.in (bsdi4, deplibs_check_method): use a less restrictive
regex (reported by Chris P. Ross <cross@eng.us.uu.net>)
* ltmain.in: support `-dlopen self', define lt_preloaded_symbols
  if dlself != no
* doc/libtool.texi (Compile and Link mode): document it,
  documented the -Wc, -Wl flags, libtool does also support non C
  source code


* ltconfig.in: CR/LF fix for broken DJGPP bash
* ltmain.in: CR/LF fix for DJGPP
1999-06-18 14:49:47 +00:00
Gary V. Vaughan
b9f8b2e6c7 * ltmain.in (outputname): When generating the executable wrapper
script, $outputname already has the $exeext suffix, so we needn't
add it again.
1999-06-18 13:46:33 +00:00
Gary V. Vaughan
db655ec51b * libltdl/configure.in (ac_cv_lib_dl_dlopen): missing "x" in test
comparison corrected.
1999-06-16 18:33:51 +00:00
Gary V. Vaughan
d16e7cb1bb * libltdl/ltdl.c (sys_wll_open): libltdl expects this function to
fail if it is unable to physically load the library.  Sadly,
LoadLibrary will search the loaded libraries for a match and
return one of them if the path search load fails.  Simulate a
failure in this case for compatibility with the other APIs.
Also, LoadLibrary takes the liberty of adding `.dll' to library
names passed without an extension, we now add a trailing `.' to
prevent this from happening.
1999-06-16 14:49:41 +00:00
Gary V. Vaughan
b46d9d5fdb * libltdl/ltdl.c (sys_wll_close): Strangely enough, Microsoft have
decided that LoadLibrary returns `0' for success, yet FreeLibrary
returns `0' for failure!  The FreeLibrary call used to interpret
`0' as success for both functions.
1999-06-15 19:31:08 +00:00
Thomas Tanner
5ad923b9fe * ltconfig.in: use eval when setting have_dlfcn_h, reformatting 1999-06-14 06:32:06 +00:00
Thomas Tanner
4b50692175 * ltmain.in: store old archives in deplibs and old_deplibs,
retain the order of dependency libraries (even old archives),
  determining the absolute directory name didn't work due to a typo,
  add the library search paths of all dependency libraries when
  linking a library (fixes IRIX 5.2 bug)
1999-06-11 23:46:47 +00:00
Alexandre Oliva
2d508de39e * ltconfig.in: Reverted June 6's patch for new GNU ld output, it
is no longer needed, as ld reverted to the original format.
* NEWS: Likewise.

* ltconfig.in: When testing self-dlopening, test whether dlclose
crashes.  On FreeBSD 3.1, it does.  :-(
* libltdl/configure.in: Likewise.
* NEWS: Note work-around.
Reported by Pavel Roskin <pavel_roskin@geocities.com>
1999-06-10 14:42:34 +00:00
Gary V. Vaughan
545785bd22 * ltconfig.in (exeext): autoconf's AC_EXEEXT uses "no" to indicate
no extension, and we must do the same in order to share the cache
value. Also we must ignore conftest.err which HPsUX (at least)
fills with gratuitous warnings.
(objext): for consistency, do the same as above.
Reported by Pavel Roskin <pavel_roskin@geocities.com>
1999-06-09 13:11:13 +00:00
Pavel Roskin
f7647cf399 * ltconfig.in (exeext): Use quotes in the test, to prevent a
failure in sh.test.
1999-06-09 12:09:26 +00:00
Gary V. Vaughan
f8a843f522 * ltconfig.in: Reordered tests to be more like configure.in's
recommended order (programs first, then libraries, etc.).
Performed a manual ``constant folding pass'' (eg: s/eval "test
"echo '$''{'lt_cv_dlopen'+set}'`" != set/test
"${lt_cv_dlopen+set}" != set/).
s/test "${foo+set}" = "set"/test "X${foo+set}" = Xset/g
1999-06-09 10:23:58 +00:00
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