enable_hosted_libstdcxx=no
;;
*)
- enable_hosted_libstdcxx=yes
+ case "${with_newlib}-${with_headers}" in
+ no-no) enable_hosted_libstdcxx=no ;;
+ *) enable_hosted_libstdcxx=yes ;;
+ esac
;;
esac])
enable_hosted_libstdcxx=no
;;
*)
- enable_hosted_libstdcxx=yes
+ case "${with_newlib}-${with_headers}" in
+ no-no) enable_hosted_libstdcxx=no ;;
+ *) enable_hosted_libstdcxx=yes ;;
+ esac
;;
esac
fi
# Fake what AC_TRY_COMPILE does.
cat > conftest.$ac_ext << EOF
-#line 16066 "configure"
+#line 16069 "configure"
int main()
{
typedef bool atomic_type;
rm -f conftest*
cat > conftest.$ac_ext << EOF
-#line 16101 "configure"
+#line 16104 "configure"
int main()
{
typedef short atomic_type;
rm -f conftest*
cat > conftest.$ac_ext << EOF
-#line 16136 "configure"
+#line 16139 "configure"
int main()
{
// NB: _Atomic_word not necessarily int.
rm -f conftest*
cat > conftest.$ac_ext << EOF
-#line 16172 "configure"
+#line 16175 "configure"
int main()
{
typedef long long atomic_type;
# unnecessary for this test.
cat > conftest.$ac_ext << EOF
-#line 16328 "configure"
+#line 16331 "configure"
int main()
{
_Decimal32 d1;
# unnecessary for this test.
cat > conftest.$ac_ext << EOF
-#line 16370 "configure"
+#line 16373 "configure"
template<typename T1, typename T2>
struct same
{ typedef T2 type; };