[Top][All Lists]
[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: |
Fri, 23 Feb 2001 14:45:23 -0500 (EST) |
> > I believe that Automake can switch to @SET_VPATH@, but I'm in doubt what
> > package should AC_DEFINE it - Autoconf or Automake or both?
>
> Who cares. AC_SUBSTing twice is fine.
Of course I meant AC_SUBST.
> The only question is *what* is supposed to be in there. Sorry for
> being so naive, but I really never paid attention to VPATH.
Two possible solutions:
1) VPATH = ${srcdir}
Pro: it's a fixed value. It can be done through AC_SUBST. Contra: it can
be less portable. But those who build out of tree should be using GNU
Make, so it shouldn't be a big issue.
2) VPATH = @srcdir@
Note that @srcdir@ will have to be substituted in the same run of
config.status. This may require a speciall processing in config.status,
but maybe the existing implementation is already capable of replacing
@srcdir@ on the fly.
Pro: users of reasonably good non-GNU Makes will still be able to build
out of srcdir. Contra: possibly requires separate handling (if not, it's
definitely the way to go).
Regards,
Pavel Roskin
- Re: Patch for autoconf/145, Akim Demaille, 2001/02/23
- Re: Patch for autoconf/145, Akim Demaille, 2001/02/23
- Re: Patch for autoconf/145, Pavel Roskin, 2001/02/23
- Re: Patch for autoconf/145, Akim Demaille, 2001/02/23
- Re: Patch for autoconf/145,
Pavel Roskin <=
- Re: Patch for autoconf/145, Derek R. Price, 2001/02/23
- Re: Patch for autoconf/145, Pavel Roskin, 2001/02/25
- Re: Patch for autoconf/145, Derek R. Price, 2001/02/25
- Re: Patch for autoconf/145, Pavel Roskin, 2001/02/25
- Re: Patch for autoconf/145, Derek R. Price, 2001/02/26
- Re: Patch for autoconf/145, Derek R. Price, 2001/02/26
- Re: Patch for autoconf/145, Ralf Corsepius, 2001/02/25
- Re: Patch for autoconf/145, Pavel Roskin, 2001/02/25