Commit Graph

192 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
7396e09d88 * libtool.m4, ltmain.in, libltdl/configure.in,
tests/quote.test:  Remove stale references to ltconfig.
2001-04-24 23:22:35 +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
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
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
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
4aa50ec99b * libtool.m4 (no_undefined_flag) [Solaris ld]: Change to -zdefs. 2001-04-12 02:39:20 +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
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
fb10b1f7d4 From Edward Lee <tailbert@yahoo.com>
* libtool.m4: Typos.
2001-04-05 23:16:16 +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
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
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
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
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
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
Alexandre Oliva
970f9a7ca8 * libtool.m4 (ld_shlibs) [aix4*]: Disable on unknown CPU types. 2001-01-27 19:19:05 +00:00
Akim Demaille
6b75e6cb5a * libtool.m4: s/[ t]*$//
* libtool.m4 (OSF/1):  Revert my patch of 2000-12-16.
2000-12-22 23:40:11 +00:00
Aneesh Kumar K.V
359bb5c225 * libtool.m4 (OSF/1): Change the way to pass linker flags through
compiler on a Tru64 machine.
2000-12-16 17:37:44 +00:00
Gary V. Vaughan
20c4325d86 * libtool.m4 (sys_lib_search_path_spec): Use test instead of
`['.
(archive_cmds): And another one.
2000-12-16 14:02:50 +00:00
Gary V. Vaughan
099f6d1740 * libtool.m4 (AC_DEPLIBS_CHECK_METHOD): moved rogue settings from
sequent, ncr and newos6 back into here from other macros.
2000-12-16 13:30:36 +00:00
Gary V. Vaughan
e23566af9a * libtool.m4 (darwin*): Fixed a pair of stupid typos I made in the
last patch.
2000-12-16 13:19:40 +00:00
Wilfredo Sanchez
4c5c1ca54f * libtool.m4: (dyld/darwin*) Much improved port.
* ltmain.in: (dyld/darwin*) Much improved port.
2000-12-16 13:08:14 +00:00
Sascha Schumann
e8a4133706 * libtool.m4: Accept darwin as an alias for rhapsody.
* ltmain.in: ditto.
2000-12-16 03:55:59 +00:00
Sascha Schumann
181f4634b7 * libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Use the HPUX 10.20
methods to check for library dependencies on HPUX 11.
2000-12-16 03:51:00 +00:00
Nick Hudson
f398c65f73 * libtool.m4 (netbsd*, deplibs_check_method): Enable ILD support
for NetBSD a.out.
2000-12-16 03:09:23 +00:00
Akim Demaille
8bd5f6a210 * libtool.m4 (AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE): Rename
`ac_cv_sys_global_symbol_pipe' as `lt_cv_sys_global_symbol_pipe'.
Similarly with `lt_cv_global_symbol_to_cdecl
(_LT_AC_LTCONFIG_HACK): Similarly with `ac_cv_prog_cc_pic',
`ac_cv_prog_cc_shlib', `ac_cv_prog_cc_wl', `ac_cv_prog_cc_static',
`ac_cv_prog_cc_no_builtin', `ac_cv_prog_cc_can_build_shared',
`ac_cv_prog_cc_static_works', `ac_cv_archive_cmds_need_lc'.
(AC_PATH_TOOL_PREFIX): Similarly with `ac_cv_path_MAGIC_CMD'
(AC_PROG_LD) <ac_cv_path_LD>: Likewise.
(AC_PROG_LD_GNU) <ac_cv_prog_gnu_ld>: Likewise.
(AC_PROG_NM) <ac_cv_path_NM>: Likewise.
2000-12-16 02:35:29 +00:00
Michael Schmitz
51fdd772c6 * libtool.m4: Port to *-sni-sysv4 (Reliant Unix)
* README: added Reliant Unix to hte list of supported platforms
* doc/PLATFORMS: added note on tests on Reliant Unix
2000-12-14 02:53:45 +00:00
Masahiro Nobori
e1e83eade3 * README: Updated.
* NEWS: Updated.
* libtool.m4:  New port to NEWS-OS Release 6.
2000-12-14 01:51:59 +00:00
Nick Hudson
7cadadfe22 * libtool.m4 (hardcode_libdir_flag_spec): Remove linker
specification for netbsd.
2000-12-14 01:02:39 +00:00
Akim Demaille
a5e5325cd7 * libtool.m4: Don't depend on Autoconf internals:
s/ac_cv_prog_gcc/GCC/.
2000-12-14 00:39:55 +00:00
Gary V. Vaughan
9774369b50 * libtool.m4 (AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE): Don't empty
out ac_cv_global_symbol_to_cdecl inside the loop, incase we
need to go around again and try with underscore prefix.
(_LT_AC_TRY_DLOPEN_SELF): On some hosts (cygwin for instance)
self dlclosing unloads the main program and causes a SIGSEGV.  So
don't do it for now.
2000-12-14 00:34:20 +00:00
Gary V. Vaughan
f1a75923bb Oh My! Cygwin support has bitrotted while I was looking the other
way.  This should fix it some:
* libtool.m4 (extract_expsyms_cmds): There is a quoting problem
with autoconf-2.13 that prevents [$]0 from expanding.  Use shell
quotes instead to delay eval of $0.
(impgen.c) The '# ' sequence stripped by sed works again.
2000-12-05 18:33:07 +00:00
Gary V. Vaughan
010aafbcb0 * libtool.m4 (_LT_AC_LTCONFIG_HACK): Move the tests for dlopen
from here...
(AC_LTDL_DLOPEN_SELF): ...to here.
(_LTDL_AC_CHECK_DLFCN):  Factor out repeated code for dlfcn.h
(_LT_AC_TRY_DLOPEN_SELF): Factor out repeated code for
checking dlopen status.
* ltdl.m4 (AC_LIB_LTDL):  Use _LTDL_AC_CHECK_DLFCN.
dlopen compile time checking.  Use _LTDL_AC_CHECK_DLFCN.
(AC_LTDL_DLSYM_USCORE):  Use _LTDL_AC_TRY_DLOPEN_SELF.
2000-12-01 19:13:20 +00:00
Paul Berrevoets
a09d28a146 * libtool.m4 (_LT_AC_LTCONFIG_HACK): Quote the $ in $#, $2 and
$3 in variable 'archive_expsym_cmds' for cygwin.
2000-11-19 03:41:27 +00:00
Gary V. Vaughan
0e7f0e281f * ltdl.m4 (AC_LTDL_SYMBOL_USCORE): Use $ac_ext for conftest
sourcefile.
* libtool.m4: Use $ac_ext and $ac_objext respectively for conftest
sources and objects.
Reported by Carlo Wood <carlo@alinoe.com>
2000-11-11 13:19:53 +00:00
Morten Eriksen
40f96b7aa3 * libtool.m4 (_LT_AC_LTCONFIG_HACK): Quote argument to avoid error
output from cygpath when $srcdir is empty.
2000-11-01 00:16:59 +00:00
Akim Demaille
f4c0ae7c0a * libtool.m4: Adjust the copyright notice.
Quote all the macro names when defined.
Some minor formatting changes.
(AM_PROG_LIBTOOL, AM_ENABLE_SHARED, AM_ENABLE_STATIC)
(AM_DISABLE_SHARED, AM_DISABLE_STATIC, AM_PROG_LD, AM_PROG_NM):
Don't use indir when useless.  Don't add trailing `dnl' either.
2000-10-31 23:22:41 +00:00
Ossama Othman
2b19f96b19 * libtool.m4 (archive_expsym_cmds): Fix typo where line was broken
in the middle of an expression.
2000-10-30 23:25:56 +00:00
Aneesh Kumar K.V
338362b732 * libtool.m4 (archive_expsym_cmds): Support for -export-symbol
option on Tru64.
(hardcode_libdir_flag_spec): Fixed cxx throwing error while using
libtool.  Done by passing -rpath directlty to the compiler.
2000-10-30 23:13:59 +00:00
Alexandre Oliva
19a68902d6 * libtool.m4 [netbsd*] (deplibs_check_method, file_magic_cmd,
file_magic_test_file): Removed inappropriate duplicate
definitions; these variables are set in AC_DEPLIBS_CHECK_METHOD.
2000-09-30 05:28:23 +00:00
Alexandre Oliva
7f9d89cdd1 * libtool.m4 (lt_cv_file_magic_cmd): Don't use '${MAGIC_CMD}' or
'${OBJDUMP}'; Solaris' /bin/sh loses with `}' in cache files.
(ac_cv_path_MAGIC_CMD): Renamed to lt_cv_path_MAGIC_CMD.
2000-09-30 05:21:57 +00:00