From 946c2a6b57ac7d3b2b656ac628bcb14a216ec635 Mon Sep 17 00:00:00 2001 From: Andrew Hsieh Date: Mon, 24 Dec 2012 19:53:10 +0800 Subject: Enable _GLIBCXX_HAS_GTHREADS in GCC 4.7 Fix a test in libstdc++/confiugre to include $glibcxx_thread_h instead of gthr.h otherwise it will fail to detect gthread lib because the new gthr.h only include gthr-default.h which doesn't exist in source directory See issue http://code.google.com/p/android/issues/detail?id=41770 Change-Id: I736b7ba2b472a26f9e43097bb88fb68325114a7d --- gcc-4.7/libstdc++-v3/configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc-4.7/libstdc++-v3') diff --git a/gcc-4.7/libstdc++-v3/configure b/gcc-4.7/libstdc++-v3/configure index 092bc4a60..aea3acc33 100755 --- a/gcc-4.7/libstdc++-v3/configure +++ b/gcc-4.7/libstdc++-v3/configure @@ -65608,7 +65608,7 @@ $as_echo_n "checking for gthreads library... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include "gthr.h" +#include "$glibcxx_thread_h" int main () { -- cgit v1.2.3