992 Commits

Author SHA1 Message Date
Nick Hudson
33e6c12a1e * libtool.m4: Update support for NetBSD
* ltdl.m4: Make sure that libltdl_cv_func_dlopen and
libltdl_cv_lib_dl_dlopen are set and used instead of the
ac_cv_ versions. Also, use lt_cv_sys_global_symbol_pipe
instread of global_symbol_pipe. This fixes the detection of
dlopen on BSD derived plaforms and more importantly fixes
need_uscore detection.
2002-05-17 16:11:41 +00:00
Paul Eggert
bc6d10f096 * libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS): head -1 -> sed 1q to
port to POSIX 1003.1-2001 hosts, like textutils 2.0.21 with
_POSIX2_VERSION=200112.
* exe/link-txt.tpl: Include the previous change in the template.


* ltmain.in: Detect and handle object name conflicts while
2002-05-06 15:07:47 +00:00
Paul Eggert
0e00101a0b * ltmain.in: Don't assume that "sort +2" works, as POSIX
1003.1-2001 says that "sort +2" is supposed to sort the file
named "+2".  An example host that behaves like this is
textutils 2.0.21 with _POSIX2_VERSION=200112.
2002-05-06 14:51:28 +00:00
Loren James Rittle
ff06408793 * ltmain.sh: Detect and handle object name conflicts while
piecewise linking a static library.
2002-05-06 13:38:13 +00:00
Dave Vasilevsky
9a3c2107e5 * ltmain.in: Remove convenience libraries from deplibs for Darwin. 2002-05-02 20:38:18 +00:00
Fritz Elfert
b3b3c2e27a * libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS): Modify archive_expsym_cmds
to catch properly handle dll alias symbols.
2002-05-02 14:22:21 +00:00
Kevin Ryde
c266c3667e * libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): Use $build_os not $host_os. 2002-04-24 14:39:33 +00:00
Robert Boehne
0a378ba0b6 * doc/libtool.texi (C++ libraries): Finally updated to reflect
Libtool's support for C++.
2002-04-19 19:26:59 +00:00
Jean-Frederic Clere
31126404b7 * libtool.m4: Update support for Fujistu-Siemens Computers (FSC).
* ltmain.in: Add support for EBCDIC based systems.
2002-04-14 21:41:36 +00:00
Robert Boehne
646383d19f * exe/compile-txt.tpl: Handle the case when no tag is explicitly set,
and $base_compile has a space in front of $CC, and revert the setting
of tagname checked in on 2002-3-14.
* exe/link-txt.tpl: Ditto.
* exe/ltmain.tpl: Ditto.
* ltmain.in: Ditto.
2002-04-04 23:32:06 +00:00
Robert Boehne
71f5b3d0f2 sync from mainline 2002-03-16 17:35:53 +00:00
Bruce Korb
d2009d1625 bring a touch of order to the option processing 2002-03-12 02:17:11 +00:00
Bruce Korb
45d16ee8bf resync with HEAD 2002-03-12 02:06:26 +00:00
Alexandre Oliva
b69b3e703b merge from head. Omits work in ltmain.in 2002-03-02 16:50:29 +00:00
Alan Modra
3d96dbd73a * libtool.m4 (lt_cv_deplibs_check_method): pass_all for hppa*-linux. 2001-05-16 06:53:04 +00:00
Andreas Jaeger
c8d8948b8d * ltmain.in (relink_command): Arrange for wrapper script to save
output to a variable and display it only if relinking fails.
2001-05-03 15:39:52 +00:00
Alexandre Oliva
0d579bb3f6 * ltcf-cxx.sh: Add -nostdlib to HP-UX GCC archive_cmds. 2001-04-27 17:15:06 +00:00
Mark P Mitchell
41d1e5eaf2 * ltcf-cxx.sh: Add -nostdlib to IRIX 6 archive_cmds. 2001-04-27 17:07:33 +00:00
Thomas Tanner
4b0cfb7c36 * 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 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 (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-25 14:26:50 +00:00
Peter Eisentraut
58ca689f39 * 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.
2001-04-24 23:58:18 +00:00
Gary V. Vaughan
84768481ad * 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 23:03:33 +00:00
Albert Chin-A-Young
700a6e9a7f * ltconfig.in: Handle case where /bin/nm -p outputs multiple
symbol types (like under HP-UX 11.00).
2001-04-24 22:20:08 +00:00
Ossama Othman
2314df62ea * ltcf-cxx.sh (output_verbose_link_cmds): Renamed this variable to
"output_verbose_link_cmd" to better conform to libtool naming
conventions.
2001-04-24 21:35:12 +00:00
Gary V. Vaughan
4222020f0e 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:16:32 +00:00
Peter Eisentraut
b5c17ff299 * libltdl/ltdl.c (lt_dlexit): Quit loop if only resident modules
are left.
2001-04-23 21:28:25 +00:00
Gary V. Vaughan
1e05bcd7ea 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:11:35 +00:00
Gary V. Vaughan
ad45ffa9b0 From Simon Spero <ses@ibiblio.org>
* ltdl.m4 (AC_LTDL_DLSYM_USCORE):  Add $LIBADD_DL while
checking for dlsym _.

From Simon Spero <ses@ibiblio.org>
* libtool.m4 (lt_cv_deplibs_check_method) [darwin]: Set it!
2001-04-23 00:41:43 +00:00
Gary V. Vaughan
13a31d8996 * Makefile.am (EXTRA_DIST): Distribute bootstrap. 2001-04-22 23:39:23 +00:00
Peter Eisentraut
57024a1cdb * bootstrap: Allow overriding the location aclocal, automake,
autoconf, autoheader from the environment.
2001-04-22 23:34:50 +00:00
Peter Eisentraut
8c36a5ff1f * 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:13:11 +00:00
Gary V. Vaughan
bcb3a01e01 * 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:56:18 +00:00
Gary V. Vaughan
30d4b0b4c3 * 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:38:00 +00:00
Gary V. Vaughan
3d9d5960c3 * TODO: propose pkg-config merge. 2001-04-21 17:38:40 +00:00
Nick Hudson
c225425481 * ltmain.in: Correct an error in yesterday's patch. 2001-04-21 17:24:20 +00:00
Nick Hudson
6f02a20b5d * libtool.m4: Improve NetBSD support.
* ltcf-c.sh: ditto.
* ltcf-gcj.sh: ditto.
* ltmain.in: ditto.
2001-04-20 21:01:36 +00:00
Alexandre Oliva
e7f865f4e3 * ltcf-cxx.sh [HP-UX GNU ld]: Don't use flags specific to the
HP-UX linker.
2001-04-20 08:53:18 +00:00
Alexandre Oliva
d0bb822137 * TODO: Add -L- flag. 2001-04-18 07:25:10 +00:00
Alexandre Oliva
8a1e496a02 * ltcf-c.sh (no_undefined_flag) [Solaris ld]: Change to -zdefs.
* ltcf-cxx.sh (no_undefined_flag) [Solaris ld]: Likewise.
* ltcf-gcj.sh (no_undefined_flag) [Solaris ld]: Likewise.
(archive_cmds, archive_expsym_cmds, output_verbose_link_cmds,
whole_archive_flag_spec) [Solaris]: Copy from ltcf-cxx.sh.
2001-04-12 02:39:37 +00:00
Michael Matz
bce631a344 Typo 2001-04-12 02:28:28 +00:00
Michael Matz
a0920831a8 * ltmain.in: recognize "CC" as default --tag argument to resolve
also ambiguities with that language.
2001-04-12 02:28:10 +00:00
Alexandre Oliva
586ac44e6e * ltmain.in: Mark duplicate libraries appearing in predeps and
postdeps as specialdeplibs.  Explain the whole plan.
2001-04-12 02:20:59 +00:00
Ossama Othman
05b42f84a6 * config.guess: Updated to latest version.
* config.sub: Likewise.
2001-04-11 16:39:39 +00:00
Loren J. Rittle
23ec3c925d * 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.
2001-04-11 16:15:09 +00:00
Ossama Othman
06664a1f85 * AUTHORS: Added myself to the list of maintainers. 2001-04-11 15:52:58 +00:00
Aneesh Kumar K.V
1595461683 * ltcf-cxx.sh (archive_expsym_cmds, osf4/osf5): Added support
for cxx	under Compaq Tru64.
2001-04-10 19:54:42 +00:00
Gary V. Vaughan
c399bfec51 * 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>
2001-04-08 11:40:15 +00:00
Gary V. Vaughan
eb2ef810dd * 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:44:49 +00:00
Gary V. Vaughan
6b2289acec 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 10:03:52 +00:00
Nick Hudson
6d5ef47951 * ltmain.in: Improve check for valid -version-info parameter. 2001-04-08 00:41:55 +00:00
Gary V. Vaughan
0b288c0313 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:31:50 +00:00