[lxc-devel] [PATCH] configure: Disable python3 builds with clang
Serge Hallyn
serge.hallyn at ubuntu.com
Mon Dec 23 22:05:49 UTC 2013
Quoting Stéphane Graber (stgraber at ubuntu.com):
> Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>
> ---
> configure.ac | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/configure.ac b/configure.ac
> index 2818d79..26b4032 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -217,6 +217,13 @@ AC_ARG_ENABLE([python],
>
> if test "x$enable_python" = "xauto"; then
> PKG_CHECK_MODULES([PYTHONDEV], [python3 >= 3.2],[enable_python=yes],[enable_python=no])
> + if test "$CC" = "clang"; then
> + enable_python=no
> + fi
> +fi
> +
> +if test "x$enable_python" = "xyes" && test "$CC" = "clang"; then
> + AC_MSG_ERROR([Python3 is incompatible with the clang compiler])
> fi
>
> AM_CONDITIONAL([ENABLE_PYTHON], [test "x$enable_python" = "xyes"])
> --
> 1.8.5.2
>
> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel
More information about the lxc-devel
mailing list