Code

configure.ac: Check for newest liblvm2app symbol needed by lvm
authorBenjamin Gilbert <bgilbert@cs.cmu.edu>
Thu, 29 May 2014 04:15:34 +0000 (00:15 -0400)
committerBenjamin Gilbert <bgilbert@cs.cmu.edu>
Thu, 29 May 2014 04:15:34 +0000 (00:15 -0400)
lvm_lv_get_property() was added in 2.02.75.

configure.ac

index 9439a29a5e6bfec47a6b4722a3de257bcbe46fc6..5bf2872578292073f0703f78b6ef8d0bd07e33cf 100644 (file)
@@ -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"