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 _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf