Guest User

Untitled

a guest
Jul 15th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.64 KB | None | 0 0
  1. --- configure.in
  2. +++ configure.in
  3. @@ -3337,6 +3337,7 @@
  4. dependency_warning="no"
  5. dependency_error="no"
  6.  
  7. +plugin_vmware="yes"
  8. plugin_ascent="no"
  9. plugin_battery="no"
  10. plugin_bind="no"
  11. @@ -3601,6 +3602,7 @@
  12. AC_PLUGIN([apache], [$with_libcurl], [Apache httpd statistics])
  13. AC_PLUGIN([apcups], [yes], [Statistics of UPSes by APC])
  14. AC_PLUGIN([apple_sensors], [$with_libiokit], [Apple's hardware sensors])
  15. +AC_PLUGIN([vmware], [$plugin_vmware], [Vmware Guest Plugin])
  16. AC_PLUGIN([ascent], [$plugin_ascent], [AscentEmu player statistics])
  17. AC_PLUGIN([battery], [$plugin_battery], [Battery statistics])
  18. AC_PLUGIN([bind], [$plugin_bind], [ISC Bind nameserver statistics])
  19. @@ -3892,6 +3894,7 @@
  20. apache . . . . . . . $enable_apache
  21. apcups . . . . . . . $enable_apcups
  22. apple_sensors . . . . $enable_apple_sensors
  23. + vmware . . . . . . . $enable_vmware
  24. ascent . . . . . . . $enable_ascent
  25. battery . . . . . . . $enable_battery
  26. bind . . . . . . . . $enable_bind
  27. --- src/Makefile.am
  28. +++ src/Makefile.am
  29. @@ -142,6 +142,17 @@
  30. collectd_DEPENDENCIES += ascent.la
  31. endif
  32.  
  33. +if BUILD_PLUGIN_VMWARE
  34. +pkglib_LTLIBRARIES += vmware.la
  35. +vmware_la_SOURCES = vmware.c
  36. +vmware_la_LDFLAGS = -module -avoid-version
  37. +vmware_la_CFLAGS = $(AM_CFLAGS) \
  38. + $(BUILD_WITH_LIBCURL_CFLAGS) $(BUILD_WITH_LIBXML2_CFLAGS) -I/usr/lib/vmware-tools/GuestSDK
  39. +vmware_la_LIBADD = $(BUILD_WITH_LIBCURL_LIBS) $(BUILD_WITH_LIBXML2_LIBS)
  40. +collectd_LDADD += "-dlopen" vmware.la
  41. +collectd_DEPENDENCIES += vmware.la
  42. +endif
  43. +
  44. if BUILD_PLUGIN_BATTERY
  45. pkglib_LTLIBRARIES += battery.la
  46. battery_la_SOURCES = battery.c
Add Comment
Please, Sign In to add comment