diff --git a/configure.ac b/configure.ac
index 84f8699..dce9033 100644
--- a/configure.ac
+++ b/configure.ac
@@ -192,9 +192,9 @@ if test "x$enable_doc" = "xyes" -o "x$enable_doc" = "xauto"; then
 	AC_SUBST(db2xman)
 fi
 AM_CONDITIONAL([ENABLE_DOCBOOK], [test "x$db2xman" != "x"])
-AM_CONDITIONAL([USE_DOCBOOK2X], [test "x$db2xman" != "xdocbook2man"])
+AM_CONDITIONAL([USE_DOCBOOK2X], [test "x$db2xman" != "no-no-no"])
 
-if test "x$db2xman" = "xdocbook2man"; then
+if test "x$db2xman" = "no-no-no"; then
 	docdtd="\"-//Davenport//DTD DocBook V3.0//EN\""
 else
 	docdtd="\"-//OASIS//DTD DocBook XML\" \"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd\""
