automake
[Top][All Lists]
Advanced

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

Re: Variable substitution @libexecdir@


From: Bill Moseley
Subject: Re: Variable substitution @libexecdir@
Date: Wed, 9 Feb 2005 06:49:40 -0800
User-agent: Mutt/1.5.6+20040907i

On Wed, Feb 09, 2005 at 08:49:57AM +0100, Stepan Kasal wrote:
> Hi!
> 
> [BTW, this would be more appropriate for the autoconf list.]
> 
> On Tue, Feb 08, 2005 at 01:59:56PM -0800, Bill Moseley wrote:
> >     @sed \
> >             -e 's,@@perlmoduledir@@,$(libexecdir)/perl,' \
> ...
> >    bindir = ${exec_prefix}/bin
> >    libexecdir = ${exec_prefix}/lib/${PACKAGE}
> > 
> > Can those be resolved at *configure* time to full paths?
> 
> See http://www.gnu.org/software/ac-archive/ac_define_dir.html

Sorry, my question was not clear.  Automake generates a Makefile.in
that includes:

  libexecdir = @libexecdir@

and then configure outputs Makefile with substitutions:

  libexecdir = ${exec_prefix}/lib/${PACKAGE}

Why doesn't it output this?

  libexecdir = /usr/local/lib/foopackage

Is that because DISTDIR could be set at make install?  If that's the
only case then I can expand that at configure time and let configure
make my substitutions.  I just want to make sure there wasn't some
other reason.





-- 
Bill Moseley
address@hidden





reply via email to

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