From e80f7f17671d8f18c1a7dcea07fe7c2da1317c61 Mon Sep 17 00:00:00 2001 From: Pavel Chupin Date: Wed, 10 Oct 2012 10:02:44 +0000 Subject: Fix missing gthr-default.h issue on separate libstdc++ configure Fix missing gthr-default.h issue on separate libstdc++ configure * libstdc++-v3/acinclude.m4: Define glibcxx_thread_h. * libstdc++-v3/include/Makefile.am: Use glibcxx_thread_h. * libstdc++-v3/Makefile.in: Regenerate. * libstdc++-v3/configure: Regenerate. * libstdc++-v3/doc/Makefile.in: Regenerate. * libstdc++-v3/include/Makefile.in: Regenerate. * libstdc++-v3/libsupc++/Makefile.in: Regenerate. * libstdc++-v3/po/Makefile.in: Regenerate. * libstdc++-v3/python/Makefile.in: Regenerate. * libstdc++-v3/src/Makefile.in: Regenerate. * libstdc++-v3/src/c++11/Makefile.in: Regenerate. * libstdc++-v3/src/c++98/Makefile.in: Regenerate. * libstdc++-v3/testsuite/Makefile.in: Regenerate. From-SVN: r192297 --- libstdc++-v3/configure | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) (limited to 'libstdc++-v3/configure') diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure index 6ff7148c708..e828643df03 100755 --- a/libstdc++-v3/configure +++ b/libstdc++-v3/configure @@ -708,6 +708,7 @@ BASIC_FILE_H CSTDIO_H SECTION_FLAGS WERROR +glibcxx_thread_h glibcxx_PCHFLAGS GLIBCXX_BUILD_PCH_FALSE GLIBCXX_BUILD_PCH_TRUE @@ -11512,7 +11513,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11515 "configure" +#line 11516 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11618,7 +11619,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11621 "configure" +#line 11622 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -15032,7 +15033,7 @@ fi # # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style. cat > conftest.$ac_ext << EOF -#line 15035 "configure" +#line 15036 "configure" struct S { ~S(); }; void bar(); void foo() @@ -15160,6 +15161,9 @@ $as_echo_n "checking for thread model used by GCC... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5 $as_echo "$target_thread_file" >&6; } + glibcxx_thread_h=gthr-$target_thread_file.h + + ac_ext=cpp @@ -15367,7 +15371,7 @@ $as_echo "$glibcxx_cv_atomic_long_long" >&6; } # Fake what AC_TRY_COMPILE does. cat > conftest.$ac_ext << EOF -#line 15370 "configure" +#line 15374 "configure" int main() { typedef bool atomic_type; @@ -15402,7 +15406,7 @@ $as_echo "$glibcxx_cv_atomic_bool" >&6; } rm -f conftest* cat > conftest.$ac_ext << EOF -#line 15405 "configure" +#line 15409 "configure" int main() { typedef short atomic_type; @@ -15437,7 +15441,7 @@ $as_echo "$glibcxx_cv_atomic_short" >&6; } rm -f conftest* cat > conftest.$ac_ext << EOF -#line 15440 "configure" +#line 15444 "configure" int main() { // NB: _Atomic_word not necessarily int. @@ -15473,7 +15477,7 @@ $as_echo "$glibcxx_cv_atomic_int" >&6; } rm -f conftest* cat > conftest.$ac_ext << EOF -#line 15476 "configure" +#line 15480 "configure" int main() { typedef long long atomic_type; @@ -15552,7 +15556,7 @@ $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a resu # unnecessary for this test. cat > conftest.$ac_ext << EOF -#line 15555 "configure" +#line 15559 "configure" int main() { _Decimal32 d1; @@ -15594,7 +15598,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu # unnecessary for this test. cat > conftest.$ac_ext << EOF -#line 15597 "configure" +#line 15601 "configure" template struct same { typedef T2 type; }; @@ -15628,7 +15632,7 @@ $as_echo "$enable_int128" >&6; } rm -f conftest* cat > conftest.$ac_ext << EOF -#line 15631 "configure" +#line 15635 "configure" template struct same { typedef T2 type; }; -- cgit v1.2.1