Permalink
Browse files

Currently this code has only conpiles with OpenIPMI 2.X

CVS patchset: 7274
CVS date: 2005/08/10 08:57:44

--HG--
extra : convert_revision : f234376cb0199f928f3a04c083e5dacf27ece560
  • Loading branch information...
horms
horms committed Aug 10, 2005
1 parent 0ee4ca9 commit 4b84bdd77a18b4250784c48345be6a81c529b95d
Showing with 9 additions and 3 deletions.
  1. +9 −3 configure.in
View
@@ -10,7 +10,7 @@ dnl Initialiase, with sanity check of a unique file in the hierarchy
AC_INIT(heartbeat.spec.in)
AC_CONFIG_AUX_DIR(.)
AC_REVISION($Revision: 1.418 $) dnl cvs revision
AC_REVISION($Revision: 1.419 $) dnl cvs revision
AC_CANONICAL_HOST
@@ -810,8 +810,15 @@ AC_CHECK_HEADERS(ucd-snmp/snmp.h,[],[],[#include <sys/types.h>
#include <ucd-snmp/asn1.h>])
AC_CHECK_HEADERS(net-snmp/net-snmp-config.h)
AC_CHECK_HEADERS(curl/curl.h)
AC_CHECK_HEADERS(OpenIPMI/ipmi_auth.h)
AC_MSG_CHECKING(For libOpenIPMI version 2 or greater)
AC_TRY_COMPILE([#include <OpenIPMI/ipmiif.h>],
[ #if (OPENIPMI_VERSION_MAJOR < 2 )
#error "Too Old"
#endif ],
AC_MSG_RESULT("yes")
AM_CONDITIONAL(USE_OPENIPMI, true),
AC_MSG_RESULT("no"))
AC_MSG_CHECKING(for special libxml2 includes)
if test "x$XML2CONFIG" = "x"; then
@@ -837,7 +844,6 @@ dnl
AM_CONDITIONAL(USE_VACM, test "$ac_cv_header_vacmclient_api_h" = yes)
AM_CONDITIONAL(USE_APC_SNMP, test "$ac_cv_header_ucd_snmp_snmp_h" = yes -o "$ac_cv_header_net_snmp_net_snmp_config_h" = yes)
AM_CONDITIONAL(USE_DRAC3, test "$ac_cv_header_curl_curl_h" = yes -a "$ac_cv_header_libxml_xpath_h" = yes -a "$ac_cv_header_openssl_md5_h" = yes)
AM_CONDITIONAL(USE_OPENIPMI, test "$ac_cv_header_OpenIPMI_ipmi_auth_h" = yes)
AC_ARG_ENABLE([snmp-subagent],
[ --enable-snmp-subagent Enable SNMP subagent],

0 comments on commit 4b84bdd

Please sign in to comment.