master - liblvm: Add deprecation warning to configure
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=8493df8eddc5a05a2af9a9c4d8e11192f07ec79a Commit: 8493df8eddc5a05a2af9a9c4d8e11192f07ec79a Parent: 4cbacf6bac47227ec3460da1619ab29557f2c89b Author: Marian Csontos <[email protected]> AuthorDate: Wed Sep 20 10:00:59 2017 +0200 Committer: Marian Csontos <[email protected]> CommitterDate: Wed Sep 20 13:07:06 2017 +0200
liblvm: Add deprecation warning to configure
--- configure.in | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
configure.in +3 -0
@@ -1464,6 +1464,8 @@ AC_SUBST([LVM2APP_LIB]) test "$APPLIB" = yes \ && LVM2APP_LIB=-llvm2app \ || LVM2APP_LIB= +AS_IF([test "$APPLIB"], + [AC_MSG_WARN([Python bindings are deprecated. Use D-Bus API])]) ################################################################################ dnl -- Enable cmdlib
@@ -1546,6 +1548,7 @@ if test "$BUILD_LVMDBUSD" = yes; then fi if test "$PYTHON_BINDINGS" = yes -o "$PYTHON2_BINDINGS" = yes -o "$PYTHON3_BINDINGS" = yes; then + AC_MSG_WARN([Python bindings are deprecated. Use D-Bus API]) test "$APPLIB" != yes && AC_MSG_ERROR([Python_bindings require --enable-applib]) fi