fix typo.
[vuplus_openvuplus_3.0] / meta-openvuplus / recipes-enigma2 / python / python / fix_pthread_site.patch
1 --- configure.in.org    2008-05-01 12:40:58.000000000 +0200
2 +++ configure.in        2008-05-01 12:39:39.000000000 +0200
3 @@ -998,7 +999,7 @@
4  # so we need to run a program to see whether it really made the
5  # function available.
6  AC_MSG_CHECKING(whether $CC accepts -pthread)
7 -AC_CACHE_VAL(ac_cv_thread,
8 +AC_CACHE_VAL(ac_cv_pthread,
9  [ac_save_cc="$CC"
10  CC="$CC -pthread"
11  AC_TRY_RUN([
12 @@ -1023,11 +1024,11 @@
13  
14  # If we have set a CC compiler flag for thread support then
15  # check if it works for CXX, too.
16 -ac_cv_cxx_thread=no
17  if test ! -z "$CXX"
18  then
19  AC_MSG_CHECKING(whether $CXX also accepts flags for thread support)
20 -ac_save_cxx="$CXX"
21 +AC_CACHE_VAL(ac_cv_cxx_thread,
22 +[ac_save_cxx="$CXX"
23  
24  if test "$ac_cv_kpthread" = "yes"
25  then
26 @@ -1056,9 +1057,11 @@
27    fi
28    rm -fr conftest*
29  fi
30 +CXX="$ac_save_cxx"])
31  AC_MSG_RESULT($ac_cv_cxx_thread)
32 +else
33 +  ac_cv_cxx_thread=no
34  fi
35 -CXX="$ac_save_cxx"
36  
37  dnl # check for ANSI or K&R ("traditional") preprocessor
38  dnl AC_MSG_CHECKING(for C preprocessor type)