From 59edf67862d31cd6ee25248d4492c2924201f54d Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Tue, 23 Oct 2012 23:02:33 +0000 Subject: PR bootstrap/54820 * configure.ac (have_static_libs): Force 'no' for GCC version < 4.5. * configure: Regenerate. --- configure | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'configure') diff --git a/configure b/configure index b2d28d52154..4d9fc2a4e0e 100755 --- a/configure +++ b/configure @@ -4892,6 +4892,10 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ + +#if (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5) +#error -static-libstdc++ not implemented +#endif int main() {} _ACEOF if ac_fn_cxx_try_link "$LINENO"; then : -- cgit v1.2.1