Commit Graph

1292 Commits

Author SHA1 Message Date
Peter Eisentraut
82e0d53b7a bootstrap: Allow overriding the location aclocal, automake,
autoconf, autoheader from the environment.
2001-04-22 23:28:01 +00:00
Peter Eisentraut
80ee922edf * demo/Makefile.am: Automake 1.4e does not allow `+=' assignments
if the variable was not set with `=' earlier.  `+=' was not useful
here anyway.
2001-04-22 23:21:58 +00:00
Gary V. Vaughan
3050795c98 * ltdl.m4 (AC_CHECK_HEADERS): UW7 has sys/dl.h, so we must
check for that here.
* libltdl/ltdl.c (HAVE_SYS_DL_H):  Include it if necessary for
the dlopen loader.
Reported by Matthew Schalit <mschalit@pacbell.net>
2001-04-22 22:50:54 +00:00
Gary V. Vaughan
22dac3f5c6 * libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Use pass_all for
various releases of UnixWare and OpenServer that support it.
Reported by Matthew Schalit <mschalit@pacbell.net>
2001-04-22 22:13:49 +00:00
Gary V. Vaughan
d2880280d8 * doc/PLATFORMS: Updated with various platforms successfully
tested by members of libtool@gnu.org.
2001-04-22 22:05:29 +00:00
Gary V. Vaughan
a826ff0665 * TODO: propose pkg-config merge. 2001-04-21 17:36:45 +00:00
Nick Hudson
30eea50730 * ltmain.in: Correct an error in yesterday's patch. 2001-04-21 17:10:20 +00:00
Nick Hudson
f67d1c368b * libtool.m4: Improve NetBSD support.
* ltmain.in: ditto.
2001-04-20 20:55:18 +00:00
Dan McNichol
d9f83c0668 * libtool.m4: Build standard shared libraries on AIX POWER
more like AIX does, with a shared object archived into lib<xxx>.a.
On AIX -bexpall flag does strange things... Don't use it.
Fix quotes around -berok flag.  Add support for AIX 5.
Add support for run time linking on AIX POWER. (should work
on AIX 4.2 and up).  Turn this feature on by adding -brtl flag
to LD_FLAGS.  Add support for AIX on IA64. Note: AIX on IA64
uses a SYSV type linker.  Add a comment telling what to do if the
TOC starts getting too large on AIX.
* NEWS: mention aix5 support.
2001-04-19 01:13:13 +00:00
Alexandre Oliva
ff8e64ad84 * TODO: Add -L- flag. 2001-04-18 07:24:13 +00:00
Alexandre Oliva
69355e247f formatting change 2001-04-16 20:39:44 +00:00
Alexandre Oliva
4aa50ec99b * libtool.m4 (no_undefined_flag) [Solaris ld]: Change to -zdefs. 2001-04-12 02:39:20 +00:00
Ossama Othman
09d1caf1ec * AUTHORS: Added myself to the list of maintainers. 2001-04-11 15:54:32 +00:00
Gary V. Vaughan
e471e80032 * libtool.m4 (hardcode_libdir_flag_spec, osf4/osf5): Use ${wl}
to pass -rpath when compiling with gcc.
Reported by Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>
2001-04-08 11:14:56 +00:00
Gary V. Vaughan
c0b7dcf2f9 * libltdl/ltdl.c (sys_shl_open): Cache a handle for the `self'
module, since HPUX adds module symbols into the `self' pool if
it is opened later.  Return the cached pointer if the caller
subsequently tries to open `self'.
(sys_shl_sym): Diagnose NULL modules.
2001-04-08 10:34:45 +00:00
Gary V. Vaughan
0790e81085 From Peter Eisentraut <peter_e@gmx.net>
* ltmain.in (clean,uninstall): test -e is not portable.  Well,
neither is -L, but I'm hoping that redirecting error messages
to /dev/null and relying on non-zero exit status will work okay
on the few hosts that don't support -L.
2001-04-08 09:51:22 +00:00
Nick Hudson
19edc88b64 * ltmain.in: Improve check for valid -version-info parameter. 2001-04-08 00:46:58 +00:00
Gary V. Vaughan
e35a1e9e50 From Nick Hudson <skrll@netbsd.org>
* doc/Makefile.am (libtool_TEXINFOS): Add fdl.texi so that it
is included in the distribution.
2001-04-08 00:29:06 +00:00
Peter Eisentraut
ba91447e79 * ltmain.in (clean,uninstall): Do not error if the file doesn't
exist and 'rm -f' was used.  Exit with status 1 on error.
2001-04-06 23:48:28 +00:00
Nick Hudson
b9158c9d28 * ltmain.in: Implement a new deplibs_check_method called
match_pattern that does pattern matching on filenames...
* libtool.m4: ...use it with NetBSD
2001-04-06 21:29:15 +00:00
Gary V. Vaughan
b9cca8a2d6 * doc/libtool.texi (Multiple dependencies): A note about the
problems I've reintroduced by reverting the my patch of 2001-03-31.
2001-04-05 23:43:39 +00:00
Gary V. Vaughan
fb10b1f7d4 From Edward Lee <tailbert@yahoo.com>
* libtool.m4: Typos.
2001-04-05 23:16:16 +00:00
Gary V. Vaughan
b054ed6edd * tests/Makefile.am (TESTS): Delete references to depdemo-dups.test.
* tests/depdemo-dups.test:  Removed, as part of the patch
reversion below.
* ltmain.in: Revert my change from 2001-03-31.  Although it
was technically correct, it opens a whole can of worms we don't
want to deal with right now.
2001-04-05 23:09:38 +00:00
Gary V. Vaughan
1d08896a95 From Ahmed Masud <masud@googgun.com>
* libltdl/ltdl.c (sys_shl_open):  Return a NULL module handle
for self opening.
(sys_shl_close):  Be careful not to close a NULL module handle.
(sys_shl_sym):  Allow shl_findsym() to open NULL modules, but
discard the modified module address it returns.
2001-04-05 22:05:49 +00:00
Gary V. Vaughan
da8bfb3dee * libltdl/ltdl.c (lt_dlopen): When reading the .la file,
reallocate the line buffer size if the line overflows the
original buffer.
Reported by Nick Hudson <skrll@netbsd.org>
2001-04-05 21:32:49 +00:00
Gary V. Vaughan
04c044fee0 * NEWS (1.3d) Removed bogus ltconfig reference. 2001-04-05 21:22:33 +00:00
Gary V. Vaughan
79f5edd811 * libtool.m4 (_LT_AC_LTCONFIG_HACK): Remove the spurious
`dnl' from the help text of --with-pic.
Reported by stefan <stefan@lkcc.org>
2001-04-03 22:01:50 +00:00
Robert Boehne
90cca73ad3 file configure was initially added on branch multi-language-branch. 2001-04-03 21:47:47 +00:00
Gary V. Vaughan
e3db2f30e7 * configure.in: bumped version to 1.3e. 2001-04-02 01:36:01 +00:00
Gary V. Vaughan
6b3f434839 * NEWS: inserted todays date. 2001-04-02 00:46:39 +00:00
Christoph Pfisterer
0f6c252d00 * libtool.m4: Fixed support for Darwin and Rhapsody. Now correctly
hardcodes the library path and adds versioning. Other small
fixes.
* ltmain.in: Fixed special cases for libc and libm on Rhapsody and
Darwin. One of them was misplaced. Added version_type case for
Rhapsody and Darwin, named "darwin".
2001-04-01 13:46:08 +00:00
Gary V. Vaughan
2604e82a6d * ltmain.in: Remove the code for stripping duplicate deplibs
from libtool link lines -- duplicates are somtimes necessary
to satisfy inter-library dependencies, and never cause link to
fail even if they are spurious.
* tests/depdemo-dups.test: New file.  Make sure this bug doesn't
creep back in again!
* tests/Makefile.am (TESTS): Use the new test above.
2001-03-31 23:51:10 +00:00
Edward M. Lee
d35d97b0af * libltdl/ltdl.c: Use windows paths while calling LoadLibrary. 2001-03-31 00:12:41 +00:00
Edward M. Lee
8087272484 * libtool.m4: Generate dll/import libraries for cygwin according
to the following: libFOO.a (static lib), libFOO.dll.a (import
lib), cygFOO-version.dll (dll).  Update postinstall_cmds and
postuninstall_cmds to reflect this.
* ltmain.in: Generate installed .la files with dlnames set to
../bin/cygFOO-version.dll for normal dlls. dlls for modules
remain with the .la file.
2001-03-31 00:08:03 +00:00
Edward M. Lee
ebda76d2bd * libtoolize.in: change recommendation from AM_PROG_LIBTOOL to
AC_PROG_LIBTOOL.
2001-03-30 22:47:23 +00:00
Edward M. Lee
b6d9a7ea10 * libtoolize.in: Check configure.ac and prefer configure.ac to
configure.in.
2001-03-30 22:12:30 +00:00
Albert Chin
ce0a14043d * libtool.m4 (save_CPPFLAGS): Fix typo. 2001-03-16 03:58:51 +00:00
Alexandre Oliva
5057de16ca * libtool.m4 (lt_cv_compiler_c_o): Cache it.
(lt_cv_compiler_o_lo): Likewise.
2001-03-13 15:00:47 +00:00
Peter Eisentraut
759f3a7ed0 * ltmain.in (clean): Automatically remove $objdir (usually '.libs'). 2001-03-10 02:16:45 +00:00
Gary V. Vaughan
3e13da7714 * ltconfig.in (library_names_spec): Undo latin-1 spaces I pasted
in yesterday by mistake.
2001-03-09 04:25:30 +00:00
Gary V. Vaughan
d138744bbe From Tor Lillqvist <tml@iki.fi>
* libtool.m4 (export_symbols): On Windows, if the export_symbols
file (which has been passed to libtool with the -export-symbols
command line switch) already is a .def file, use it as is.
2001-03-07 01:43:27 +00:00
Gary V. Vaughan
1ab7f1b678 * libtool.m4 (library_names_spec): Using m4 quotes correctly this
time around!
2001-03-07 01:16:21 +00:00
Gary V. Vaughan
a358c34655 * libtool.m4 (library_names_spec): Use an appropriate filename
prefix for dlls -- lib for mingw; cyg for cygwin; pw for pw32.
From Tor Lillqvist <tml@iki.fi>
2001-03-07 00:58:09 +00:00
Alexandre Oliva
b4cf6bc182 * libtool.m4 (can_build_shared) [AIX 4.[01], GCC]: GCC up to
2.96 can't build shared libraries reliably.  Disable them.
2001-03-06 11:20:37 +00:00
Alexandre Oliva
e724896b33 * ltmain.in: When dropping dependencies of a -no-undefined
library, give up on building a shared library.
2001-03-06 11:16:05 +00:00
Akim Demaille
cd2b157145 * ltmain.sh: Don't quote the argument of case/esac and
assignments.
* libtool.m4: Likewise.
2001-03-05 20:08:09 +00:00
Markus F.X.J. Oberhumer
55efcca7b6 * libtool.m4: Added explicit return type to all C functions. 2001-03-03 21:41:29 +00:00
Gary V. Vaughan
066ce19719 * NEWS: Updated.
* doc/libtool.texi (Thread Safety in libltdl): New node describing
the  application the new MT API.
* libltdl/ltdl.h: Prototypes.
* libltdl/ltdl.c: Use these functions throughout the rest of
the file to provide thread locking.
(lt_dlmutex_register): New function to set callbacks for
multi-threaded calls into libltdl.
(lt_dl_mutex_lock): Type of a locking callback function.
(lt_dl_mutex_lock): Type of an unlocking callback function.
(lt_dl_mutex_seterror): Type of a callback function to save the
last libltdl error message in thread local storage.
(lt_dl_mutex_geterror): Type of a callback function to retrieve
the last saved error message from thread local storage.
2001-02-23 22:58:20 +00:00
Gary V. Vaughan
b37d4417e5 * libltdl/ltdl.c (lt_dlcaller_register): dont set an unsigned
type to a negative number.
Reported by Guenter Millahn <Guenter.Millahn@Informatik.TU-Cottbus.DE>
2001-02-20 01:51:50 +00:00
Gary V. Vaughan
9c1932087e From Nick Hudson <skrll@netbsd.org>
* ltdl.m4 (AC_LTDL_SYS_DLOPEN_DEPLIBS): netbsd* is able to
automatically load module deplibs without assistance from
libltdl.
2001-02-05 00:24:55 +00:00