diff options
author | paul <paul> | 2003-03-02 21:19:26 +0000 |
---|---|---|
committer | paul <paul> | 2003-03-02 21:19:26 +0000 |
commit | 569c0f0188168b79044cc8fcba4639585a3be661 (patch) | |
tree | 873bf6be6ca17ba3327ab76cf3cb4739792228b4 /configure | |
parent | 338a99166f59e474c522d2eb7417b0de57f598d2 (diff) |
Updated vtysh_cmd's. Previously, this was only updated in rpm builds.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -6639,11 +6639,25 @@ fi LIBS="${old_libs}" fi if test "${HAVE_SNMP}" = "yes"; then - for ac_snmp in /usr/include/ucd-snmp/asn1.h /usr/local/include/ucd-snmp/asn1.h /dev/null + for ac_snmp in /usr/include/net-snmp/library/asn1.h /usr/include/ucd-snmp/asn1.h /usr/local/include/ucd-snmp/asn1.h /dev/null do test -f "${ac_snmp}" && break done case ${ac_snmp} in + /usr/include/net-snmp/*) + +cat >>confdefs.h <<\_ACEOF +#define HAVE_SNMP +_ACEOF + + +cat >>confdefs.h <<\_ACEOF +#define UCD_COMPATIBLE +_ACEOF + + CFLAGS="${CFLAGS} -I/usr/include/ucd-snmp" + LIBS="${LIBS} -lsnmp" + ;; /usr/include/ucd-snmp/*) cat >>confdefs.h <<\_ACEOF |