]> git.ipfire.org Git - thirdparty/libtool.git/log
thirdparty/libtool.git
22 years ago* libtool.m4: Add support for Intel icc compiler for Linux.
Allan Sandfeld Jensen [Wed, 11 Dec 2002 19:44:59 +0000 (19:44 +0000)] 
* libtool.m4: Add support for Intel icc compiler for Linux.

22 years agoFormat change, forgot the "*".
Robert Boehne [Wed, 11 Dec 2002 19:02:34 +0000 (19:02 +0000)] 
Format change, forgot the "*".

22 years agoltmain.in: Revert the version +1 change for IRIX, it could
Robert Boehne [Wed, 11 Dec 2002 16:05:24 +0000 (16:05 +0000)] 
ltmain.in: Revert the version +1 change for IRIX, it could
cause compatibility problems.

22 years ago* libtool.m4 (AC_LIBTOOL_COMPILER_OPTION,
Christian Cornelssen [Fri, 22 Nov 2002 22:36:25 +0000 (22:36 +0000)] 
* libtool.m4 (AC_LIBTOOL_COMPILER_OPTION,
AC_LIBTOOL_PROG_CC_C_O): Changed method for compilation with
custom flags to be language-independent.  Thereby removed
CFLAGS/GCJFLAGS mixup bug.  Imitate Autoconf-style logging.
Log entries no longer discarded by compilation failures.
(_LT_AC_LANG_C_CONFIG, _LT_AC_LANG_CXX_CONFIG,
_LT_AC_LANG_GCJ_CONFIG): Tuned settings of
lt_simple_compile_test_code and lt_simple_link_test_code
to avoid warnings that could break some option detections.
(AC_LIBTOOL_PROG_COMPILER_NO_RTTI): Removed
redundant "-c conftest.$ac_ext" in the argument to
AC_LIBTOOL_COMPILER_OPTION.
(AC_LIBTOOL_PROG_LD_SHLIBS): Replaced C-specific conftest
source code with $lt_simple_compile_test_code, to support
the "-lc" test with other languages.

22 years agoDon't assume that egrep and fgrep exist. POSIX 1003.1-2001 no
Paul Eggert [Tue, 19 Nov 2002 09:42:39 +0000 (09:42 +0000)] 
Don't assume that egrep and fgrep exist.  POSIX 1003.1-2001 no
longer requires them; you're supposed to use grep -E and grep -F
instead.  Also, don't assume that "test -a" works, since POSIX
doesn't require it.
* libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER, _LT_AC_LANG_C_CONFIG,
_LT_AC_LANG_CXX_CONFIG, AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE,
AC_LIBTOOL_PROG_LD_SHLIBS):
egrep -> grep, when that makes no difference.
* libtoolize.in: Likewise.
* ltdl.m4 (AC_LTDL_SYMBOL_USCORE): Likewise.
* ltmain.in: Likewise.
* demo/Makefile.am (hc-direct): Likewise.
* pdemo/Makefile.am (hc-direct): Likewise.
* tests/build-relink.test, tests/build-relink2.test,
tests/cdemo-conf.test, tests/cdemo-shared.test,
tests/cdemo-static.test, tests/demo-conf.test,
tests/demo-nofast.test, tests/demo-shared.test,
tests/demo-static.test, tests/depdemo-conf.test,
tests/depdemo-nofast.test, tests/depdemo-shared.test,
tests/depdemo-static.test, tests/hardcode.test,
tests/mdemo-conf.test, tests/mdemo-shared.test,
tests/mdemo-static.test, tests/pdemo-conf.test,
tests/tagdemo-conf.test, tests/tagdemo-shared.test,
tests/tagdemo-static.test: Likewise.
* libtool.m4 (AC_PROG_EGREP):
New macro, defined if Autoconf doesn't define.
(AC_PATH_TOOL_PREFIX, AC_PROG_LD_GNU): Use it.
(AC_PROG_LD, AC_PROG_NM, AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE):
Use shell pattern matching rather than egrep.
(AC_LIBTOOL_CONFIG): Set lt_EGREP and EGREP.
* demo/Makefile.am (SET_HARDCODE_FLAGS): Use sed instead of egrep.
* pdemo/Makefile.am (SET_HARDCODE_FLAGS): Likewise.
* tests/defs (EGREP, FGREP): New vars.
* ltmain.in: egrep -> $EGREP
* tests/assign.test, tests/demo-exec.test, tests/demo-inst.test,
tests/pdemo-exec.test, tests/pdemo-inst.test, tests/sh.test:
Likewise.
* tests/hardcode.test: fgrep -> $FGREP
* tests/f77demo-exec.test: test -a -> test &&

22 years ago* ltmain.in: When using gcc, pass -mfoo to the linker
Bob Friesenhahn [Tue, 19 Nov 2002 04:42:08 +0000 (04:42 +0000)] 
* ltmain.in: When using gcc, pass -mfoo to the linker
via $compiler_flags in order to pass architecture information to
the linker (e.g. 32 vs 64-bit). This may also be accomplished via
-Wl,-mfoo but this is not reliable with gcc because gcc may use
-mfoo to select a different linker, different libraries, etc, while
-Wl,-mfoo simply passes -mfoo to the linker. If there is a better
solution, please let me know what it is.

22 years ago* tests/Makefile.am: Conditional assignment of FFLAGS = @FFLAGS@
Bob Friesenhahn [Mon, 18 Nov 2002 18:59:44 +0000 (18:59 +0000)] 
* tests/Makefile.am: Conditional assignment of FFLAGS = @FFLAGS@
does not appear to be necessary given that Automake makes this
assignment by default.  The condition is removed since Automake
1.7.1 complains about it.

22 years ago* libtool.m4: Support linking of 64-bit libraries on
Jakub Jelinek [Mon, 18 Nov 2002 18:06:20 +0000 (18:06 +0000)] 
* libtool.m4: Support linking of 64-bit libraries on
sparc{,v[789]}-*linux*, s390*-*linux*, ppc*-*linux*
GNU/Linux systems when the platform default is to build
32-bit libraries.

22 years ago* libtool.m4: Support linking of 32-bit libraries with ld
Andreas Jaeger [Mon, 18 Nov 2002 17:41:29 +0000 (17:41 +0000)] 
* libtool.m4: Support linking of 32-bit libraries with ld
on the x86-64, ppc64, s390x and sparc64 GNU/Linux systems.

22 years ago* ltmain.in: Do not change the PATH in the wrappers: let them
Akim Demaille [Mon, 18 Nov 2002 16:40:59 +0000 (16:40 +0000)] 
* ltmain.in: Do not change the PATH in the wrappers: let them
launch the real binary using its path.

22 years ago* doc/libtool.texi (Library tips): Note array dimensions.
Kevin Ryde [Mon, 18 Nov 2002 16:09:42 +0000 (16:09 +0000)] 
* doc/libtool.texi (Library tips): Note array dimensions.

22 years ago* tests/*.test: MinGW's MSYS treats files under /dev
Bob Friesenhahn [Mon, 18 Nov 2002 15:37:05 +0000 (15:37 +0000)] 
* tests/*.test: MinGW's MSYS treats files under /dev
specially. This causes 'test -r /dev/null/config/site' to
improperly report success, causing configure to fail. Change the
CONFIG_SITE definition from "/dev/null/config/site" to
"/nonexistent" to avoid this problem.

22 years ago* libtool.m4 (_LT_AC_LOCK): remove support for ancient
Charles Wilson [Mon, 18 Nov 2002 15:26:17 +0000 (15:26 +0000)] 
* libtool.m4 (_LT_AC_LOCK): remove support for ancient
versions of mingw and cygwin.
(AC_LIBTOOL_POSTDEP_PREDEP): new function.
moved the "find hidden library dependencies" code here
from AC_LIBTOOL_LANG_CXX_CONFIG.  Attempted to make it
multi-tag compatible, but currently only CXX calls it.
(AC_LIBTOOL_LANG_CXX_CONFIG): set
enable_shared_with_satic_runtimes to 'no' by default
Set it to 'yes' for cygwin, mingw, pw32. Replace
"find hidden library dependencies" code with a call
to the new function AC_LIBTOOL_POSTDEP_PREDEP.
Consolidate cygwin and mingw/pw32 stanzas.
(AC_LIBTOOL_LANG_F77_CONFIG): set
enable_shared_with_static_runtimes to 'no' by default
(AC_LIBTOOL_CONFIG): add
enable_shared_with_static_runtimes to the list of variables
to write into ltmain.sh; include it in the libtool script
template as allow_libtool_libs_with_static_runtimes.
(AC_LIBTOOL_PROG_LD_SHLIBS): set
enable_shared_with_static_runtimes to 'no' by default
Set it to 'yes' for cygwin, mingw, pw32.
(AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE): only put cr in regexp
if the build_os is mingw, not host_os

* ltmain.in (case deplibs_check_method): for all appropriate
cases, if allow_libtool_libs_with_static_runtimes, then remove
predeps and postdeps from the list of dependencies that must
be checked for "dynamicness".  For the "none" case, the
presence of compiler-generated postdeps and predeps should
not trigger "inter-library dependencies not supported" error.
(initial setup after arg processing): on cygwin/mingw, allow
compiler-generated dependent libs to be duplicated without
elimination.
(initial search loop for deplibs): if the deplib in question
is a libtool lib, then if
allow_libtool_libs_with_static_runtimes then parse the .la file.
If the .la file only has an "old_library", add the deplib
directly to the deplibs list (-lstdc++) and DON'T use the .la
file; this allows the (case deplibs_check_method) change above
to take effect.
* ltmain.in (for pass in $passes loop): remove predeps,
postdeps, and compiler_lib_search_path from dependency_libs.

22 years ago* doc/libtool.texi: Add --mode=* to every example using libtool.
Robert Boehne [Fri, 8 Nov 2002 19:38:42 +0000 (19:38 +0000)] 
* doc/libtool.texi: Add --mode=* to every example using libtool.

22 years ago* ltmain.in: add support for installing into temporary
Ossama Othman [Sun, 3 Nov 2002 17:35:37 +0000 (17:35 +0000)] 
* ltmain.in: add support for installing into temporary
staging area (e.g. 'make install DESTDIR=...')

* libtool.m4 (AC_LIBTOOL_LANG_CXX_CONFIG): restore setting
allow_undefined_flag=unsupported for cygwin and mingw.
(AC_LIBTOOL_PROG_LD_SHLIBS): ditto, for both "normal" gcc/ld
and for the (unmaintained?) MSVC case.

* doc/libtool.texi (Install mode): document new
-inst-prefix option.

22 years ago* ltmain.in: Print a warning if the mode is not specified.
Robert Boehne [Sun, 3 Nov 2002 02:16:06 +0000 (02:16 +0000)] 
* ltmain.in: Print a warning if the mode is not specified.
* doc/libtool.texi: Document the change that the mode must be
specified.

22 years ago* libtool.m4 (AC_LIBTOOL_PROG_CC_C_O): use printf, not
Charles Wilson [Thu, 31 Oct 2002 00:52:39 +0000 (00:52 +0000)] 
* libtool.m4 (AC_LIBTOOL_PROG_CC_C_O): use printf, not
echo. (AC_DEPLIBS_CHECK_METHOD): use new shell function
win32_libid on w32 platforms
* ltmain.in: add new section for shell functions. Add
win32_libid() shell function.
* f77demo/Makefile.am: add -no-undefined flag

* ltdl.c (realloc): Remove custom realloc. (#define
rpl_realloc realloc) and comment out later code for custom
realloc. You can't define your own malloc unless you know
enough about the malloc in use to be able to tell how big
the src ptr is. The disabled code incorrectly used the
*destination* ptr to decide how much to copy. This
sometimes results in out-of-bound accesses which cause
segfaults. This is a quick hack for now; we may want
something cleaner later. (tryall_dlopen_module): check to
be sure (dirname_len > 0) before testing first character
against '/'. (try_dlopen): check for feof(file) in read
loop -- otherwise infloop?

22 years ago* ltmain.in (-XCClinker): New flag passes a linking option
Robert Boehne [Mon, 28 Oct 2002 15:38:37 +0000 (15:38 +0000)] 
* ltmain.in (-XCClinker): New flag passes a linking option
directly to the compiler driver without appending ${wl}.

22 years ago* README-alpha: Add some release not templates for inspiration and
Gary V. Vaughan [Fri, 25 Oct 2002 03:28:43 +0000 (03:28 +0000)] 
* README-alpha: Add some release not templates for inspiration and
consistency at release time.

22 years ago* Makefile.am (cvs-diff): Compress the generated diff file, ready
Gary V. Vaughan [Fri, 25 Oct 2002 01:14:07 +0000 (01:14 +0000)] 
* Makefile.am (cvs-diff): Compress the generated diff file, ready
for upload to ftp.gnu.org.

22 years ago* ltmain.in [aix]: Be sure to deal with xlc_r, cc_r and other
Howard Chu [Fri, 25 Oct 2002 00:23:24 +0000 (00:23 +0000)] 
* ltmain.in [aix]: Be sure to deal with xlc_r, cc_r and other
compiler variants.

22 years ago* libtool.m4 (_LT_AC_FILE_IMPGEN_C): Removed. No longer used.
Gary V. Vaughan [Fri, 25 Oct 2002 00:16:08 +0000 (00:16 +0000)] 
* libtool.m4 (_LT_AC_FILE_IMPGEN_C): Removed.  No longer used.
(_LT_AC_FILE_LTDLL_C): Ditto.
(AC_LIBTOOL_CONFIG) [cygwin, mingw, pw32, os2]: Don't call
_LT_AC_FILE_LTDLL_C or _LT_AC_FILE_IMPGEN_C.

22 years ago* libtool.m4: When LDFLAGS="-Wl,-brtl,[other options]", the
Albert Chin-A-Young [Thu, 24 Oct 2002 23:59:11 +0000 (23:59 +0000)] 
* libtool.m4: When LDFLAGS="-Wl,-brtl,[other options]", the
-brtl special-case code for AIX never gets triggered because
were are being too specific about how we search for -brtl.
Use case statement to avoid this. Remove extraneous
semicolon.
* ltmain.in: Recognize the IBM xlc compiler.

22 years agoCorrect sense of libltdl file not found check.
Andrew Suffield [Thu, 24 Oct 2002 21:28:34 +0000 (21:28 +0000)] 
Correct sense of libltdl file not found check.

22 years agoSupport compiler names matching g++*
Ossama Othman [Thu, 24 Oct 2002 21:20:13 +0000 (21:20 +0000)] 
Support compiler names matching g++*

22 years agoCleaned up pw32 target.
Bob Friesenhahn [Thu, 24 Oct 2002 03:42:54 +0000 (03:42 +0000)] 
Cleaned up pw32 target.

22 years agoltmain.in: Do not add 1 to the version under IRIX, it is
Robert Boehne [Wed, 23 Oct 2002 14:36:30 +0000 (14:36 +0000)] 
ltmain.in: Do not add 1 to the version under IRIX, it is
not necessary.

22 years agoApply Cygwin patches from Charles Wilson.
Charles Wilson [Tue, 22 Oct 2002 19:29:28 +0000 (19:29 +0000)] 
Apply Cygwin patches from Charles Wilson.

22 years agoMinGW patches from Elizabeth Barham and Bob Friesenhahn.
Bob Friesenhahn [Tue, 15 Oct 2002 22:50:58 +0000 (22:50 +0000)] 
MinGW patches from Elizabeth Barham and Bob Friesenhahn.

22 years agoAIX module name patch from Albert Chin-A-Young.
Albert Chin-A-Young [Tue, 15 Oct 2002 21:01:56 +0000 (21:01 +0000)] 
AIX module name patch from Albert Chin-A-Young.

22 years ago* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS, darwin): Add
Christoph Egger [Fri, 11 Oct 2002 15:52:08 +0000 (15:52 +0000)] 
* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS, darwin): Add
-install_name to the link line only when -dynamiclib is
specified for a module.  Use -bind_at_load when linking C++
shared libraries.

22 years ago* libtool.m4 (AC_LIBTOOL_SETUP): GCC now checks -shared to
Elizabeth Barham [Fri, 4 Oct 2002 15:34:50 +0000 (15:34 +0000)] 
* libtool.m4 (AC_LIBTOOL_SETUP): GCC now checks -shared to
create a dll for Windows targets.

22 years ago* ltmain.in: Fixed a few spelling errors.
Robert Boehne [Wed, 25 Sep 2002 04:26:20 +0000 (04:26 +0000)] 
* ltmain.in: Fixed a few spelling errors.

22 years ago* libltdl/ltdl.c: Commented out access() call that checks for a
Robert Boehne [Tue, 24 Sep 2002 14:06:50 +0000 (14:06 +0000)] 
* libltdl/ltdl.c: Commented out access() call that checks for a
library file's existence and permissions, as it appears to fail
in every case.

22 years ago* libtool.m4: Custom $symcode for Tru64 UNIX to catch 'Q',
Albert Chin-A-Young [Tue, 10 Sep 2002 13:50:06 +0000 (13:50 +0000)] 
* libtool.m4: Custom $symcode for Tru64 UNIX to catch 'Q',
read-only constants.

22 years ago* libtool.m4 (osf[345]): Append $major to soname_spec.
Rainer Orth [Mon, 9 Sep 2002 18:26:34 +0000 (18:26 +0000)] 
* libtool.m4 (osf[345]): Append $major to soname_spec.
Reflect this in library_names_spec.
* ltmain.in (osf): Prefix $major with '.' for use as extension.

22 years agoPort libltdl fully to native Win32 API.
Bob Friesenhahn [Wed, 28 Aug 2002 20:40:28 +0000 (20:40 +0000)] 
Port libltdl fully to native Win32 API.

22 years agoAdded Bob Friesenhahn to AUTHORS file
Robert Boehne [Wed, 28 Aug 2002 20:26:54 +0000 (20:26 +0000)] 
Added Bob Friesenhahn to AUTHORS file

23 years agoNew File.
Robert Boehne [Wed, 31 Jul 2002 20:35:06 +0000 (20:35 +0000)] 
New File.

23 years ago* f77demo/.cvsignore: New file, forgotten in the last commit.
Robert Boehne [Wed, 31 Jul 2002 20:31:13 +0000 (20:31 +0000)] 
* f77demo/.cvsignore: New file, forgotten in the last commit.

23 years ago* libtool.m4 (AC_PROG_LIBTOOL): Added support for the new F77
Eric Lindahl [Wed, 31 Jul 2002 20:15:28 +0000 (20:15 +0000)] 
* libtool.m4 (AC_PROG_LIBTOOL): Added support for the new F77
Fortran support tag.
(AC_LIBTOOL_PROG_CC_C_O, _LT_AC_TAGCONFIG): Support F77 tag.
(AC_LIBTOOL_F77, _LT_AC_LANG_F77, AC_LIBTOOL_LANG_F77_CONFIG):
New macros for F77 tag Fortran support.
* configure.ac: Add support for creating the new F77 tag.
* bootstrap: Add f77demo directory to the list to be processed.
* Makefile.am: Add support for FFLAGS and FLIBS.
* tests/Makefile.am: Add new Fortran tests.
* tests/f77demo-*.test: New files.
* f77demo/configure.ac, f77demo/cprogram.c, f77demo/fooc.c
* f77demo/foof.f, f77demo/foo.h, f77demo/fprogram.f
* f77demo/Makefile.am, f77demo/README: New files.

23 years ago* libltdl/ltdl.c (tryall_dlopen): We need to catch missing file
Gary V. Vaughan [Tue, 16 Jul 2002 09:12:30 +0000 (09:12 +0000)] 
* libltdl/ltdl.c (tryall_dlopen): We need to catch missing file
errors early so that file_not_found() can detect what happened.

23 years ago* libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [mingw]: Remove
Gary V. Vaughan [Wed, 26 Jun 2002 07:15:36 +0000 (07:15 +0000)] 
* libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [mingw]: Remove
extraneous '=' character which appears in gcc 3.1
-print-search-dirs output.
Handle both upper and lower case drive letters when testing for
Windows vs POSIX style path output from -print-search-dirs
output.

23 years ago* ltmain.in (Piecewise linking): Add a clause to skip creating
Robert Boehne [Mon, 24 Jun 2002 19:32:41 +0000 (19:32 +0000)] 
* ltmain.in (Piecewise linking): Add a clause to skip creating
the export file until the reloadable object file(s) have been
created, then use them as input for $export_symbols_cmds.

23 years ago* ltdl.m4 (AC_LTDL_SYS_DLOPEN_DEPLIBS): HP/UX needs
Albert Chin-A-Young [Sun, 23 Jun 2002 22:43:39 +0000 (22:43 +0000)] 
* ltdl.m4 (AC_LTDL_SYS_DLOPEN_DEPLIBS): HP/UX needs
libltdl_cv_sys_dlopen_deplibs set to yes.

23 years ago* ltdl.m4 (AC_LTDL_SYS_DLOPEN_DEPLIBS): Need to quote [ and ] for
Albert Chin-A-Young [Sun, 23 Jun 2002 22:39:50 +0000 (22:39 +0000)] 
* ltdl.m4 (AC_LTDL_SYS_DLOPEN_DEPLIBS): Need to quote [ and ] for
Autoconf.

23 years ago* libtool.m4 (AC_LIBTOOL_SETUP, _LT_AC_LOCK): Use
Kevin Ryde [Sun, 23 Jun 2002 21:42:57 +0000 (21:42 +0000)] 
* libtool.m4 (AC_LIBTOOL_SETUP, _LT_AC_LOCK): Use
AC_PROVIDE_IFELSE to test AC_LIBTOOL_WIN32_DLL and
AC_LIBTOOL_DLOPEN, necessary for autoconf 2.53.

23 years ago* libltdl/ltdl.c (argz_insert): Actually, BEFORE can be NULL
Gary V. Vaughan [Sun, 23 Jun 2002 21:35:58 +0000 (21:35 +0000)] 
* libltdl/ltdl.c (argz_insert): Actually, BEFORE can be NULL
when *PARGZ_LEN is non-NULL, so the assertion to the contrary was
bogus.
Reported by Bob Friesenhahn <bfreisen@simple.dallas.tx.us>
and Albert Chin-A-Young <china@thewrittenword.com>

23 years ago* libltdl/ltdl.c (foreach_dirinpath): Ensure that filename is '0'
Gary V. Vaughan [Sat, 22 Jun 2002 14:47:24 +0000 (14:47 +0000)] 
* libltdl/ltdl.c (foreach_dirinpath): Ensure that filename is '0'
terminated by all code paths.
Reported by Lutz Müller <lutz@users.sourceforge.net>

23 years agoFrom Kevin Ryde <user42@zip.com.au>:
Gary V. Vaughan [Thu, 20 Jun 2002 06:58:38 +0000 (06:58 +0000)] 
From Kevin Ryde  <user42@zip.com.au>:
* doc/libtool.texi (Platform quirks): s/dependan/dependen/
* libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Ditto.
* TODO: Ditto.

23 years ago* ltmain.in (irix, nonstopux): Set major before use.
Rainer Orth [Thu, 13 Jun 2002 11:01:47 +0000 (11:01 +0000)] 
* ltmain.in (irix, nonstopux): Set major before use.

23 years ago* libltdl/ltdl.c (try_dlopen): Don't return bogus handle to user
Daniel Kobras [Tue, 11 Jun 2002 16:09:22 +0000 (16:09 +0000)] 
* libltdl/ltdl.c (try_dlopen): Don't return bogus handle to user
  if tryall_dlopen() fails.

23 years ago* tests/pdemo-exec.test: Typo. s/hell-static/hell_static/
Gary V. Vaughan [Sat, 1 Jun 2002 14:54:51 +0000 (14:54 +0000)] 
* tests/pdemo-exec.test: Typo.  s/hell-static/hell_static/

23 years ago* NEWS: Updated.
Charles Wilson [Sat, 1 Jun 2002 14:09:50 +0000 (14:09 +0000)] 
* NEWS: Updated.
* libtool.m4: use $NM to create the symbol list on cygwin, not
$ltdll_cmds as on mingw.  For all tags, (and host=cygwin) set
allow_undefined_flag="" so that the --auto-import magic
works properly.  For all tags (and host=cygiwn) set
always_export_symbols=no -- it is unnecessary thanks to
binutils' auto-export magic.
* libltdl/ltdl.c: Don't force cygwin to use the LoadLibrary
wrapper; use cygwin's builtin implementatino of dl*.
* cdemo/Makefile.am: the downside of unsetting
'allow_undefined_flag' -- we must include -no-undefined
in the _la_LDFLAGS variable.
* depdemo/l1/Makefile.am: ditto.
* depdemo/l2/Makefile.am: ditto.
* depdemo/l3/Makefile.am: ditto.
* depdemo/l4/Makefile.am: ditto.
* mdemo/Makefile.am: ditto.
* tagdemo/Makefile.am: ditto.
* demo/Makefile.am: ditto.  But also, we must make special
provision to clean up the hell0 wrapper script.
* pdemo/Makefile.am: ditto -no-undefined.  ditto hell0.
And use 'hell_static' instead of 'hell.static'.
* tests/pdemo-inst.test: use 'hell_static' instead
of 'hell.static'.
* tests/pdemo-exec.test: ditto.

23 years ago* tests/build-relink2.test: look for installed libl3.la
Charles Wilson [Fri, 31 May 2002 06:56:10 +0000 (06:56 +0000)] 
* tests/build-relink2.test: look for installed libl3.la
in $prefix/lib/ as well as $prefix/lib/extra/.

23 years ago* tests/hardcode.test: Use libtool --config to collect the
Gary V. Vaughan [Thu, 30 May 2002 20:35:43 +0000 (20:35 +0000)] 
* tests/hardcode.test: Use libtool --config to collect the
variable values for the test, otherwise the tag values interfere
with a straight grep.

23 years agoFinally fix the annoying bug which always adds all tags to the
Gary V. Vaughan [Thu, 30 May 2002 20:20:04 +0000 (20:20 +0000)] 
Finally fix the annoying bug which always adds all tags to the
libtool script built by your project configure.  Now we set the
default tags depending on whether AC_PROG_CXX et. al. are actually
called from configure.ac.

* libtool.m4 (_LT_AC_TAGCONFIG): Don't default the tagnames when
no --with-tags argument is given.
(_LT_AC_SHELL_INIT): Factored out from the AC_DIVERT_PUSH code
in...
(_LT_AC_PROG_ECHO_BACKSLASH): ...which now calls the macro
instead.
(AC_LIBTOOL_CXX): Use _LT_AC_SHELL_INIT to add CXX to the
initialisation sequence for tagnames.
(AC_LIBTOOL_GCJ): Similarly for GCJ tag.
(AC_LIBTOOL_RC): Likewise for RC tag.

23 years ago* ltmain.in: Fix a problem on SCO OpenServer5 that caused a
Jon Meredith [Tue, 21 May 2002 14:05:20 +0000 (14:05 +0000)] 
* ltmain.in: Fix a problem on SCO OpenServer5 that caused a
failure in three depdemo-make tests. For some reason the linker
tries to find the dependent libraries using the library search
path before it has read the libraries specified with absolute
paths in the full commandline. This patch add -L's for each of
the dependent library directories so that they can be resolved.

23 years ago* libtool.m4: Update support for NetBSD
Nick Hudson [Fri, 17 May 2002 16:07:25 +0000 (16:07 +0000)] 
* 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.

23 years agoFixed a typo in ChangeLog. s/ltmain.sh/ltmain.in/
Paul Eggert [Mon, 6 May 2002 15:08:31 +0000 (15:08 +0000)] 
Fixed a typo in ChangeLog. s/ltmain.sh/ltmain.in/

23 years ago* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS): head -1 -> sed 1q to
Paul Eggert [Mon, 6 May 2002 15:03:29 +0000 (15:03 +0000)] 
* 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.

23 years ago* ltmain.in: Don't assume that "sort +2" works, as POSIX
Paul Eggert [Mon, 6 May 2002 14:51:40 +0000 (14:51 +0000)] 
* 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.

23 years ago* ltmain.sh: Detect and handle object name conflicts while
Loren James Rittle [Mon, 6 May 2002 13:38:11 +0000 (13:38 +0000)] 
* ltmain.sh: Detect and handle object name conflicts while
piecewise linking a static library.

23 years ago* ltmain.in: Remove convenience libraries from deplibs for Darwin.
Dave Vasilevsky [Thu, 2 May 2002 20:38:11 +0000 (20:38 +0000)] 
* ltmain.in: Remove convenience libraries from deplibs for Darwin.

23 years ago* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS): Modify archive_expsym_cmds
Fritz Elfert [Thu, 2 May 2002 14:22:51 +0000 (14:22 +0000)] 
* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS): Modify archive_expsym_cmds
to catch properly handle dll alias symbols.

23 years ago* libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): Use $build_os not $host_os.
Kevin Ryde [Wed, 24 Apr 2002 14:39:31 +0000 (14:39 +0000)] 
* libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): Use $build_os not $host_os.

23 years ago* doc/libtool.texi (C++ libraries): Finally updated to reflect
Robert Boehne [Fri, 19 Apr 2002 19:22:45 +0000 (19:22 +0000)] 
* doc/libtool.texi (C++ libraries): Finally updated to reflect
Libtool's support for C++.

23 years ago* libtool.m4: Update support for Fujistu-Siemens Computers (FSC).
Jean-Frederic Clere [Sun, 14 Apr 2002 21:34:04 +0000 (21:34 +0000)] 
* libtool.m4: Update support for Fujistu-Siemens Computers (FSC).
* ltmain.in: Add support for EBCDIC based systems.

23 years ago* libtool.m4 (LT_AC_PROG_SED): Refactor, removing temporary directory
Robert Boehne [Mon, 8 Apr 2002 00:25:56 +0000 (00:25 +0000)] 
* libtool.m4 (LT_AC_PROG_SED): Refactor, removing temporary directory
and consistent use of the shell variable namespace "lt_ac_".

23 years ago* ltmain.in: Finish the tag matching logic started yesterday and
Robert Boehne [Tue, 2 Apr 2002 16:46:56 +0000 (16:46 +0000)] 
* ltmain.in: Finish the tag matching logic started yesterday and
refactor it a bit.

23 years ago* ltmain.in: Handle the case when no tag is explicitly set, and
Robert Boehne [Mon, 1 Apr 2002 22:49:08 +0000 (22:49 +0000)] 
* ltmain.in: 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.

23 years ago* tagdemo/foo.cpp: Use C++ IO to catch problems linking to C++
Robert Boehne [Mon, 1 Apr 2002 21:59:09 +0000 (21:59 +0000)] 
* tagdemo/foo.cpp: Use C++ IO to catch problems linking to C++
runtime libraries.
* tagdemo/main.cpp: Ditto.

23 years ago* TODO: Removed obsolete comments about RMS' package system.
Gary V. Vaughan [Sat, 16 Mar 2002 18:39:42 +0000 (18:39 +0000)] 
* TODO: Removed obsolete comments about RMS' package system.

23 years agoltmain.in: Touch-up to make testsuite pass, and default tagname
Robert Boehne [Thu, 14 Mar 2002 21:43:50 +0000 (21:43 +0000)] 
ltmain.in: Touch-up to make testsuite pass, and default tagname
to CC when it isn't explicitly set.

23 years ago* libtool.m4 (AC_LIBTOOL_PROG_CC_C_O): Albert Chin's gcj fix.
Anthony Green [Thu, 14 Mar 2002 17:40:20 +0000 (17:40 +0000)] 
* libtool.m4 (AC_LIBTOOL_PROG_CC_C_O): Albert Chin's gcj fix.
(AC_LIBTOOL_PROG_COMPILER_PIC): Per Bothner's change for not
using -DPIC with gcj.

23 years agobring a touch of order to the option processing
Bruce Korb [Tue, 12 Mar 2002 02:30:33 +0000 (02:30 +0000)] 
bring a touch of order to the option processing

23 years ago* NEWS: Updated.
Gary V. Vaughan [Sun, 3 Mar 2002 03:19:55 +0000 (03:19 +0000)] 
* NEWS: Updated.
* THANKS: Added Rob Collins and Chuck Wilson for their cygwin
work.

From Robert Collins  <robert.collins@itdomain.com.au>:
* configure.ac (AC_EXEEXT): Needed for DOSish systems.
* libtool.m4 (shlibpath_overrides_runpath) [cygwin]: Set to yes
when compiling with gcc.
(lt_prog_compiler_pic) [cygwin]: No longer needs the -DDLL_EXPORT
hack, so we just say the pic is the default.
(AC_LIBTOOL_PROG_LD_SHLIBS) [cygwin]: Extract symbols from a
library normally.
[cygwin]: Declare C++ compiler characterisics for g++, taking into
account the new auto-import support in cygwin ld.
* ltmain.in (specialdeplibs) [cygwin]: Be careful about
eliminating duplicate -lgcc's from the link line.
[cygwin]: Be smarter about .exe suffixes.
* demo/configure.ac (AC_EXEEXT, AC_LIBTOOL_WIN32_DLL):  Support
DOSish systems properly.
* depdemo/configure.ac (AC_EXEEXT, AC_LIBTOOL_WIN32_DLL):  Ditto.
* demo/Makefile.am (deplibs-check): Allow for .exe suffix.  Use
hell_static instead of hell.static for multi-`.' inhibited OSes.
* tests/demo-exec.test: Ditto.
* tests/demo-inst.test: Ditto.
* demo/foo.h [cygwin]: Sanitize cygwin dll support.
* demo/foo.c (_LIBFOO_COMPILATION_): No longer required.
* demo/hello.c (_LIBFOO_COMPILATION_): Ditto.
* depdemo/Makefile.am (bin_PROGRAMS): Use depdemo_static instead
of depdemo.static for multi-`.' inhibited OSes.
* tests/depdemo-exec.test: Ditto.
* tests/depdemo-inst.test: Ditto.
* mdemo/Makefile.am (bin_PROGRAMS):  Ditto for mdemo.static.
* tests/dryrun.test: Ditto.
* tests/mdemo-exec.test: Ditto.
* tests/mdemo-inst.test: Ditto.
* tests/build-relink.test:  Be careful about possible .exe
suffixes.
* tests/noinst-link.test: Allow for .exe suffix.

23 years agofile Makefile was initially added on branch binary-branch.
Alexandre Oliva [Sat, 2 Mar 2002 20:15:53 +0000 (20:15 +0000)] 
file Makefile was initially added on branch binary-branch.

23 years agoReverted incorrect patch:
Alexandre Oliva [Thu, 7 Feb 2002 19:54:36 +0000 (19:54 +0000)] 
Reverted incorrect patch:
2001-10-24  H.J. Lu  <hjl@gnu.org>
* ltmain.sh: Allow link against an archive when building a
shared library.
* libtool.m4 (lt_cv_deplibs_check_method): Always use
file_magic for Linux ELF.

23 years ago* libtool.m4 (LT_AC_PROG_SED): Removed a mysterious newline.
Robert Boehne [Wed, 30 Jan 2002 16:39:24 +0000 (16:39 +0000)] 
* libtool.m4 (LT_AC_PROG_SED): Removed a mysterious newline.

23 years ago* libtool.m4 (LT_AC_PROG_SED): New macro tests sed for truncation of
Robert Boehne [Tue, 29 Jan 2002 22:58:35 +0000 (22:58 +0000)] 
* libtool.m4 (LT_AC_PROG_SED): New macro tests sed for truncation of
output.  AC_REQUIRE the new macro.
* ltmain.in: Use $SED rather than plan old sed, as set by the new
macro LT_AC_PROG_SED.

23 years ago* configure.ac: Bumped version to 1.4e.
Volker Christian [Fri, 11 Jan 2002 01:24:31 +0000 (01:24 +0000)] 
* configure.ac: Bumped version to 1.4e.

23 years ago* libltdl/ltdl.c (find_handle_callback): treat the result of a call
Volker Christian [Fri, 11 Jan 2002 00:25:19 +0000 (00:25 +0000)] 
* libltdl/ltdl.c (find_handle_callback): treat the result of a call
to access(2) correctly when deciding whether a library can be found
in a directory from user_search_path.

23 years ago* NEWS: Fixed wrong path for texinfo.tex. release-1-4d
Robert Boehne [Mon, 7 Jan 2002 22:09:42 +0000 (22:09 +0000)] 
* NEWS: Fixed wrong path for texinfo.tex.
* configure.ac: Bumped version to 1.4e.

GNU libtool 1.4d was released.

* configure.ac: Bumped version to 1.4d.
* NEWS: updated.
* config.guess, config.sub, texinfo.tex:  Synchronised from
ftp.gnu.org.

23 years ago* ltmain.in: Replace all test "-a"s by "&& test"
Jens Petersen [Thu, 6 Dec 2001 19:34:36 +0000 (19:34 +0000)] 
* ltmain.in: Replace all test "-a"s by "&& test"
for portability.

23 years ago* libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): Change the
Robert Boehne [Wed, 28 Nov 2001 23:20:53 +0000 (23:20 +0000)] 
* libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): Change the
factor of saftey as 3/4 of the result was not low enough.

23 years ago* libtoolize.in: The test for whether AC_PROG_LIBTOOL is defined
Gary V. Vaughan [Wed, 28 Nov 2001 00:23:58 +0000 (00:23 +0000)] 
* libtoolize.in: The test for whether AC_PROG_LIBTOOL is defined
in aclocal.m4 had bitrotted slightly.
Reported by Takahiko Kawasaki <Takahiko_Kawasaki@cii.csk.co.jp>

23 years ago* ltmain.in: Treat freebsd like openbsd, in that -lc/-lc_r should
Donald D. Anderson [Tue, 27 Nov 2001 23:10:22 +0000 (23:10 +0000)] 
* ltmain.in: Treat freebsd like openbsd, in that -lc/-lc_r should
not be explicitly used.  ld handles this depending on the presence
of the -pthread option.

23 years agoWith help from Michael Matz <matz@kde.org>:
Robert Boehne [Tue, 27 Nov 2001 19:31:22 +0000 (19:31 +0000)] 
With help from Michael Matz <matz@kde.org>:
* ltmain.in:  Add a new command line argument
--preserve-dup-deps for preserving duplicate
dependent libraries.
* libtool.texi: Document it.

23 years ago* libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): Send "test"
Kevin Ryde [Tue, 27 Nov 2001 18:49:47 +0000 (18:49 +0000)] 
* libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): Send "test"
warnings to /dev/null, helps FreeBSD and maybe others.

23 years ago* libtool.m4: quote LTCC because autoconf AC_PROG_CC_STDC
Albert Chin-A-Young [Thu, 15 Nov 2001 01:15:25 +0000 (01:15 +0000)] 
* libtool.m4: quote LTCC because autoconf AC_PROG_CC_STDC
macro might add to $CC if options needed by compiler to
grok ANSI.

23 years agoFrom Joseph S. Myers <jsm28@cam.ac.uk>:
Gary V. Vaughan [Thu, 15 Nov 2001 01:01:13 +0000 (01:01 +0000)] 
From Joseph S. Myers  <jsm28@cam.ac.uk>:
* ltmain.in: Typo.

23 years ago* ltmain.in: Place parens around a generated relink_command
Mo DeJong [Thu, 15 Nov 2001 00:59:07 +0000 (00:59 +0000)] 
* ltmain.in: Place parens around a generated relink_command
so it is run is a subshell. This avoids an install error
where libtool ended up in the wrong directory after
relinking a .la file.

23 years ago* configure.ac (pkgdatadir): Move the invocation of AC_INIT_AUTOMAKE
Raja R Harinath [Tue, 30 Oct 2001 23:35:59 +0000 (23:35 +0000)] 
* configure.ac (pkgdatadir): Move the invocation of AC_INIT_AUTOMAKE
before the use of $PACKAGE in $pkgdatadir.
Reported by Bob Friesenhahn <bfreisen@simple.dallas.tx.us>

23 years agoFrom Tom Bates <Tom.Bates@compaq.com>:
Gary V. Vaughan [Sun, 28 Oct 2001 12:22:39 +0000 (12:22 +0000)] 
From Tom Bates  <Tom.Bates@compaq.com>:
* libtool.m4 [mips-compaq-nonstopux]: New port.
* ltmain.in [mips-compaq-nonstopux]: Support
$version_type == nonstopux.

23 years ago* ltdl.c: change some types to size_t from int because
Albert Chin-A-Young [Sun, 28 Oct 2001 02:35:22 +0000 (02:35 +0000)] 
* ltdl.c: change some types to size_t from int because
strlen() returns size_t. argz_len changed to size_t in
foreach_dirinpath() because argzize_path() takes 3rd
argument as size_t, not int. Based on lint run from
Bob Friesenhahn <bfriesen@simple.dallas.tx.us>.

23 years ago* libtool.m4 (_LT_AC_TAGCONFIG): Cray sed does not allow character
Gary V. Vaughan [Sun, 28 Oct 2001 00:10:01 +0000 (00:10 +0000)] 
* libtool.m4 (_LT_AC_TAGCONFIG): Cray sed does not allow character
sets to contain the separator character.
Reported by Kevin Ryde <user42@zip.com.au>

23 years ago* ltdl.m4 (AC_WITH_LTDL): New macro to add `--with-included-ltdl'
Gary V. Vaughan [Sun, 28 Oct 2001 00:00:00 +0000 (00:00 +0000)] 
* ltdl.m4 (AC_WITH_LTDL): New macro to add `--with-included-ltdl'
option to configure, but to find an appropriate ltdl library and
append the right options to link it.

23 years ago*libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS): Remove a stray ' quote.
Kevin Ryde [Wed, 24 Oct 2001 14:36:57 +0000 (14:36 +0000)] 
*libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS): Remove a stray ' quote.

23 years ago* ltmain.sh: Allow link against an archive when building a
H.J. Lu [Wed, 24 Oct 2001 14:30:22 +0000 (14:30 +0000)] 
* ltmain.sh: Allow link against an archive when building a
shared library.
* libtool.m4 (lt_cv_deplibs_check_method): Always use
file_magic for Linux ELF.