]> git.ipfire.org Git - thirdparty/libtool.git/log
thirdparty/libtool.git
21 years ago* ltmain.in: Correct definition of basename sed expression to
Scott James Remnant [Thu, 12 Feb 2004 18:37:14 +0000 (18:37 +0000)] 
* ltmain.in: Correct definition of basename sed expression to
not include single quotes.

21 years ago* libtoolize.in: Use $progpath as for ltmain.in to work around the
Gary V. Vaughan [Thu, 12 Feb 2004 13:18:52 +0000 (13:18 +0000)] 
* libtoolize.in: Use $progpath as for ltmain.in to work around the
IRIX bug described below.
* commit, config/mailnotify: Ditto. Resynch with cvs-utils HEAD.

21 years ago* ltmain.in (progpath): Work around backward compatibility issue
Albert Chin-A-Young [Thu, 12 Feb 2004 12:27:46 +0000 (12:27 +0000)] 
* ltmain.in (progpath): Work around backward compatibility issue
on IRIX 6.5. On IRIX 6.4+, sh is ksh but when the shell is invoked
as "sh" and the current value of the _XPG environment variable is
not equal to 1 (one), the special positional parameter $0, within
a function call, is the name of the function. So, rather than
using "$0" in functions, we set $progpath in the body and use that
everywhere instead (incase of code refactoring later).
(EXIT_SUCCESS, EXIT_FAILURE, EXIT_MISMATCH): For clarity.

21 years ago* Makefile.am (EXTRA_DIST): Remove config/mailnotify after all; it
Gary V. Vaughan [Thu, 12 Feb 2004 00:17:00 +0000 (00:17 +0000)] 
* Makefile.am (EXTRA_DIST): Remove config/mailnotify after all; it
is of no use in a distribution tarball.

21 years ago* commit: Fix location of mkstamp script,
Gary V. Vaughan [Wed, 11 Feb 2004 15:40:40 +0000 (15:40 +0000)] 
* commit: Fix location of mkstamp script,

21 years ago* commit: Fix cut-n-paste error.
Gary V. Vaughan [Wed, 11 Feb 2004 15:21:11 +0000 (15:21 +0000)] 
* commit: Fix cut-n-paste error.

21 years ago* commit: Completely change CVS/Root->name sed script to actually
Gary V. Vaughan [Wed, 11 Feb 2004 15:04:34 +0000 (15:04 +0000)] 
* commit: Completely change CVS/Root->name sed script to actually
work when :ext: is not shown.

21 years ago* commit: Improve CVS/Root->name sed script to work when :ext: is
Gary V. Vaughan [Wed, 11 Feb 2004 13:29:09 +0000 (13:29 +0000)] 
* commit: Improve CVS/Root->name sed script to work when :ext: is
not shown.

21 years ago* m4/libtool.m4: Fix typo: testring -> teststring.
Albert Chin-A-Young [Wed, 11 Feb 2004 12:55:52 +0000 (12:55 +0000)] 
* m4/libtool.m4: Fix typo: testring -> teststring.

21 years ago* commit: Mail a nicer commit notification.
Gary V. Vaughan [Wed, 11 Feb 2004 12:51:02 +0000 (12:51 +0000)] 
* commit: Mail a nicer commit notification.

21 years agofile mailnotify was initially added on branch branch-1-5.
Gary V. Vaughan [Wed, 11 Feb 2004 12:24:59 +0000 (12:24 +0000)] 
file mailnotify was initially added on branch branch-1-5.

21 years ago* NEWS, bootstrap, configure.ac, ltmain.in, m4/libtool.m4:
Gary V. Vaughan [Tue, 10 Feb 2004 20:45:41 +0000 (20:45 +0000)] 
* NEWS, bootstrap, configure.ac, ltmain.in, m4/libtool.m4:
* m4/lt~obsolete.m4, tests/cdemo/configure.ac: Arghh.  cvsapply just
went crazy and committed a bunch of stuff that shouldn't have been
in the last changeset.  The patch backs it all out.

21 years ago* config/mailnotify: New file for mailing commit notifications,
Gary V. Vaughan [Tue, 10 Feb 2004 19:47:00 +0000 (19:47 +0000)] 
* config/mailnotify: New file for mailing commit notifications,
imported from cvs-utils.
* commit: Updated from cvs-utils and tweaked for libtool.
* Makefile.am (EXTRA_DIST): Add config/mailnotify.

21 years ago* bootstrap: Remove vcl.tmp, otherwise it can interfere with make.
Gary V. Vaughan [Fri, 6 Feb 2004 18:15:15 +0000 (18:15 +0000)] 
* bootstrap: Remove vcl.tmp, otherwise it can interfere with make.
* Makefile.am (vcl.tmp): Move comment out of multi-line command,
as this rule is called from bootstrap as if it were a Makefile.

21 years ago* m4/ltversion.in: New file to capture what version number macros
Gary V. Vaughan [Fri, 6 Feb 2004 17:23:40 +0000 (17:23 +0000)] 
* m4/ltversion.in: New file to capture what version number macros
are being used.
* Makefile.am (m4/ltversion.m4): New rule to create it from
m4/ltversion.in.
(nodist_pkgmacro_DATA): Add m4/ltversion.m4.
(EXTRA_DIST): Add m4/ltversion.in.
* m4/libtool.m4 (AC_LIBTOOL_SETUP): AC_REQUIRE LTVERSION_VERSION
from ltversion.m4.
* bootstrap: Call the Makefile.am to create an initial
m4/ltversion.m4.
* ltmain.in: Diagnose version mismatches of various flavours.
* TODO: Remove mismatch item.
* NEWS: Updated.

21 years ago* Makefile.am ($(top_builddir)/config.status): Removed.
Gary V. Vaughan [Fri, 6 Feb 2004 16:11:26 +0000 (16:11 +0000)] 
* Makefile.am ($(top_builddir)/config.status): Removed.
* configure.ac (CONFIG_STATUS_DEPENDENCIES): This substitution is
how automake-1.8 now informs all Makefiles when config.status
needs to be rebuilt.
Reported by Alexandre Duret-Lutz <adl@src.lip6.fr>

21 years ago* configure.ac (AC_CONFIG_FILES): Generate libtoolize from here.
Gary V. Vaughan [Fri, 6 Feb 2004 14:51:56 +0000 (14:51 +0000)] 
* configure.ac (AC_CONFIG_FILES): Generate libtoolize from here.
* Makefile.am (libtool, libtoolize): These rules are redundant.
Automake generates better rules for remaking these files.

21 years ago* m4/libtool.m4 (AC_LIBTOOL_SETUP): Catch unexpanded macros with
Gary V. Vaughan [Fri, 6 Feb 2004 14:38:56 +0000 (14:38 +0000)] 
* m4/libtool.m4 (AC_LIBTOOL_SETUP): Catch unexpanded macros with
beginning with LT_ and _LT_.
* configure.ac (LT_MAJOR, LT_MINOR, LT_MICRO, LT_ALPHA): Renamed
to lt_major, lt_minor, lt_micro, lt_alpha to save triggering the
unexpanded macros error.

21 years ago* m4/libtool.m4 (AC_PROVIDE_IFELSE): Removed. We now require
Gary V. Vaughan [Fri, 6 Feb 2004 14:12:10 +0000 (14:12 +0000)] 
* m4/libtool.m4 (AC_PROVIDE_IFELSE): Removed.  We now require
Autoconf 2.58, which ships this macro anyway.

21 years ago* Makefile.am: Comment typo.
Gary V. Vaughan [Fri, 6 Feb 2004 14:03:52 +0000 (14:03 +0000)] 
* Makefile.am: Comment typo.

21 years ago* m4/libtool.m4 (LT_PREREQ): Declare the minimum release number
Gary V. Vaughan [Fri, 6 Feb 2004 13:58:06 +0000 (13:58 +0000)] 
* m4/libtool.m4 (LT_PREREQ): Declare the minimum release number
that is required for the calling code.
* doc/libtool.texi (AC_PROG_LIBTOOL): Document it.
* NEWS: Updated.

21 years ago* ltmain.in (infer_tag, win32_libid): Style changes. Rename
Peter O'Gorman [Thu, 5 Feb 2004 14:53:16 +0000 (14:53 +0000)] 
* ltmain.in (infer_tag, win32_libid): Style changes. Rename
infer_tag to func_infer_tag and win32_libid to func_win32_libid.
* m4/libtool.m4 (cygwin): rename win32_libid to func_win32_libid.

21 years ago* ltmain.in (infer_tag): Move tag inferrence to a shell function.
Peter O'Gorman [Wed, 4 Feb 2004 14:39:02 +0000 (14:39 +0000)] 
* ltmain.in (infer_tag): Move tag inferrence to a shell function.
Also test $base_compile against $CC with escaped arguments. Bug
reported by Geoff Keating <geoffk@apple.com>.

21 years ago* Makefile.am (install-data-hook): Manually make config.guess
Scott James Remnant [Tue, 3 Feb 2004 22:05:07 +0000 (22:05 +0000)] 
* Makefile.am (install-data-hook): Manually make config.guess
and config.sub executable after they are installed as _DATA.
We can't use _SCRIPTS because the various program name
transforms may be applied to them.
(dist_pkgdata_DATA): List config.guess and config.sub here
(pkgdata_SCRIPTS): instead of here.

21 years ago* ltmain.in: Create temporary directory under a strict umask
Scott James Remnant [Tue, 3 Feb 2004 22:02:51 +0000 (22:02 +0000)] 
* ltmain.in: Create temporary directory under a strict umask
rather than running chmod afterwards, preventing a race
condition where the directory could be replaced with a symbolic
link in the time between the two commands.

21 years ago* m4/libtool.m4 (_LT_CONFIG_STATUS_DECLARE): Change `echo to
Peter O'Gorman [Sat, 31 Jan 2004 12:03:29 +0000 (12:03 +0000)] 
* m4/libtool.m4 (_LT_CONFIG_STATUS_DECLARE): Change `echo to
`$echo, causes problems when builtin echo is broken. Reported
by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.

21 years agoThis fixes release procedure problems discovered whilst making
Scott James Remnant [Tue, 27 Jan 2004 12:38:47 +0000 (12:38 +0000)] 
This fixes release procedure problems discovered whilst making
the 1.5.2 release.

* Makefile.am (cvs-dist): Because we check whether ChangeLog
has been committed, this rule can't be run with uncommitted
source so we can't run 'commit' and don't need to run
'make dist' a second time.  Fix CVS tag as it should be
"release-X" not "Release-X".
(cvs_commit): New rule for the cvs-release chain that runs
'commit'
(cvs-release): Depend on cvs-commit, depend on deltas instead of
cvs-diff and xdelta.
(cvs-diff): Removed, replaced with delta-diff.
(delta-diff): Unpack and diff the old and new tarballs rather
than using CVS, so we get a genuinely complete diff.
(xdelta): Removed, replaced with delta-xdelta.
(got-xdelta): New rule for improved reading.
(delta-xdiff): Copied and cleaned up version of old xdelta rule.
(deltas): Depends on delta-diff and delta-xdelta (make deltas).
(cvs-news): Don't depend on timestamps, cvs-dist itself does now.
(prev-tarball): This is the only place we need a LASTRELEASE check
so copy the code here and remove the CHECK_RELEASE variable.
(new-tarball): Check there's a new tarball (did cvs-dist work?)
(FETCHFILES): Remove obsolete libltdl mentions.
* README-alpha: Update CVS instructions as everything's changed
on Savannah.
(Release procedure): Update NEWS and ChangeLog after changing
the version number (both times); Run 'make fetch' after running
'configure' (difficult to do it beforehand); Require 'commit'
before 'make cvs-dist' as that checks ChangeLog is committed;
'make deltas' instead of 'cvs-diff' and 'xdelta', pass LASTRELEASE
to make instead of OLDVERSION (and it's mandatory); Clean up
uploading paragraph; Clearer announcement sending instruction;
Removed ftp-upload@gnu.org mail as that's not necessary now;
Make web page updating instructions a bit clearer; Add an instruction
to update the manual for non-alphas.
(Alpha release note template): Add a Subject; update CVS instructions.
(Full release note template): Add a Subject; update CVS instructions.
* configure.ac: Add dist-bzip2 to AM_INIT_AUTOMAKE as we talk
about bz2 files in our release announcements; remove old reference
to OLDVERSION.

21 years ago* NEWS: Include 1.5.2 release information.
Scott James Remnant [Sun, 25 Jan 2004 13:41:21 +0000 (13:41 +0000)] 
* NEWS: Include 1.5.2 release information.

21 years agoThis fixes a bug in the libtoolize ltdl source installation rules,
Gary V. Vaughan [Thu, 22 Jan 2004 22:25:43 +0000 (22:25 +0000)] 
This fixes a bug in the libtoolize ltdl source installation rules,
which were copying Makefile.in from the libtool tree into the
package running libtoolize.  Now we explicitly list the files to
copy to force the package to generate its own Makefile.in:

* libltdl/Makefile.am (libltdl_la_SOURCES, libltdlc_la_SOURCES):
Add ltdl.h.
(ltdldatadir): New variable for installation directory of
libtoolize --ltdl files.
(ltdldata_DATA): Tell automake what files to copy there at install
time (and remove at unistall time!).
(local-install-files): Removed.  This hack is not required
anymore, the automake generated install rules are much more
advanced than this.
* Makefile.am (install-data-hook, uninstall-local): Removed.
Libltdl files for libtoolize are installed by their own Makefile
now.

21 years ago* m4/libtool.m4 (AC_LIBTOOL_PROG_CC_C_O): Some compilers
Jeff Squyres [Thu, 22 Jan 2004 19:01:19 +0000 (19:01 +0000)] 
* m4/libtool.m4 (AC_LIBTOOL_PROG_CC_C_O): Some compilers
(e.g. Intel Linux icc compiler) write temporary files to the current
directory. These compilers do support -c and -o simultaneously but
wrongly fail the test due to the failure to create temporary
files. It is incorrect to penalize compilers which write temporary
files to the current directory so the 'chmod -w .' is therefore
removed.

21 years ago* m4/libtool.m4 (LT_AC_PROG_EGREP): Wrapper for AC_PROG_GREP.
Gary V. Vaughan [Thu, 22 Jan 2004 15:27:25 +0000 (15:27 +0000)] 
* m4/libtool.m4 (LT_AC_PROG_EGREP): Wrapper for AC_PROG_GREP.
AIX has a brain-dead grep that only handles lines < 2048
characters.  Default GREP incase we are not using a future
autoconf that sets it for us :-)  Changed all callers to use $GREP
instead of grep, and to AC_REQUIRE LT_AC_PROG_EGREP.
Declare GREP as a libtool config var.
* ltmain.in: Use it.
* tests/sh.test (scripts): Accept `if $GREP "^foo=bar"' by
tightening the regexp.
Reported by Albert Chin-A-Young  <china@thewrittenword.com>

21 years ago* m4/libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [netbsd*]: Remove
Nick Hudson [Wed, 21 Jan 2004 14:38:54 +0000 (14:38 +0000)] 
* m4/libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [netbsd*]: Remove
gratuitous ${libname}${release}${shared_ext} from
library_names_spec.

21 years ago* m4/libtool.m4 (AC_PROG_LD_RELOAD_FLAG): On darwin change the
Peter O'Gorman [Wed, 21 Jan 2004 14:16:34 +0000 (14:16 +0000)] 
* m4/libtool.m4 (AC_PROG_LD_RELOAD_FLAG): On darwin change the
reload_cmds to use $CC, otherwise ld will thin out any fat
objects.

21 years ago* ltmain.in: Fix handling of frameworks in search paths. Also
Benjamin Reed [Mon, 19 Jan 2004 04:57:26 +0000 (04:57 +0000)] 
* ltmain.in: Fix handling of frameworks in search paths.  Also
a one-liner fix to eval shrext in the libtool library search.

21 years ago* configure.ac (AM_INIT_AUTOMAKE): Require 1.8 for bootstrap, or
Gary V. Vaughan [Fri, 16 Jan 2004 22:42:26 +0000 (22:42 +0000)] 
* configure.ac (AM_INIT_AUTOMAKE): Require 1.8 for bootstrap, or
else aclocal.m4 is huge, and m4 directory is not distributed.

21 years ago* configure.ac (AC_CONFIG_HEADERS): Create config.h in
Gary V. Vaughan [Fri, 16 Jan 2004 22:03:19 +0000 (22:03 +0000)] 
* configure.ac (AC_CONFIG_HEADERS): Create config.h in
$top_srcdir.
* m4/ltdl.m4 (AC_LIB_LTDL): Run AC_CONFIG_HEADERS for the user if
necessary. Calculate filename from first argument to
AC_CONFIG_HEADERS, and substitute as CONFIG_H.
* libltdl/Makefile.am (AM_CPPFLAGS): Make sure we are searching in
$top_srcdir for headers.
(DEFS): Override the default HAVE_CONFIG_H with the config.h
filename.
(ltdl.lo): Reference config.h via $(CONFIG_H).
* libltdl/ltdl.c (HAVE_CONFIG_H): Ditto.

21 years ago* m4/lt~obsolete.m4: Add a file containing aclocal-fooling
Scott James Remnant [Thu, 15 Jan 2004 19:16:51 +0000 (19:16 +0000)] 
* m4/lt~obsolete.m4: Add a file containing aclocal-fooling
macro definitions which stop the contents of an installed
libtool.m4 ending up in our aclocal.m4 when we bootstrap.
* Makefile.am (pkgmacro_DATA): Note that we don't need to add
lt~obsolete.m4 to this list.

* m4/libtool.m4 (_LT_COPYING): Factor out copyright message so it

21 years ago(AC_LIBTOOL_CONFIG): Refactor to be more readable. Only add
Gary V. Vaughan [Thu, 15 Jan 2004 08:36:48 +0000 (08:36 +0000)] 
(AC_LIBTOOL_CONFIG): Refactor to be more readable.  Only add
tags if a compiler was found; ie if you have no gcj compiler,
don't tack the GCJ tag onto the generated libtool script.

21 years ago* m4/libtool.m4: Quote shrext as it is evaled in ltmain.
Peter O'Gorman [Tue, 13 Jan 2004 12:24:52 +0000 (12:24 +0000)] 
* m4/libtool.m4: Quote shrext as it is evaled in ltmain.

21 years ago* ltmain.in: new -precious-files-regex link mode option
Scott James Remnant [Mon, 12 Jan 2004 02:32:50 +0000 (02:32 +0000)] 
* ltmain.in: new -precious-files-regex link mode option
to prevent removal of matching files from the temporary
output directory.
(Debian Bug #221420)
* doc/libtool.texi: document the new option.
* NEWS: announce the new option.

21 years ago* libtoolize.in (func_copy_all_files): s/xfunc_copy/Xfunc_copy.
Gary V. Vaughan [Sun, 11 Jan 2004 23:24:02 +0000 (23:24 +0000)] 
* libtoolize.in (func_copy_all_files): s/xfunc_copy/Xfunc_copy.
Now the test can actually succeed sometimes.

21 years ago* libtoolize.in: Break out of the command argument parse loop when
Gary V. Vaughan [Fri, 9 Jan 2004 16:55:03 +0000 (16:55 +0000)] 
* libtoolize.in: Break out of the command argument parse loop when
-- is encountered.

21 years ago* libtoolize.in (func_copy_all_files): s/test "x/test "X/ to keep
Gary V. Vaughan [Fri, 9 Jan 2004 10:22:51 +0000 (10:22 +0000)] 
* libtoolize.in (func_copy_all_files): s/test "x/test "X/ to keep
tests/sh.test happy.

21 years ago* Makefile.am (aclocal_macros, aclocal_DATA): Removed.
Gary V. Vaughan [Thu, 8 Jan 2004 10:34:52 +0000 (10:34 +0000)] 
* Makefile.am (aclocal_macros, aclocal_DATA): Removed.
(EXTRA_DIST): Remove m4 macro files; they are automatically
added by automake.
(pkgmacrodir): Where to install libtool macro files.
(pkgmacro_DATA): List installable libtool macro files.
(install-data-local): Remove previous versions of ltdl.m4 and
libtool.m4 from their old location.
* libtoolize.in: Use new pkgmacrodir installed macros when
libtoolizing a project.  Treat libtool.m4 and ltdl.m4 specially,
and func_serial_update() any other files from pkgmacrodir.
(pkgmacrodir): Where to find installed libtool macro files.
(aclocaldir): Removed.
(func_copy_all_files): Add an optional callback parameter to
control how files are copied.  If the callback is passed, don't
tell it whether it can copy or not.
(func_serial): Exchange parameters and make macro_regex optional,
so that this function can be used to extract serial numbers from
files with the traditional /^# serial [1-9][0-9]*$/ syntax.
Changed all callers.
(func_serial_update): Make macro_regex optional last parameter, so
that this function can be used as a callback for
func_copy_all_files().  Changed all callers.
* m4/ltsugar.m4: Add a serial number.

21 years agoA complete rewrite of the m4 code involved in the generation of
Gary V. Vaughan [Wed, 7 Jan 2004 12:26:25 +0000 (12:26 +0000)] 
A complete rewrite of the m4 code involved in the generation of
libtool via config.status.  The old way involved manually
synchronising disparate bits of shell code in several macros, to
quote a copy of a shell variable, put that in config.status, maybe
add it to some quotation loops to prevent early expansion, and
then add a block to _LT_CONFIG_COMMANDS to bring it into the
libtool script.  The new way is to mark shell variables for
propogation using _LT_DECL for language independent variables, or
_LT_TAGDECL for those that need to be propogated in several
language flavours.  The marking can be done in the macro that
probes the variables, and this new m4 machinery takes care of
synchronising all the other bits of code at autoconf time:

* m4/ltsugar.m4:  New file.  Macros that are useful outside the
context of libtool.  Initially, contains some generalised list
management macros, and the scaffolding for dictionary type data
storage and retrieval.
* Makefile.am (aclocal_macros): Install ltsugar.m4.
* m4/libtool.m4 (_LT_DECL): Mark a shell variable for export to
the libtool script, along with a comment, and hints for quoting
and renaming.
(_LT_TAGDECL): Similarly mark a tagged shell variable for export
in each tag.
(lt_decl_tag_varnames, lt_decl_quote_varnames)
(lt_decl_dquote_varnames, lt_decl_varnames_tagged)
(lt_decl_all_varnames):  New utility macros for managing lists of
shell variable names from _LT_DECL and _LT_TAGDECL.
(_LT_CONFIG_STATUS_DECLARATIONS, _LT_CONFIG_STATUS_DECLARE):
Expand to correctly quoted variable declarations in config.status
from all marked shell variables.
(_LT_LIBTOOL_DECLARE): Expand to commented and quoted variable
declaration for libtool tag section.
(_LT_LIBTOOL_CONFIG_VARS, _LT_LIBTOOL_TAG_VARS): Pass all marked
variables to _LT_LIBTOOL_DECLARE.
(_LT_CONFIG_COMMANDS): Use _LT_CONFIG_STATUS_DECLARATIONS and
friends to generate all the variable passing shell code for
config.status, to get marked variables from libtool.m4 into
libtool itself eventually.
(AC_LIBTOOL_CONFIG): Generate marked variable code for libtool tag
configuration.  Changed all client macros to mark variables
suitably rather than the hand pasting that was necessary
previously.
(AC_PROG_SED): Renamed from LT_AC_PROG_SED.
(LT_AC_PROG_SED): Wrap AC_PROG_SED, and mark shell variables for
propogation to the libtool script.

21 years ago* libtoolize.in (seen_gettext): Removed unused variable.
Gary V. Vaughan [Wed, 7 Jan 2004 03:50:33 +0000 (03:50 +0000)] 
* libtoolize.in (seen_gettext): Removed unused variable.

21 years ago* libtoolize.in (func_scan_files): Don't assume the existence of
Gary V. Vaughan [Tue, 6 Jan 2004 20:25:53 +0000 (20:25 +0000)] 
* libtoolize.in (func_scan_files): Don't assume the existence of
aclocal.m4.  Make the comment more descriptive.
Reported by Alexandre Duret-Lutz <adl@src.lip6.fr>

21 years ago* NEWS: Note libtoolize changes.
Gary V. Vaughan [Tue, 6 Jan 2004 19:58:01 +0000 (19:58 +0000)] 
* NEWS: Note libtoolize changes.

21 years ago* ChangeLog.2003: New file, containing all the ChangeLog entries
Gary V. Vaughan [Tue, 6 Jan 2004 19:43:09 +0000 (19:43 +0000)] 
* ChangeLog.2003: New file, containing all the ChangeLog entries
from 2003.  Trimmed ChangeLog accordingly.

21 years ago* ltmain.in: Output 2004 in the copyright from libtool --version.
Gary V. Vaughan [Tue, 6 Jan 2004 19:26:17 +0000 (19:26 +0000)] 
* ltmain.in: Output 2004 in the copyright from libtool --version.

21 years agoRoll back copyright changes.
Stefan Nordhausen [Sun, 4 Jan 2004 20:45:24 +0000 (20:45 +0000)] 
Roll back copyright changes.

21 years agoScott James Remnant <scott@netsplit.com>
Stefan Nordhausen [Sat, 3 Jan 2004 14:45:59 +0000 (14:45 +0000)] 
Scott James Remnant  <scott@netsplit.com>

* m4/ltmain.in: Don't use the mkdir -p option when creating a
temporary output directory so a symlink attack can't be used to
arbitrarily chmod other directories on the system if libtool
gets run as root.

21 years ago* m4/libtool.m4: Ensure that ${ZSH_VERSION+set} is properly escaped.
Peter O'Gorman [Fri, 2 Jan 2004 23:10:52 +0000 (23:10 +0000)] 
* m4/libtool.m4: Ensure that ${ZSH_VERSION+set} is properly escaped.

21 years ago* m4/libtool.m4 (CDPATH): Change the CDPATH setting so that it
Peter O'Gorman [Fri, 2 Jan 2004 23:04:21 +0000 (23:04 +0000)] 
* m4/libtool.m4 (CDPATH): Change the CDPATH setting so that it
allows for zsh differences, as noted in the autoconf manual's
Portable Shell - Special Shell Variables section.

21 years ago* .cvsignore: Ignore stamp-vcl created by the Makefile.
Scott James Remnant [Fri, 2 Jan 2004 02:25:20 +0000 (02:25 +0000)] 
* .cvsignore: Ignore stamp-vcl created by the Makefile.

21 years agoJoe Orton <joe@manyfish.co.uk>
Bob Friesenhahn [Fri, 2 Jan 2004 02:18:03 +0000 (02:18 +0000)] 
Joe Orton <joe@manyfish.co.uk>

* m4/libtool.m4 (AC_LIBTOOL_CONFIG): Add extra blackslash
in front of all the inner double-quotes as this is removed
on Solaris, IRIX and AIX leading to broken definitions
in config.status.

21 years agoUpdated all copyright notices to include 2004.
Scott James Remnant [Fri, 2 Jan 2004 01:59:11 +0000 (01:59 +0000)] 
Updated all copyright notices to include 2004.

* NEWS: Next release will be in 2004.

21 years ago* ltmain.sh: Infer tagged configuration for link mode with the
Scott James Remnant [Wed, 31 Dec 2003 01:33:53 +0000 (01:33 +0000)] 
* ltmain.sh: Infer tagged configuration for link mode with the
full compiler arguments available rather than only the first.

21 years ago* ltmain.sh: Quote $exec_cmd before it is eval'ed, so that
Alexandre Duret-Lutz [Wed, 31 Dec 2003 00:31:23 +0000 (00:31 +0000)] 
* ltmain.sh: Quote $exec_cmd before it is eval'ed, so that
libtool --mode=execute echo '4 * 5' does not expand the `*'.

21 years ago* m4/libtool.m4: Move things around so that "setopt NO_GLOB_SUBST"
Peter O'Gorman [Fri, 28 Nov 2003 13:41:22 +0000 (13:41 +0000)] 
* m4/libtool.m4: Move things around so that "setopt NO_GLOB_SUBST"
to make zsh behave wrt  escapes happens early in config.status.

21 years ago* libltdl/configure.ac: Removed.
Gary V. Vaughan [Thu, 27 Nov 2003 13:32:33 +0000 (13:32 +0000)] 
* libltdl/configure.ac: Removed.
* configure.ac (AC_CONFIG_HEADERS): Merged from
libltdl/configure.ac.
(AC_LIB_LTDL): Ditto.
(AC_CONFIG_FILES): Add libltdl/Makefile.
(AC_CONFIG_SUBDIRS): Removed.
(AC_CONFIG_COMMANDS): Remove generation of libltdl/ltmain.sh.
* libltdl/Makefile.am (libtool): Removed references, since we now
share $(top_builddir)/libtool.
* NEWS: Updated.

21 years ago* Makefile.am (vcl.tmp): Be careful of VPATH builds.
Gary V. Vaughan [Wed, 26 Nov 2003 18:06:52 +0000 (18:06 +0000)] 
* Makefile.am (vcl.tmp): Be careful of VPATH builds.

21 years ago* Makefile.am (EXTRA_DIST): s/vtl/vcl/.
Gary V. Vaughan [Wed, 26 Nov 2003 16:39:39 +0000 (16:39 +0000)] 
* Makefile.am (EXTRA_DIST): s/vtl/vcl/.

21 years ago* Makefile.am (EXTRA_DIST): Add stamp-vcl, or we go back to a
Gary V. Vaughan [Wed, 26 Nov 2003 16:30:20 +0000 (16:30 +0000)] 
* Makefile.am (EXTRA_DIST): Add stamp-vcl, or we go back to a
double configure run from a distributed tarball :-?

21 years agoOkay, the problem I am trying to solve is that when a change (say,
Gary V. Vaughan [Wed, 26 Nov 2003 15:36:08 +0000 (15:36 +0000)] 
Okay, the problem I am trying to solve is that when a change (say,
bumping the version to 1.6 for the next release) is committed, the
timestamp in ChangeLog is updated, but ltmain.sh and libtoolize
inherit the pre-commit build number from config.status.  This
delta notes the change in build number in the unstamped ChangeLog
and forces a rerun of configure etc. to roll a new ltmain.sh with
the correct TIMESTAMP:

* Makefile.am (stamp-vcl): We actually need a new config.status to
force the correct timestamp into libtoolize and ltmain.sh,
rerunning autoconf has no effect at all if configure.ac hasn't
changed.

21 years ago* Makefile.am (stamp-vcl): New rules to force libtool and
Gary V. Vaughan [Wed, 26 Nov 2003 13:36:31 +0000 (13:36 +0000)] 
* Makefile.am (stamp-vcl): New rules to force libtool and
libtoolize scripts to update when the TIMESTAMP changes in
ChangeLog, but the file modification time doesn't (e.g in cvs
commit).  Otherwise we'll carry on releasing tarballs with the
wrong version numbers in the tools!

21 years ago* config/mkstamp: Change output format to ` $rev $date'.
Gary V. Vaughan [Wed, 26 Nov 2003 12:34:23 +0000 (12:34 +0000)] 
* config/mkstamp: Change output format to ` $rev $date'.
* configure.ac: Make the banner more like suggestions in
http://www.gnu.org/prep/standards_toc.html Section 4.6.
* libtoolize.in: Make --version output conform to the GNU
standard.
* ltmain.in: Ditto. And tweak the generated file headers to
match.

21 years ago* Makefile.am (config.status): Removed. Rebuilding config.status
Gary V. Vaughan [Tue, 25 Nov 2003 16:51:14 +0000 (16:51 +0000)] 
* Makefile.am (config.status): Removed.  Rebuilding config.status
isn't enough, because the TIMESTAMP in configure is still out
of date.
(configure): We actually need a new configure to force the
correct timestamp into ltmain.sh.

21 years ago* Makefile.am (config/ltmain.sh): Removed. Rebuilding ltmain.sh
Gary V. Vaughan [Tue, 25 Nov 2003 16:48:13 +0000 (16:48 +0000)] 
* Makefile.am (config/ltmain.sh): Removed.  Rebuilding ltmain.sh
isn't enough, because the TIMESTAMP in config.status is still out
of date.
(config.status): We actually need a new config.status to force the
correct timestamp into ltmain.sh.

21 years ago* Makefile.am (config/ltmain.sh): Note the dependency on the
Gary V. Vaughan [Tue, 25 Nov 2003 16:41:44 +0000 (16:41 +0000)] 
* Makefile.am (config/ltmain.sh): Note the dependency on the
timestamp in ChangeLog so we don't ship libtools that report the
wrong version number :-/

21 years ago* bootstrap: Explain automake and autoconf version dependencies
Gary V. Vaughan [Tue, 25 Nov 2003 15:48:23 +0000 (15:48 +0000)] 
* bootstrap: Explain automake and autoconf version dependencies
truthfully, and the difference between bootstrap and user
dependencies.
* configure.ac (AM_INIT_AUTOMAKE): List AUTOMAKE_OPTIONS here.
* Makefile.am, doc/Makefile.am, tests/Makefile.am
(AUTOMAKE_OPTIONS): Removed from here.

21 years ago* tests/defs (func_configure): cdemo, demo and mdemo are shows
Gary V. Vaughan [Mon, 24 Nov 2003 15:26:56 +0000 (15:26 +0000)] 
* tests/defs (func_configure): cdemo, demo and mdemo are shows
signs of indeterminacy for some users.  Be more verbose during
failure to help track down the cause.

21 years ago* ltmain.in: Test $old_striplib before using it, not $striplib.
Peter O'Gorman [Sat, 22 Nov 2003 14:12:57 +0000 (14:12 +0000)] 
* ltmain.in: Test $old_striplib before using it, not $striplib.

21 years ago* tests/demo-hardcode.test: Call ./libtool not libtool.
Peter O'Gorman [Sat, 22 Nov 2003 14:09:14 +0000 (14:09 +0000)] 
* tests/demo-hardcode.test: Call ./libtool not libtool.

21 years ago* ltmain.in: Move eval to after command separation to allow ~ in paths.
Peter O'Gorman [Sat, 22 Nov 2003 14:03:35 +0000 (14:03 +0000)] 
* ltmain.in: Move eval to after command separation to allow ~ in paths.

21 years ago* ltmain.in: Check for module_cmds if max_cmd_len is exceeded too.
Peter O'Gorman [Sat, 22 Nov 2003 13:58:35 +0000 (13:58 +0000)] 
* ltmain.in: Check for module_cmds if max_cmd_len is exceeded too.

21 years ago* configure.ac (LASTRELEASE): Calculate it as best as we can from
Gary V. Vaughan [Sat, 22 Nov 2003 10:03:13 +0000 (10:03 +0000)] 
* configure.ac (LASTRELEASE): Calculate it as best as we can from
AC_PACKAGE_VERSION.
* Makefile.am (distdir): Remove dependency on timestamps so that
it is possible to roll a dist without contacting the cvs server.
Use `make cvs-release' for that.
(cvs-news): Extracted from cvs-dist.
(cvs-dist): Depend on cvs-news.
(CHECK_LASTRELEASE): Check LASTRELEASE has been set.
(prev-tarball): New rule.  Use LASTRELEASE to make sure the
previous release tarball is present.
(cvs-diff): Use CHECK_LASTRELEASE.
(xdelta): Ditto.
(cvs-release): Depend on prev-tarball, timestamps, cvs-news and
fetch. Provided you set LASTRELEASE appropriately, making a full
cvs release is just a matter of `make cvs-release', and submitting
the files to ftp-upload.

21 years ago* m4/libtool.m4 (_LT_PROG_LTMAIN): Ensure config.status has a
Gary V. Vaughan [Wed, 19 Nov 2003 17:58:40 +0000 (17:58 +0000)] 
* m4/libtool.m4 (_LT_PROG_LTMAIN): Ensure config.status has a
value for `ac_aux_dir' when automake is not used.
Reported by Patrick Welche <prlw1@newn.cam.ac.uk>.

21 years ago* configure.ac (AC_PREREQ): AS_HELP_STRING was introduced after
Gary V. Vaughan [Wed, 19 Nov 2003 12:55:47 +0000 (12:55 +0000)] 
* configure.ac (AC_PREREQ): AS_HELP_STRING was introduced after
autoconf-2.57 was released.

21 years ago* libltdl/ltdl.c (lt_dlhandle_find): New function to find a handle
Gary V. Vaughan [Tue, 18 Nov 2003 22:39:39 +0000 (22:39 +0000)] 
* libltdl/ltdl.c (lt_dlhandle_find): New function to find a handle
by module name.
* libltdl/ltdl.h (lt_dlhandle_find): Declare it.
* doc/libtool.texi (User defined module data): Document it.
* NEWS: Updated.

21 years ago* m4/libtool.m4 (AC_LIBTOOL_SETUP): Uncomment call to
Gary V. Vaughan [Mon, 17 Nov 2003 17:20:09 +0000 (17:20 +0000)] 
* m4/libtool.m4 (AC_LIBTOOL_SETUP): Uncomment call to
_LT_CONFIG_COMMANDS.
(_LT_AC_TAG_CONFIG, AC_LIBTOOL_CONFIG): Accumulate tag generation
for `config.status' using _LT_CONFIG_SAVE_COMMANDS.  Remove
AC_MSG_NOTICE noise now that libtool is generated by a single
config.status tag.
* Makefile.am (libtool): Specify CONFIG_COMMANDS properly now that
libtool is generated in one pass.

21 years ago* configure.ac (CONF_SUBDIRS): Make these relative to
Gary V. Vaughan [Mon, 17 Nov 2003 15:49:06 +0000 (15:49 +0000)] 
* configure.ac (CONF_SUBDIRS): Make these relative to
tests/Makefile.am.
(DIST_MAKEFILE_LIST): Adjust to compensate for having removed the
`tests/' part in CONF_SUBDIRS.
* tests/Makefile.am (DIST_SUBDIRS): Distribute these directories.
(SUBDIRS): Set to `.', a NOP, to workaround an automake bug which
ignores DIST_SUBDIRS unless SUBDIRS is also set.
* Makefile.am (DIST_SUBDIRS): Don't try to distribute the tests
subdirectories from here, since the recursive automake dist rule
only works with direct child directories.  Defer to
tests/Makefile.am in this case.

21 years ago* ltmain.in: In compile mode, delay parsing of -shared, -static,
Scott James Remnant [Mon, 17 Nov 2003 11:19:07 +0000 (11:19 +0000)] 
* ltmain.in: In compile mode, delay parsing of -shared, -static,
-prefer-pic and -prefer-non-pic until after tagged configuration
has been read.  In link mode, read tagged configuration before
parsing any arguments.  These arguments will now work when using
a non-C compiler.

21 years ago* NEWS: Mention AC_LIBTOOL_TAGS.
Gary V. Vaughan [Fri, 14 Nov 2003 17:33:04 +0000 (17:33 +0000)] 
* NEWS: Mention AC_LIBTOOL_TAGS.

21 years ago* Makefile.am (EXTRA_DIST): List ChangeLog files correctly.
Gary V. Vaughan [Fri, 14 Nov 2003 17:31:23 +0000 (17:31 +0000)] 
* Makefile.am (EXTRA_DIST): List ChangeLog files correctly.

21 years ago* tests/cdemo/configure.ac, tests/demo/configure.ac,
Gary V. Vaughan [Fri, 14 Nov 2003 17:28:29 +0000 (17:28 +0000)] 
* tests/cdemo/configure.ac, tests/demo/configure.ac,
tests/depdemo/configure.ac, tests/f77demo/configure.ac,
tests/mdemo/configure.ac, tests/mdemo2/configure.ac,
tests/pdemo/configure.ac, tests/tagdemo/configure.ac: Declare just
the tags we need using AC_LIBTOOL_TAGS, reducing the size of the
configure script by 50% in most cases.

21 years ago* doc/libtool.texi (Libltdl interface): libltdl does in fact load
Marius Vollmer [Fri, 14 Nov 2003 15:14:11 +0000 (15:14 +0000)] 
* doc/libtool.texi (Libltdl interface): libltdl does in fact load
dependency libs for lt_dlopen()ed modules.

21 years agoRun our configure.ac files through Autoconf 2.59's autoupdate, and
Gary V. Vaughan [Fri, 14 Nov 2003 11:12:22 +0000 (11:12 +0000)] 
Run our configure.ac files through Autoconf 2.59's autoupdate, and
then tweak the results by hand:

* m4/libtool.m4 (AC_PROG_LD): In common with all the other
AC_PROG_ macros, AC_SUBST the discovered LD.
(AC_PROG_NM): Similarly for NM.
(LT_AC_PROG_SED): Similarly for SED.
* configure.ac: No need to SUBST NM and LD manually any more.
(AC_PREREQ): Conservatively downgrade from 2.59 to 2.54.
* tests/cdemo/configure.ac, tests/demo/configure.ac,
tests/depdemo/configure.ac, tests/f77demo/configure.ac,
tests/mdemo/configure.ac, tests/mdemo2/configure.ac,
tests/pdemo/configure.ac, tests/tagdemo/configure.ac: Ditto.
* m4/libtool.m4 (AM_PROG_LIBTOOL, AM_ENABLE_SHARED,
AM_ENABLE_STATIC, AM_DISABLE_SHARED, AM_DISABLE_STATIC,
AM_PROG_LD, AM_PROG_NM): AU_DEFUN these macros so autoupdate can
use the newer definitions.

21 years agoThe rules for uploading releases to gnu.org have been updated, and
Gary V. Vaughan [Wed, 12 Nov 2003 18:37:26 +0000 (18:37 +0000)] 
The rules for uploading releases to gnu.org have been updated, and
are in fact now rather complicated.  This delta updates the
release instructions to the describe the new process, and updates
the maintainer rules to help automate many of the steps:

* README-alpha: Updated release instructions.
* Makefile.am (GPG): Name of the program for generating signatures
for files to be uploaded.
(XDELTA, XDELTA_OPTIONS): Invocation of xdelta.
(cvs-dist): Run distcheck before tagging the cvs tree incase
distcheck fails, and then generate the gpg signature files.
(cvs-diff): Generate the gpg signature files for the diff.
(xdelta): New rule for generating the xdelta diffs and associated
gpg signature files.
(cvs-release): New rule to do all of the above, if you don't mind
typing your gpg passphrase over and over again. :-)
(fetch): New rule inspired by automakes similar rule for updating
files maintained outside the project.
* config/config.guess, config/config.sub: Updated with the new
fetch rule.

21 years ago* libltdl/ltdl.c (lt_dlinit): Save a function call for each loader
Gary V. Vaughan [Tue, 11 Nov 2003 16:53:31 +0000 (16:53 +0000)] 
* libltdl/ltdl.c (lt_dlinit): Save a function call for each loader
added to the list, in exchange for appending loaders to the list
with O(N) rather than O(1).  The longest the loader list can ever
get is 4 (on cygwin with dld installed) so it probably constitutes
a small speedup, in addition to making the code much more readable.

21 years ago* m4/libtool.m4 (AC_LIBTOOL_SETUP): Don't define the value for
Gary V. Vaughan [Tue, 11 Nov 2003 16:49:32 +0000 (16:49 +0000)] 
* m4/libtool.m4 (AC_LIBTOOL_SETUP): Don't define the value for
ltmain unconditionally.
(_LT_PROG_LTMAIN): New macro to ensure that the
shell variable `ltmain' actually points at a suitable `ltmain.sh'.
(_AC_PROG_LIBTOOL): Require it.
(AC_LIBTOOL_CONFIG, _LT_AC_TAG_CONFIG): Invoke it.
* Makefile.am (libtool): ltmain.sh is in the build tree.
* libltdl/configure.ac: Ditto.

21 years ago* ltmain.in: Add -pthread and similar to $deplibs ($compile_deplibs
Scott James Remnant [Mon, 10 Nov 2003 21:06:49 +0000 (21:06 +0000)] 
* ltmain.in: Add -pthread and similar to $deplibs ($compile_deplibs
and $finalize_deplibs for programs) when found on the command line
or in a .la file's dependency_libs (but don't place them there) so
they are honoured when linking both programs and libraries.

21 years agoI got this right ... then I went back to revert the change and make sure it applied...
Scott James Remnant [Mon, 10 Nov 2003 21:05:26 +0000 (21:05 +0000)] 
I got this right ... then I went back to revert the change and make sure it applied again and forgot to change the data again, oops

21 years ago* m4/libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [linux]: Include
Scott James Remnant [Mon, 10 Nov 2003 21:04:48 +0000 (21:04 +0000)] 
* m4/libtool.m4  (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [linux]: Include
directories found in /etc/ld.so.conf in sys_lib_dlsearch_path_spec.

21 years ago* ltmain.in (linkalldeplibs,darwin): Fix a bug reported by Idar
Peter O'Gorman [Sun, 9 Nov 2003 14:54:52 +0000 (14:54 +0000)] 
* ltmain.in (linkalldeplibs,darwin): Fix a bug reported by Idar
Tollefsen where a dir could be added to the link line with no '-L'
on darwin.

21 years ago* config/config.guess, config/config.sub: Doh! Accidentally overwrote
Gary V. Vaughan [Fri, 7 Nov 2003 16:27:51 +0000 (16:27 +0000)] 
* config/config.guess, config/config.sub: Doh! Accidentally overwrote
these again with the last commit.  Restored.

21 years ago* tests/cdemo/configure.ac, tests/demo/configure.ac,
Gary V. Vaughan [Fri, 7 Nov 2003 16:25:57 +0000 (16:25 +0000)] 
* tests/cdemo/configure.ac, tests/demo/configure.ac,
tests/depdemo/configure.ac, tests/f77demo/configure.ac,
tests/mdemo/configure.ac, tests/mdemo2/configure.ac,
tests/pdemo/configure.ac, tests/tagdemo/configure.ac:
s/AM_PROG_LIBTOOL/AC_PROG_LIBTOOL/. Marching boldly into the 21th
century :-$

21 years ago* m4/libtool.m4 (AC_LIBTOOL_TAGS, AC_ENABLE_SHARED,
Gary V. Vaughan [Fri, 7 Nov 2003 16:08:53 +0000 (16:08 +0000)] 
* m4/libtool.m4 (AC_LIBTOOL_TAGS, AC_ENABLE_SHARED,
AC_DISABLE_SHARED, AC_ENABLE_STATIC, AC_DISABLE_STATIC,
AC_ENABLE_FAST_INSTALL, AC_DISABLE_FAST_INSTALL, AM_PROG_LIBTOOL,
AM_ENABLE_SHARED, AM_ENABLE_STATIC, AM_DISABLE_SHARED,
AM_DISABLE_STATIC): These macros must be AC_DEFUNed after all,
otherwise aclocal can't find them when it tries to construct
`aclocal.m4'.

21 years ago* Makefile.am (install-data-local): Wipe out old installation
Gary V. Vaughan [Fri, 7 Nov 2003 15:11:51 +0000 (15:11 +0000)] 
* Makefile.am (install-data-local): Wipe out old installation
pkgdatadir before installing new files.
* NEWS: Updated.

21 years ago* m4/libtoolize.in (func_scan_files): If libtoolize is run before
Gary V. Vaughan [Fri, 7 Nov 2003 14:04:16 +0000 (14:04 +0000)] 
* m4/libtoolize.in (func_scan_files): If libtoolize is run before
automake has created install-sh and configure.ac does not mention
AC_CONFIG_AUX_DIR, fall back to the current directory for auxdir.