Re: Autoconf SNMP Library checks
A.L.M.Buxey@lboro.ac.uk wrote:
Hi,
Just wondering if theres any particular reason the configure script still checks for the ucd snmp libraries, is there some legacy code that will only work with ucd snmp functions? or can the snmp include test be updated to look for the net-snmp headers (in acinclude.m4) ?
probabyl related to the fact that FreeRADIUS uses the ucd-snmp method and only works with net-snmp if you have ucd-snmp compatability enabled?
Yep that would be it, Damn OSX for not including the ucd headers :\ Ok then possibly --- configure.in 2007-07-15 19:11:43.000000000 +0100 +++ configure.in.snmppath 2007-07-15 19:10:58.000000000 +0100 @@ -1,4 +1,3 @@ -dnl ############################################################# dnl # dnl # For information about autoconf, see: dnl # @@ -231,6 +230,10 @@ [ case "$withval" in yes) ;; + [[\\/$]]* | ?:[[\\/]]* ) + snmp_include_dir="$withval" + ;; + *) WITH_SNMP=no esac ] To allow for searching in non-standard locations might be nice. snmp_include_dir is already used in the snmp include checks, it's just not set anywhere ... Thanks.
Arran Cudbard-Bell wrote:
Yep that would be it, Damn OSX for not including the ucd headers :\
Ok then possibly ... snmp_include_dir is already used in the snmp include checks, it's just not set anywhere ...
Thanks, I've added --with-snmp-include-dir in 1.1.7 and in CVS head. Alan DeKok.
Alan DeKok wrote:
Arran Cudbard-Bell wrote:
Yep that would be it, Damn OSX for not including the ucd headers :\
Ok then possibly
...
snmp_include_dir is already used in the snmp include checks, it's just not set anywhere ...
Thanks, I've added --with-snmp-include-dir in 1.1.7 and in CVS head.
Alan DeKok.
that would be AC_ARG_WITH(snmp_include_dir, not AC_ARG_WITH(snmp-include-dir, Thanks :)
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html
Arran Cudbard-Bell wrote:
Alan DeKok wrote:
Arran Cudbard-Bell wrote:
Yep that would be it, Damn OSX for not including the ucd headers :\
Ok then possibly
...
snmp_include_dir is already used in the snmp include checks, it's just not set anywhere ...
Thanks, I've added --with-snmp-include-dir in 1.1.7 and in CVS head.
Alan DeKok.
that would be
AC_ARG_WITH(snmp_include_dir,
not
AC_ARG_WITH(snmp-include-dir,
Thanks :)
Wait ignore me..
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html
participants (2)
-
Alan DeKok -
Arran Cudbard-Bell