[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using $bindir in configure.ac
From: |
Ralf Corsepius |
Subject: |
Re: Using $bindir in configure.ac |
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.
Ralf
- Using $bindir in configure.ac, Magnus Therning, 2005/01/06
- Re: Using $bindir in configure.ac, Magnus Therning, 2005/01/07
- Re: Using $bindir in configure.ac, Bob Friesenhahn, 2005/01/07
- Re: Using $bindir in configure.ac, Magnus Therning, 2005/01/08
- Re: Using $bindir in configure.ac, Stepan Kasal, 2005/01/10
- Re: Using $bindir in configure.ac, Stepan Kasal, 2005/01/10
- Re: Using $bindir in configure.ac, Andreas Schwab, 2005/01/10
- Re: Using $bindir in configure.ac, Stepan Kasal, 2005/01/10
- Re: Using $bindir in configure.ac, Andreas Schwab, 2005/01/10
- Re: Using $bindir in configure.ac, Stepan Kasal, 2005/01/11