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

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

 



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_NET_SNMP_CONFIG])

and that doesn't work (with autoconf 2.59).

I'll keep digging, and if anybody has a suggestion I'd love to hear it.
-- 
Harlan Stenn <stenn@xxxxxxx>
http://ntpforum.isc.org  - be a member!


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux