--- a/configure.in
+++ b/configure.in
@@ -91,7 +91,7 @@
 fi
 fi
 
-AM_CONDITIONAL(DICT, text "x$dict" = "xyes")
+AM_CONDITIONAL(DICT, test "x$dict" = "xyes")
 
 dnl Set PREFIX in config.h.
 if test "x${prefix}" = "xNONE"; then
