On 11/5/2011 12:40 PM, Gary V. Vaughan wrote:
By the end of this particular set, libtoolize will have moved from the kludgy
sed based interrogation of configure.ac to probe the arguments to various
important macros so that it can determine what files to copy and where... to
the much more splendid
On 31 Oct 2011, at 22:20, Gary V. Vaughan wrote:
> More DRY inspired cleanup. 72 hours... etc etc.
>
> * Makefile.am (configure_edit): Add substitutions for aux_dir,
> macro_dir and srcdir.
> * tests/defs.m4sh: Don't recalculate srcdir.
> (aux_dir, macro_dir, srcdir): Convert to absolute paths.
* Makefile.am (configure_edit): Rename pkgconfig_files
substitution to pkgaux_files, and add pkgaux_install_files and
pkgaux_parent_files substitutions for atlocal.
(pkgauxdir): Where to install pkgaux_files.
(auxfiles): Removed, and replaced by...
(pkgaux_parent_files, pkgaux_install_files, pkgaux
* libtoolize.m4sh (pkgltdldir, pkgdatadir): Put installable
libltdl files in pkgdatadir. When testing, and _lt_pkgdatadir
is set, adjust to look in libltdl subdirectory.
(func_massage_pkgltdl_files): Removed function and only caller,
because...
(pkgltdl_files, extra_pkgltdl_files): ...we substitute
(Please excuse the brute force rearrangement of libtoolize.at expout files... I
have a much nicer patch to generate these from the filelists that libtoolize
itself
is using, but I want to get back to the directory renaming patches in as few
steps
as possible, without flooding the list with patche
This next series of patches simplifies both Makefile.am and libtoolize.m4sh
enough that manipulations of the file lists by libtoolize at install time
become managable enough to do a nice rewrite of the config->build-aux rename
patch that I'll get to next.
By itself, this one is obvious enough. Th
* libtoolize (func_scan_files): Removed function and callers.
(require_seen_ltdl, require_seen_libtool): Factor out remaining
functionality of former sed based scanning.
(func_check_macros): Adjust.
* NEWS: Updated.
Signed-off-by: Gary V. Vaughan
---
NEWS|7
libtoolize.m4sh
* libtoolize.m4sh (require_ac_ltdl_mode)
(require_ac_ltdl_options, require_ltdl_mode): New functions
factored out of func_scan_files for scanning and setting
ltdl_mode and friends.
(func_scan_files): Remove the factored out code.
(func_install_pkgmacro_files, func_install_pkgltdl_files)
(func_insta
* libtoolize.m4sh (require_ac_ltdl_dir, require_ltdl_dir):
New functions factored out of func_scan_files for scanning and
setting ac_ltdl_dir and ltdl_dir resp.
(func_scan_files): Remove the factored out code.
(func_fixup_Makefile, func_serial_update_check)
(func_install_pkgltdl_files, func_install
* libtoolize.m4sh (require_ac_aux_dir, require_aux_dir): New
functions factored out of func_scan_files for scanning and
setting aux_dir and friends.
(func_scan_files): Remove the factored out code to scan
configure.ac with sed, and then set macro_dir appropriately.
(func_install_pkgconfig_subprojec
* libtoolize.m4sh (func_extract_trace): Function to call
$aux_dir/extract-trace. The name and footprint are the same as
the core function in the extract-trace script file so that we
can choose to source that file when the option processing
becomes compatible with ours.
(require_ac_macro_dir, requi
Make a start on decomposing some of the giant functions at the
heart of libtoolize into the much more flexible and manageable
(albeit somewhat more verbose) model of self-organising
$require_ function pointers.
* libtoolize.m4sh (require_configure_ac): New function factored
out of func_scan_files f
Pushed as obvious.
libtoolize.m4sh (func_aclocal_update_check): This body of this
function used a global variable set by the outer loop of the
caller. Fix to Use the function argument correctly.
Signed-off-by: Gary V. Vaughan
---
libtoolize.m4sh |8 +---
1 files changed, 5 insertions(+)
Hi Stefano,
On 2 Nov 2011, at 16:29, Stefano Lattarini wrote:
> On Wednesday 02 November 2011, Gary V wrote:
>>
>> I like to make sure the tree is capable of passing `make distcheck' after
>> every patch,
>>
> And this is a very good policy, with which I fully agree. What I meant
> was: wouldn'
Hi Bob,
Thanks again for the sanity check. Sorry for my late response; my internet
access is very spotty at the moment.
On 2 Nov 2011, at 21:12, Bob Friesenhahn wrote:
> On Wed, 2 Nov 2011, Gary V. Vaughan wrote:
>>>
>>> Did you consider this existing use while developing the plan to rename th
Applied as an obvious refactoring.
Not only does it make more sense, it also matches bootstrap and
others.
* libtoolize.m4sh, libltdl/config/ltmain.m4sh,
libltdl/config/getopt.m4sh, tests/defs.m4sh (opt_debug): Rename
to debug_cmd.
Signed-off-by: Gary V. Vaughan
---
libltdl/config/getopt.m4sh |
On 31 Oct 2011, at 22:20, Gary V. Vaughan wrote:
> More DRY inspired cleanup. 72 hours... etc etc.
>
> * Makefile.am (configure_edit): Add substitutions for aux_dir,
> macro_dir and srcdir.
> * tests/defs.m4sh: Don't recalculate srcdir.
> (aux_dir, macro_dir, srcdir): Convert to absolute paths.
On 31 Oct 2011, at 22:24, Gary V. Vaughan wrote:
> * configure.ac (pkgaux_scripts): Centrally maintain the complete
> list of aux scripts required to build libltdl, and which need to
> be installed by libtoolize --ltdl, and consequently need to be
> placed in $pkgdatadir by make install.
> * Makef
On 31 Oct 2011, at 22:18, Gary V. Vaughan wrote:
> I'll apply in 72 hours or so, along with any changes inspired by review or
> other
> feedback.
>
> * configure.ac: Add AM_SILENT_RULES.
> * Makefile.am (.version, ChangeLog, README, doc/notes.txt)
> (libtool, libtoolize, libtoolize.in, libltdl/M
19 matches
Mail list logo