1 2004-01-21 Peter O'Gorman <peter@pogma.com>
3 * m4/libtool.m4 (AC_PROG_LD_RELOAD_FLAG): On darwin change the
4 reload_cmds to use $CC, otherwise ld will thin out any fat
7 2004-01-18 Benjamin Reed <ranger@befunk.com>
9 * ltmain.in: Fix handling of frameworks in search paths. Also
10 a one-liner fix to eval shrext in the libtool library search.
12 2004-01-16 Gary V. Vaughan <gary@gnu.org>
14 * configure.ac (AM_INIT_AUTOMAKE): Require 1.8 for bootstrap, or
15 else aclocal.m4 is huge, and m4 directory is not distributed.
17 * configure.ac (AC_CONFIG_HEADERS): Create config.h in
19 * m4/ltdl.m4 (AC_LIB_LTDL): Run AC_CONFIG_HEADERS for the user if
20 necessary. Calculate filename from first argument to
21 AC_CONFIG_HEADERS, and substitute as CONFIG_H.
22 * libltdl/Makefile.am (AM_CPPFLAGS): Make sure we are searching in
23 $top_srcdir for headers.
24 (DEFS): Override the default HAVE_CONFIG_H with the config.h
26 (ltdl.lo): Reference config.h via $(CONFIG_H).
27 * libltdl/ltdl.c (HAVE_CONFIG_H): Ditto.
29 2004-01-15 Scott James Remnant <scott@netsplit.com>
31 * m4/lt~obsolete.m4: Add a file containing aclocal-fooling
32 macro definitions which stop the contents of an installed
33 libtool.m4 ending up in our aclocal.m4 when we bootstrap.
34 * Makefile.am (pkgmacro_DATA): Note that we don't need to add
35 lt~obsolete.m4 to this list.
37 2004-01-12 Gary V. Vaughan <gary@gnu.org>
39 * m4/libtool.m4 (_LT_COPYING): Factor out copyright message so it
40 only needs to be updated in one place.
41 (AC_LIBTOOL_CONFIG): Refactor to be more readable. Only add
42 tags if a compiler was found; ie if you have no gcj compiler,
43 don't tack the GCJ tag onto the generated libtool script.
45 2004-01-13 Peter O'Gorman <peter@pogma.com>
47 * m4/libtool.m4: Quote shrext as it is evaled in ltmain.
49 2004-01-11 Scott James Remnant <scott@netsplit.com>
51 * ltmain.in: new -precious-files-regex link mode option
52 to prevent removal of matching files from the temporary
55 * doc/libtool.texi: document the new option.
56 * NEWS: announce the new option.
58 2004-01-11 Gary V. Vaughan <gary@gnu.org>
60 * libtoolize.in (func_copy_all_files): s/xfunc_copy/Xfunc_copy.
61 Now the test can actually succeed sometimes.
63 2004-01-09 Gary V. Vaughan <gary@gnu.org>
65 * libtoolize.in: Break out of the command argument parse loop when
68 2004-01-08 Gary V. Vaughan <gary@gnu.org>
70 * libtoolize.in (func_copy_all_files): s/test "x/test "X/ to keep
73 2004-01-07 Gary V. Vaughan <gary@gnu.org>
75 * Makefile.am (aclocal_macros, aclocal_DATA): Removed.
76 (EXTRA_DIST): Remove m4 macro files; they are automatically
78 (pkgmacrodir): Where to install libtool macro files.
79 (pkgmacro_DATA): List installable libtool macro files.
80 (install-data-local): Remove previous versions of ltdl.m4 and
81 libtool.m4 from their old location.
82 * libtoolize.in: Use new pkgmacrodir installed macros when
83 libtoolizing a project. Treat libtool.m4 and ltdl.m4 specially,
84 and func_serial_update() any other files from pkgmacrodir.
85 (pkgmacrodir): Where to find installed libtool macro files.
86 (aclocaldir): Removed.
87 (func_copy_all_files): Add an optional callback parameter to
88 control how files are copied. If the callback is passed, don't
89 tell it whether it can copy or not.
90 (func_serial): Exchange parameters and make macro_regex optional,
91 so that this function can be used to extract serial numbers from
92 files with the traditional /^# serial [1-9][0-9]*$/ syntax.
94 (func_serial_update): Make macro_regex optional last parameter, so
95 that this function can be used as a callback for
96 func_copy_all_files(). Changed all callers.
97 * m4/ltsugar.m4: Add a serial number.
99 2004-01-07 Gary V. Vaughan <gary@gnu.org>
101 A complete rewrite of the m4 code involved in the generation of
102 libtool via config.status. The old way involved manually
103 synchronising disparate bits of shell code in several macros, to
104 quote a copy of a shell variable, put that in config.status, maybe
105 add it to some quotation loops to prevent early expansion, and
106 then add a block to _LT_CONFIG_COMMANDS to bring it into the
107 libtool script. The new way is to mark shell variables for
108 propogation using _LT_DECL for language independent variables, or
109 _LT_TAGDECL for those that need to be propogated in several
110 language flavours. The marking can be done in the macro that
111 probes the variables, and this new m4 machinery takes care of
112 synchronising all the other bits of code at autoconf time:
114 * m4/ltsugar.m4: New file. Macros that are useful outside the
115 context of libtool. Initially, contains some generalised list
116 management macros, and the scaffolding for dictionary type data
117 storage and retrieval.
118 * Makefile.am (aclocal_macros): Install ltsugar.m4.
119 * m4/libtool.m4 (_LT_DECL): Mark a shell variable for export to
120 the libtool script, along with a comment, and hints for quoting
122 (_LT_TAGDECL): Similarly mark a tagged shell variable for export
124 (lt_decl_tag_varnames, lt_decl_quote_varnames)
125 (lt_decl_dquote_varnames, lt_decl_varnames_tagged)
126 (lt_decl_all_varnames): New utility macros for managing lists of
127 shell variable names from _LT_DECL and _LT_TAGDECL.
128 (_LT_CONFIG_STATUS_DECLARATIONS, _LT_CONFIG_STATUS_DECLARE):
129 Expand to correctly quoted variable declarations in config.status
130 from all marked shell variables.
131 (_LT_LIBTOOL_DECLARE): Expand to commented and quoted variable
132 declaration for libtool tag section.
133 (_LT_LIBTOOL_CONFIG_VARS, _LT_LIBTOOL_TAG_VARS): Pass all marked
134 variables to _LT_LIBTOOL_DECLARE.
135 (_LT_CONFIG_COMMANDS): Use _LT_CONFIG_STATUS_DECLARATIONS and
136 friends to generate all the variable passing shell code for
137 config.status, to get marked variables from libtool.m4 into
138 libtool itself eventually.
139 (AC_LIBTOOL_CONFIG): Generate marked variable code for libtool tag
140 configuration. Changed all client macros to mark variables
141 suitably rather than the hand pasting that was necessary
143 (AC_PROG_SED): Renamed from LT_AC_PROG_SED.
144 (LT_AC_PROG_SED): Wrap AC_PROG_SED, and mark shell variables for
145 propogation to the libtool script.
147 2004-01-07 Gary V. Vaughan <gary@gnu.org>
149 * libtoolize.in (seen_gettext): Removed unused variable.
151 2004-01-06 Gary V. Vaughan <gary@gnu.org>
153 * libtoolize.in (func_scan_files): Don't assume the existence of
154 aclocal.m4. Make the comment more descriptive.
155 Reported by Alexandre Duret-Lutz <adl@src.lip6.fr>
157 * NEWS: Note libtoolize changes.
159 * ChangeLog.2003: New file, containing all the ChangeLog entries
160 from 2003. Trimmed ChangeLog accordingly.
162 * ltmain.in: Output 2004 in the copyright from libtool --version.
164 2004-01-03 Stefan Nordhausen <nordhaus@informatik.hu-berlin.de>
165 Scott James Remnant <scott@netsplit.com>
167 * ltmain.in: Don't use the mkdir -p option when creating a
168 temporary output directory so a symlink attack can't be used to
169 arbitrarily chmod other directories on the system if libtool
172 2004-01-02 Peter O'Gorman <peter@pogma.com>
174 * m4/libtool.m4: Ensure that ${ZSH_VERSION+set} is properly escaped.
176 * m4/libtool.m4 (CDPATH): Change the CDPATH setting so that it
177 allows for zsh differences, as noted in the autoconf manual's
178 Portable Shell - Special Shell Variables section.
180 2004-01-02 Scott James Remnant <scott@netsplit.com>
182 * .cvsignore: Ignore stamp-vcl created by the Makefile.
184 2004-01-02 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
185 Joe Orton <joe@manyfish.co.uk>
187 * m4/libtool.m4 (AC_LIBTOOL_CONFIG): Add extra blackslash
188 in front of all the inner double-quotes as this is removed
189 on Solaris, IRIX and AIX leading to broken definitions
192 2004-01-02 Scott James Remnant <scott@netsplit.com>
194 * NEWS: Next release will be in 2004.
196 Continued in ChangeLog.2003