From 913bc1d86632acdd4ec3cf2ff23a75229f3e20a0 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 4 Dec 2007 01:51:48 +0100 Subject: r26279: Don't compile any python stuff if python is not available. (This used to be commit 2637a2fedb3c43a1dff713b6f76e91de4a085acd) --- source4/build/smb_build/input.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source4') diff --git a/source4/build/smb_build/input.pm b/source4/build/smb_build/input.pm index c8df840acc..57e2234c02 100644 --- a/source4/build/smb_build/input.pm +++ b/source4/build/smb_build/input.pm @@ -150,6 +150,8 @@ sub check_python($$) { my ($INPUT, $python) = @_; + return if ($INPUT->{LIBPYTHON}{ENABLE} ne "YES"); + $python->{INSTALLDIR} = "PYTHONDIR"; push (@{$python->{PUBLIC_DEPENDENCIES}}, "LIBPYTHON"); if (defined($python->{SWIG_FILE})) { -- cgit