autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Patch for autoconf/145


From: Pavel Roskin
Subject: Re: Patch for autoconf/145
Date: Sun, 25 Feb 2001 12:11:59 -0500 (EST)

Hello, Derek!

> > Unfortunately, a trivial AC_SUBST([SET_VPATH], [VPATH = @address@hidden) 
> > doesn't
> > work - Autoconf actually makes a great effort to protect the second
> > argument from expanding.
>
> Of course, since configure knows the value of $srcdir anyhow, 
> AC_SUBST([SET_VPATH],
> [VPATH = $srcdir]) will work.

Not quite. It will only work properly for the top-level directory, since
srcdir is different for every directory if you are compiling outside of
the source tree.

Regards,
Pavel Roskin




reply via email to

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