1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00

r26279: Don't compile any python stuff if python is not available.

This commit is contained in:
Jelmer Vernooij 2007-12-04 01:51:48 +01:00 committed by Stefan Metzmacher
parent ad64b3baa4
commit 2637a2fedb

View File

@ -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})) {