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