- Issue #3754: fix typo in pthread AC_CACHE_VAL.
diff --git a/configure.ac b/configure.ac
index 379db32..19cf1ae 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1283,7 +1283,7 @@
 # so we need to run a program to see whether it really made the
 # function available.
 AC_MSG_CHECKING(whether $CC accepts -pthread)
-AC_CACHE_VAL(ac_cv_thread,
+AC_CACHE_VAL(ac_cv_pthread,
 [ac_save_cc="$CC"
 CC="$CC -pthread"
 AC_RUN_IFELSE([AC_LANG_SOURCE([[