Alexandre Oliva [Sun, 3 Mar 2002 19:08:47 +0000 (19:08 +0000)]
set up signal handling early. Be sure to set SIGCHLD to SIG_DFL.
rework the quoting so you can emit eval-ed strings, too.
write a common routing to handle the dlopen option.
Andreas Jaeger [Sat, 12 May 2001 15:46:18 +0000 (15:46 +0000)]
This is just a sample verion of this file.
It must actually be derived from a script where the program is installed.
Use this version for debugging purposes ONLY
Peter Eisentraut [Tue, 24 Apr 2001 23:58:18 +0000 (23:58 +0000)]
* ltcf-c.sh, ltcf-gcj.sh: Support $host_os as /sysv5uw7*/ from
newer config.guess in addition to older /unixware*/. Use
compiler driver, not linker, for linking shared libraries.
Gary V. Vaughan [Tue, 24 Apr 2001 23:03:33 +0000 (23:03 +0000)]
* ltdl.m4 (AC_C_INLINE): No longer required.
* libltdl/ltdl.c (strdup, strcmp, strchr, strrchr, memcpy, trim,
free_vars): Revoke inline keyword from declarations. `static
inline' is not very portable, and in addition Unixware 7.1.1's
compiler says you can't access static variables from inline
functions.
Reported by Peter Eisentraut <peter_e@gmx.net>
Gary V. Vaughan [Tue, 24 Apr 2001 17:16:32 +0000 (17:16 +0000)]
From Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>
* tests/Makefile.am (TESTS_ENVIRONMENT): Make sure the *.test
scripts get the same make that was used in the top level
directory.
Gary V. Vaughan [Mon, 23 Apr 2001 20:11:35 +0000 (20:11 +0000)]
From Albert Chin-A-Young <china@thewrittenword.com>
* ltmain.in: `test -L' is not portable, and infact breaks uninstall
mode on Solaris. Fallback to `test -h' and finally `test -f',
but be careful not to let the failure status cause libtool to
stop.
Gary V. Vaughan [Sun, 22 Apr 2001 22:56:18 +0000 (22:56 +0000)]
* 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>
Gary V. Vaughan [Sun, 22 Apr 2001 22:38:00 +0000 (22:38 +0000)]
* 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>
* ltcf-cxx.sh: Support creation of C++ shared libraries on
recent versions of FreeBSD (release 3 or later).
* ltconfig.in: On FreeBSD, -lc must not be provided when building
a shared library or else the standard -pthread gcc option is
rendered worthless to later users of the built library.
Gary V. Vaughan [Sun, 8 Apr 2001 11:40:15 +0000 (11:40 +0000)]
* ltcf-c.sh (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>
Gary V. Vaughan [Sun, 8 Apr 2001 10:44:49 +0000 (10:44 +0000)]
* 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.
Gary V. Vaughan [Sun, 8 Apr 2001 10:03:52 +0000 (10:03 +0000)]
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.
Gary V. Vaughan [Fri, 6 Apr 2001 00:43:31 +0000 (00:43 +0000)]
* 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.
Gary V. Vaughan [Fri, 6 Apr 2001 00:29:14 +0000 (00:29 +0000)]
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.
Gary V. Vaughan [Fri, 6 Apr 2001 00:16:05 +0000 (00:16 +0000)]
* 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>