svn commit: samba r15300 - in branches/SAMBA_4_0/source: lib/ldb lib/tdb scripting/swig

jelmer at samba.org jelmer at samba.org
Thu Apr 27 20:55:32 GMT 2006


Author: jelmer
Date: 2006-04-27 20:55:26 +0000 (Thu, 27 Apr 2006)
New Revision: 15300

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=15300

Log:
Only enable SWIG shared libs if python is available

Modified:
   branches/SAMBA_4_0/source/lib/ldb/config.m4
   branches/SAMBA_4_0/source/lib/tdb/config.m4
   branches/SAMBA_4_0/source/scripting/swig/config.m4


Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/config.m4
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/config.m4	2006-04-27 20:52:04 UTC (rev 15299)
+++ branches/SAMBA_4_0/source/lib/ldb/config.m4	2006-04-27 20:55:26 UTC (rev 15300)
@@ -27,6 +27,7 @@
 	AC_MSG_RESULT([${withval-python}])
 else
 	AC_MSG_RESULT(no)
+	SMB_ENABLE(swig_ldb, NO)
 fi
 
 AC_SUBST(PYTHON)

Modified: branches/SAMBA_4_0/source/lib/tdb/config.m4
===================================================================
--- branches/SAMBA_4_0/source/lib/tdb/config.m4	2006-04-27 20:52:04 UTC (rev 15299)
+++ branches/SAMBA_4_0/source/lib/tdb/config.m4	2006-04-27 20:55:26 UTC (rev 15300)
@@ -30,6 +30,7 @@
 if test x"$PYTHON" != "x"; then
 	AC_MSG_RESULT([${withval-python}])
 else
+	SMB_ENABLE(swig_tdb, NO)
 	AC_MSG_RESULT(no)
 fi
 

Modified: branches/SAMBA_4_0/source/scripting/swig/config.m4
===================================================================
--- branches/SAMBA_4_0/source/scripting/swig/config.m4	2006-04-27 20:52:04 UTC (rev 15299)
+++ branches/SAMBA_4_0/source/scripting/swig/config.m4	2006-04-27 20:55:26 UTC (rev 15300)
@@ -21,6 +21,8 @@
 if test x"$PYTHON" != "x"; then
 	incdir=`python -c 'import sys; print "%s/include/python%d.%d" % (sys.prefix, sys.version_info[[0]], sys.version_info[[1]])'`
 	CPPFLAGS="$CPPFLAGS -I $incdir"
+else
+	SMB_ENABLE(swig_dcerpc, NO)
 fi
 
 AC_SUBST(PYTHON)



More information about the samba-cvs mailing list