[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: |
Alexandre Duret-Lutz |
Subject: |
Re: AM_AUX_DIR_EXPAND incorrect on MacOS X: how to fix? |
Date: |
15 Oct 2001 15:32:43 +0200 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
>>> "Kenneth" == Kenneth Pronovici <address@hidden> writes:
>> AC_DEFUN([AM_AUX_DIR_EXPAND], [
>> # expand $ac_aux_dir to an absolute path
>> -am_aux_dir=`cd $ac_aux_dir && pwd`
>> +case $ac_aux_dir in
>> +/*) am_aux_dir=$ac_aux_dir;;
>> +*) am_aux_dir=`pwd`/$ac_aux_dir ||
>> + AC_MSG_ERROR([cannot determine working directory]);;
>> +esac
>> ])
Looks good.
Kenneth> I don't want to drag this off topic... but on some
Kenneth> platforms, 'cd dir' will cause 'dir' to be echoed if
Kenneth> the user has $CDPATH set.
This should be ok now: Autoconf will unset CDPATH on startup.
[...]
--
Alexandre Duret-Lutz
Re: AM_AUX_DIR_EXPAND incorrect on MacOS X: how to fix?, Akim Demaille, 2001/10/15