AM_AUX_DIR_EXPAND inserts this shell fragment:
am_aux_dir=`CDPATH=:; cd $ac_aux_dir && pwd`
which does not work properly on MacOS X 10.1. It improperly inserts a
newline at the end of the value. This trickles down to config.status,
where it results in a newline appearing in the sed script fragm
Just checked: this works, though I'm not sure how portable it is:
# expand $ac_aux_dir to an absolute path
am_aux_dir=`CDPATH=:; cd $ac_aux_dir &> /dev/null && pwd`
--kd
>
> AM_AUX_DIR_EXPAND inserts this shell fragment:
>
> am_aux_dir=`CDPATH=:; cd $ac_aux_dir && pwd`
>
> which does not work