Commit Graph

168 Commits

Author SHA1 Message Date
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
Gary V. Vaughan
da264680d4 * libtool.m4 (MAGIC_CMD): Don't use MAGIC, since BSD versions of
the file command use this environment variable to hold the
location of the magic database.
Reported by Marc Espie <Marc.Espie@liafa.jussieu.fr>
2000-09-29 20:41:39 +00:00
Gary V. Vaughan
b030600990 * doc/PLATFORMS: Updated.
* demo/configure.in:  Revert to the `libtool --features' test.
* Makefile.am (libtool):  This needs to rerun configure now that
libtool is generated entirely by AC_PROG_LIBTOOL again.
(ltconfig): Removed.
(ltmain.sh):  Is now regenerated when ltmain.in changes.
* libtool.m4 (_LT_AC_LTCONFIG_HACK): Now does all of the work for
generating libtool immediately in configure.in, rather than
deferring part of the creation until config.status runs.
2000-09-21 00:10:41 +00:00
Gary V. Vaughan
e50bee4743 * bootstrap: Backed out yesterdays patch which is no longer
necessary.
* Makefile.am (libtool): Reworked rule for regeneration of libtool,
now that it is built entirely withing config.status.
(libtoolize): Tidied for orthogonality with the other generation
rules.
(ltconfig):  This is now generated by AC_PROG_LIBTOOL, called from
make by running config.status --recheck.
(ltmain.sh): Moved primary generation of this file into here...
* configure.in (AC_OUTPUT): ...instead of here.
* libtool.m4 (AC_OUTPUT_COMMANDS):  Write the config to ltconfig
where it can be reused, rather than directly to libtool.
* demo/configure.in:  libtool is no longer present immediately
after AC_LIBTOOL_M4 has completed, so the tests now grep through
ltconfig instead -- which *will* be present.
2000-09-17 00:44:49 +00:00
Gary V. Vaughan
2ccd27d360 * ltdl.m4 (AC_LTDL_DLPREOPEN): require the libtool.m4 symbol_pipe
macro.
(AC_LTDL_SYMBOL_USCORE): ditto.
(AC_LTDL_GLOBAL_SYMBOL_PIPE): Removed, since it is a duplicate
of...
* libtool.m4 (AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE): ...this new
macro, extracted from _LT_AC_LTCONFIG_HACK.
2000-09-16 17:55:00 +00:00
Nick Hudson
c574383205 * libtool.m4 (netbsd): Improved support. 2000-09-15 16:44:44 +00:00
Gary V. Vaughan
a051edc63d From Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
* libtool.m4 (pw32): Initial support for pw32, assuming that
libtool's behaviour in this environment is identical to under
cygwin.
* ltmain.in (pw32): ditto.
* NEWS: Updated.
2000-09-15 02:10:27 +00:00
Gary V. Vaughan
5a6065a3a6 * libtool.m4 (changequote): An audit of changequote and m4
quote usage -- all changequotes (except a few with non-nesting
square brackets) have been removed.
2000-09-14 21:29:24 +00:00
Gary V. Vaughan
aaacba9209 libtool.m4 (_LT_AC_LTCONFIG_HACK): Oh man! Third time lucky.
I just discovered that '&' needs to be escaped inside
AC_TRY_EVAL.
2000-09-13 01:31:15 +00:00
Gary V. Vaughan
2b5fa736e6 libtool.m4 (AC_PROG_LIBTOOL): Removed, as it was triggering a
bug in Autoconf-2.13 AC_REQUIRE implementation which inserted
some of the expanded tests too early in the generaated configure.
(_AC_PROG_LIBTOOL): renamed to AC_PROG_LIBTOOL, and defines
itself to an empty expansion to prevent multiple expansions.
configure.in (AC_LIBTOOL_SETUP): Replaced by a call to
AC_PROG_LIBTOOL now that the AC_REQUIRE bug has been worked
around.
2000-09-12 20:02:16 +00:00
Gary V. Vaughan
660a7f7ac4 subversions was poorly over the weekend -- this ci fixes a half
accepted commit and resychronises the repository with my tree.
2000-09-11 07:41:35 +00:00
Gary V. Vaughan
c81edc957e Got one of these last time I tried to commit:
cvs [server aborted]: out of memory; can not reallocate 206092 bytes
trying again...
2000-09-09 12:24:56 +00:00
Gary V. Vaughan
58a5a82054 libtool.m4 (_LT_AC_LTCONFIG_HACK): The ltconfig.in code I
ported from ltconfig.in was incomplete -- this is a backport
of the missing code taken from the multi-language branch.
2000-09-08 17:04:24 +00:00
Pavel Roskin
2c293643f7 * libtool.m4 (_LT_AC_LTCONFIG_HACK): Fixed incorrect use of
changequote
2000-09-07 21:35:16 +00:00
Gary V. Vaughan
1529b47e2b * libtool.m4 (_LT_AC_LTCONFIG_HACK): with_gcc is only useful in
ltmain.sh as it has not yet been set in libtool.m4.  Use
$ac_cv_prog_gcc instead.
2000-09-07 20:14:45 +00:00
Gary V. Vaughan
f8d415aeef * libtool.m4 (_LT_AC_LTCONFIG_HACK): Deleted a vital `;;'
terminator from a case statement by mistake.
2000-09-06 23:19:18 +00:00
Gary V. Vaughan
e927e43114 libtool.m4 now contains a version of the code that used to run
from ltconfig, so that ltmain.sh and then libtool are
generated at configure time.

* Makefile.am:  Don't generate ltmain.sh or ltconfig anymore.
* bootstrap: ltconfig is no more!
* configure.in: Call AC_PROG_LIBTOOL directly.
(AC_OUTPUT): Generate tmain.sh.
* libtool.m4: Don't build an argument list for ltconfig.
(_LT_AC_LTCONFIG_HACK):  Refactoring of the former contents of
ltconfig.in to take advantage of the m4 macros from autoconf.
* ltmain.in: Don't do a version check against ltconfig.
* tests/assign.test: Remove reference to ltconfig.
* tests/hardcode.test: ditto.
* tests/sh.test: ditto.
2000-09-06 17:31:09 +00:00
Alexandre Oliva
de70b3ad0c * libtool.m4: Fix typo I introduced in yesterday's patch. 2000-09-04 02:08:51 +00:00
Alexandre Oliva
deaa5c5eec * libtool.m4: Don't quote CONFIG_SHELL nor ORIGINAL_CONFIG_SHELL.
Quote $@ properly so that the shell expands it, not m4.
2000-09-03 23:02:25 +00:00
Alexandre Oliva
76a616e4fb * libtool.m4: Don't quote SHELL when `re-exec'ing, so that SHELL
can be `/path/to/shell -x'.
2000-09-03 21:53:03 +00:00
Makoto Ishisone
49958438c9 * libtool.m4 (lt_cv_deplibs_check_method, freebsd): Fix typo,
add support for compact format library.
2000-09-02 23:15:57 +00:00
Tom Kacvinsky
ba241e155d * libtool.m4: Ignore Tru64's nm's complaint. 2000-09-02 22:50:13 +00:00
Gary V. Vaughan
0e072fa33e Move the echo detection code to a macro in libtool.m4. The code
at the top ofltconfig.in is ugly, but will go away when the rest
of ltconfig is migrated.

* Makefile.am (libtool):  Pass the value of $ECHO to ltconfig as
an environment variable.
* libtool.m4 (_LT_AC_PROG_ECHO_BACKSLASH): Quote the ECHO value
correctly so that it inserts the correct code into configure.in
suitably quoted for M4 expansion.  This code needs to be near
the top of configure.in as it calls itself recursively, so I
am using AC_DIVERSION_NOTICE (or simply NOTICE on CVS
Autoconf).  The value of ECHO is also substitued into the
Makefile to be used when Make calls ltconfig to generate
libtool, so another layer of quotation is required for the
Makefile.
(AC_LIBTOOL_SETUP):  Use it.
* ltconfig.in: Accept a value for ECHO from the environment, and
carefully substitue for $0 if it is present in the ECHO value.
Because ECHO was quoted for Make, when ltconfig is called by
configure, it is overquoted, and one layer of quotes must be
stripped.
2000-08-31 17:23:44 +00:00
Mo DeJong
53779eeb79 * libtool.m4 (AC_PROG_NM): Fix macro so that it
finds a cross NM on the PATH.
2000-07-10 09:42:21 +00:00
Alexandre Oliva
877cf82fdb * libtool.m4 (lt_cv_deplibs_check_method, freebsd): Do not depend
on $version_type; check for ELF support as in other BSDs.
2000-07-10 06:08:09 +00:00