[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: |
Kenneth Pronovici |
Subject: |
Re: AM_AUX_DIR_EXPAND incorrect on MacOS X: how to fix? |
Date: |
Fri, 12 Oct 2001 18:52:09 -0500 (CDT) |
> 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
> ])
I don't want to drag this off topic... but on some platforms, 'cd dir' will
cause 'dir' to be echoed if the user has $CDPATH set. That has broken
some configuration/installation shell scripts that I've had to deal with
in the past, and it seems like this behavior could cause problems with the
macro above, as well. Dunno if it's something to be worried about, but...
KEN
--
Kenneth J. Pronovici <address@hidden>
Personal Homepage: http://www.skyjammer.com/~pronovic/
"I have zero tolerance for zero-tolerance policies."
Re: AM_AUX_DIR_EXPAND incorrect on MacOS X: how to fix?, Akim Demaille, 2001/10/15