>>> "Akim" == Akim Demaille <[EMAIL PROTECTED]> writes:
[...]
I think that by stealing CVS automake files you are putting
"beta-quality" content into autoconf.
Akim> +++ m4/missing.m4 2001/06/13 16:23:38
[...]
Akim> +AC_DEFUN([AM_MISSING_INSTALL_SH],
Akim> +[AC_REQUIRE([AM_MISSING_HAS_RUN])
Akim> +if test -z "$install_sh"; then
Akim> + for install_sh in "$ac_aux_dir/install-sh" \
Akim> + "$ac_aux_dir/install.sh" \
Akim> + "${am_missing_run}${ac_auxdir}/install-sh";
^^^^^^
s/auxdir/aux_dir/
I'm afraid this bug is still here :( I've fixed it at least two
times but that was implicit in patches that aimed at replacing $ac_aux_dir
with $am_aux_dir defined below, and that were refused.
Because $ac_aux_dir is still used, it means the two first
setups ($ac_aux_dir/install-sh and $ac_aux_dir/install.sh) will
fail when $srcdir is absolute. See the explanation in the
comment below. IIRC, I believe Tom's plan is to drop the support for
intall.sh, and only use the missing setting.
[...]
Akim> +# AM_AUX_DIR_EXPAND
Akim> +
Akim> +# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
Akim> +# $ac_aux_dir to ${srcdir}/foo. In other projects, it is set to `.'.
Akim> +# Of course, Automake must honor this variable whenever it call a tool
Akim> +# from the auxiliary directory. The problem is that $srcdir (hence
Akim> +# $ac_aux_dir) can be either an absolute path or a path relative to
Akim> +# $top_srcdir or absolute, this depends on how configure is run. This
Akim> +# is pretty anoying since it makes $ac_aux_dir quite unusable in
Akim> +# subdirectories: on the top source directory, any form will work
Akim> +# fine, but in subdirectories relative pat needs to be adapted.
Akim> +# - calling $top_srcidr/$ac_aux_dir/missing would success if $srcdir is
Akim> +# relative, but fail if $srcdir is absolute
Akim> +# - conversly, calling $ax_aux_dir/missing would fail if $srcdir is
Akim> +# absolute, and success on relative paths.
Akim> +#
Akim> +# Consequently, we define and use $am_aux_dir, the "always absolute"
Akim> +# version of $ac_aux_dir.
Akim> +
Akim> +AC_DEFUN([AM_AUX_DIR_EXPAND], [
Akim> +# expand $ac_aux_dir to an absolute path
Akim> +am_aux_dir=`CDPATH=:; cd $ac_aux_dir && pwd`
Akim> +])
This has never been used. Tom wants to expand paths at
make-time rather than configure-time so that a configured tree
can be moved around without reconfiguration (actually that still
can't work because $ac_aux_dir is expanded in other places too,
e.g. in ${am_missing_run}).
--
Alexandre Duret-Lutz