1 diff --git a/configure.in b/configure.in
2 index d0c9f83..b565f95 100644
5 @@ -1303,7 +1303,7 @@ then
6 # so we need to run a program to see whether it really made the
8 AC_MSG_CHECKING(whether $CC accepts -pthread)
9 -AC_CACHE_VAL(ac_cv_thread,
10 +AC_CACHE_VAL(ac_cv_pthread,
13 AC_RUN_IFELSE([AC_LANG_SOURCE([[
14 @@ -1325,11 +1325,11 @@ fi
16 # If we have set a CC compiler flag for thread support then
17 # check if it works for CXX, too.
21 AC_MSG_CHECKING(whether $CXX also accepts flags for thread support)
23 +AC_CACHE_VAL(ac_cv_cxx_thread,
26 if test "$ac_cv_kpthread" = "yes"
28 @@ -1358,9 +1358,11 @@ then
33 AC_MSG_RESULT($ac_cv_cxx_thread)
39 dnl # check for ANSI or K&R ("traditional") preprocessor
40 dnl AC_MSG_CHECKING(for C preprocessor type)