da2ef9
diff -up openchange-2.1-QUADRANT/configure.ac.OC_RULE_ADD-fix openchange-2.1-QUADRANT/configure.ac
da2ef9
--- openchange-2.1-QUADRANT/configure.ac.OC_RULE_ADD-fix	2014-04-28 11:41:13.075975644 +0200
da2ef9
+++ openchange-2.1-QUADRANT/configure.ac	2014-04-28 11:56:50.991936546 +0200
da2ef9
@@ -639,7 +639,7 @@ dnl ####################################
da2ef9
 dnl mapiproxy server
da2ef9
 dnl ##########################################################################
da2ef9
 if test x$PYTHON != x; then
da2ef9
-	if test "x$SAMBASERVER_LIBS" != x ; then
da2ef9
+	if test "x$SAMDB_LIBS" != x -a "x$SAMBASERVER_LIBS" != x ; then
da2ef9
 		mapiproxy=1
da2ef9
 	fi
da2ef9
 fi