X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=snmp%2Fautoconf%2Flustre-snmp.m4;h=f34a2d559a22cfd0cbceff417c6e9f592bca549d;hb=a069bfa996c746f5106efc3d28dd9477ba8d6eab;hp=713f395bfa6a8f9e3171822ef237d0a29f38e363;hpb=35c9c737291034b9e58dfd8a00018b1ea589fddd;p=fs%2Flustre-release.git diff --git a/snmp/autoconf/lustre-snmp.m4 b/snmp/autoconf/lustre-snmp.m4 index 713f395..f34a2d5 100644 --- a/snmp/autoconf/lustre-snmp.m4 +++ b/snmp/autoconf/lustre-snmp.m4 @@ -12,7 +12,7 @@ AC_ARG_ENABLE([snmp], AC_MSG_RESULT([$enable_snmp]) if test x$enable_snmp != xno ; then - AC_CHECK_PROG([NET_SNMP_CONFIG], [net-snmp-config]) + AC_CHECK_PROG([NET_SNMP_CONFIG], [net-snmp-config], [net-snmp-config]) if test "$NET_SNMP_CONFIG" ; then NET_SNMP_CFLAGS=$($NET_SNMP_CONFIG --base-cflags) NET_SNMP_LIBS=$($NET_SNMP_CONFIG --agent-libs) @@ -50,7 +50,6 @@ fi agentdir='${pkglibdir}/snmp' mibdir='${pkgdatadir}/snmp/mibs' -AC_SUBST(SNMP_SUBDIR) AC_SUBST(NET_SNMP_CFLAGS) AC_SUBST(NET_SNMP_LIBS) AC_SUBST(agentdir)