Robert Boehne
21c4662d62
* libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): Change the
...
factor of saftey as 3/4 of the result was not low enough.
2001-11-28 23:20:53 +00:00
Gary V. Vaughan
57a83d3b93
* libtoolize.in: The test for whether AC_PROG_LIBTOOL is defined
...
in aclocal.m4 had bitrotted slightly.
Reported by Takahiko Kawasaki <Takahiko_Kawasaki@cii.csk.co.jp>
2001-11-28 00:23:58 +00:00
Donald D. Anderson
89e919b333
* ltmain.in: Treat freebsd like openbsd, in that -lc/-lc_r should
...
not be explicitly used. ld handles this depending on the presence
of the -pthread option.
2001-11-27 23:10:22 +00:00
Robert Boehne
5b4575cf0a
With help from Michael Matz <matz@kde.org>:
...
* ltmain.in: Add a new command line argument
--preserve-dup-deps for preserving duplicate
dependent libraries.
* libtool.texi: Document it.
2001-11-27 19:31:22 +00:00
Kevin Ryde
a9f74104e1
* libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): Send "test"
...
warnings to /dev/null, helps FreeBSD and maybe others.
2001-11-27 18:49:47 +00:00
Albert Chin-A-Young
b521f8e2b6
* libtool.m4: quote LTCC because autoconf AC_PROG_CC_STDC
...
macro might add to $CC if options needed by compiler to
grok ANSI.
2001-11-15 01:15:25 +00:00
Gary V. Vaughan
6167b16561
From Joseph S. Myers <jsm28@cam.ac.uk>:
...
* ltmain.in: Typo.
2001-11-15 01:01:13 +00:00
Mo DeJong
bf264c44ca
* ltmain.in: Place parens around a generated relink_command
...
so it is run is a subshell. This avoids an install error
where libtool ended up in the wrong directory after
relinking a .la file.
2001-11-15 00:59:07 +00:00
Raja R Harinath
3de7e4a53d
* configure.ac (pkgdatadir): Move the invocation of AC_INIT_AUTOMAKE
...
before the use of $PACKAGE in $pkgdatadir.
Reported by Bob Friesenhahn <bfreisen@simple.dallas.tx.us>
2001-10-30 23:35:59 +00:00
Gary V. Vaughan
9e3b311392
From Tom Bates <Tom.Bates@compaq.com>:
...
* libtool.m4 [mips-compaq-nonstopux]: New port.
* ltmain.in [mips-compaq-nonstopux]: Support
$version_type == nonstopux.
2001-10-28 12:22:39 +00:00
Albert Chin-A-Young
55770c848b
* ltdl.c: change some types to size_t from int because
...
strlen() returns size_t. argz_len changed to size_t in
foreach_dirinpath() because argzize_path() takes 3rd
argument as size_t, not int. Based on lint run from
Bob Friesenhahn <bfriesen@simple.dallas.tx.us>.
2001-10-28 02:35:22 +00:00
Gary V. Vaughan
7e220be5cf
* libtool.m4 (_LT_AC_TAGCONFIG): Cray sed does not allow character
...
sets to contain the separator character.
Reported by Kevin Ryde <user42@zip.com.au>
2001-10-28 00:10:01 +00:00
Gary V. Vaughan
e830175dc7
* ltdl.m4 (AC_WITH_LTDL): New macro to add `--with-included-ltdl'
...
option to configure, but to find an appropriate ltdl library and
append the right options to link it.
2001-10-28 00:00:00 +00:00
Kevin Ryde
0285781a63
*libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS): Remove a stray ' quote.
2001-10-24 14:36:57 +00:00
H.J. Lu
c6d8bb2c4b
* ltmain.sh: Allow link against an archive when building a
...
shared library.
* libtool.m4 (lt_cv_deplibs_check_method): Always use
file_magic for Linux ELF.
2001-10-24 14:30:22 +00:00
Guido Draheim
2046e10a30
* ltdl.m4: Changed "underscode to underscore".
2001-10-12 23:32:13 +00:00
Gary V. Vaughan
9c63d67ebe
* configure.ac: General modernisation and cleanup.
...
* cdemo/configure.ac: Ditto.
* demo/configure.ac: Ditto.
* depdemo/configrue.ac: Ditto.
* ltdl/configure.ac: Ditto.
* ltdldemo/configure.ac: Ditto.
* mdemo/configure.ac: Ditto.
* pdemo/configure.ac: Ditto.
* tagdemo/configure.ac: Ditto.
2001-10-06 15:35:17 +00:00
Albert Chin-A-Young
1093bb18a8
* libltdl/ltdl.c: Match function return type with prototype
...
(add static initializer to file_not_found).
2001-10-04 14:53:19 +00:00
Gary V. Vaughan
ee4a8bb8bd
* libtool.m4 (AC_LIBLTDL_CONVENIENCE): s/INCLTDL/LTDLINCL/ for
...
consistency with gettext's INTLINCL. Keep the old symbol too for
backwards compatibility.
(AC_LIBLTDL_INSTALLABLE): Ditto.
* doc/libtool.texi (Distributing libltdl): Adjust documentation.
2001-09-30 10:20:29 +00:00
Albert Chin-A-Young
162fd29773
* ltdl.m4 (AC_LTDL_DLLIB): Even though HP-UX 10.20 and 11.00
...
support shl_load *and* dlopen, dlopen works correctly only
with a patch. Because we want to avoid the situation where we
build on a system with the patch but deploy on a system without,
use shl_load exclusively if found.
2001-09-22 16:43:43 +00:00
Gary V. Vaughan
e40a083891
* libtool.m4 (_LT_AC_FILE_LTDLL_C): Be carefule that the start
...
marker searched for by sed must start in column 0.
(_LT_AC_FILE_IMPGEN_C): Ditto.
Reported by Tor Lillqvist <tml@iki.fi>
2001-09-22 14:35:03 +00:00
Tor Lillqvist
f934c69cf4
* libtool.m4 [mingw* cygwin*]: Small improvement for mingw-hosted
...
tool support (while still running libtool on cygwin). In that case
PATH_SEPARATOR is ':', but gcc -print-search-dirs still prints its
search path with ';' as separator.
(AC_LIBTOOL_RC, AC_LIBTOOL_LANG_RC_CONFIG): Add support for .rc
files (Windows resource files), compiled by the resource compiler
(windres in mingw) to .o files.
(AC_PROG_NM): Minor bug fix for $PATH elements with spaces in
them.
* configure.ac: Use LT_AC_PROG_RC.
* ltmain.in: Check for .rc files.
* NEWS: Updated.
2001-09-22 14:20:17 +00:00
Tor Lillqvist
0d88465d91
...forgot the other `case $base_compile' case in the submitted patch
2001-09-22 13:39:21 +00:00
Tor Lillqvist
07ef86f9af
* ltmain.in: Add a space to $base_compile in the case statement,
...
as the case labels checks for trailing spaces, but there aren't
necessarily in $base_compile.
2001-09-22 13:36:32 +00:00
Albert Chin-A-Young
bddba8aeda
* libtool.m4: When setting archive_cmds for CC, don't
...
test for $GXX but for $GCC on HP-UX. Indentation fixes.
2001-09-22 13:24:21 +00:00
Gary V. Vaughan
0cb0784e76
From Tor Lillqvist <tml@iki.fi>:
...
* ltmain.in [cygwin* mingw*]: Take care of the difference between
wrapper script name and executable name.
2001-09-21 19:49:29 +00:00
Gary V. Vaughan
a8f95641c3
* libtool.m4 (archive_cmds) [darwin1.[0-2]]: Darwin uses zsh-3.1.6
...
for /bin/sh, and that shell does not handle escaped quotes
properly yet.
Reported by Christopher Pfisterer <cp@chrisp.de>
2001-09-21 18:22:08 +00:00
Albert Chin-A-Young
d4e4eab57e
* libltdl/ltdl.c: Match function return type with prototype
...
(add static initializer to some functions) to prevent warnings
from HP-UX cc.
2001-09-21 17:38:39 +00:00
Gary V. Vaughan
862b3a97d5
* libltdl/ltdl.c: Added support for dmalloc, and uncovered some
...
memory bugs as a result.
2001-09-21 03:28:39 +00:00
Albert Chin
61afaf7fac
* libtool.m4: Don't include main() when testing for command to
...
parse $NM output because some C++ compilers don't allow you to
take the address of main (e.g. HP-UX aCC).
2001-09-21 03:06:40 +00:00
Albert Chin
0715a0b505
* libtool.m4: Some uses of $GXX were unquoted, but GXX is either
...
NULL or yes. Use "$GXX".
2001-09-21 02:40:47 +00:00
Assar Westerlund
1d62bd2c95
typo
2001-09-16 15:48:23 +00:00
Assar Westerlund
aef5eb6a27
* ltdl.m4 (AC_LTDL_DLLIB): call dlopen with arguments so the test
...
does not fail due to a prototype in dlfcn.h
2001-09-13 19:47:02 +00:00
Gary V. Vaughan
7eba1343df
* ltdl.m4 (AC_CHECK_HEADERS): Check for assert.h.
...
* libltdl/ltdl.c: If not, disable assertions manually.
2001-09-13 19:43:58 +00:00
Gary V. Vaughan
56245fe9ef
* bootstrap: Be robust to having no files that need removing.
2001-09-11 19:13:46 +00:00
Gary V. Vaughan
2d4c83cc36
* libltdl/configure.ac (AM_INIT_AUTOMAKE): Bump libltdl version to
...
1.2.
* libltdl/Makefile.am (libltdl_la_LDFLAGS): Bump libtool library
version info to 4:0:1.
2001-09-11 01:26:44 +00:00
Gary V. Vaughan
faba8a2e8f
* libtool.m4: No need to undefine([symbols]), proper quotation is
...
enough.
2001-09-11 00:22:48 +00:00
Gary V. Vaughan
4a57948985
* libtool.m4: CVS Autoconf guarantees a decent default IFS, so
...
there is no need for us to preset it anymore.
Be careful not to set IFS="${IFS}$PATH_SEPARATOR" for PATH
splitting, otherwise spaces in directory names will be lost.
Use $PATH_SEPARATOR... don't rely on $ac_path_separator, which was
an autoconf internal until just now, when it disappeared!
* ltmain.in: Default IFS once, at the start.
Reported by Akim Demaille <akim@epita.fr>
2001-09-10 23:33:26 +00:00
Brad
cef1f6940a
* libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Missed an instance of
...
Autoconf square bracket quoting style normalisation.
2001-09-10 22:41:02 +00:00
Brad
d665cea56b
* ltmain.in (-lc_r): Style improvement.
2001-09-10 22:34:40 +00:00
Gary V. Vaughan
8e368fb194
From Brad <brad@comstyle.com>:
...
* doc/libtool.texi: Remove obsolete references to ltconfig.
* tests/quote.test: s/ltconfig/$0/
2001-09-10 22:27:23 +00:00
Gary V. Vaughan
fbdd982f56
* libtool.m4: Use Autoconf square bracket quoting style
...
consistently throughout.
2001-09-09 17:11:24 +00:00
Gary V. Vaughan
aac7f0777e
* bootstrap: Cleanup autom4te' and
libtool' so that we don't
...
get caught by something from a previous build.
2001-09-08 03:06:31 +00:00
Gary V. Vaughan
eecf26bd2a
* libtool.m4 (archive_cmds, archive_expsym_cmds) [solaris*]: Revert
...
my 2001-09-06 patch.
(no_undefined_flag)i [solaris*]: Revert Alexandre's 2001-04-11 patch.
2001-09-08 03:01:36 +00:00
Gary V. Vaughan
d736ae4d0c
* libltdl/ltdl.c (foreach_dirinpath): argz_len should be a size_t.
...
Reported by Albert Chin <china@thewrittenword.com>
2001-09-06 23:16:04 +00:00
Gary V. Vaughan
144aeca1ee
* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) [solaris*]: Typo. s/GXX/GCC/.
2001-09-06 21:58:14 +00:00
Gary V. Vaughan
45b41fe058
* libtool.m4 (archive_cmds, archive_expsym_cmds) [solaris*]: Changing
...
no_undefined_flag from `-z text' to `-z defs' (see entry below at
2001-04-11 Alexandre Oliva <aoliva@redhat.com>) has a problem.
when linking a shared library with gcc calling /usr/ccs/bin/ld (eg.
the gcc supplied with Solaris 8 companion CD), using the flag
-no-undefined, shared library linking will always fail because of
the unresolved symbols from libgcc.a. Consequently we have to
provide a path to libgcc.a when linking shared libraries in
conjunction with -no-undefined!
2001-09-06 21:54:16 +00:00
Gary V. Vaughan
adc412c82b
From Michael Pruett <mpruett@engr.sgi.com>:
...
* libltdl/ltdl.c (find_module): `0' valued arguments to
tryall_dlopen_module() must be explicitly cast to avoid compiler
warnings on some environments.
2001-09-06 21:23:59 +00:00
Gary V. Vaughan
bb480f7c43
From Daniel Johnson <danielj7@mac.com>:
...
* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) [darwin*]: Move from GNU
ld section to non-GNU ld section.
2001-09-06 21:17:28 +00:00
Robert Boehne
a1dbaeebe2
* pdemo/Makefile.am (helldl): Automake 1.4 can't find the target
...
if we use helldl$(EXEEXT), and Automake 1.5 barfs unless we do.
Using both targets to the left of the colon seems to work though!
2001-09-05 19:52:17 +00:00