X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=snmp%2Fautoconf%2Flustre-snmp.m4;h=2eef4a0f1eb50f37c738f675214c071210e409bf;hp=2ca0f46bada8ae6dc0f8cf2d9eac300ecdcc07fc;hb=5565877ee63e16bd3c6548db73466eeac9c4ca86;hpb=c6bc5eb7d073d5a7b7d0934d92bfd8eab15fc825 diff --git a/snmp/autoconf/lustre-snmp.m4 b/snmp/autoconf/lustre-snmp.m4 index 2ca0f46..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], [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,30 +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_CONDITIONALS -# -# AM_CONDITIONALs for lustre-snmp -# -AC_DEFUN([LS_CONDITIONALS], -[ -]) +]) # 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