From: Benjamin Gilbert Date: Thu, 29 May 2014 04:15:34 +0000 (-0400) Subject: configure.ac: Check for newest liblvm2app symbol needed by lvm X-Git-Tag: collectd-5.5.0~232^2~1 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5e2ed291e1e1b815e859acffcf81e9d2a5dc0cb6;p=collectd.git configure.ac: Check for newest liblvm2app symbol needed by lvm lvm_lv_get_property() was added in 2.02.75. --- diff --git a/configure.ac b/configure.ac index 9439a29a..5bf28725 100644 --- a/configure.ac +++ b/configure.ac @@ -2260,7 +2260,7 @@ then CPPFLAGS="$CPPFLAGS $with_liblvm2app_cppflags" LDFLAGS="$LDFLAGS $with_liblvm2app_ldflags" - AC_CHECK_LIB(lvm2app, lvm_init, [with_liblvm2app="yes"], [with_liblvm2app="no (Symbol 'lvm_init' not found)"]) + AC_CHECK_LIB(lvm2app, lvm_lv_get_property, [with_liblvm2app="yes"], [with_liblvm2app="no (Symbol 'lvm_lv_get_property' not found)"]) CPPFLAGS="$SAVE_CPPFLAGS" LDFLAGS="$SAVE_LDFLAGS"