[Top][All Lists]

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

Re: Using $bindir in

From: Ralf Corsepius
Subject: Re: Using $bindir in
Date: Thu, 06 Jan 2005 15:09:07 +0100

On Thu, 2005-01-06 at 14:30 +0100, Magnus Therning wrote:
> Is there some way I can use $bindir in AC_PATH_PROGRAM?
> I tried with:
>  AC_PROGRAM([MY_PROGR], [mypr], [no], [$bindir:$PATH])
> but it doesn't seem to work. $bindir is expanded to ${exec_prefix}/bin,
> on top of that it seems $exec_prefix still is NONE (i.e. a double
> expansion, if I could even trigger it, wouldn't suffice) since I only
> use --prefix on the command line. Any suggestions?
You seem to be misinterpreting the meaning of bindir.

bindir is the directory a program is going to be installed, not a the
directory to look for programs during configuration. I.e. there is no
relationship between bindir and $PATH.

So, the work-around is to extend $PATH before invoking configure.


reply via email to

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