diff options
Diffstat (limited to 'libstdc++-v3/configure')
-rwxr-xr-x | libstdc++-v3/configure | 36 |
1 files changed, 26 insertions, 10 deletions
diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure index a317514cb2d..42bc86b1b1e 100755 --- a/libstdc++-v3/configure +++ b/libstdc++-v3/configure @@ -707,6 +707,7 @@ BASIC_FILE_H CSTDIO_H SECTION_FLAGS WERROR +thread_header glibcxx_PCHFLAGS GLIBCXX_BUILD_PCH_FALSE GLIBCXX_BUILD_PCH_TRUE @@ -11515,7 +11516,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11518 "configure" +#line 11519 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11621,7 +11622,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11624 "configure" +#line 11625 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -15011,7 +15012,7 @@ fi # # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style. cat > conftest.$ac_ext << EOF -#line 15014 "configure" +#line 15015 "configure" struct S { ~S(); }; void bar(); void foo() @@ -15139,6 +15140,21 @@ $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; } +case $target_thread_file in + aix) thread_header=config/rs6000/gthr-aix.h ;; + dce) thread_header=config/pa/gthr-dce.h ;; + lynx) thread_header=config/gthr-lynx.h ;; + mipssde) thread_header=config/mips/gthr-mipssde.h ;; + posix) thread_header=gthr-posix.h ;; + rtems) thread_header=config/gthr-rtems.h ;; + single) thread_header=gthr-single.h ;; + tpf) thread_header=config/s390/gthr-tpf.h ;; + vxworks) thread_header=config/gthr-vxworks.h ;; + win32) thread_header=config/i386/gthr-win32.h ;; +esac + + + ac_ext=cpp @@ -15346,7 +15362,7 @@ $as_echo "$glibcxx_cv_atomic_long_long" >&6; } # Fake what AC_TRY_COMPILE does. cat > conftest.$ac_ext << EOF -#line 15349 "configure" +#line 15365 "configure" int main() { typedef bool atomic_type; @@ -15381,7 +15397,7 @@ $as_echo "$glibcxx_cv_atomic_bool" >&6; } rm -f conftest* cat > conftest.$ac_ext << EOF -#line 15384 "configure" +#line 15400 "configure" int main() { typedef short atomic_type; @@ -15416,7 +15432,7 @@ $as_echo "$glibcxx_cv_atomic_short" >&6; } rm -f conftest* cat > conftest.$ac_ext << EOF -#line 15419 "configure" +#line 15435 "configure" int main() { // NB: _Atomic_word not necessarily int. @@ -15452,7 +15468,7 @@ $as_echo "$glibcxx_cv_atomic_int" >&6; } rm -f conftest* cat > conftest.$ac_ext << EOF -#line 15455 "configure" +#line 15471 "configure" int main() { typedef long long atomic_type; @@ -15531,7 +15547,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 15534 "configure" +#line 15550 "configure" int main() { _Decimal32 d1; @@ -15573,7 +15589,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu # unnecessary for this test. cat > conftest.$ac_ext << EOF -#line 15576 "configure" +#line 15592 "configure" template<typename T1, typename T2> struct same { typedef T2 type; }; @@ -15607,7 +15623,7 @@ $as_echo "$enable_int128" >&6; } rm -f conftest* cat > conftest.$ac_ext << EOF -#line 15610 "configure" +#line 15626 "configure" template<typename T1, typename T2> struct same { typedef T2 type; }; |