diff --git a/configure.ac b/configure.ac
index 71ac89fab3f..ed0561b5d47 100644
--- a/configure.ac
+++ b/configure.ac
@@ -718,7 +718,7 @@ yippeeyeswehaveit
 #endif
 ]),
 	[ac_cv_c_excellent_regex=yes],
-	[ac_cv_c_excellent_regex=yes])
+	[ac_cv_c_excellent_regex=no])
 ])
 if test $ac_cv_c_excellent_regex = yes; then
 	NO_REGEX=