autoconf
[Top][All Lists]
Advanced

[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

Attachment: pgpe5cGX34rXh.pgp
Description: PGP signature


reply via email to

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