X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=snmp%2Fautoconf%2Flustre-snmp.m4;fp=snmp%2Fautoconf%2Flustre-snmp.m4;h=313b38a2fad7bbbbd8ca47455b9dec56d72e7f8f;hb=b9b81d8dd0aa4abcc754d050ec45a4e52868bb75;hp=713f395bfa6a8f9e3171822ef237d0a29f38e363;hpb=49f08bbf389ee202ac4ff2865e906e37dfbc2d4f;p=fs%2Flustre-release.git diff --git a/snmp/autoconf/lustre-snmp.m4 b/snmp/autoconf/lustre-snmp.m4 index 713f395..313b38a 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)