]> git.ipfire.org Git - thirdparty/libtool.git/log
thirdparty/libtool.git
25 years ago* libltdl/ltdl.c (lt_dlopen): Set dlname from library_names if
Alexandre Oliva [Mon, 4 Sep 2000 01:52:04 +0000 (01:52 +0000)] 
* libltdl/ltdl.c (lt_dlopen): Set dlname from library_names if
dlname is empty.

25 years ago* ltdl.m4 (HAVE_LIBDL): Look for dlopen in -lsvld.
Alexandre Oliva [Mon, 4 Sep 2000 01:41:57 +0000 (01:41 +0000)] 
* ltdl.m4 (HAVE_LIBDL): Look for dlopen in -lsvld.
* ltconfig.in: Likewise.

25 years ago* tests/mdemo-exec.test: Modify failure message.
Alexandre Oliva [Mon, 4 Sep 2000 01:20:22 +0000 (01:20 +0000)] 
* tests/mdemo-exec.test: Modify failure message.

25 years ago* ltmain.in (newdlprefiles): Use dlname if it's available and
Alexandre Oliva [Mon, 4 Sep 2000 01:17:42 +0000 (01:17 +0000)] 
* ltmain.in (newdlprefiles): Use dlname if it's available and
old_library isn't; use linklib only if dlname is not available.

25 years ago* ltconfig.in (enable_dlopen): Set to no when lt_cv_dlopen is no.
Alexandre Oliva [Mon, 4 Sep 2000 01:12:46 +0000 (01:12 +0000)] 
* ltconfig.in (enable_dlopen): Set to no when lt_cv_dlopen is no.

25 years ago* libtool.m4 (AM_PROG_GCJ): Removed.
Alexandre Oliva [Sun, 3 Sep 2000 21:45:01 +0000 (21:45 +0000)] 
* libtool.m4 (AM_PROG_GCJ): Removed.
(LT_AC_PROG_GCJ): Use AC_CHECK_TOOL.  Set GCJ to `no' if not
found.
* configure.in: Use LT_AC_PROG_GCJ.
Reported by Nick Hudson <nick@nthcliff.demon.co.uk>

25 years ago* tests/quote.test: Move the match test out of case statements, to
Alexandre Oliva [Sun, 3 Sep 2000 21:37:22 +0000 (21:37 +0000)] 
* tests/quote.test: Move the match test out of case statements, to
work around bug in /bin/sh of several OSs.

25 years ago* tests/defs (CC): Extract from the libtool script.
Alexandre Oliva [Sun, 3 Sep 2000 21:13:13 +0000 (21:13 +0000)] 
* tests/defs (CC): Extract from the libtool script.
* tests/link.test, tests/link-2.test, tests/quote.test: Use it.

25 years ago* ltmain.in (variables_saved_for_relink): Attempt to unset them
Alexandre Oliva [Sun, 3 Sep 2000 03:14:30 +0000 (03:14 +0000)] 
* ltmain.in (variables_saved_for_relink): Attempt to unset them
instead of setting them to an empty string.

25 years ago* demo/Makefile.am: Don't extract configuration variables directly
Alexandre Oliva [Sat, 2 Sep 2000 23:56:42 +0000 (23:56 +0000)] 
* demo/Makefile.am: Don't extract configuration variables directly
from the libtool script, since it breaks with multiple
configurations.  Use $(LIBTOOL) --config instead.

25 years ago* tests/link-2.test: Create hell.lo in the format expected by
Alexandre Oliva [Sat, 2 Sep 2000 23:37:10 +0000 (23:37 +0000)] 
* tests/link-2.test: Create hell.lo in the format expected by
libtool.

25 years ago* ltcf-c.sh, ltcf-cxx.sh, ltcf-gcj.sh (archive_cmds,
Alexandre Oliva [Sat, 2 Sep 2000 23:28:27 +0000 (23:28 +0000)] 
* ltcf-c.sh, ltcf-cxx.sh, ltcf-gcj.sh (archive_cmds,
archive_expsym_cmds) : Use compiler_flags instead of linker flags
when $CC is used for linking.
Reported by Alex Hornby <alex@anvil.co.uk>

25 years ago* libtool.m4 (lt_cv_deplibs_check_method, freebsd): Fix typo,
Makoto Ishisone [Sat, 2 Sep 2000 23:16:01 +0000 (23:16 +0000)] 
* libtool.m4 (lt_cv_deplibs_check_method, freebsd): Fix typo,
add support for compact format library.

25 years ago* configure.in: AC_SUBST reload_flag, deplibs_check_method
Nick Hudson [Sat, 2 Sep 2000 23:11:26 +0000 (23:11 +0000)] 
* configure.in: AC_SUBST reload_flag, deplibs_check_method
and file_magic_cmd.

25 years ago* libtool.m4: Ignore Tru64's nm's complaint.
Tom Kacvinsky [Sat, 2 Sep 2000 22:50:17 +0000 (22:50 +0000)] 
* libtool.m4: Ignore Tru64's nm's complaint.

25 years ago* ltconfig.in: only load $cache_file if it's a regular file
Pavel Roskin [Sat, 2 Sep 2000 22:35:07 +0000 (22:35 +0000)] 
* ltconfig.in: only load $cache_file if it's a regular file

25 years ago* ltconfig.in: Add back ranlib calls for static libraries if there
Assar Westerlund [Sat, 2 Sep 2000 22:32:28 +0000 (22:32 +0000)] 
* ltconfig.in: Add back ranlib calls for static libraries if there
is a ranlib.

25 years agosh.test was failing unnecessarily.
Gary V. Vaughan [Thu, 31 Aug 2000 17:35:56 +0000 (17:35 +0000)] 
sh.test was failing unnecessarily.

* ltmain.in: Xsed is overkill on $CC, and removing it prevents
the test suite from failing.

25 years ago* ltcf-c.sh, ltcf-cxx.sh, ltcf-gcj.sh: Removed RCD ID tags. They
Ossama Othman [Thu, 31 Aug 2000 16:04:56 +0000 (16:04 +0000)] 
* ltcf-c.sh, ltcf-cxx.sh, ltcf-gcj.sh: Removed RCD ID tags.  They
were causing merge problems for those who maintain a copy of
libtool in their own CVS repository.
Reported by Bob Friesenhahn <bfriesen@simple.dallas.tx.us>

25 years agoupdate config.guess and config.sub from ftp://ftp.gnu.org/gnu/config
Gary V. Vaughan [Mon, 28 Aug 2000 02:41:20 +0000 (02:41 +0000)] 
update config.guess and config.sub from ftp://ftp.gnu.org/gnu/config

25 years agotypo
Gary V. Vaughan [Sun, 27 Aug 2000 20:00:53 +0000 (20:00 +0000)] 
typo

25 years ago* ltconfig.in (with_gcc): Make the value of this option
Gary V. Vaughan [Sun, 27 Aug 2000 11:14:32 +0000 (11:14 +0000)] 
* ltconfig.in (with_gcc):  Make the value of this option
available to the generated libtool script.
* ltmain.in (compile_command, finalize_command):  The native C
and C++ compilers on IRIX require the -LANG:std in order to to
compile correctly.   The same options should _not_ be passed
through to gcc on IRIX, or at all on other architectures for
backwards compatibility (among others).
Reported by Bob Freisenhahn <bfreisen@simple.dallas.tx.us>
Reported by Albert Chin-A-Young <china@thewrittenword.com>

25 years ago* ltcf-cxx.sh (old_archive_cmds): With IRIX C++ 7.3.1.1m, CC -ar
Albert Chin-A-Young [Sat, 26 Aug 2000 13:16:19 +0000 (13:16 +0000)] 
* ltcf-cxx.sh (old_archive_cmds):  With IRIX C++ 7.3.1.1m, CC -ar
must be used to create archive libraries, not ar.

25 years ago* ltmain.in (shtool): Use echo|grep instead of expr, as in the
Alexandre Oliva [Tue, 1 Aug 2000 04:27:17 +0000 (04:27 +0000)] 
* ltmain.in (shtool): Use echo|grep instead of expr, as in the
original patch.

25 years ago* ltcf-c.sh (need_lc): Fix test message. Set wl for archive_cmds.
Alexandre Oliva [Tue, 1 Aug 2000 03:47:20 +0000 (03:47 +0000)] 
* ltcf-c.sh (need_lc): Fix test message.  Set wl for archive_cmds.
(ac_cv_prog_cc_pic): Don't print `cached' without `checking'.
* ltcf-cxx.sh (need_lc): Set based on postdeps.

25 years ago* configure.in (AM_PROG_GCJ): Moved definition...
Alexandre Oliva [Wed, 26 Jul 2000 19:56:32 +0000 (19:56 +0000)] 
* configure.in (AM_PROG_GCJ): Moved definition...
* libtool.m4: ... here.

25 years ago* ltmain.in (tagname): Use `case' instead of `grep' to infer it.
Alexandre Oliva [Wed, 26 Jul 2000 04:31:03 +0000 (04:31 +0000)] 
* ltmain.in (tagname): Use `case' instead of `grep' to infer it.
Match even when there are changes in white-space.
(link): Accumulate base_compile so that -L flags that are part of
$CC aren't retained.

25 years ago* ltconfig.in (NetBSD, deplibs_check_method): Use file_magic.
Mocha [Mon, 24 Jul 2000 06:15:15 +0000 (06:15 +0000)] 
* ltconfig.in (NetBSD, deplibs_check_method): Use file_magic.
(NetBSD, file_magic_cmd, file_magic_test_file): Set.

25 years ago* ltcf-cxx.sh: Allow CC to have arguments.
Michael Matz [Mon, 24 Jul 2000 06:10:27 +0000 (06:10 +0000)] 
* ltcf-cxx.sh: Allow CC to have arguments.

25 years ago* ltmain.in (irix, major): Prepend a `.'.
Alexandre Oliva [Mon, 24 Jul 2000 06:08:46 +0000 (06:08 +0000)] 
* ltmain.in (irix, major): Prepend a `.'.
* ltconfig.in (irix, soname_spec, library_names_spec): Adjust.

25 years ago* ltmain.in: Support GNU shtool's install.
Alexandre Oliva [Mon, 24 Jul 2000 05:43:00 +0000 (05:43 +0000)] 
* ltmain.in: Support GNU shtool's install.

25 years ago* tests/Makefile.am (COMMON_TESTS): New variable.
Raja R Harinath [Mon, 24 Jul 2000 05:33:28 +0000 (05:33 +0000)] 
* tests/Makefile.am (COMMON_TESTS): New variable.
(CXX_TESTS): Define unconditionally.
(TESTS): Move all tests to COMMON_TESTS, and conditionally
include CXX_TESTS.
(EXTRA_DIST): Don't use $(TESTS).

25 years ago* ltcf-c.sh (linkopts): Don't set for test.
Alexandre Oliva [Mon, 24 Jul 2000 05:28:14 +0000 (05:28 +0000)] 
* ltcf-c.sh (linkopts): Don't set for test.
* ltcf-cxx.sh (linkopts): Likewise.

25 years agotypo
Nick Hudson [Mon, 24 Jul 2000 05:25:45 +0000 (05:25 +0000)] 
typo

25 years ago* ltcf-cxx.sh (linkopts): Replace with linker_flags.
Nick Hudson [Mon, 24 Jul 2000 05:21:16 +0000 (05:21 +0000)] 
* ltcf-cxx.sh (linkopts): Replace with linker_flags.

25 years ago* ltmain.in (ILD): fix addition of deplibs in relink case.
Nick Hudson [Mon, 24 Jul 2000 05:15:37 +0000 (05:15 +0000)] 
* ltmain.in (ILD): fix addition of deplibs in relink case.

25 years ago* ltcf-c.sh, ltcf-cxx.sh: Check if -lc is necessary for building
Alexandre Oliva [Thu, 20 Jul 2000 02:29:16 +0000 (02:29 +0000)] 
* ltcf-c.sh, ltcf-cxx.sh: Check if -lc is necessary for building
shared library.
* ltcf-gcj.sh: Assume -lc is implicitly linked in.
* ltconfig.in: Set build_libtool_need_lc to indicate it.
* ltmain.in: Add -lc when building shared libary only if
necessary.

25 years agotypo fix from Mo DeJong
Mo DeJong [Thu, 20 Jul 2000 01:59:28 +0000 (01:59 +0000)] 
typo fix from Mo DeJong

25 years ago* libtool.m4 (AC_PROG_NM): Fix macro so that it
Mo DeJong [Mon, 10 Jul 2000 09:42:10 +0000 (09:42 +0000)] 
* libtool.m4 (AC_PROG_NM): Fix macro so that it
finds a cross NM on the PATH.

25 years agoRecover data mysteriously replaced with NULs
Ken Block [Mon, 10 Jul 2000 07:37:18 +0000 (07:37 +0000)] 
Recover data mysteriously replaced with NULs

25 years ago* libltdl/ltdl.h: Also check for __cplusplus, __STDC__ is not
Ken Block [Mon, 10 Jul 2000 07:17:38 +0000 (07:17 +0000)] 
* libltdl/ltdl.h: Also check for __cplusplus, __STDC__ is not
by Compaq C++ compiler

25 years ago* ltcf-c.sh (wlarc, netbsd, aout): Set wlarc to empty.
Alexandre Oliva [Mon, 10 Jul 2000 07:03:52 +0000 (07:03 +0000)] 
* ltcf-c.sh (wlarc, netbsd, aout): Set wlarc to empty.
(hardcode_dynamic_flag_spec, export_dynamic_flag_spec): Use
wlarc instead of wl.
* ltcf-gcj.sh (wlarc, netbsd, aout): Set wlarc to empty.
(hardcode_dynamic_flag_spec, export_dynamic_flag_spec): Use
wlarc instead of wl.

25 years ago* ltconfig.in (dynamic_linker, linux, powerpc): Do not disable
Alexandre Oliva [Mon, 10 Jul 2000 06:28:28 +0000 (06:28 +0000)] 
* ltconfig.in (dynamic_linker, linux, powerpc): Do not disable
shared libraries just because of MkLinux.

25 years ago* ltcf-cxx.sh (archive_cmds, irix): Added -Wl to -update_registry
Albert Chin-A-Young [Mon, 10 Jul 2000 06:14:49 +0000 (06:14 +0000)] 
* ltcf-cxx.sh (archive_cmds, irix): Added -Wl to -update_registry
and its argument when gcc is the compiler.

25 years ago* libtool.m4 (lt_cv_deplibs_check_method, freebsd): Do not depend
Alexandre Oliva [Mon, 10 Jul 2000 06:09:13 +0000 (06:09 +0000)] 
* libtool.m4 (lt_cv_deplibs_check_method, freebsd): Do not depend
on $version_type; check for ELF support as in other BSDs.

25 years ago* libtool.m4 (AC_LIBTOOL_GCJ): Require either AC_PROG_GCJ or
Alexandre Oliva [Mon, 10 Jul 2000 06:06:39 +0000 (06:06 +0000)] 
* libtool.m4 (AC_LIBTOOL_GCJ): Require either AC_PROG_GCJ or
AM_PROG_GCJ.
(AC_PROG_LIBTOOL): Change internal comments to dnl, so that they
don't make it to the `configure' script.

25 years ago* configure.in (AM_PROG_GCJ): Re-enable, with definition copied
Alexandre Oliva [Mon, 10 Jul 2000 05:28:31 +0000 (05:28 +0000)] 
* configure.in (AM_PROG_GCJ): Re-enable, with definition copied
from CVS automake.

25 years ago* libtool.m4 (AM_PROG_GCJ): Quote it so that aclocal won't bring
Alexandre Oliva [Mon, 10 Jul 2000 04:33:52 +0000 (04:33 +0000)] 
* libtool.m4 (AM_PROG_GCJ): Quote it so that aclocal won't bring
it in if it only appears in libtool.m4.
(AC_PROG_LIBTOOL): Move AC_PROG_CXX, AC_PROG_GCJ and AM_PROG_GCJ
hooks here, so that they can be far simpler!

25 years ago* libtool.m4 (AC_LIBTOOL_SETUP): Do not generate a libtool based
Syd Polk [Sun, 18 Jun 2000 03:02:52 +0000 (03:02 +0000)] 
* libtool.m4 (AC_LIBTOOL_SETUP): Do not generate a libtool based
on target; use host instead.
* ltdl.m4 (AC_LTDL_SYSSEARCHPATH): Likewise.

25 years ago* libtool.m4: Updated comment.
Ossama Othman [Tue, 13 Jun 2000 21:52:34 +0000 (21:52 +0000)] 
* libtool.m4: Updated comment.
* ltcf-cxx.sh (archive_cmds, archive_expsym_cmds,
hardcode_libdir_flag_spec, export_dynamic_flag_spec,
whole_archive_flag_spec, with_gnu_ld): Added two default
configurations for GNU g++ (one for g++ with GNU ld, and one for
g++ with native linker).  Updated all platform-specific g++
configurations to only be used if GNU ld isn't the backend linker.
Added support for the KCC (Kuck and Associates, Inc. (KAI) C++
Compiler) to the Linux and OSF/1 configurations.
(ac_cv_prog_cc_wl): Added KAI C++ configuration.
(archive_expsym_cmds): Some configurations were missing the
argument that sets the name of the output library.
* libltdl/ltdl.c, libltdl/libltdl.h: Synchronized with HEAD branch
versions.

* ltcf-cxx.sh (whole_archive_flag_spec): Added missing back quotes
(`) around a command that had to be evaluated.  This fixes GNU ld
"--whole-archive" support detection.
(wlarc): Fixed usage of $wlarc, which must be $wl in all cases,
but when really using $LD for linking.

* ltmain.in (deplibs): Add the library paths to end of the
deplibs, instead of the beginning, since deplibs is reordered
later on.

25 years ago* ltcf-cxx.sh (compiler_lib_search_path), ltconfig.in
Ossama Othman [Tue, 6 Jun 2000 03:23:51 +0000 (03:23 +0000)] 
* ltcf-cxx.sh (compiler_lib_search_path), ltconfig.in
(compiler_lib_search_path), ltmain.in (libs): The library path
that the compiler uses internally was being placed before the one
supplied by the user.  Added a loop that moves that path after the
user supplied one.
Reported by Stephan Kulow <coolo@kde.org> and Michael Matz
<matz@ifh.de>

25 years ago* ltconfig.in (ORIGINAL_CONFIG_SHELL): Prevent lossage when
Gary V. Vaughan [Tue, 30 May 2000 00:31:59 +0000 (00:31 +0000)] 
* ltconfig.in (ORIGINAL_CONFIG_SHELL): Prevent lossage when
the echo probing code falls into this branch without setting
this variable.

25 years ago* ltcf-c.sh (netbsd*): archive_cmds and archive_expsym_cmds
Gary V. Vaughan [Tue, 30 May 2000 00:21:05 +0000 (00:21 +0000)] 
* ltcf-c.sh (netbsd*): archive_cmds and archive_expsym_cmds
were reversed with respect to definition of __ELF__.
* ltcf-gcj.sh (netbsd*): ditto.
From Keisuke Inoue <keisuke@csl.sony.co.jp>

25 years ago* libtool.m4 (netbsd*): Use -L option to file_magic_cmd as for
Gary V. Vaughan [Mon, 29 May 2000 17:39:25 +0000 (17:39 +0000)] 
* libtool.m4 (netbsd*): Use -L option to file_magic_cmd as for
freebsd (below).
* libtool.m4 (netbsd ELF): support file_magic.
From Dan Winship <danw@helixcode.com>.

25 years ago* libtool.m4 (bsdi4*): Add -L option to bsdi4's file_magic_cmd
Steven M. Schultz [Mon, 29 May 2000 17:23:56 +0000 (17:23 +0000)] 
* libtool.m4 (bsdi4*): Add -L option to bsdi4's file_magic_cmd
command.  Under BSD/OS 4.1 several libraries are now symlinks
rather than regular files.  Adding -L tells the file program
to follow the symlink.

25 years ago* libtool.m4 (i*86-*-freebsd*): Forgot to changequote(,).
Gary V. Vaughan [Mon, 29 May 2000 17:19:11 +0000 (17:19 +0000)] 
* libtool.m4 (i*86-*-freebsd*): Forgot to changequote(,).

25 years ago* libtool.m4 (i*86-*-freebsd*): Support a.out shared libs.
Gary V. Vaughan [Mon, 29 May 2000 16:57:11 +0000 (16:57 +0000)] 
* libtool.m4 (i*86-*-freebsd*): Support a.out shared libs.
From <suzukis@file.phys.tohoku.ac.jp>

25 years agoSupport AR=mwld AR_FLAGS='-xml -o' for PPC Beos:
Fred Fish [Mon, 29 May 2000 16:25:23 +0000 (16:25 +0000)] 
Support AR=mwld AR_FLAGS='-xml -o' for PPC Beos:

* ltconfig (old_AR_FLAGS): Add.
(old_archive_cmds): Use AR_FLAGS rather than hardcoding "cru".
(archive_cmds): Use AR_FLAGS rather than hardcoding "cru".
(AR_FLAGS): Default to "cru" if not set.
* ltcf-c.sh: ditto.
* ltcf-gcj.sh: ditto.

25 years ago* ltconfig.in (echo): The following code actually prints the
Gary V. Vaughan [Mon, 29 May 2000 15:07:28 +0000 (15:07 +0000)] 
* ltconfig.in (echo): The following code actually prints the
double quotes -- so I removed them:
    echo='printf "%sn"' $echo 't'
From Tuukka Toivonen <tutoivon@mail.student.oulu.fi>

25 years ago* NEWS: updated.
Gary V. Vaughan [Mon, 29 May 2000 14:19:16 +0000 (14:19 +0000)] 
* NEWS: updated.

25 years ago* libtool.m4: adding ia64 as supported linux platform
Bernhard Rosenkraenzer [Mon, 29 May 2000 14:13:20 +0000 (14:13 +0000)] 
* libtool.m4: adding ia64 as supported linux platform

25 years ago* ltmain.in: fix quoting for $var_value.
Michael Matz [Mon, 29 May 2000 10:40:46 +0000 (10:40 +0000)] 
* ltmain.in: fix quoting for $var_value.

25 years ago* ltconfig.in: check for dlfcn.h: include return value
Michael Matz [Mon, 29 May 2000 09:57:18 +0000 (09:57 +0000)] 
* ltconfig.in: check for dlfcn.h: include return value
to make -Wall in CFLAGS work.

25 years ago* ltmain.in: Make sure $arg is set when linking `.lo' files into a
Ossama Othman [Sun, 28 May 2000 23:40:05 +0000 (23:40 +0000)] 
* ltmain.in: Make sure $arg is set when linking `.lo' files into a
program.  Moved tag decision code after check for recognized
source file extension (fixes "suffix" test failure).  Merged
Rhapsody support from main trunk.
(output_obj) Added missing '$' before "echo" command (fixes "sh"
test failure).
* tests/suffix.test: Corrected typo in error message, and improved
the message.

25 years ago* README-alpha: note new location of config.(guess|sub).
Gary V. Vaughan [Sat, 27 May 2000 02:41:44 +0000 (02:41 +0000)] 
* README-alpha: note new location of config.(guess|sub).

25 years ago* THANKS: Added Art Pope.
Alexandre Oliva [Fri, 26 May 2000 05:50:51 +0000 (05:50 +0000)] 
* THANKS: Added Art Pope.

25 years ago* ltcf-cxx.sh: Examine $CC when recognizing the C++ compiler
Art Pope [Fri, 26 May 2000 05:49:14 +0000 (05:49 +0000)] 
* ltcf-cxx.sh: Examine $CC when recognizing the C++ compiler
(it defaults to $CXX), and look at only its basename.

25 years ago* configure.in (GCJ): Check.
Alexandre Oliva [Fri, 26 May 2000 05:43:06 +0000 (05:43 +0000)] 
* configure.in (GCJ): Check.
* Makefile.am (CFLAGS, CPPFLAGS, CXXFLAGS, LDFLAGS, LIBS): Let
automake define them implicitly.
(EXTRA_DIST, pkgdata_DATA): Added ltcf-gcj.sh.
(LIBTOOL_DEPS, LIBTOOL_CXX_DEPS, LIBTOOL_GCJ_DEPS): Define.
(libtool): Depend on LIBTOOL_DEPS.  Add GCJ tag.
(libtool, clibtool): Pass host_triplet to ltconfig.

25 years ago* libtool.m4 (_AC_PROG_LIBTOOL): Run before AC_LIBTOOL_GCJ.
Alexandre Oliva [Fri, 26 May 2000 05:41:51 +0000 (05:41 +0000)] 
* libtool.m4 (_AC_PROG_LIBTOOL): Run before AC_LIBTOOL_GCJ.
Add ltcf-c.sh to LIBTOOL_DEPS.  Run AC_LIBTOOL_CXX and
AC_LIBTOOL_GCJ on demand.
(AC_PROVIDE_IFELSE): Define for non-CVS autoconf compatibility.
(AC_LIBTOOL_CXX): Accept multiple executions.  Add ltcf-cxx.sh
to LIBTOOL_DEPS.  Reset config.log output.
(AC_LIBTOOL_GCJ): New macro.
* libtoolize.in: Copy ltcf-cxx.sh if AC_PROG_CXX is found.
Copy ltcf-gcj.sh when appropriate.
* doc/libtool.texi (AC_LIBTOOL_CXX): Doesn't have to be
explicitly called.
(AC_LIBTOOL_GCJ): Document.
* tagdemo/configure.in (AC_LIBTOOL_CXX): Don't call.

25 years ago* ltmain.in (xform): Recognize *.class and *.java.
Alexandre Oliva [Fri, 26 May 2000 05:40:32 +0000 (05:40 +0000)] 
* ltmain.in (xform): Recognize *.class and *.java.
(pic_flag): Do not add -DPIC.
* ltcf-c.sh (ac_cv_prog_cc_pic): Add -DPIC.
* ltcf-cxx.sh (ac_cv_prog_cc_pic): Add -DPIC.
* ltcf-gcj.sh: New file, mostly copied from ltcf-cxx.sh.

25 years agotypo
Alexandre Oliva [Fri, 26 May 2000 05:35:50 +0000 (05:35 +0000)] 
typo

25 years ago* ltmain.in: Output libobj file in a temporary file, then
Alexandre Oliva [Fri, 26 May 2000 05:35:00 +0000 (05:35 +0000)] 
* ltmain.in: Output libobj file in a temporary file, then
rename it.

25 years ago* ltconfig.in: Make the output script executable after updating
Alexandre Oliva [Fri, 26 May 2000 05:17:21 +0000 (05:17 +0000)] 
* ltconfig.in: Make the output script executable after updating
available_tags.

25 years ago* ltmain.in (compile): When output object is in subdir, create
Alexandre Oliva [Fri, 26 May 2000 05:16:42 +0000 (05:16 +0000)] 
* ltmain.in (compile): When output object is in subdir, create
the pic_object in subdir/objdir, not objdir/subdir.

25 years ago* libtool.m4 (AC_LIBTOOL_PICMODE): Merged this macro from the HEAD
Ossama Othman [Wed, 24 May 2000 21:21:37 +0000 (21:21 +0000)] 
* libtool.m4 (AC_LIBTOOL_PICMODE): Merged this macro from the HEAD
branch.
(AC_LIBTOOL_CXX): Made sure CXX is exported to ltconfig.
* ltcf-cxx.sh (ac_ext): Changed test source extension to "cc" to
avoid potential ambiguities when using case-insensitive shells.
(archive_expsym_cmds): Make sure soname is set otherwise
-retain-symbol-file feature won't work.  The change was made for
the Linux Compaq C++ and GNU G++ configurations.
Reported by Stephan Kulow <coolo@kde.org>.
* ltconfig.in, ltmain.in: Merged in changes from the HEAD branch.
* tests/Makefile.am (clean-local): Fixed typo where a "distclean"
was done in `mdemo' instead of the `tagdemo'.

25 years ago* configure.in (ACINCLUDE_M4_LIST): Removed libltdl/acinclude.m4.
Alexandre Oliva [Sun, 14 May 2000 09:08:17 +0000 (09:08 +0000)] 
* configure.in (ACINCLUDE_M4_LIST): Removed libltdl/acinclude.m4.
* Makefile.am (aclocal_macros): Added ltdl.m4.
(libltdl/acinclude.m4): Concatenate libtool.m4 and ltdl.m4.
* bootstrap: Remove duplicate libltdl.

25 years agoAdjust docs
Alexandre Oliva [Sun, 14 May 2000 08:25:23 +0000 (08:25 +0000)] 
Adjust docs

25 years ago* libtool.m4 (AC_LIBLTDL_CONVENIENCE, AC_LIBLTDL_INSTALLABLE):
Alexandre Oliva [Sun, 14 May 2000 08:07:23 +0000 (08:07 +0000)] 
* libtool.m4 (AC_LIBLTDL_CONVENIENCE, AC_LIBLTDL_INSTALLABLE):
Pick LIBLTLD from top_builddir and INCLTDL from top_srcdir.
* mdemo/configure.in: Remove comments on
AC_LIBLTLD_CONVENIENCE.

25 years ago* configure.in: Look for C++ compiler.
Alexandre Oliva [Sun, 14 May 2000 07:55:53 +0000 (07:55 +0000)] 
* configure.in: Look for C++ compiler.
* Makefile.am (libtool): Configure CXX tag.
* tests/Makefile.am: Test tagdemo only if CXX found.

25 years ago* libtool.m4 (_AC_PROG_LIBTOOL): Renamed from...
Alexandre Oliva [Sun, 14 May 2000 07:54:41 +0000 (07:54 +0000)] 
* libtool.m4 (_AC_PROG_LIBTOOL): Renamed from...
(AC_PROG_LIBTOOL): Just AC_REQUIRE(_AC_PROG_LIBTOOL), to avoid
effects of multiple runs.
(_AC_PROG_LIBTOOL): Use AC_BEFORE to warn if called before
AC_LIBTOOL_CXX.

25 years ago* tagdemo/Makefile.am (lib_LTLIBRARIES): Moved libbaz.la from
Alexandre Oliva [Sun, 14 May 2000 07:53:09 +0000 (07:53 +0000)] 
* tagdemo/Makefile.am (lib_LTLIBRARIES): Moved libbaz.la from
noinst_LTLIBRARIES.

25 years ago* configure.in: Bump version number to 1.4a, since this will
Alexandre Oliva [Sun, 14 May 2000 07:51:28 +0000 (07:51 +0000)] 
* configure.in: Bump version number to 1.4a, since this will
eventually become libtool 1.5.

25 years agoForgot to remove acinclude.m4; added .cvsignore
Ossama Othman [Wed, 29 Mar 2000 06:50:53 +0000 (06:50 +0000)] 
Forgot to remove acinclude.m4; added .cvsignore

25 years agoShould not be in the CVS tree
Ossama Othman [Wed, 29 Mar 2000 06:37:46 +0000 (06:37 +0000)] 
Should not be in the CVS tree

25 years ago* ltmain.in (libobjs, reload_conv_objs): When searching for object
Ossama Othman [Mon, 28 Feb 2000 17:51:35 +0000 (17:51 +0000)] 
* ltmain.in (libobjs, reload_conv_objs): When searching for object
files, search for "*.$objext," not "*.o."
(compile_command, finalize_command, progfiles): No need to
transform `.lo' objects into standard `.o' objects.  `.lo' files
are converted to the appropriate `.o' file earlier in the link
mode code.
* doc/libtool.texi (AC_LIBTOOL_CXX): Documented this
macro, and the `tagdemo' test that utilizes it.  Updated C++ and
tagged configuration documentation.

25 years ago* libtool.m4, ltconfig.in: Merged in changes from most recent HEAD
Ossama Othman [Sat, 26 Feb 2000 00:04:12 +0000 (00:04 +0000)] 
* libtool.m4, ltconfig.in: Merged in changes from most recent HEAD
branch version.
* ltmain.in: Merged in changes from most recent HEAD branch
version (ILD updates), and fixed parallel build error.
* tagdemo/acinclude.m4, tagdemo/aclocal.m4, tagdemo/configure:
regenerated these files against updated libtool.m4.

25 years ago* libtool.m4 (AC_LIBTOOL_CXX): Added missing "$lt_target" command
Ossama Othman [Wed, 23 Feb 2000 02:45:07 +0000 (02:45 +0000)] 
* libtool.m4 (AC_LIBTOOL_CXX): Added missing "$lt_target" command

25 years ago* libtool.m4 (AC_PROG_LIBTOOL): Added missing "$lt_target" command
Ossama Othman [Wed, 23 Feb 2000 02:44:31 +0000 (02:44 +0000)] 
* libtool.m4 (AC_PROG_LIBTOOL): Added missing "$lt_target" command
line argument in call to `ltconfig'.  This fixes a problem that
was occuring when a host type was specified by the user.  Also
added missing "$reload_flag" environment.

25 years ago* libtoolize.in (files): Add C++ support if configure.in uses
Ossama Othman [Thu, 17 Feb 2000 18:01:32 +0000 (18:01 +0000)] 
* libtoolize.in (files): Add C++ support if configure.in uses
AC_LIBTOOL_CXX, i.e. add `ltcf-cxx.sh' to list of files to be
copied during libtoolization.
* ltdl.m4: Added this file to the multi-language branch.

25 years ago* ltcf-cxx.sh (predeps, postdeps, predep_objects,
Ossama Othman [Tue, 8 Feb 2000 18:47:30 +0000 (18:47 +0000)] 
* ltcf-cxx.sh (predeps, postdeps, predep_objects,
postdep_objects): Split {pre,post}deps into a variable that hold
library dependencies and another that holds objects needed during
shared library generation.  This was needed so that the objects
needed for shared library generation do not get analyzed by the
ILD mechanism.  The objects are only used during the initial
creation of the shared library, not during subsequent links to
that library.
(archive_cmds, archive_expsym_cmds): Added $predep_objects before
all objects and libraries, and $postdep_objects after them.  This
is necessary when linking C++ shared libraries.
(output_verbose_link_cmds): Added shared library generation
compiler flag.  The objects and libraries the compiler links when
creating shared libraries may be different than those used when
linking programs, particulary for object files.
* ltconfig.in (predep_objects, postdep_objects): Include these
variables in the generated libtool script.
* ltmain.in: Quote regular expression used for automatic tagged
configuration selection.  Also improved the regular expression
used for matching.
Updated clean mode to work properly with the new `.lo' files.
(libs): Only add $predeps and $postdeps to the list of dependency
libraries when linking a library.
* tagdemo/Makefile.am (noinst_LTLIBRARIES): Added another test
library that depends on the existing test library.  It was added
to exercise the ILD mechanism when using tagged configurations.
(tagdemo_LDADD): The tagdemo program now depends on the new test
library.  Since the new test library depends on the previous one,
the previous library should be linked to the program as well.
* Makefile.in: Regenerated from updated Makefile.am.
* tagdemo/baz.cpp, tagdemo/baz.h: Added these sources.  They are
new test library sources.
* tagdemo/main.cpp (main): Added call to method in new test
library.

25 years ago* ltmain.in: The "-R*" case in the loop that iterates through
Ossama Othman [Sun, 6 Feb 2000 03:54:56 +0000 (03:54 +0000)] 
* ltmain.in: The "-R*" case in the loop that iterates through
library dependencies doesn't handle the case of the "lib" link
mode.  As such, the next iteration should immediately follow.  The
"continue" inside the "if" block has been moved outside that
block.  Previously, the "-R*" case would just "fall through" when
in "lib" link mode, but $lib="" which caused a "library not found"
error later on.
Reported by Stephan Kulow <coolo@kde.org>

25 years ago* bootstrap: Merged updates from HEAD branch.
Ossama Othman [Sun, 6 Feb 2000 00:29:57 +0000 (00:29 +0000)] 
* bootstrap: Merged updates from HEAD branch.
(sub): Added tagdemo to list of subdirectories to be
bootstrapped.
* ltcf-cxx.sh (AR): Removed redefinition of $AR to C++ compiler on
Solaris for the Sun C++ and Green Hills C++ compilers.  `ar' must
be used to extract object files from the archives, despite the
fact that the archive must be created by the compiler.
Reported by Stephan Kulow <coolo@kde.org>
(predeps, postdeps): Remove any space between "-{L,R}" and the
path.  Some compilers, such as HP aCC add space between them.
* ltconfig.in (dlopen, dlopen_support): Merged updates from HEAD
branch.
* ltmain.in: Merged updates from HEAD branch.
(libext): Do not reset $libext to `al' when creating convenience
libraries.  Some compilers have problems with such a non-standard
extension.
Reported by Stephan Kulow <coolo@kde.org>
* doc/libtool.texi: Merged updates from HEAD branch.
* libltdl/Makefile.am, libltdl/configure.in, libltdl/ltdl.c,
libltdl/ltdl.h: Merged updates from HEAD branch.

25 years ago* ltconfig.in (available_tags): The name of each newly added
Ossama Othman [Fri, 4 Feb 2000 03:53:36 +0000 (03:53 +0000)] 
* ltconfig.in (available_tags): The name of each newly added
tagged configuration is appended to this list.  This is done at
ltconfig time so that the generated `libtool' script need not
determine which tags it supports everytime it is used.  The
available_tags variable is used by `ltmain.in' to iterate over
each of the tagged configurations when attempting to automatically
choose which one to use for the supplied compile/link command.
* ltmain.in: Added ability to automatically determine which tagged
configuration to use based on the compiler found in the supplied
base compile command.
(available_tags): This new variable contains a list of available
tagged configurations.  This gets generated at ltconfig time.
(object_name, old_object): Renamed these to pic_object and
non_pic_object, respectively.
* doc/libtool.texi (Configuration tags): Updated documentation.
Libtool now has the ability to infer which tagged configuration to
use based on the compiler found in the supplied base compile
command.
* tagdemo/configure.in, tagdemo/configure: Removed explicit
substitution of "--tag=CXX" in $LIBTOOL.  The newly added
automatic selection of tagged configurations obviates the need to
explicitly specify which tag to use.

25 years ago* ltcf-cxx.sh: Added some untested HPUX aCC support.
Ossama Othman [Tue, 1 Feb 2000 23:14:36 +0000 (23:14 +0000)] 
* ltcf-cxx.sh: Added some untested HPUX aCC support.
* ltmain.in: Inadvertently removed some of the tags patch.
* tagdemo/Makefile.am, tagdemo/Makefile.in, tagdemo/README,
tagdemo/acinclude.m4, tagdemo/aclocal.m4, tagdemo/configure,
tagdemo/configure.in, tagdemo/foo.cpp, tagdemo/foo.h,
tagdemo/main.cpp: *sigh* I checked this directory into the HEAD
branch instead of the multi-language-branch.
Reported by Stephan Kulow <coolo@kde.org>

25 years ago* configure.in (CONF_SUBDIRS): Added the `tagdemo' directory to
Ossama Othman [Tue, 1 Feb 2000 05:42:00 +0000 (05:42 +0000)] 
* configure.in (CONF_SUBDIRS): Added the `tagdemo' directory to
the list.
* ltcf-cxx.sh: Remove any residual `a.out' files resulting from
the "eval $output_verbose_link_cmds."
* ltconfig.in: Cleaned up nested quotes that were introduced with
the tags patch.  This fixes part sh.test failure.
* ltmain.in: Check if "$run" is of zero length before creating a
`.lo' file.  This fixes the dryrun.test failure.
Cleaned up nested quotes that were introduced with
the tags patch.  This fixes another part sh.test failure.
Remove "$libobj" not "libobj."
Exit with an error if both $object_name and $old_object are set to
"none" in the corresponding `.lo' file.  This should never happen.
Changed remaining uses of "mkdir" to "$mkdir."
Added dry run case to `.lo' case in link mode.  This fixes the
link-2.test failure.
(object_name, old_object): Prepend the subdirectory the `.lo'
resides in to the object names extracted from the `.lo' file.
This fixes the build-relink2.test failure.
(tempemovelist): Use $echo "X..." instead of echo "..." since
$Xsed is being used.  This fixes the last part of the sh.test
failure.
* tagdemo/Makefile.am, tagdemo/Makefile.in, tagdemo/README,
tagdemo/acinclude.m4, tagdemo/aclocal.m4, tagdemo/configure,
tagdemo/configure.in, tagdemo/foo.cpp, tagdemo/foo.h,
tagdemo/main.cpp, tests/tagdemo-conf.test tests/tagdemo-exec.test
tests/tagdemo-make.test tests/tagdemo-shared.test
tests/tagdemo-static.test: Added a new tagdemo that exercises
libtool's tagged configuration support found in the multilanguage
branch.
* tests/Makefile.am (TESTS): Added the tagdemo tests to the list.
* tests/quote.test: Updated to HEAD branch version.  This fixes
the quote.test failure.

25 years ago* ltconfig.in (compile_c_lo): Removed the test that checks if
Ossama Othman [Mon, 31 Jan 2000 19:23:44 +0000 (19:23 +0000)] 
* ltconfig.in (compile_c_lo): Removed the test that checks if
compiler support "-c -o file.lo" since the changes made to
ltmain.in remove the need to do this.
* ltmain.in:  Changed compile mode to generate `.lo' libtool
objects, instead of generating PIC objects that end in `.lo'.
These are analogous to libtool archive `.la' files.  They contain
the name of the PIC and non-PIC objects.  All PIC objects will now
be placed in `$objdir' (usually `.libs').  No changes to existing
Makefiles should be necessary.  Libtool should work the same as it
did prior to this change.  This change was necessary to correct a
problem with Sun C++'s template repository mechanism since it
couldn't handle repository objects ending in `.lo'.  This change
causes some tests to fail, so it still needs some work.  The tests
that fail are: dryrun.test, build-relink2.test, link-2.test.  The
quote.test and sh.test tests also fail but they failed after the
initial multi-language changes were made.

25 years ago* libtool.m4, ltconfig.in, ltmain.in: Merged updates found in
Ossama Othman [Tue, 25 Jan 2000 21:04:24 +0000 (21:04 +0000)] 
* libtool.m4, ltconfig.in, ltmain.in:  Merged updates found in
HEAD branch.

25 years ago* ltcf-c.sh: Merged updates related to PIC flags and link
Ossama Othman [Tue, 25 Jan 2000 21:04:03 +0000 (21:04 +0000)] 
* ltcf-c.sh: Merged updates related to PIC flags and link
characteristics from HEAD branch ltconfig.in.

25 years ago* libtool.m4, ltconfig.in, ltmain.in: Merged updates found in
Ossama Othman [Tue, 25 Jan 2000 21:02:04 +0000 (21:02 +0000)] 
* libtool.m4, ltconfig.in, ltmain.in:  Merged updates found in
HEAD branch.

* ltcf-c.sh: Merged updates related to PIC flags and link
characteristics from HEAD branch ltconfig.in.

25 years ago* ltcf-c.sh: split off the osf3 section, so that the osf4 and osf5
Ossama Othman [Sun, 23 Jan 2000 03:10:33 +0000 (03:10 +0000)] 
* ltcf-c.sh: split off the osf3 section, so that the osf4 and osf5
sections can add `-msym' to arguments passed to the linker for
shared libs.
Reported by Tim Mooney  <mooney@dogbert.cc.ndsu.NoDak.edu>