linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Andy Grover <agrover@redhat.com>
To: linux-lvm@redhat.com
Subject: [linux-lvm] [PATCH 5/6] python-lvm: configure.in changes
Date: Fri, 14 Sep 2012 10:54:43 -0700	[thread overview]
Message-ID: <1347645284-13738-6-git-send-email-agrover@redhat.com> (raw)
In-Reply-To: <1347645284-13738-1-git-send-email-agrover@redhat.com>

Add --enable-python-bindings configure option (should really depend some-
how on --enable-applib?)

Export PYTHON_BINDINGS variable

Parse liblvm/python/Makefile.in into Makefile

Signed-off-by: Andy Grover <agrover@redhat.com>
---
 configure.in |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/configure.in b/configure.in
index 1c908f9..a1b1807 100644
--- a/configure.in
+++ b/configure.in
@@ -1022,6 +1022,13 @@ test x$CMDLIB = xyes \
   || LVM2CMD_LIB=
 
 ################################################################################
+dnl -- Enable Python lvm.so
+AC_MSG_CHECKING(whether to build Python wrapper for liblvm2app.so)
+AC_ARG_ENABLE(python-bindings,
+	      AC_HELP_STRING([--enable-python-bindings], [build Python applib bindings]),
+	      PYTHON_BINDINGS=$enableval, PYTHON_BINDINGS=no)
+
+################################################################################
 dnl -- Enable pkg-config
 AC_ARG_ENABLE(pkgconfig,
 	      AC_HELP_STRING([--enable-pkgconfig], [install pkgconfig support]),
@@ -1518,6 +1525,7 @@ AC_SUBST(OCFDIR)
 AC_SUBST(PKGCONFIG)
 AC_SUBST(POOL)
 AC_SUBST(PTHREAD_LIBS)
+AC_SUBST(PYTHON_BINDINGS)
 AC_SUBST(QUORUM_CFLAGS)
 AC_SUBST(QUORUM_LIBS)
 AC_SUBST(RAID)
@@ -1598,6 +1606,7 @@ libdm/Makefile
 libdm/libdevmapper.pc
 liblvm/Makefile
 liblvm/liblvm2app.pc
+liblvm/python/Makefile
 man/Makefile
 po/Makefile
 scripts/clvmd_init_red_hat
-- 
1.7.1

  parent reply	other threads:[~2012-09-14 17:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-14 17:54 [linux-lvm] [PATCH 0/6] Integrate python-lvm into lvm2 Andy Grover
2012-09-14 17:54 ` [linux-lvm] [PATCH 1/6] python-lvm: initial checkin Andy Grover
2012-09-14 17:54 ` [linux-lvm] [PATCH 2/6] python-lvm: A start at a python-lvm test framework Andy Grover
2012-09-14 17:54 ` [linux-lvm] [PATCH 3/6] python-lvm: setup.py Andy Grover
2012-09-14 17:54 ` [linux-lvm] [PATCH 4/6] python-lvm: liblvm/python/Makefile.in Andy Grover
2012-09-14 17:54 ` Andy Grover [this message]
2012-09-14 17:54 ` [linux-lvm] [PATCH 6/6] python-lvm: Other Makefile.in changes Andy Grover

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1347645284-13738-6-git-send-email-agrover@redhat.com \
    --to=agrover@redhat.com \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).