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: Akim Demaille
Subject: Re: AM_AUX_DIR_EXPAND incorrect on MacOS X: how to fix?
Date: 15 Oct 2001 10:14:04 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Artificial Intelligence)

>>>>> "Kyle" == Kyle F Downey <address@hidden> writes:

Kyle> AM_AUX_DIR_EXPAND inserts this shell fragment:

Kyle> am_aux_dir=`CDPATH=:; cd $ac_aux_dir && pwd`

Kyle> which does not work properly on MacOS X 10.1. It improperly
Kyle> inserts a newline at the end of the value. This trickles down to
Kyle> config.status, where it results in a newline appearing in the
Kyle> sed script fragment for symbols like ACLOCAL and AM_TAR, which
Kyle> breaks sed.

Kyle> 1) for autoconf 2.52, is there any work-around in configure.in
Kyle> that will allow you to override this value?  

Remov CDPATH=:; from your Automake macros.  Or override this silly
definition of AM_AUX_DIR_EXPAND at the top of configure.ac:

AC_DEFUN([AM_AUX_DIR_EXPAND], 
[# expand $ac_aux_dir to an absolute path
am_aux_dir=`cd $ac_aux_dir && pwd`
])

and that's all.



reply via email to

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