autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AM_AUX_DIR_EXPAND incorrect on MacOS X: how to fix?


From: Kyle F. Downey
Subject: Re: AM_AUX_DIR_EXPAND incorrect on MacOS X: how to fix?
Date: Thu, 11 Oct 2001 22:14:00 +0000 (GMT)

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 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 fragment for
> symbols like ACLOCAL and AM_TAR, which breaks sed.
>
> 1) for autoconf 2.52, is there any work-around in configure.in that will
> allow you to override this value?
> 2) for future versions, what's the best replacement shell fragment?
>
> --kd
>
>
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]