summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 57d77b8..42836e7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -582,7 +582,7 @@ AC_ARG_ENABLE(monodoc,
esac],
[HAVE_MONODOC=yes])
-if test "x$HAVE_MONODOC" = "xyes" ; then
+if test "x$HAVE_MONO" = "xyes" && test "x$HAVE_MONODOC" = "xyes" ; then
PKG_CHECK_MODULES(MONODOC, [monodoc >= 1.1.8])
MONODOC_DIR=`$PKG_CONFIG --variable=sourcesdir monodoc`