diff --git a/configure.in b/configure.in
index 385594f9759b0f6de70d69d985667c1f633f8e5b..87572894bb96384cb3031f22bf715dea7d9c63d4 100644
--- a/configure.in
+++ b/configure.in
@@ -319,7 +319,7 @@ ZARITH=$($OCAMLFIND query zarith -format %v)
 if test -z "$ZARITH" ; then
   AC_MSG_ERROR(Cannot find zarith via ocamlfind.)
 else
-  AC_MSG_RESULT(found)
+  AC_MSG_RESULT(found $ZARITH)
 fi
 
 # yojson
@@ -331,6 +331,8 @@ YOJSON=$($OCAMLFIND query yojson -format %v)
 if test -z "$YOJSON" ; then
   AC_MSG_ERROR(Cannot find yojson via ocamlfind \
 (requires yojson 1.4.1 or higher).)
+else
+  AC_MSG_RESULT(found $YOJSON)
 fi
 
 #################################################