[libvirt] [PATCHv2 1/8] configure: Add explict --with-python option.
Daniel P. Berrange
berrange at redhat.com
Mon Oct 5 12:38:10 UTC 2009
On Fri, Oct 02, 2009 at 01:46:46PM -0400, Cole Robinson wrote:
> --with-python currently already works for enabling/disabling the python
> bindings, but doesn't show up in the help output.
>
> Signed-off-by: Cole Robinson <crobinso at redhat.com>
> ---
> configure.in | 6 +++++-
> 1 files changed, 5 insertions(+), 1 deletions(-)
>
> diff --git a/configure.in b/configure.in
> index cb5ce55..1d12237 100644
> --- a/configure.in
> +++ b/configure.in
> @@ -1316,6 +1316,9 @@ dnl
> dnl check for python
> dnl
>
> +AC_ARG_WITH([python],
> +[ --with-python Build python bindings (on)],[],[with_python=yes])
> +
> PYTHON_VERSION=
> PYTHON_INCLUDES=
> PYTHON_SITE_PACKAGES=
> @@ -1373,7 +1376,7 @@ if test "$with_python" != "no" ; then
> fi
> fi
> fi
> - if test "$with_python" != ""
> + if test "$with_python" != "yes"
> then
> pythondir='$(PYTHON_SITE_PACKAGES)'
> else
> @@ -1836,6 +1839,7 @@ AC_MSG_NOTICE([])
> AC_MSG_NOTICE([ Debug: $enable_debug])
> AC_MSG_NOTICE([ Warnings: $enable_compile_warnings])
> AC_MSG_NOTICE([ Readline: $lv_use_readline])
> +AC_MSG_NOTICE([ Python: $with_python])
> AC_MSG_NOTICE([])
> AC_MSG_NOTICE([Privileges])
> AC_MSG_NOTICE([])
ACK
Daniel
--
|: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|
More information about the libvir-list
mailing list