Re: AC_PATH_PROG: Using a variable for prog-to-check-for

2008-09-13 Thread Harlan Stenn
Hi Ralf, Ralf wrote: > Hi Harlan, > > * Harlan Stenn wrote on Sat, Sep 13, 2008 at 05:23:41AM CEST: > > I wrote: > > > > > > PATH_NET_SNMP_CONFIG=whatever > > > AC_PATH_PROG([PATH_NET_SNMP_CONFIG], [$PATH_NET_SNMP_CONFIG]) > > > > > > and that doesn't work (with autoconf 2.59). > > What does

Re: AC_PATH_PROG: Using a variable for prog-to-check-for

2008-09-12 Thread Ralf Wildenhues
Hi Harlan, * Harlan Stenn wrote on Sat, Sep 13, 2008 at 05:23:41AM CEST: > I wrote: > > > > PATH_NET_SNMP_CONFIG=whatever > > AC_PATH_PROG([PATH_NET_SNMP_CONFIG], [$PATH_NET_SNMP_CONFIG]) > > > > and that doesn't work (with autoconf 2.59). What doesn't work with it? It seems to work fine in

Re: AC_PATH_PROG: Using a variable for prog-to-check-for

2008-09-12 Thread Harlan Stenn
I wrote: > So what's the secret to using a (shell) variable for the 2nd arg in > AC_PATH_PROG? I want the user to be able to override the default name, > as it may be suffixed by -32 or -64... > > I've tried using: > > PATH_NET_SNMP_CONFIG=whatever > AC_PATH_PROG([PATH_NET_SNMP_CONFIG], [$PATH