X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=snmp%2Fautoconf%2Flustre-snmp.m4;h=2eef4a0f1eb50f37c738f675214c071210e409bf;hp=713f395bfa6a8f9e3171822ef237d0a29f38e363;hb=5565877ee63e16bd3c6548db73466eeac9c4ca86;hpb=35c9c737291034b9e58dfd8a00018b1ea589fddd diff --git a/snmp/autoconf/lustre-snmp.m4 b/snmp/autoconf/lustre-snmp.m4 index 713f395..2eef4a0 100644 --- a/snmp/autoconf/lustre-snmp.m4 +++ b/snmp/autoconf/lustre-snmp.m4 @@ -3,16 +3,16 @@ # # configure bits for lustre-snmp # -AC_DEFUN([LS_CONFIGURE], -[AC_MSG_CHECKING([whether to try to build SNMP support]) +AC_DEFUN([LS_CONFIGURE], [ +AC_MSG_CHECKING([whether to try to build SNMP support]) AC_ARG_ENABLE([snmp], AC_HELP_STRING([--enable-snmp], - [require SNMP support (default=auto)]), - [],[enable_snmp='auto']) + [require SNMP support (default=auto)]), + [], [enable_snmp="auto"]) 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,21 +50,20 @@ 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) AC_SUBST(mibdir) -]) +]) # LS_CONFIGURE # # LS_CONFIG_FILE # # files that should be generated with AC_OUTPUT # -AC_DEFUN([LS_CONFIG_FILES], -[AC_CONFIG_FILES([ +AC_DEFUN([LS_CONFIG_FILES], [ +AC_CONFIG_FILES([ snmp/Makefile snmp/autoconf/Makefile ]) -]) +]) # LS_CONFIG_FILES