Commit Graph

1101 Commits

Author SHA1 Message Date
Gary V. Vaughan
3539a1bf85 * libltdl/ltdl.c (load_deplibs): Insert missing 1st argument to
LT_EMALLOC.
2001-08-05 16:01:56 +00:00
Tim Van Holder
11fdf927b4 * ltdl.m4: Canonicalize descriptive text used with
AC_DEFINE.
2001-08-05 12:29:40 +00:00
Tim Van Holder
793c5cf5df * libtool.m4 (_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR): Remove.
(_LT_AC_PROG_ECHO_BACKSLASH): Use $ac_path_separator
instead of $PATH_SEPARATOR.
(AC_LIBTOOL_SYS_DYNAMIC_LINKER): Ditto.
(_LT_AC_TAGCONFIG): Ditto.
(AC_ENABLE_SHARED): Ditto.
(AC_ENABLE_STATIC): Ditto.
(AC_ENABLE_FAST_INSTALL): Ditto.
(AC_PATH_TOOL_PREFIX): Ditto.
(AC_PATH_MAGIC): Ditto.
(AC_PROG_LD): Ditto.
(AC_PROG_NM): Ditto.
* ltdl.m4 (AC_LTDL_SYSSEARCHPATH): Ditto.
2001-08-05 12:20:45 +00:00
Gary V. Vaughan
03c9017f79 From Brad <brad@comstyle.com>:
* libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [openbsd]:  OpenBSD
can build modules without a `lib' prefix and version number.
Move the deplibs check code from here...
(AC_DEPLIBS_CHECK_METHOD): ...to here.
2001-08-05 12:03:06 +00:00
Tim Mooney
6e54c291b2 * libtool.m4 [osf3*, osf4*, osf5*]: Tru64 *can* build modules
without a `lib' prefix to the module name.
2001-08-05 11:33:30 +00:00
Gary V. Vaughan
31093223cb From Guido Draheim <Guido.Draheim@tek.com>:
* ltmain.in: Display better and different error messages when
library linkage fails in various ways.
2001-08-05 11:29:09 +00:00
Albert Chin-A-Young
1f075cd273 * libtool.m4 (_LT_AC_SYS_LIBPATH_AIX): Add newline after
terminating '}' grouping character. Change '[0-9][0-9]'
to '0' as we've already matched it.
2001-08-05 11:13:33 +00:00
Gary V. Vaughan
12ed3e72d8 From Brad <brad@comstyle.com>:
* libtool.m4 (archive_cmds) [darwin, newsos, sysv4]: Replace
1.3 era $linkopts references with $linker_flags.
2001-08-05 11:04:59 +00:00
Gary V. Vaughan
9b398f1b1d * libltdl/ltdl.c: Fixed several careless mistakes in the
foreach_dirinpath support functions.
(foreach_dirinpath): Walk path elements with the argz API.
2001-08-05 10:57:03 +00:00
Gary V. Vaughan
4be575c7c3 From Sedi Master Albert Chin <china@thewrittenword.com>:
* libtool.m4 (_LT_AC_SYS_LIBPATH_AIX): Replace the awk invocation
with an equivalent bit of sed wizardry.
2001-08-04 19:57:09 +00:00
Gary V. Vaughan
9374d2ebde From Edouard G. Parmelan <egp@free.fr>
* libtool.m4 [darwin, openbsd]: Fix quoting problems with
unquoted [] expressions.
2001-08-04 11:13:12 +00:00
Gary V. Vaughan
257a85a573 * bootstrap: s/ltdldemo // -- This demo soesn't work properly,
so I haven't committed it yet.
2001-08-03 19:18:28 +00:00
Ossama Othman
0b3ed2280b * libtool.m4 (AC_LIBTOOL_SETUP): Require Autoconf-2.50 via the
AC_PREREQ autoconf macro since the new libtool macros utilize
macros from that version of Autoconf.
2001-08-03 18:30:09 +00:00
Gary V. Vaughan
5473bb5e38 * ltdl.m4: Bump serial number.
General reformat and tify up in line with Autoconf-2.50 support.
(AC_LTDL_FUNC_ARGZ): Test for system implementations of a
handful of argz API calls, the error_t type, and the argz.h
header.
* libltdl/configure.ac (AM_INIT_AUTOMAKE): Bump version number.
* libltdl/ltdl.c (rpl_argz_append, rpl_argz_create_sep.
rpl_argz_insert, rpl_rgz_next):  Fallback implementations of
the similarly named functions for machines that don;t use glibc.
(lt_dlrealloc):  New memory function pointer that can be set by
the client.  Defaults to rpl_realloc, which in turn uses only
lt_dlmalloc and lt_dlfree.
(LT_EMALLOC, LT_EREALLOC): Set internal out-of-memory error
inside the functions called by these new macros.  Simplified all
callers by removing explicit client error reporting.
(memmove):  Fallback implementation of overlap safe memory copy
function.
(tryall_dlopen):  Factorized common code into...
(tryall_dlopen_module): ...this new helper function.
(canonicalize_path):  Changed function signature to return success
or failure.  Updated all callers.
(foreachfile_callback):  Make use of argz API.
(LT_DLSTRLEN): Moved from here...
* libltdl/ltdl.h (LT_STRLEN): ...to here.  Updated all callers.
(lt_dlrealloc):  Declare new memory management handle.
2001-08-01 06:50:16 +00:00
Robert Boehne
6bbb1b6197 * libtool.m4 (mingw*) Revert the previous change as it was
applied by mistake.
2001-07-31 22:57:34 +00:00
Guido Draheim
a5b1958691 * libtool.m4 (mingw*) sys_lib_search_path_spec:
Sets the proper path separator for cross-compiling.
2001-07-31 20:35:10 +00:00
Steve Ellcey
9ecd6bdb27 * libtool.m4 (ia64-*-hpux*) Add support for ia64*-*-hpux* platform. 2001-07-31 18:49:43 +00:00
Robert Boehne
e3617023bb * libtool.m4 (AC_LIBTOOL_PROG_COMPILER_PIC) [aix*]: Fixed an
incorrect resetting of lt_prog_compiler_static when using gcc
under AIX Power.
2001-07-31 18:48:11 +00:00
Gary V. Vaughan
531c942ce6 * bootstrap: Remove generated files (incase they are links) before
rerunning the autotools to regenerate them.
2001-07-31 02:30:31 +00:00
Gary V. Vaughan
98f40f9774 * libtool.m4 (AC_LIBTOOL_SETUP): Use Autoconf-2.50 era
quadrigraphs and AC_HELP_STRING to bring AC_ARG_WITH/ENABLE
macros up to date.
(_LT_AC_LOCK): Ditto.
(_LT_AC_TAGCONFIG): Ditto.
(AC_PROG_LD): Ditto.
(AC_ENABLE_SHARED): Ditto.  And eliminate the last remaining
changequote invocations.
(AC_ENABLE_STATIC): Ditto.  And Ditto.
(AC_ENABLE_FAST_INSTALL):  Ditto.  And Ditto.
* ltdl.m4 (AC_LTDL_ENABLE_INSTALL): Use Autoconf-2.50 era
quadrigraphs and AC_HELP_STRING to bring AC_ARG_ENABLE
macro up to date.
* NEWS: Updated.
2001-07-30 19:10:36 +00:00
Gary V. Vaughan
963e0cd11f * libtool.m4 [UnixWare7, OpenUNIX8]: Initial support for
UnixWare7 and OpenUNIX8.  Accept these identifiers from the
latest config.guess/config.sub as pseudonyms for sysv5uw[78].
* NEWS: Updated.
Reported by Boyd Lynn Gerber <gerberb@zenez.com>
2001-07-30 01:39:33 +00:00
Gary V. Vaughan
45ca0c8273 * tests/sh.test: Add a new test to enforce X as the fill
character in `test "X...'.
Beef up the `test' tests to also check `test -.' and `test ! -.'
phrases for compliance.
* ltmain.in: Fix quoting problems uncovered by the new tests.
2001-07-29 16:35:50 +00:00
Andrew C. Feren
ed51dc446f * tests/sh.test: New test to disallow `test $foo', where
`test "$foo"' is much safer.
* ltmain.in: Fix quoting problems uncovered by the new test.
2001-07-29 16:20:45 +00:00
Steve Ellcey
855b0b5cae * libtool.m4 (lt_cv_sys_global_symbol_to_cdecl): Change it from
"extern char" to "extern int" so that GCC 3.0 won't complain and
refuse to compile programs containing "extern char main()".
2001-07-29 14:09:03 +00:00
Gary V. Vaughan
8cd16b1d0d From Guido Draheim <Guido.Draheim@tek.com>:
* libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [mingw]: Support
cross compilation to mingw by allowing `:' or ';' as a path
separator.
* NEWS: Updated.
2001-07-29 12:13:48 +00:00
NIIBE Yutaka
d79ae2583d * libtool.m4 (lt_cv_deplibs_check_method): Use pass_all
for sh*-*-linux* (SuperH) too.
2001-07-27 16:28:06 +00:00
Ossama Othman
e4a2772406 From Thomas Poindessous <poinde_t@epita.fr>
* ltmain.in (pic_mode):  Added missing quotes around shell
variable in "if test" conditional.

From Peter Moulder <pmoulder@longford.csse.monash.edu.au>
* ltmain.in (xform): Add support for pre-processed
(e.g. `*.{i,ii}' sources).

* THANKS:  Added Albert Chin-A-Young.
2001-07-25 23:20:15 +00:00
Gary V. Vaughan
be59bd4ad3 From Steve Ellcey <sje@cup.hp.com>:
* libltdl/ltdl.c (foreach_dirinpath): Free unassigned pointer
fix for `canonical'.
2001-07-25 02:52:36 +00:00
Robert Boehne
0a2043ca0e * libtool.m4 (AC_LIBTOOL_LANG_CXX_CONFIG, AC_LIBTOOL_PROG_LD_SHLIBS)
[aix4*, aix5*]: Fixed a mispelled binder option under AIX.
The option to throw errors for unresolved external references is
-bernotok, not -bnoerok.
2001-07-23 21:22:03 +00:00
Gary V. Vaughan
98cf23f00b * Makefile.am (EXTRA_DIST): Don't forget to distribute
ChangeLog.1.
2001-07-23 21:06:02 +00:00
Gary V. Vaughan
cf60b1211e From Erik Lindahl <E.Lindahl@chem.rug.nl>
* libtool.m4 (_LT_AC_SYS_LIBPATH_AIX): Used on aix to discover
the compiler's default library search path so that the MPI
compiler suite is not hosed by the previously hardcoded path.
* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) [aix4*, aix5*]: Use it.
2001-07-23 21:04:29 +00:00
Andreas Schwab
a25740e4f1 * libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Use pass_all for
s390*-*-linux* and m68*-*-linux*.
2001-07-23 20:34:21 +00:00
Robert Boehne
7e3f8916bb * libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS): Fix tag support
problems with CXX variables being overwritten by the individual
macros.
(AC_LIBTOOL_PROG_CC_C_O): Ditto.
(AC_LIBTOOL_PROG_COMPILER_PIC): Ditto.
(AC_LIBTOOL_LANG_CXX_CONFIG): Moved call to
AC_LIBTOOL_SYS_HARD_LINK_LOCKS after the call to
AC_LIBTOOL_PROG_CC_C_O as it depends on the result.
(AC_LIBTOOL_LANG_GCJ_CONFIG): Ditto.
(AC_LIBTOOL_LANG_C_CONFIG): Ditto.
(AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH): Used the macro
_LT_AC_TAGVAR to ensure the correct variable is being queried.
(AC_LIBTOOL_SYS_DYNAMIC_LINKER): Changed the naming of shared
objects under IRIX back to what it was in the MLB.
2001-07-23 16:41:49 +00:00
Mark Kettenis
717697b020 * libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN) [gnu*]: Remove spurious
"break" and bogus comment
(_LT_AC_LANG_CXX_CONFIG): Add support for the Hurd.
* ltdl.m4 (AC_LTDL_SYS_DLOPEN_DEPLIBS): Add support for the Hurd.
2001-07-23 00:30:00 +00:00
Robert Boehne
1840292d8b * ltdl.m4 (AC_LTDL_SYS_DLOPEN_DEPLIBS): add cases and comments for
more platforms, including AIX, Digital/Tru64 UNIX and IRIX.
2001-07-17 20:17:38 +00:00
Gary V. Vaughan
7b207c31e8 * libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS): Fix ia64 AIX
run-time-linking when not using gcc.
(AC_LIBTOOL_LANG_CXX_CONFIG):  Ditto.
Reported by Dan McNichol <mcnichol@austin.ibm.com>
2001-07-16 19:11:34 +00:00
Gary V. Vaughan
706b9e9c36 From dda@sleepycat.com (Don Anderson):
* libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [qnx]: New
supported architecture.
(AC_DEPLIBS_CHECK_METHOD) [qnx]:  Ditto.
* NEWS: Updated.
2001-07-12 23:36:36 +00:00
Gary V. Vaughan
7e3f4ae209 From Stefan Ondrejicka <ondrej@idata.sk>:
* libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [cygwin*]: Make
sure that /lib/w32api is searched for system libraries to
match recent versions of cygwin.
* NEWS: Updated.
2001-07-12 19:48:49 +00:00
Dan McNichol
a774fb1a86 From albert chin <china@thewrittenword.com>
* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS): Fix AIX
run-time-linking when using gcc.
(AC_LIBTOOL_LANG_CXX_CONFIG):  Ditto.
2001-07-12 18:20:28 +00:00
Gary V. Vaughan
cafb176ee8 * libtool.m4 (_LT_AC_LANG_CXX_CONFIG) [hpux, linux, osf,
solaris]: Doh!  the evalled variable shouldn't have been
quoted.
2001-07-11 23:16:07 +00:00
Gary V. Vaughan
f70bf484b3 * libtool.m4 (_LT_AC_LANG_CXX_CONFIG) [hpux, linux, osf,
solaris]: output_verbose_link_cmd have unquoted `*' in case
statements for these architectures.  Be sure to quote them
with a sed expression before passing to eval.
Reported by Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>
2001-07-11 22:27:31 +00:00
Gary V. Vaughan
aa6e480a61 * README-alpha: s/configure.in/configure.ac.
* configure.ac: Bumped version to 1.4c.
2001-07-09 22:41:58 +00:00
Gary V. Vaughan
16b5ce20cc * configure.ac: Bumped version to 1.4b.
* NEWS: updated.
* config.guess, config.sub, texinfo.tex:  Synchronised from
ftp.gnu.org.
2001-07-09 22:02:09 +00:00
Robert Boehne
9dcb2e57cb From Michael Elizabeth Chastain <chastain@cygnus.com>:
* libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN):  Set max_cmd_len
to a maximum of 512Kb, as it seems some HPUX 11.0 systems
have trouble with 1MB.
2001-07-09 21:36:00 +00:00
Gary V. Vaughan
75ac32bf79 * README-alpha: Upgrade distribution instructions to include
canonical location of texinfo.tex.
2001-07-09 20:22:51 +00:00
Timothy Wall
03278d51cc * libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS): Don't disable shlibs
on AIX5/IA64 with GNU ld.  Keep gnu defaults if using gnu tools
on AIX5/IA64.
2001-07-09 19:19:24 +00:00
Robert Boehne
df9214ecf2 * libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): Set max_cmd_len
to -1 on hurd, it has no command line argument limits.
* ltmain.in Handle max_cmd_len=-1 for systems that don't have
command line argument limits.
2001-07-09 19:11:26 +00:00
Gary V. Vaughan
32f91bf15d * libtool.m4 (_LT_AC_LANG_C_CONFIG): Revert to 1.3.x
sematics, and always build static libs when the host machine
cannot build shared libs.  Even if static libs were explicitly
disabled.
2001-07-06 01:08:58 +00:00
Gary V. Vaughan
63a4771533 Cleanup of libltdl:
* ltdl.c (lt_dladderror): Don't use `index' as a variable name,
since it is a function on BSD based boxes.
(lt_dlseterror): Ditto.
(lt_dlexit): Remove unused errormsg declaration.
(foreach_dirinpath):  Make sure filename is initialised.
(find_handle):  Return NULL for a failed search.
(foreachfile_callback): Don't reuse data2 symbol from prototype
in func declaration to prevent symbol shadowing.
* ltdl.h (lt_dlmutex_seterror): Don't use `error' as a parameter
name, since it is a function on glibc boxes.
2001-07-02 01:21:30 +00:00
Gary V. Vaughan
f9cb0bf8b8 * libtoolize.in: Display --version in the same format as
autoconf and automake.
* ltmain.in: Ditto.
2001-07-01 23:33:12 +00:00