[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Forcing complete expansion of a PATH variable
From: |
Joshua Kwan |
Subject: |
Re: Forcing complete expansion of a PATH variable |
Date: |
Wed, 23 Apr 2003 15:38:54 -0700 |
User-agent: |
Mutt/1.5.4i |
On Wed, Apr 23, 2003 at 05:03:28PM -0500, Raja R Harinath wrote:
> Try this instead:
>
> AC_DEFUN([AC_SUBST_DIR], [
> ifelse($2,,,$1="[$]$2")
> $1=`(
> test "x$prefix" = xNONE && prefix="$ac_default_prefix"
> test "x$exec_prefix" = xNONE && exec_prefix="${prefix}"
> eval echo \""[$]$1"\"
> )`
> AC_SUBST($1)
> ])
Awesome, this works perfectly. Thanks!
Regards,
Josh
--
New PGP public key: 0x27AFC3EE
pgpe5cGX34rXh.pgp
Description: PGP signature
- Forcing complete expansion of a variable, Joshua Kwan, 2003/04/23
- Re: Forcing complete expansion of a PATH variable, Guido Draheim, 2003/04/23
- Re: Forcing complete expansion of a PATH variable, Joshua Kwan, 2003/04/23
- Re: Forcing complete expansion of a PATH variable, Raja R Harinath, 2003/04/23
- Re: Forcing complete expansion of a PATH variable,
Joshua Kwan <=
- Re: Forcing complete expansion of a PATH variable, Guido Draheim, 2003/04/24
- Re: Forcing complete expansion of a PATH variable, Tim Van Holder, 2003/04/24
- Re: Forcing complete expansion of a PATH variable, Andreas Schwab, 2003/04/24