* libtoolize.m4sh (func_install_pkgmacro_files): If there is no
$configure_ac in the parent project directory, and libtoolize is
in subproject mode, then the parent project has no use for
autoconf macros, so don't install them.
* NEWS: Updated.
Signed-off-by: Gary V. Vaughan <gary@gnu.org>
sed script.
- Fix a long-standing bug in libtoolize, by outputting the `putting
auxiliary files in' header with `libtoolize --ltdl --subproject'.
+ - Fix a long-standing bug in libtoolize subproject installation, by not
+ installing a set of autoconf macro files into the parent project if
+ there is no configure.ac present to use them.
- The libtoolize subproject mode selector is now named `--subproject'
and is equivalent to the implied `--subproject' mode when no other
mode is selected; `--standalone' never worked, and is no longer
$require_ac_macro_dir
$require_am_macro_dir
+ $require_configure_ac
$require_macro_dir
# argz.m4, libtool.m4 and ltdl.m4 are handled specially:
if $opt_ltdl && test "x$ltdl_mode" = "xsubproject" &&
test "x$macro_dir" != "x$subproject_macro_dir"
then
- func_install_pkgmacro_parent
+ # No point installing configure macros in the parent project when
+ # there's no $configure_ac to use them.
+ test -f "$configure_ac" && func_install_pkgmacro_parent
func_install_pkgmacro_subproject
# 2. Parent shares macro_dir with subproject ltdl: