[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
AC_PATH_PROG: Using a variable for prog-to-check-for
From: |
Harlan Stenn |
Subject: |
AC_PATH_PROG: Using a variable for prog-to-check-for |
Date: |
Sat, 13 Sep 2008 02:51:14 +0000 |
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 <address@hidden>
http://ntpforum.isc.org - be a member!
- AC_PATH_PROG: Using a variable for prog-to-check-for,
Harlan Stenn <=