Commit Graph

1307 Commits

Author SHA1 Message Date
Peter Eisentraut
569ddb87f0 * libtool.m4: Support $host_os as /sysv5uw7*/ from newer
config.guess in addition to older /unixware*/.  Use compiler
driver, not linker, for linking shared libraries.
2001-04-24 23:40:42 +00:00
Gary V. Vaughan
6f0d6a32a0 Blank lines should only be used to separate distinct commits. 2001-04-24 23:26:18 +00:00
Gary V. Vaughan
7396e09d88 * libtool.m4, ltmain.in, libltdl/configure.in,
tests/quote.test:  Remove stale references to ltconfig.
2001-04-24 23:22:35 +00:00
Gary V. Vaughan
fb267cab4e * 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>
2001-04-24 22:53:48 +00:00
Albert Chin-A-Young
05725cfa57 * libtool.m4: Handle case where /bin/nm -p outputs multiple
symbol types (like under HP-UX 11.00).
2001-04-24 21:21:39 +00:00
Thomas Tanner
6588d8158d * TODO: describe problems with libltdl
* ltmain.in (ILD): tidy up, add comments, remove dead code,
  merge duplicate code

* ltmain.in (ILD): don't touch newdependency_libs after scan or
  dlopen pass

* ltmain.in (ILD): don't dlpreopen dependency_libs of a dlopened
  module (remove absolutely wrong quick hack)

* ltmain.in (ILD): remove wrong comments about duplicate removal

* ltmain.in (ILD): build a static-only module if it has
  static libraries in its dependencies (so that libltdl can
  safely load dependency_libs)

* ltmain.in (argument parsing): prefix comparsions of -l args with X,
  replace -lc with `-framework System' _after_ the ILD passes

* ltmain.in (argument parsing): support dl[pre]open
  for both .o and .lo files

* ltmain.in (deplibs_check): use portable test syntax

* ltmain.in (help): document -prefer-[non-]pic flags

* ltmain.in: improve readablity by adding some comments,
  rename uninst_* to notinst_* (more adequate name)
2001-04-24 20:30:21 +00:00
Gary V. Vaughan
e943e1bf57 * doc/PLATFORMS: More updates from subscribers to
libtool@gnu.org.
2001-04-24 18:07:31 +00:00
Gary V. Vaughan
a398a2326d 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.
2001-04-24 17:13:01 +00:00
Gary V. Vaughan
91f97d31eb * doc/PLATFORMS: Updated with more platforms successfully
tested by members of libtool@gnu.org.
2001-04-23 21:59:36 +00:00
Peter Eisentraut
3a75446c04 * doc/PLATFORMS: With this patch, freebsd4.3 passes the test
suite.
* libltdl/ltdl.c (lt_dlexit): Quit loop if only resident modules
are left.
2001-04-23 21:16:38 +00:00
Gary V. Vaughan
4ff38d2fd2 * doc/PLATFORMS: With this patch, my Solaris boxes now pass the
test suite,  Yay!
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.
2001-04-23 20:08:33 +00:00
Gary V. Vaughan
0c23b107bc * ltdl.m4 (AC_LTDL_DLSYM_USCORE): Add $LIBADD_DL while
checking for dlsym _.

From Simon Spero <ses@ibiblio.org>
2001-04-23 00:34:53 +00:00
Gary V. Vaughan
0775360735 From Simon Spero <ses@ibiblio.org>
* libtool.m4 (lt_cv_deplibs_check_method) [darwin]: Set it!
2001-04-23 00:15:32 +00:00
Gary V. Vaughan
e3d007d365 * TODO: Make a note to undo this later.
From Christoph Pfisterer <cp@chrisp.de>
* libtool.m4: Use $() execution substitution quotation to work
around zsh builtin echo  escape removal.
2001-04-23 00:12:01 +00:00
Peter Eisentraut
c9536eba29 * bootstrap: Allow overriding the location aclocal, automake,
autoconf, autoheader from the environment.
2001-04-22 23:42:30 +00:00
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