r15300: Only enable SWIG shared libs if python is available
[bbaumbach/samba-autobuild/.git] / source4 / lib / ldb / config.m4
index c8603b079fac8fc426296f32c3e52c4a84e2bd72..845563b4a185e70aa37ddd8f4f6e112e5c3eb417 100644 (file)
@@ -27,6 +27,7 @@ if test x"$PYTHON" != "x"; then
        AC_MSG_RESULT([${withval-python}])
 else
        AC_MSG_RESULT(no)
+       SMB_ENABLE(swig_ldb, NO)
 fi
 
 AC_SUBST(PYTHON)