diff --git a/configure b/configure
index 2b19d59..e4089d8 100755
--- a/configure
+++ b/configure
@@ -27455,7 +27455,7 @@
 if test "${with_wmf+set}" = set; then :
   withval=$with_wmf; with_wmf=$withval
 else
-  with_wmf=$with_modules
+  with_wmf='yes'
 fi
 
 
diff --git a/configure.ac b/configure.ac
index 804d765..8c2ea3c 100755
--- a/configure.ac
+++ b/configure.ac
@@ -2357,7 +2357,7 @@
     [AC_HELP_STRING([--without-wmf],
                     [disable WMF support])],
     [with_wmf=$withval],
-    [with_wmf=$with_modules])
+    [with_wmf='yes'])
 
 if test "$with_wmf" != 'yes'; then
     DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-wmf=$with_wmf "