]> git.ipfire.org Git - thirdparty/libtool.git/log
thirdparty/libtool.git
23 years ago* ltdl.m4 (AC_LTDL_DLLIB): call dlopen with arguments so the test
Assar Westerlund [Thu, 13 Sep 2001 19:47:02 +0000 (19:47 +0000)] 
* ltdl.m4 (AC_LTDL_DLLIB): call dlopen with arguments so the test
does not fail due to a prototype in dlfcn.h

23 years ago* ltdl.m4 (AC_CHECK_HEADERS): Check for assert.h.
Gary V. Vaughan [Thu, 13 Sep 2001 19:43:58 +0000 (19:43 +0000)] 
* ltdl.m4 (AC_CHECK_HEADERS): Check for assert.h.
* libltdl/ltdl.c:  If not, disable assertions manually.

23 years ago* bootstrap: Be robust to having no files that need removing.
Gary V. Vaughan [Tue, 11 Sep 2001 19:13:46 +0000 (19:13 +0000)] 
* bootstrap: Be robust to having no files that need removing.

23 years ago* libltdl/configure.ac (AM_INIT_AUTOMAKE): Bump libltdl version to
Gary V. Vaughan [Tue, 11 Sep 2001 01:26:44 +0000 (01:26 +0000)] 
* libltdl/configure.ac (AM_INIT_AUTOMAKE): Bump libltdl version to
1.2.
* libltdl/Makefile.am (libltdl_la_LDFLAGS):  Bump libtool library
version info to 4:0:1.

23 years ago* libtool.m4: No need to undefine([symbols]), proper quotation is
Gary V. Vaughan [Tue, 11 Sep 2001 00:22:48 +0000 (00:22 +0000)] 
* libtool.m4: No need to undefine([symbols]), proper quotation is
enough.

23 years ago* libtool.m4: CVS Autoconf guarantees a decent default IFS, so
Gary V. Vaughan [Mon, 10 Sep 2001 23:33:26 +0000 (23:33 +0000)] 
* libtool.m4: CVS Autoconf guarantees a decent default IFS, so
there is no need for us to preset it anymore.
Be careful not to set IFS="${IFS}$PATH_SEPARATOR" for PATH
splitting, otherwise spaces in directory names will be lost.
Use $PATH_SEPARATOR... don't rely on $ac_path_separator, which was
an autoconf internal until just now, when it disappeared!
* ltmain.in: Default IFS once, at the start.
Reported by Akim Demaille <akim@epita.fr>

23 years ago* libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Missed an instance of
Brad [Mon, 10 Sep 2001 22:41:02 +0000 (22:41 +0000)] 
* libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Missed an instance of
Autoconf square bracket quoting style normalisation.

23 years ago* ltmain.in (-lc_r): Style improvement.
Brad [Mon, 10 Sep 2001 22:34:40 +0000 (22:34 +0000)] 
* ltmain.in (-lc_r): Style improvement.

23 years agoFrom Brad <brad@comstyle.com>:
Gary V. Vaughan [Mon, 10 Sep 2001 22:27:23 +0000 (22:27 +0000)] 
From Brad <brad@comstyle.com>:
* doc/libtool.texi: Remove obsolete references to ltconfig.
* tests/quote.test: s/ltconfig/$0/

23 years ago* libtool.m4: Use Autoconf square bracket quoting style
Gary V. Vaughan [Sun, 9 Sep 2001 17:11:24 +0000 (17:11 +0000)] 
* libtool.m4: Use Autoconf square bracket quoting style
consistently throughout.

23 years ago* bootstrap: Cleanup `autom4te' and `libtool' so that we don't
Gary V. Vaughan [Sat, 8 Sep 2001 03:06:31 +0000 (03:06 +0000)] 
* bootstrap: Cleanup `autom4te' and `libtool' so that we don't
get caught by something from a previous build.

23 years ago* libtool.m4 (archive_cmds, archive_expsym_cmds) [solaris*]: Revert
Gary V. Vaughan [Sat, 8 Sep 2001 03:01:36 +0000 (03:01 +0000)] 
* libtool.m4 (archive_cmds, archive_expsym_cmds) [solaris*]: Revert
my 2001-09-06 patch.
(no_undefined_flag)i [solaris*]: Revert Alexandre's 2001-04-11 patch.

23 years ago* libltdl/ltdl.c (foreach_dirinpath): argz_len should be a size_t.
Gary V. Vaughan [Thu, 6 Sep 2001 23:16:04 +0000 (23:16 +0000)] 
* libltdl/ltdl.c (foreach_dirinpath): argz_len should be a size_t.
Reported by Albert Chin <china@thewrittenword.com>

23 years ago* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) [solaris*]: Typo. s/GXX/GCC/.
Gary V. Vaughan [Thu, 6 Sep 2001 21:58:14 +0000 (21:58 +0000)] 
* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) [solaris*]: Typo. s/GXX/GCC/.

23 years ago* libtool.m4 (archive_cmds, archive_expsym_cmds) [solaris*]: Changing
Gary V. Vaughan [Thu, 6 Sep 2001 21:54:16 +0000 (21:54 +0000)] 
* libtool.m4 (archive_cmds, archive_expsym_cmds) [solaris*]: Changing
no_undefined_flag from `-z text' to `-z defs' (see entry below at
2001-04-11  Alexandre Oliva  <aoliva@redhat.com>) has a problem.
when linking a shared library with gcc calling /usr/ccs/bin/ld (eg.
the gcc supplied with Solaris 8 companion CD), using the flag
-no-undefined, shared library linking will always fail because of
the unresolved symbols from libgcc.a.  Consequently we have to
provide a path to libgcc.a when linking shared libraries in
conjunction with -no-undefined!

23 years agoFrom Michael Pruett <mpruett@engr.sgi.com>:
Gary V. Vaughan [Thu, 6 Sep 2001 21:23:59 +0000 (21:23 +0000)] 
From Michael Pruett <mpruett@engr.sgi.com>:
* libltdl/ltdl.c (find_module): `0' valued arguments to
tryall_dlopen_module() must be explicitly cast to avoid compiler
warnings on some environments.

23 years agoFrom Daniel Johnson <danielj7@mac.com>:
Gary V. Vaughan [Thu, 6 Sep 2001 21:17:28 +0000 (21:17 +0000)] 
From Daniel Johnson <danielj7@mac.com>:
* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) [darwin*]: Move from GNU
ld section to non-GNU ld section.

23 years ago* pdemo/Makefile.am (helldl): Automake 1.4 can't find the target
Robert Boehne [Wed, 5 Sep 2001 19:52:17 +0000 (19:52 +0000)] 
* pdemo/Makefile.am (helldl):  Automake 1.4 can't find the target
if we use helldl$(EXEEXT), and Automake 1.5 barfs unless we do.
Using both targets to the left of the colon seems to work though!

23 years ago* demo/Makefile.am (helldl): Automake 1.4 can't find the target
Gary V. Vaughan [Mon, 3 Sep 2001 22:11:02 +0000 (22:11 +0000)] 
* demo/Makefile.am (helldl):  Automake 1.4 can't find the target
if we use helldl$(EXEEXT), and Automake 1.5 barfs unless we do.
Using both targets to the left of the colon seems to work though!

23 years ago* ltdl.m4 [AC_LTDL_SYS_DLOPEN_DEPLIBS]: Teach ltdl about the
Brad [Mon, 3 Sep 2001 03:26:55 +0000 (03:26 +0000)] 
* ltdl.m4 [AC_LTDL_SYS_DLOPEN_DEPLIBS]: Teach ltdl about the
behavior of OpenBSD's dlopen().

23 years agoFrom Marius Vollmer <mvo@zagadka.ping.de>:
Gary V. Vaughan [Mon, 3 Sep 2001 00:22:13 +0000 (00:22 +0000)] 
From Marius Vollmer <mvo@zagadka.ping.de>:
* libltdl/ltdl.c (tryall_dlopen_module): Don't forget to propogate
errors over recurse levels.

23 years ago* libtool.m4 [openbsd*]: More improvements to the OpenBSD port.
Brad [Sun, 2 Sep 2001 23:32:13 +0000 (23:32 +0000)] 
* libtool.m4 [openbsd*]: More improvements to the OpenBSD port.

23 years agoFrom Albert Chin <china@thewrittenword.com>:
Gary V. Vaughan [Sun, 2 Sep 2001 23:00:44 +0000 (23:00 +0000)] 
From Albert Chin <china@thewrittenword.com>:
* libtool.m4 (_LT_AC_LANG_C_CONFIG) [aix4*]: Be careful with
shared namespaces for static and shared libs.
(AC_LIBTOOL_DLOPEN_SELF): If all else fails, try dld_link from GNU
DLD.

23 years ago* libtool.m4, ltmain.in: Linker flag and version numbering fixes
Christopher Pfisterer [Sun, 2 Sep 2001 22:07:38 +0000 (22:07 +0000)] 
* libtool.m4, ltmain.in: Linker flag and version numbering fixes
for darwin.

23 years agoBased on a patch from Marius Vollmer <mvo@zagadka.ping.de>:
Gary V. Vaughan [Sun, 2 Sep 2001 17:38:55 +0000 (17:38 +0000)] 
Based on a patch from Marius Vollmer <mvo@zagadka.ping.de>:
* NEWS: updated.
* ltdl.m4 (AC_LIB_LTDL): Check for unistd.h.
* ltdl.c: Include unistd.h if it exists.
(LTDL_SEARCHPATH_VAR): Macro to prevent hardcoding
"LTDL_LIBRARY_PATH".
(LTDL_ARCHIVE_EXT): Macro to prevent hardcoding ".la".
(archive_ext): Have only one copy of ".la" in the readonly
segment of the compiled library.
(find_handle_callback): Don't bother trying to dlopen the file if
it doesn't exist.
(find_handle): Don't bother searching for files if no search_path
was supplied.
(file_not_found): A new function to determine whether the last
error was due to a file not found condition.
(try_dlopen): Renamed from lt_dlopen() and changed to have the
same footprint as tryall_dlopen.  This involved a minor rewrite of
much of the internals of this function.
(lt_dlopen): A new function wrapped arounf try_dlopen().
(lt_dlopenext): If a file already has a suitable extension, don't
bother adding additional extensions and trying to open those.
Tidy up the rest of the code to prevent continued searching with
an eventual FILE_NOT_FOUND when a genuine failure earlier in the
search process could be legitimately reported.

23 years ago* demo/Makefile.am (helldl$(EXEEXT)): Automake-1.5 made me change
Gary V. Vaughan [Sun, 2 Sep 2001 16:58:42 +0000 (16:58 +0000)] 
* demo/Makefile.am (helldl$(EXEEXT)): Automake-1.5 made me change
this from just `helldl'.

23 years ago* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) Fixed a problem
Robert Boehne [Fri, 31 Aug 2001 16:59:56 +0000 (16:59 +0000)] 
* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) Fixed a problem
with export_symbols_cmds not being set for CXX tags, and
not being properly set for any tag under AIX/Power.

23 years ago* libtool.m4 (AC_LIBTOOL_LANG_CXX_CONFIG): Corrected and improved
Ossama Othman [Sun, 19 Aug 2001 20:20:25 +0000 (20:20 +0000)] 
* libtool.m4 (AC_LIBTOOL_LANG_CXX_CONFIG): Corrected and improved
  error message that is displayed when there was a problem
  compiling the C++ test program.  It still mentioned the now
  non-existent `ltcf-cxx.sh' file.

* doc/libtool.texi (LTDL_SET_PRELOADED_SYMBOLS): Removed
  parentheses at end of starting "defmac" line, as pointed out by
  makeinfo.

23 years ago* ltmain.in: Do not remove -lm from deplibs for OpenBSD.
Brad [Sat, 18 Aug 2001 22:25:17 +0000 (22:25 +0000)] 
* ltmain.in: Do not remove -lm from deplibs for OpenBSD.

24 years ago* libltdl/ltdl.c (argz_create_sep): Don't forget to include the
Gary V. Vaughan [Thu, 16 Aug 2001 00:48:52 +0000 (00:48 +0000)] 
* libltdl/ltdl.c (argz_create_sep): Don't forget to include the
terminating '0' when counting argz_len.
(argz_create_sep): When canonicalizing argz, don't forget to copy
the terminating '0', incase canonicalization has shortened argz.
(argz_stringify): Don't covert the final '0' to a separator.

24 years ago* libltdl/ltdl.c (lt_dlhandle_next): Now we can loop through all
Gary V. Vaughan [Wed, 15 Aug 2001 00:23:22 +0000 (00:23 +0000)] 
* libltdl/ltdl.c (lt_dlhandle_next): Now we can loop through all
loaded module handles as originally intended.

24 years ago* libltdl/ltdl.c (lt_dlseterror): Oops. This never worked
Gary V. Vaughan [Wed, 15 Aug 2001 00:01:46 +0000 (00:01 +0000)] 
* libltdl/ltdl.c (lt_dlseterror): Oops.  This never worked
either, due to a pair of typos.  Now fixed.

24 years ago* libltdl/ltdl.c (N_ELEMENTS): Deleted. How come nobody noticed
Gary V. Vaughan [Tue, 14 Aug 2001 23:28:40 +0000 (23:28 +0000)] 
* libltdl/ltdl.c (N_ELEMENTS):  Deleted.  How come nobody noticed
there was no way this could have ever worked?
(lt_dlcaller_set_data): Now that valid caller_ids must be
non-zero, allocate an addition entry in the caller_data vector and
use a zero valued key as the end marker.
(lt_dlcaller_get_data): Iterate up to the end marker in one pass.

24 years ago* libltdl/ltdl.c (lt_dlcaller_register): Caller ids are allocated
Gary V. Vaughan [Tue, 14 Aug 2001 22:45:21 +0000 (22:45 +0000)] 
* libltdl/ltdl.c (lt_dlcaller_register): Caller ids are allocated
starting from value `1', so that clients can use a value of zero
to indicate that libltdl has not yet initialised.

24 years ago* ltmain.in (exec_cmd): Fix quoting in execute mode so that the
Gary V. Vaughan [Mon, 13 Aug 2001 23:11:48 +0000 (23:11 +0000)] 
* ltmain.in (exec_cmd): Fix quoting in execute mode so that the
double quotes added by libtool (to prevent lossage with embedded
spaces in filenames etc.) are not interpreted as literals by the
shell.

24 years ago* libltdl/ltdl.c (find_file_callback): Fix a multiple free()
Gary V. Vaughan [Mon, 13 Aug 2001 22:53:39 +0000 (22:53 +0000)] 
* libltdl/ltdl.c (find_file_callback): Fix a multiple free()
bug.
(tryall_dlopen_module): Remove some unused variables.

24 years ago* libltdl/ltdl.c (lt_dlinsertsearchdir): Calculate the address
Gary V. Vaughan [Mon, 13 Aug 2001 19:51:34 +0000 (19:51 +0000)] 
* libltdl/ltdl.c (lt_dlinsertsearchdir): Calculate the address
of the end of user_search_path correctly.

24 years ago* libltdl/ltdl.c (rpl_argz_stringify): New fallback implementation.
Gary V. Vaughan [Mon, 13 Aug 2001 17:25:49 +0000 (17:25 +0000)] 
* libltdl/ltdl.c (rpl_argz_stringify): New fallback implementation.
* ltdl.m4 (AC_LTDL_FUNC_ARGZ):  Test for argz_stringify in libc.
* libltdl/ltdl.c (lt_argz_insertinorder): Renamed from
lt_argz_insert to make room for...
(lt_argz_insert): Wraps argz_insert with libltdl error handling.
(lt_dlpath_insertdir): Insert new path elements into an
argzized path.
(lt_dlinsertsearchdir): New function to insert new search
directories anywhere into user_search_path using the above.
(lt_dladdsearchdir): Rewritten to use lt_dlpath_insertdir.
* libltdl/ltdl.h (lt_dlinsertsearchdir): Prototype for export.
* doc/libtool.texi (Libltdl interface): Document it.
* NEWS: Updated,

24 years agoltmain.in [irix*]: $with_gcc is either "yes" or "" (empty string)
Gary V. Vaughan [Tue, 7 Aug 2001 20:20:14 +0000 (20:20 +0000)] 
ltmain.in [irix*]: $with_gcc is either "yes" or "" (empty string)
with current autoconf, so we need to be robust to that when testing
it,

24 years agoFrom Brad <brad@comstyle.com>:
Gary V. Vaughan [Mon, 6 Aug 2001 17:52:37 +0000 (17:52 +0000)] 
From Brad <brad@comstyle.com>:
libtool.m4 (deplibs_check_method) [aix*]: Removed redundant setting
of this variable.

24 years ago* libltdl/ltdl.c (load_deplibs): Insert missing 1st argument to
Gary V. Vaughan [Sun, 5 Aug 2001 16:01:56 +0000 (16:01 +0000)] 
* libltdl/ltdl.c (load_deplibs): Insert missing 1st argument to
LT_EMALLOC.

24 years ago* ltdl.m4: Canonicalize descriptive text used with
Tim Van Holder [Sun, 5 Aug 2001 12:29:40 +0000 (12:29 +0000)] 
* ltdl.m4: Canonicalize descriptive text used with
AC_DEFINE.

24 years ago* libtool.m4 (_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR): Remove.
Tim Van Holder [Sun, 5 Aug 2001 12:20:45 +0000 (12:20 +0000)] 
* 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.

24 years agoFrom Brad <brad@comstyle.com>:
Gary V. Vaughan [Sun, 5 Aug 2001 12:03:06 +0000 (12:03 +0000)] 
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.

24 years ago* libtool.m4 [osf3*, osf4*, osf5*]: Tru64 *can* build modules
Tim Mooney [Sun, 5 Aug 2001 11:33:30 +0000 (11:33 +0000)] 
* libtool.m4 [osf3*, osf4*, osf5*]: Tru64 *can* build modules
without a `lib' prefix to the module name.

24 years agoFrom Guido Draheim <Guido.Draheim@tek.com>:
Gary V. Vaughan [Sun, 5 Aug 2001 11:29:09 +0000 (11:29 +0000)] 
From Guido Draheim <Guido.Draheim@tek.com>:
* ltmain.in: Display better and different error messages when
library linkage fails in various ways.

24 years ago* libtool.m4 (_LT_AC_SYS_LIBPATH_AIX): Add newline after
Albert Chin-A-Young [Sun, 5 Aug 2001 11:13:33 +0000 (11:13 +0000)] 
* 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.

24 years agoFrom Brad <brad@comstyle.com>:
Gary V. Vaughan [Sun, 5 Aug 2001 11:04:59 +0000 (11:04 +0000)] 
From Brad <brad@comstyle.com>:
* libtool.m4 (archive_cmds) [darwin, newsos, sysv4]: Replace
1.3 era $linkopts references with $linker_flags.

24 years ago* libltdl/ltdl.c: Fixed several careless mistakes in the
Gary V. Vaughan [Sun, 5 Aug 2001 10:57:03 +0000 (10:57 +0000)] 
* libltdl/ltdl.c:  Fixed several careless mistakes in the
foreach_dirinpath support functions.
(foreach_dirinpath): Walk path elements with the argz API.

24 years agoFrom Sedi Master Albert Chin <china@thewrittenword.com>:
Gary V. Vaughan [Sat, 4 Aug 2001 19:57:09 +0000 (19:57 +0000)] 
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.

24 years agoFrom Edouard G. Parmelan <egp@free.fr>
Gary V. Vaughan [Sat, 4 Aug 2001 11:13:12 +0000 (11:13 +0000)] 
From Edouard G. Parmelan <egp@free.fr>
* libtool.m4 [darwin, openbsd]: Fix quoting problems with
unquoted [] expressions.

24 years ago* bootstrap: s/ltdldemo // -- This demo soesn't work properly,
Gary V. Vaughan [Fri, 3 Aug 2001 19:18:28 +0000 (19:18 +0000)] 
* bootstrap:  s/ltdldemo // -- This demo soesn't work properly,
so I haven't committed it yet.

24 years ago* libtool.m4 (AC_LIBTOOL_SETUP): Require Autoconf-2.50 via the
Ossama Othman [Fri, 3 Aug 2001 18:30:09 +0000 (18:30 +0000)] 
* 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.

24 years ago* ltdl.m4: Bump serial number.
Gary V. Vaughan [Wed, 1 Aug 2001 06:50:16 +0000 (06:50 +0000)] 
* 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.

24 years ago* libtool.m4 (mingw*) Revert the previous change as it was
Robert Boehne [Tue, 31 Jul 2001 22:57:34 +0000 (22:57 +0000)] 
* libtool.m4 (mingw*) Revert the previous change as it was
applied by mistake.

24 years ago* libtool.m4 (mingw*) sys_lib_search_path_spec:
Guido Draheim [Tue, 31 Jul 2001 20:35:10 +0000 (20:35 +0000)] 
* libtool.m4 (mingw*) sys_lib_search_path_spec:
Sets the proper path separator for cross-compiling.

24 years ago* libtool.m4 (ia64-*-hpux*) Add support for ia64*-*-hpux* platform.
Steve Ellcey [Tue, 31 Jul 2001 18:49:43 +0000 (18:49 +0000)] 
* libtool.m4 (ia64-*-hpux*) Add support for ia64*-*-hpux* platform.

24 years ago* libtool.m4 (AC_LIBTOOL_PROG_COMPILER_PIC) [aix*]: Fixed an
Robert Boehne [Tue, 31 Jul 2001 18:48:11 +0000 (18:48 +0000)] 
* libtool.m4 (AC_LIBTOOL_PROG_COMPILER_PIC) [aix*]: Fixed an
incorrect resetting of lt_prog_compiler_static when using gcc
under AIX Power.

24 years ago* bootstrap: Remove generated files (incase they are links) before
Gary V. Vaughan [Tue, 31 Jul 2001 02:30:31 +0000 (02:30 +0000)] 
* bootstrap: Remove generated files (incase they are links) before
rerunning the autotools to regenerate them.

24 years ago* libtool.m4 (AC_LIBTOOL_SETUP): Use Autoconf-2.50 era
Gary V. Vaughan [Mon, 30 Jul 2001 19:10:36 +0000 (19:10 +0000)] 
* 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.

24 years ago* libtool.m4 [UnixWare7, OpenUNIX8]: Initial support for
Gary V. Vaughan [Mon, 30 Jul 2001 01:39:33 +0000 (01:39 +0000)] 
* 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>

24 years ago* tests/sh.test: Add a new test to enforce X as the fill
Gary V. Vaughan [Sun, 29 Jul 2001 16:35:50 +0000 (16:35 +0000)] 
* 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.

24 years ago* tests/sh.test: New test to disallow `test $foo', where
Andrew C. Feren [Sun, 29 Jul 2001 16:20:45 +0000 (16:20 +0000)] 
* 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.

24 years ago* libtool.m4 (lt_cv_sys_global_symbol_to_cdecl): Change it from
Steve Ellcey [Sun, 29 Jul 2001 14:09:03 +0000 (14:09 +0000)] 
* 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()".

24 years agoFrom Guido Draheim <Guido.Draheim@tek.com>:
Gary V. Vaughan [Sun, 29 Jul 2001 12:13:48 +0000 (12:13 +0000)] 
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.

24 years ago* libtool.m4 (lt_cv_deplibs_check_method): Use pass_all
NIIBE Yutaka [Fri, 27 Jul 2001 16:28:06 +0000 (16:28 +0000)] 
* libtool.m4 (lt_cv_deplibs_check_method): Use pass_all
for sh*-*-linux* (SuperH) too.

24 years agoFrom Thomas Poindessous <poinde_t@epita.fr>
Ossama Othman [Wed, 25 Jul 2001 23:20:15 +0000 (23:20 +0000)] 
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.

24 years agoFrom Steve Ellcey <sje@cup.hp.com>:
Gary V. Vaughan [Wed, 25 Jul 2001 02:52:36 +0000 (02:52 +0000)] 
From Steve Ellcey <sje@cup.hp.com>:
* libltdl/ltdl.c (foreach_dirinpath): Free unassigned pointer
fix for `canonical'.

24 years ago* libtool.m4 (AC_LIBTOOL_LANG_CXX_CONFIG, AC_LIBTOOL_PROG_LD_SHLIBS)
Robert Boehne [Mon, 23 Jul 2001 21:22:03 +0000 (21:22 +0000)] 
* 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.

24 years ago* Makefile.am (EXTRA_DIST): Don't forget to distribute
Gary V. Vaughan [Mon, 23 Jul 2001 21:06:02 +0000 (21:06 +0000)] 
* Makefile.am (EXTRA_DIST): Don't forget to distribute
ChangeLog.1.

24 years agoFrom Erik Lindahl <E.Lindahl@chem.rug.nl>
Gary V. Vaughan [Mon, 23 Jul 2001 21:04:29 +0000 (21:04 +0000)] 
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.

24 years ago* libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Use pass_all for
Andreas Schwab [Mon, 23 Jul 2001 20:34:21 +0000 (20:34 +0000)] 
* libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Use pass_all for
s390*-*-linux* and m68*-*-linux*.

24 years ago* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS): Fix tag support
Robert Boehne [Mon, 23 Jul 2001 16:41:49 +0000 (16:41 +0000)] 
* 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.

24 years ago* libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN) [gnu*]: Remove spurious
Mark Kettenis [Mon, 23 Jul 2001 00:30:00 +0000 (00:30 +0000)] 
* 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.

24 years ago* ltdl.m4 (AC_LTDL_SYS_DLOPEN_DEPLIBS): add cases and comments for
Robert Boehne [Tue, 17 Jul 2001 20:17:38 +0000 (20:17 +0000)] 
* ltdl.m4 (AC_LTDL_SYS_DLOPEN_DEPLIBS): add cases and comments for
more platforms, including AIX, Digital/Tru64 UNIX and IRIX.

24 years ago* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS): Fix ia64 AIX
Gary V. Vaughan [Mon, 16 Jul 2001 19:11:34 +0000 (19:11 +0000)] 
* 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>

24 years agoFrom dda@sleepycat.com (Don Anderson):
Gary V. Vaughan [Thu, 12 Jul 2001 23:36:36 +0000 (23:36 +0000)] 
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.

24 years agoFrom Stefan Ondrejicka <ondrej@idata.sk>:
Gary V. Vaughan [Thu, 12 Jul 2001 19:48:49 +0000 (19:48 +0000)] 
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.

24 years agoFrom albert chin <china@thewrittenword.com>
Dan McNichol [Thu, 12 Jul 2001 18:20:28 +0000 (18:20 +0000)] 
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.

24 years ago* libtool.m4 (_LT_AC_LANG_CXX_CONFIG) [hpux, linux, osf,
Gary V. Vaughan [Wed, 11 Jul 2001 23:16:07 +0000 (23:16 +0000)] 
* libtool.m4 (_LT_AC_LANG_CXX_CONFIG) [hpux, linux, osf,
solaris]: Doh!  the evalled variable shouldn't have been
quoted.

24 years ago* libtool.m4 (_LT_AC_LANG_CXX_CONFIG) [hpux, linux, osf,
Gary V. Vaughan [Wed, 11 Jul 2001 22:27:31 +0000 (22:27 +0000)] 
* 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>

24 years ago* README-alpha: s/configure.in/configure.ac.
Gary V. Vaughan [Mon, 9 Jul 2001 22:41:58 +0000 (22:41 +0000)] 
* README-alpha:  s/configure.in/configure.ac.
* configure.ac: Bumped version to 1.4c.

24 years ago* configure.ac: Bumped version to 1.4b. release-1-4b
Gary V. Vaughan [Mon, 9 Jul 2001 22:02:09 +0000 (22:02 +0000)] 
* configure.ac: Bumped version to 1.4b.
* NEWS: updated.
* config.guess, config.sub, texinfo.tex:  Synchronised from
ftp.gnu.org.

24 years agoFrom Michael Elizabeth Chastain <chastain@cygnus.com>:
Robert Boehne [Mon, 9 Jul 2001 21:36:00 +0000 (21:36 +0000)] 
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.

24 years ago* README-alpha: Upgrade distribution instructions to include
Gary V. Vaughan [Mon, 9 Jul 2001 20:22:51 +0000 (20:22 +0000)] 
* README-alpha:  Upgrade distribution instructions to include
canonical location of texinfo.tex.

24 years ago* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS): Don't disable shlibs
Timothy Wall [Mon, 9 Jul 2001 19:19:24 +0000 (19:19 +0000)] 
* 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.

24 years ago* libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): Set max_cmd_len
Robert Boehne [Mon, 9 Jul 2001 19:11:26 +0000 (19:11 +0000)] 
* 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.

24 years ago* libtool.m4 (_LT_AC_LANG_C_CONFIG): Revert to 1.3.x
Gary V. Vaughan [Fri, 6 Jul 2001 01:08:58 +0000 (01:08 +0000)] 
* 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.

24 years agoCleanup of libltdl:
Gary V. Vaughan [Mon, 2 Jul 2001 01:21:30 +0000 (01:21 +0000)] 
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.

24 years ago* libtoolize.in: Display --version in the same format as
Gary V. Vaughan [Sun, 1 Jul 2001 23:33:12 +0000 (23:33 +0000)] 
* libtoolize.in:  Display --version in the same format as
autoconf and automake.
* ltmain.in: Ditto.

24 years agoMerge test improvements from multi-language-branch:
Gary V. Vaughan [Sat, 30 Jun 2001 20:31:34 +0000 (20:31 +0000)] 
Merge test improvements from multi-language-branch:
* tests/defs: Find and set the value of CC probed by libtool.m4
* tests/link-2.test: Use a .lo wrapper script, and the value of
CC set by defs instead of hardcoding gcc.
* tests/link.test: Use the value of CC set by defs instead of
hardcoding gcc.
* tests/quote.test: Ditto.
* tests/suffix.test: Ditto.

24 years ago* libtool.m4 (AC_LIBTOOL_PROG_COMPILER_PIC) [aix*]: Always set
Gary V. Vaughan [Sat, 30 Jun 2001 02:39:18 +0000 (02:39 +0000)] 
* libtool.m4 (AC_LIBTOOL_PROG_COMPILER_PIC) [aix*]: Always set
lt_prog_compiler_wl to `-Wl'.
Reported by Albert Chin-A-Young  <china@thewrittenword.com>

24 years ago* ltdl.m4 (AC_LTDL_DLLIB) [sco3.2*]: When searching for a dlopen
Gary V. Vaughan [Sat, 30 Jun 2001 00:40:38 +0000 (00:40 +0000)] 
* ltdl.m4 (AC_LTDL_DLLIB) [sco3.2*]: When searching for a dlopen
implementation, and adding `-ldl' has failed, try linking a call
to dlopen, #including dlfcn.h, and without -ldl.  On sco3.2 the
header files redefines the interface symbols to point at the
implementation symbols in libc.
Reported by "Golubev I. N." <gin@mo.msk.ru>

24 years agoGeneral cleanup of autoconf-2.50 upgrade:
Tim Van Holder [Fri, 29 Jun 2001 22:56:50 +0000 (22:56 +0000)] 
General cleanup of autoconf-2.50 upgrade:
* configure.ac: Mark as needing autoconf-mode in
emacs.  Pass arguments to AC_INIT.
* cdemo/configure.ac: Ditto.
* demo/configure.ac: Ditto.
* depdemo/configure.ac: Ditto.
* libtldl/configure.ac: Ditto.
* mdemo/configure.ac: Ditto.
* pdemo/configure.ac: Ditto.
* tagdemo/configure.ac: Ditto.
* ltdl.m4: Mark as needing autoconf-mode in
emacs.
* libtool.m4: Mark as needing autoconf-mode in
emacs.  Don't add () to AS_MESSAGE_LOG_FD.
* libltdl/configure.ac: Use config-h.in as
template for config.h.
* tagdemo/configure.ac: Drop the AC_DIAGNOSTIC. Move
AC_LANG([C++]) after the OBJEXT/EXEEXT check.

24 years ago* tests/suffix.test: Typo in 2nd for loop.
Gary V. Vaughan [Fri, 29 Jun 2001 22:29:09 +0000 (22:29 +0000)] 
* tests/suffix.test: Typo in 2nd for loop.

From Tim Van Holder <tim.van.holder@pandora.be>

24 years agoFrom Tim Van Holder <tim.van.holder@pandora.be>
Gary V. Vaughan [Fri, 29 Jun 2001 22:25:17 +0000 (22:25 +0000)] 
From Tim Van Holder <tim.van.holder@pandora.be>
* libltdl/Makefile.am (OBJECTS):  This was an implicit variable.
instead state the list of object variables explicitly.

24 years agoFrom Bruno Haible <haible@ilog.fr>
Gary V. Vaughan [Fri, 29 Jun 2001 17:12:39 +0000 (17:12 +0000)] 
From Bruno Haible <haible@ilog.fr>
* libtool.m4:  undefine the m4 builtin `symbols', so that the
string `symbols' can be used in the rest of the code without
causing errors with autoconf-2.13.

24 years agoFrom "Golubev I. N." <gin@mo.msk.ru>
Gary V. Vaughan [Fri, 29 Jun 2001 17:09:04 +0000 (17:09 +0000)] 
From "Golubev I. N." <gin@mo.msk.ru>
* tests/Makefile.am (CPPLAGS): Typo. s/CPPLAGS/CPPFLAGS.

24 years ago* mdemo/Makefile,am (foo1_la_LIBADD): Add libsub.la, since foo1
Gary V. Vaughan [Fri, 29 Jun 2001 02:35:56 +0000 (02:35 +0000)] 
* mdemo/Makefile,am (foo1_la_LIBADD): Add libsub.la, since foo1
does use symbols from libsub.la -- only platforms that allow
undefined symbols in libraries were able to cope with this
previously.
Reported by Robert Collins <robert.collins@itdomain.com.au>

24 years agoFrom "Golubev I. N." <gin@mo.msk.ru>
Gary V. Vaughan [Fri, 29 Jun 2001 02:18:25 +0000 (02:18 +0000)] 
From "Golubev I. N." <gin@mo.msk.ru>
* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) [sco3.2v5*]: Needs
-wl,-Bexport to make self dlopen work.