[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/4] libtoolize: use only space delimited file lists.
From: |
Peter Rosin |
Subject: |
Re: [PATCH 1/4] libtoolize: use only space delimited file lists. |
Date: |
Mon, 07 Nov 2011 11:32:04 +0100 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 |
Gary V. Vaughan skrev 2011-11-05 18:04:
> 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. The rest of the series each tackles
> one directory full of files and the various variables and functions used by
> libtoolize to copy files around, and for Makefile.am to install.
>
> As with the other series I posted today, I'll push all of these in 72 hours
> or more - subject to any review comments or other issues that need to be
> addressed first.
>
> We don't install any files with whitespace in their file name,
> so using colon delimited lists to make that possible was a
> premature optimisation and an unneeded complication.
> * libtoolize.m4sh (func_copy_some_files): Remove IFS twiddling,
> and just pull space delimited files in a for loop idiomatically.
> (func_massage_aclocal_DATA, func_install_pkgmacro_subproject)
> (func_install_pkgmacro_parent, func_install_pkgmacro_files)
> (func_massage_pkgltdl_files, func_massage_pkgconfig_files):
> Append to file lists with space delimiter.
>
> Signed-off-by: Gary V. Vaughan <address@hidden>
> ---
> libtoolize.m4sh | 44 +++++++++++++-------------------------------
> 1 files changed, 13 insertions(+), 31 deletions(-)
>
> diff --git a/libtoolize.m4sh b/libtoolize.m4sh
*snip*
> @@ -819,7 +811,7 @@ func_install_pkgmacro_subproject ()
> pkgmacro_header="putting macros in AC_CONFIG_MACRO_DIR,
> \`$subproject_macro_dir'."
> fi
>
> - func_copy_some_files "argz.m4:libtool.m4:ltdl.m4:$pkgmacro_files" \
> + func_copy_some_files "libtool.m4 ltdl.m4 $pkgmacro_files" \
You don't mention why it's ok to drop argz.m4, is the drop intentional
or was argz.m4 just lost in the churn?
Cheers,
Peter