aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/configure
AgeCommit message (Collapse)AuthorFilesLines
2005-10-13re PR libstdc++/23926 (libstdc++-v3 configure failed)Richard Earnshaw1-2/+2
PR libstdc++/23926 * acinclude.m4 (port_specific_symbol_files): More symbol versioning fixes. * configure: Regenerate. From-SVN: r105371
2005-10-11re PR libstdc++/23926 (libstdc++-v3 configure failed)Andrew Pinski1-1/+1
2005-10-11 Andrew Pinski <pinskia@physics.uc.edu> PR libstdc++/23926 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Fix typo in check for GNU LD. * configure: Regenerate. From-SVN: r105285
2005-10-11re PR libstdc++/13583 (__use_cache not threadsafe)Ian Lance Taylor1-1/+1
PR libstdc++/13583 * include/bits/locale_classes.h (locale::_Impl::_M_install_cache): Move out of line. * src/locale.cc: Define here, add mutex. * configure.ac (libtool_VERSION): To 6:7:0. * configure: Regenerate. * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.7. * config/linker-map.gnu: Export locale::_Impl::_M_install_cache. From-SVN: r105221
2005-08-03configure.ac: Don't use GCC_NO_EXECUTABLES or clear GLIBCXX_IS_NATIVE on ↵Geoffrey Keating1-14/+29
Darwin crosses. * configure.ac: Don't use GCC_NO_EXECUTABLES or clear GLIBCXX_IS_NATIVE on Darwin crosses. * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Don't skip configuring the testsuite just because there's no symbol versioning. * configure: Regenerate. From-SVN: r102718
2005-08-03acinclude.m4 (GLIBCXX_CHECK_SETRLIMIT_ancilliary): Print status messages.Geoffrey Keating1-0/+100
* acinclude.m4 (GLIBCXX_CHECK_SETRLIMIT_ancilliary): Print status messages. (GLIBCXX_CHECK_S_ISREG_OR_S_IFREG): Likewise. (GLIBCXX_CHECK_POLL): Likewise. (GLIBCXX_CHECK_WRITEV): Likewise. (GLIBCXX_CHECK_INT64_T): Likewise. (GLIBCXX_CHECK_LFS): Likewise. * configure: Regenerate. From-SVN: r102710
2005-07-27Index: gcc/ChangeLogGeoffrey Keating1-54/+91
2005-07-25 Geoffrey Keating <geoffk@apple.com> * doc/install.texi (Prerequisites): Mention that perl is needed to do export control in libstdc++ targetting Darwin. Index: libstdc++-v3/ChangeLog 2005-07-25 Geoffrey Keating <geoffk@apple.com> * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Handle darwin-export, and make it the default for Darwin. * scripts/make-exports.pl: New. * src/Makefile.am: Update for changes to GLIBCXX_ENABLE_SYMVERS. Handle darwin-export. * configure: Regenerate. * include/Makefile.in: Regenerate. * libmath/Makefile.in: Regenerate. * libsupc++/Makefile.in: Regenerate. * po/Makefile.in: Regenerate. * src/Makefile.in: Regenerate. * testsuite/Makefile.in: Regenerate. From-SVN: r102435
2005-06-28Makefile.in: Set and use UNWIND_H.Paul Brook1-0/+2
2005-06-28 Paul Brook <paul@codesourcery.com> gcc/ * Makefile.in: Set and use UNWIND_H. Install as unwind.h. * c-decl.c (finish_decl): Call default_init_unwind_resume_libfunc. * except.c (add_ehspec_entry): Generate arm eabi filter lists. (assign_filter_values): Ditto. (output_ttype): New function. (output_function_exception_table): Use output_ttype. Generate arm eabi filter lists. (default_init_unwind_resume_libfunc): New function. * except.h (default_init_unwind_resume_libfunc): Add prototype. * optabs.c (init_optabs): Don't set unwind_resume_libfunc. * opts.c (decode_options): Use targetm.unwind_tables_default. * target-def.h (TARGET_ASM_TTYPE): Provide and use definition. (TARGET_ARM_EABI_UNWINDER, TARGET_UNWIND_TABLES_DEFAULT): Ditto. * target.h (struct gcc_target): Add asm.ttype, unwind_tables_default and arm_eabi_unwinder. * unwind-c.c: Support Arm EABI unwinder. * unwind.h: Rename ... * unwind-generic.h: ... To this. * doc/tm.texi (TARGET_ASM_TTYPE, TARGET_ARM_EABI_UNWINDER): Document. (TARGET_UNWID_TABLES_DEFAULT): Document. * config/arm/arm-protos.h (arm_output_fn_unwind): Add prototype. * config/arm/arm.c (arm_unwind_emit, arm_output_ttype): New functions. (TARGET_UNWIND_EMIT, TARGET_ASM_TTYPE, TARGET_ARM_EABI_UNWINDER): Define. (thumb_pushpop, thumb_output_function_prologue): Output unwinding directives. (arm_unwind_emit_stm, arm_unwind_emit_set): New functions. * config/arm/arm.h (MUST_USE_SJLJ_EXCEPTIONS): Only define when !TARGET_UNWIND_INFO. (ARM_OUTPUT_FN_UNWIND, ARM_EABI_UNWIND_TABLES): Define. * config/arm/bpabi.h (TARGET_UNWIND_INFO): Define. * config/arm/elf.h (ASM_DECLARE_FUNCTION_NAME, ASM_DECLARE_FUNCTION_SIZE): Use ARM_OUTPUT_FN_UNWIND. * config/arm/lib1funcs.asm: Include libunwind.S. * config/arm/libgcc-bpabi.ver: Add unwinding routines. * config/arm/libunwind.S: New file. * config/arm/pr-support.c: New file. * config/arm/t-bpabi (LIB1ASMFUNCS): Add _unwind. (UNWIND_H, LIB2ADDEH, LIB2ADDEHDEP): Set. * config/arm/t-symbian (UNWIND_H, LIB2ADDEH, LIB2ADDEHDEP): Set. * config/arm/unwind-arm.c: New file. * config/arm/unwind-arm.h: New file. * config/i386/t-netware (USER_H): Remove unwind.h. * config/ia64/ia64.h (TARGET_UNWIND_TABLES_DEFAULT): Define. gcc/cp/ * Make-lang.in (cp/except.o): Depend on $(TARGET_H) * except.c: Include target.h. (init_exception_processing): Initialize unwind_resume_libfunc. * doc/tm.texi: Document TARGET_ASM_TTYPE gcc/ada/ * misc.c (gnat_init_gcc_eh): Call default_init_unwind_resume_libfunc. gcc/java/ * decl.c (java_init_decl_processing): Call default_init_unwind_resume_libfunc. gcc/objc/ * objc-act.c (objc_init_exceptions): Call default_init_unwind_resume_libfunc. libstdc++/ * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Check for __cxa_end_cleanup. * libsupc++/Makefile.am (sources): Add eh_call.c and eh_arm.c. * libsupc++/eh_arm.cc: New file. * libsupc++/eh_call.cc: New file. * libsupc++/eh_catch.cc (__cxa_get_exception_ptr): Use __gxx_caught_object. (__cxa_begin_catch): Ditto. Use __is_gxx_exception_class. Call _Unwind_Complete when using the ARM EABI. (__cxa_end_catch): Use __is_gxx_exception_class. * libsupc++/eh_personality.cc: Define NO_SIZE_OF_ENCODED_VALUE when using the ARM EABI. (save_caught_exception, restore_caught_exception): New functions. (_throw_typet): New typedef. (get_ttype_entry, get_adjusted_ptr, check_exception_spec): Add ARM EABI implementations. (PERSONALITY_FUNCTION): Use new functions. Addd support for ARM EABI unwinding libary. (__cxa_unexpected): Disable when using the ARM EABI. * libsupc++/eh_throw.cc (__cxa_throw): Use __GXX_INIT_EXCEPTION_CLASS. (__cxa_rethrow): Use __is_gxx_exception_class. Call _Unwind_RaiseException when using the ARM EABI. * libsupc++/unwind-cxx.h (struct __cxa_exception): Add fields for ARM EABI semantics. (struct __cxa_eh_globals): Ditto. (__cxa_call_terminate): Add prototype. (__cxa_type_match, __cxa_begin_cleanup, __cxa_end_cleanup): Add prototypes. (__get_exception_header_from_obj, __get_exception_header_from_ue): Move earlier in file. (__is_gxx_exception_class, __GXX_INIT_EXCEPTION_CLASS, __gxx_caught_object): New functions. * aclocal.m4: Regenerate. * configure: Regenerate. * Makefile.in: Regenerate. * include/Makefile.in: Regenerate. * libmath/Makefile.in: Regenerate. * libsupc++/Makefile.in: Regenerate. * po/Makefile.in: Regenerate. * src/Makefie.in: Regenerate. * testsuite/makefile.in: Regenerate. From-SVN: r101385
2005-06-23re PR libstdc++/22109 (/home/dave/opt/gnu/bin/ld: BFD 2.16.91 20050612 ↵Jakub Jelinek1-2/+1
internal error) PR libstdc++/22109 * src/compatibility.cc (_GLIBCXX_SYMVER_COMPATIBILITY): Remove. (istreambuf_iterator, basic_fstream, basic_ifstream, basic_ofstream, _M_copy, _M_move, _M_assign, _M_disjunct, _M_check_length, _M_set_length_and_sharable, ignore, eq): Define to XX suffixed variants. (ignore (streamsize)): Remove _W prefixed aliases. (_GLIBCXX_3_4_SYMVER_SPECIAL, _GLIBCXX_3_4_5_SYMVER_SPECIAL, _GLIBCXX_APPLY_SYMVER_SPECIAL): Remove. (_GLIBCXX_3_4_SYMVER, _GLIBCXX_3_4_5_SYMVER): Add XXname argument. Use #XXname instead of #name as the alias argument. * config/abi/compatibility.h: Replace uses of _GLIBCXX_APPLY_SYMVER_SPECIAL with _GLIBCXX_APPLY_SYMVER. Always pass 2 arguments to the _GLIBCXX_APPLY_SYMVER macro. * include/bits/char_traits.h (char_traits::eq): Revert 2005-06-15 change. * acinclude.m4: Decrease glibcxx_min_gnu_ld_version back to 21400. * configure: Rebuilt. From-SVN: r101273
2005-06-20re PR libstdc++/22111 (libstdc++ abi_check)Benjamin Kosnik1-27/+3
make 2005-06-19 Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/22111 * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Remove GLIBCXX_TEST_ABI. Remove duplicate _GLIBCXX_ASM_SYMVER define. Don't enable abi testing unless versioned. * configure: Regenerate. * testsuite/Makefile.am (check-abi): Remove conditional. * testsuite/Makefile.in: Regenerate. * testsuite/libstdc++-abi/abi.exp: Call build_support, then check v3-symver before proceeding. * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Set v3-symvers if _GLIBCXX_SYMVER. From-SVN: r101204
2005-06-17[multiple changes]Benjamin Kosnik1-4/+127
2005-06-17 Jakub Jelinek <jakub@redhat.com> Benjamin Kosnik <bkoz@redhat.com> * config/abi/alpha-linux-gnu/baseline_symbols.txt: Update. * config/abi/hppa-linux-gnu/baseline_symbols.txt: Same. * config/abi/mips-linux-gnu/baseline_symbols.txt: Same. * config/abi/sparc-linux-gnu/baseline_symbols.txt: Same. * config/abi/alpha-freebsd5/baseline_symbols.txt: Remove. * config/abi/i386-freebsd4/baseline_symbols.txt: Same. * config/abi/i386-freebsd5/baseline_symbols.txt: Same. * config/abi/sparc-freebsd5/baseline_symbols.txt: Same. * config/abi/arm-linux-gnu/baseline_symbols.txt: Remove. * config/abi/m68k-linux-gnu/baseline_symbols.txt: Same. 2005-06-17 Jakub Jelinek <jakub@redhat.com> * config/abi/ia64-linux-gnu/baseline_symbols.txt: Update. * config/abi/s390x-linux-gnu/baseline_symbols.txt: Update. * config/abi/s390-linux-gnu/baseline_symbols.txt: Update. * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Update. * config/abi/x86_64-linux-gnu/32/baseline_symbols.txt: Update. * config/abi/powerpc-linux-gnu/baseline_symbols.txt: Update. * config/abi/i486-linux-gnu/baseline_symbols.txt: Update. * config/abi/i386-linux-gnu/baseline_symbols.txt: Update. * config/abi/powerpc64-linux-gnu/baseline_symbols.txt: New file. * config/abi/powerpc64-linux-gnu/32/baseline_symbols.txt: New file. 2005-06-16 Jakub Jelinek <jakub@redhat.com> * src/compatibility.cc: Include bits/c++config.h first. (_GLIBCXX_SYMVER_COMPATIBILITY): Define if _GLIBCXX_SYMVER and PIC are both defined. * include/bits/char_traits.h (char_traits::eq): Rename only if _GLIBCXX_SYMVER_COMPATIBILITY is defined. 2005-06-16 Jakub Jelinek <jakub@redhat.com> * acinclude.m4 ((GLIBCXX_ENABLE_SYMVERS): Rename _GLIBCXX_SIZE_T_IS_INT to _GLIBCXX_SIZE_T_IS_UINT. Define _GLIBCXX_PTRDIFF_T_IS_INT. * configure: Regenerate. * config.h.in: Regenerate. * src/compatibility.cc (istream:ignore(streamsize)): Use _GLIBCXX_PTRDIFF_T_IS_INT instead of _GLIBCXX_SIZE_T_IS_INT. * config/abi/compatibility.h: Rename _GLIBCXX_SIZE_T_IS_INT to _GLIBCXX_SIZE_T_IS_UINT. Use _GLIBCXX_PTRDIFF_T_IS_INT instead for symbols with streamsize arguments. 2005-06-16 Jakub Jelinek <jakub@redhat.com> * config/linker-map.gnu: Also export _ZNSt13basic_istreamIwSt11char_traitsIwEE6ignoreE[il][il]. 2005-06-15 Benjamin Kosnik <bkoz@redhat.com> * configure.ac (libtool_VERSION): To 6:6:0. * configure: Regenerate. * config/linker-map.gnu: Edit. * src/istream.cc: Move istream::ignore(streamsize) specializations... * src/compatibility.cc: ...here. New. * include/bits/char_traits.h (char_traits::eq): Rename when appropriate. * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Define _GLIBCXX_SIZE_T_IS_INT. Bump glibcxx_min_gnu_ld_version to 21590. * configure: Regenerate. * acconfig.h: Remove _GLIBCXX_ASM_SYMVER. * config.h.in: Regenerate. * src/Makefile.am (sources): Add compatibility.cc. * src/Makefile.in: Regenerate. * include/Makefile.am (host_headers_noinst): Add compatibility.h. * include/Makefile.in: Regenerate. * testsuite/testsuite_abi.h (symbol): Add data members. * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.5, GLIBCXX_3.4.6. Remove deprecated versions. Do a better job version checking. From-SVN: r101125
2005-06-14re PR libgcj/19877 (sometimes reconfiguring leads to incorrect config.h)Tom Tromey1-1/+1
config/: PR libgcj/19877: * no-executables.m4: Call real AC_FUNC_MMAP when cache variable is set but not 'no'. libstdc++-v3/: PR libgcj/19877: * configure, aclocal.m4: Rebuilt. * Makefile.in, include/Makefile.in, libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in, testsuite/Makefile.in: Likewise. libjava/: PR libgcj/19877: * configure, aclocal.m4, Makefile.in: Rebuilt. libgfortran/: PR libgcj/19877: * configure, aclocal.m4, Makefile.in: Rebuilt. zlib/: PR libgcj/19877: * configure, aclocal.m4, Makefile.in: Rebuilt. From-SVN: r100953
2005-06-07acinclude.m4 (GLIBCXX_ENABLE_C99): Use C++ compiler for complex tests.Benjamin Kosnik1-6/+1
2005-06-07 Benjamin Kosnik <bkoz@redhat.com> * acinclude.m4 (GLIBCXX_ENABLE_C99): Use C++ compiler for complex tests. * configure: Regenerated. From-SVN: r100713
2005-06-05acinclude.m4 ([GLIBCXX_ENABLE_C99]): Check clog, clogf, clogl too for ↵Paolo Carlini1-0/+3
ac_c99_complex. 2005-06-05 Paolo Carlini <pcarlini@suse.de> * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Check clog, clogf, clogl too for ac_c99_complex. * configure: Regenerate. From-SVN: r100639
2005-05-26re PR libstdc++/13943 (call of overloaded `llabs(int)' is ambiguous)Paolo Carlini1-1/+3
2005-05-26 Paolo Carlini <pcarlini@suse.de> PR libstdc++/13943 * include/c_std/std_cstdlib.h: Do not open code llabs and lldiv, available when _GLIBCXX_USE_C99 is defined. * testsuite/26_numerics/cstdlib/13943.cc: New. * acinclude.m4 ([GLIBCXX_ENABLE_C99]): For completeness, check also strtoll and strtoull for ac_c99_stdlib. * configure: Regenerate. From-SVN: r100205
2005-05-26linker-map.gnu: Add linkage support for no extern templates.Benjamin Kosnik1-1/+1
2005-05-25 Benjamin Kosnik <bkoz@redhat.com> * config/linker-map.gnu: Add linkage support for no extern templates. (std::ios_base::_M_call_callbacks): Add. (std::ios_base::_M_dispose_callbacks): Add. (std::locale::facet::_S_get_c_name): Add. (std::__copy_streambufs): Add. * configure.ac (libtool_VERSION): To 6:5:0. * configure: Regenerate. * testsuite/testsuite_abi.cc (check_version): Add GLIBCXX_3.4.5. From-SVN: r100193
2005-05-10* configure: Regenerate.Mike Stump1-1/+1
From-SVN: r99498
2005-05-05acinclude.m4: Remove testsuite_wchar_t and testsuite_thread.Benjamin Kosnik1-43/+1
2005-05-04 Benjamin Kosnik <bkoz@redhat.com> * acinclude.m4: Remove testsuite_wchar_t and testsuite_thread. * testsuite/Makefile.am: Same. * scripts/create_testsuite_files: Same. * Makefile.in: Regenerate. * configure: Same. * include/Makefile.in: Same. * libmath/Makefile.in: Same. * libsupc++/Makefile.in: Same. * po/Makefile.in: Same. * src/Makefile.in: Same. From-SVN: r99273
2005-04-13* configure: Regenerate.Mike Stump1-2/+63
From-SVN: r98065
2005-04-08acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Define _GLIBCXX_ASM_SYMVER.Kelley Cook1-0/+3
2005-04-08 Kelley Cook <kcook@gcc.gnu.org> * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Define _GLIBCXX_ASM_SYMVER. * acconfig.h: Delete file. * Makefile.in, acinclude.m4, configure: Regenerate. From-SVN: r97868
2005-04-08linkage.m4 (GLIBCXX_MAYBE_UNDERSCORED_FUNCS): New macro.Kelley Cook1-3/+489
2005-04-08 Kelley Cook <kcook@gcc.gnu.org> * linkage.m4 (GLIBCXX_MAYBE_UNDERSCORED_FUNCS): New macro. (GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_1, GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_2, GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_3, GLIBCXX_CHECK_MATH_DECLS_AND_LINKAGES_1, GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_2): Use it. (GLIBCXX_CHECK_MATH_SUPPORT): Delete obsolete comment. * acconfig.h: Delete redundant macros. * config.h.in, configure: Regenerate. From-SVN: r97861
2005-04-08linkage.m4 (GLIBCXX_CHECK_MATH_DECLS_AND_LINKAGES_1): Eliminate a subshell ↵Kelley Cook1-2304/+2247
and if test fails... 2005-04-08 Kelley Cook <kcook@gcc.gnu.org> * linkage.m4 (GLIBCXX_CHECK_MATH_DECLS_AND_LINKAGES_1): Eliminate a subshell and if test fails, test for same functions with leading underscore. (GLIBCXX_CHECK_MATH_SUPPORT): Eliminate seperate checks for _funcs. * configure: Regenerate. From-SVN: r97860
2005-04-08configure.ac: Create template for PACKAGE and VERSION.Kelley Cook1-409/+2619
2005-04-08 Kelley Cook <kcook@gcc.gnu.org> * configure.ac: Create template for PACKAGE and VERSION. Update comment on how to regenerate file. Update minimum automake version to 1.9.3. * acconfig.h: Remove PACKAGE and VERSION. * aclocal.m4, configure, Makefile.in, po/Makefile.in, src/Makefile.in, include/Makefile.in, libmath/Makefile.in, testsuite/Makefile.in, config.h.in: Regenerate. From-SVN: r97815
2005-04-07test.html: Update.Benjamin Kosnik1-2619/+409
2005-04-06 Benjamin Kosnik <bkoz@redhat.com> * docs/html/test.html: Update. * testsuite/printnow.c: Remove. * scripts/check_survey.in: Remove. * testsuite/abi_check.cc: To... * testuite/testsuite_abi_check.cc: ...here. * testsuite/libstdc++-abi/abi.exp: Change abi_check.cc to testsuite_abi_check.cc. * testsuite/testsuite_hooks.h: Move character related bits to... * testsuite/testsuite_character.h: ...here. * testsuite/testsuite_character.cc: ... and here. * testsuite/21_strings/basic_string/inserters_extractors/pod/ 10081-in.cc: Use testsuite_character.h. * testsuite/21_strings/basic_string/inserters_extractors/pod/ 10081-out.cc: Same. * testsuite/22_locale/numpunct/members/pod/1.cc: Same. * testsuite/22_locale/numpunct/members/pod/2.cc: Same. * testsuite/27_io/basic_filebuf/2.cc: Same. * testsuite/27_io/basic_fstream/2.cc: Same. * testsuite/27_io/basic_istream/2.cc: Same. * testsuite/27_io/basic_istream/extractors_arithmetic/pod/ 3983-1.cc: Same. * testsuite/27_io/basic_istream/extractors_character/char/ 9826.cc: Same. * testsuite/27_io/basic_istream/extractors_character/pod/ 3983-2.cc: Same. * testsuite/27_io/basic_istream/extractors_other/pod/3983-3.cc: Same. * testsuite/27_io/basic_istream/sentry/pod/1.cc: Same. * testsuite/27_io/basic_ostream/2.cc: Same. * testsuite/27_io/basic_ostream/sentry/pod/1.cc: Same. * testsuite/27_io/basic_streambuf/2.cc: Same. * testsuite/27_io/basic_stringbuf/2.cc: Same. * testsuite/27_io/basic_stringbuf/4.cc: Same. * testsuite/27_io/basic_stringstream/2.cc: Same. * testsuite/27_io/fpos/1.cc: Same. * testsuite/ext/mt_allocator/tune-1.cc: Same. * testsuite/ext/mt_allocator/tune-2.cc: Same. * testsuite/ext/stdio_filebuf/char/1.cc: Same. * testsuite/lib/libstdc++.exp (v3-build_support): Add testsuite_character.cc. * testsuite/Makefile.am (libv3test_a_SOURCES): Add testsuite_character.cc. * testsuite/Makefile.in: Regenerate. * configure.ac: Remove use of check_survey. * configure: Regenerate. * testsuite/Makefile.am: Remove check-script and check-script-install rules. * testsuite/Makefile.in: Regenerate. From-SVN: r97772
2005-04-06acinclude.m4 (_GLIBCXX_USE_LONG_LONG, [...]): Use long form of AC_DEFINE ...Kelley Cook1-33/+66
2005-04-06 Kelley Cook <kcook@gcc.gnu.org> * acinclude.m4 (_GLIBCXX_USE_LONG_LONG, _GLIBCXX_USE_WCHAR_T, _GLIBCXX_USE_C99, _GLIBCXX_USE_C99_MATH, _GLIBCXX_USE_C99_COMPLEX, _GLIBCXX_RES_LIMITS, _GLIBCXX_CONCEPT_CHECKS, _GLIBCXX_SYMVER, _GLIBCXX_USE_LFS, _GLIBCXX_FULLY_DYNAMIC_STRING, _GLIBCXX_USE_NLS, HAVE_GTHR_DEFAULT, HAVE_MBSTATE_T, HAVE_POLL, HAVE_S_ISREG, HAVE_S_IFREG, HAVE_WRITEV, HAVE_INT64_T, HAVE_LC_MESSAGES): Use long form of AC_DEFINE ... * acconfig.h: ... to eliminate them from here. (_GLIBCXX_ASM_SYMVER): Move definition below @BOTTOM@. * config.h.in, configure: Regenerate. From-SVN: r97685
2005-04-06Makefile.am (ACLOCAL_AMFLAGS): Define.Kelley Cook1-1/+0
2005-04-05 Kelley Cook <kcook@gcc.gnu.org> * Makefile.am (ACLOCAL_AMFLAGS): Define. * crossconfig.m4: Wrap file into new GLIBCXX_CROSSCONFIG macro. * configure.ac: Use it. * acinclude.m4: Delete explicit m4_includes and sincludes. * aclocal.m4, configure, Makefile.in, po/Makefile.in, src/Makefile.in, include/Makefile.in, libmath/Makefile.in, testsuite/Makefile.in: Regenerate. From-SVN: r97677
2005-04-05acconfig.h (HAVE_MODF): Remove.Kelley Cook1-0/+1107
2005-04-05 Kelley Cook <kcook@gcc.gnu.org> * acconfig.h (HAVE_MODF): Remove. * linkage.m4: Check for modf. * config.h.in, configure: Regenerate. From-SVN: r97599
2005-04-05linkage.m4 (GLIBCXX_CHECK_BUILTIN_MATH_DEC): Use m4 translit macro to ↵Kelley Cook1-126/+168
convert to uppercase instead of shelling out to tr. 2005-04-05 Kelley Cook <kcook@gcc.gnu.org> * linkage.m4 (GLIBCXX_CHECK_BUILTIN_MATH_DEC): Use m4 translit macro to convert to uppercase instead of shelling out to tr. * acconfig.h: Remove now redundant HAVE__BUILTINS_*. * configure, config.h.in: Regenerate. From-SVN: r97597
2005-03-24acinclude.m4: Adjust so that _GLIBCXX_USE_C99 implies using ↵Benjamin Kosnik1-13240/+596
_GLIBCXX_USE_C99_COMPLEX... 2005-03-23 Benjamin Kosnik <bkoz@redhat.com> * acinclude.m4: Adjust so that _GLIBCXX_USE_C99 implies using _GLIBCXX_USE_C99_COMPLEX, _GLIBCXX_USE_C99_MATH, and _GLIBCXX_USE_C99_WCHAR. Remove GLIBCXX_ENABLE_C_MBCHAR, consolidate in GLIBCXX_ENABLE_C99 and GLIBCXX_ENABLE_WCHAR_T. Take C99 bits from GLIBCXX_CHECK_WCHAR_T_SUPPORT and put in GLIBCXX_ENABLE_C99. Change remaining parts of GLIBCXX_CHECK_WCHAR_T_SUPPORT to GLIBCXX_CHECK_ICONV_SUPPORT. * configure.ac: Remove GLIBCXX_ENABLE_C_MBCHAR, use GLIBCXX_CHECK_ICONV_SUPPORT and GLIBCXX_ENABLE_WCHAR_T. * crossconfig.m4: Same. * acconfig.h: Same, adjust comments. * config.h.in: Regenerate. * configure: Regenerate. * docs/html/configopts.html: Change --enable-c-mbchar to --enable-wchar_t. * config/locale/gnu/c++locale_internal.h: Guard wide functions with _GLIBCXX_USE_WCHAR_T. * include/c_std/std_cwctype.h: Alphabetize, remove duplicates. * include/c_std/std_cstdio.h: Spacing. * config/locale/gnu/c_locale.h: Tweaks for unused warnings. * src/debug.cc: Same. From-SVN: r96981
2005-03-21acinclude.m4 (GLIBCXX_CONFIGURE): Delete gcc_version logic.Zack Weinberg1-12/+5
* acinclude.m4 (GLIBCXX_CONFIGURE): Delete gcc_version logic. (GLIBCXX_EXPORT_INSTALL_INFO): Adjust quotation so ${gcc_version} is expanded by the Makefiles, not by configure. * fragment.am: Set gcc_version. * libmath/Makefile.am: Likewise. * configure, Makefile.in, include/Makefile.in, libmath/Makefile.in * libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in * testsuite/Makefile.in: Regenerate. From-SVN: r96814
2005-02-24std_complex.h: _GLIBCXX_USE_C99_COMPLEX_MATH to _GLIBCXX_USE_C99_COMPLEX.Benjamin Kosnik1-1/+1
2005-02-24 Benjamin Kosnik <bkoz@redhat.com> * include/std/std_complex.h: _GLIBCXX_USE_C99_COMPLEX_MATH to _GLIBCXX_USE_C99_COMPLEX. * acinclude.m4: Same. * acconfig.h: Same. * configure: Regenerate. * config.h.in: Same. From-SVN: r95508
2005-02-01crossconfig.m4: Repair Solaris cross bits for strtold and strtof.Brad Spencer1-2/+7
2005-01-31 Brad Spencer <spencer@infointeractive.com> * crossconfig.m4: Repair Solaris cross bits for strtold and strtof. * configure: Regenerated. From-SVN: r94526
2005-01-26acinclude.m4 ([GLIBCXX_ENABLE_C99]): Add ac_c99_complex to the final test ↵Paolo Carlini1-8/+2
for enable_c99, thus robustifying it... 2005-01-26 Paolo Carlini <pcarlini@suse.de> * acinclude.m4 ([GLIBCXX_ENABLE_C99]): Add ac_c99_complex to the final test for enable_c99, thus robustifying it; remove duplicate final test on ac_99_math. * configure: Regenerate. * include/std/std_complex.h: Remove usages of the dead _GLIBCXX_BUGGY_COMPLEX macro. * testsuite/26_numerics/cmath/19322.cc: Protect with _GLIBCXX_USE_C99_MATH instead of the stronger _GLIBCXX_USE_C99, since only C99 math facilities are involved. * testsuite/26_numerics/cmath/c99_classification_macros_c++.cc: Likewise. From-SVN: r94257
2005-01-25acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Map FreeBSD to darwin instead of generic.Loren J. Rittle1-3/+3
* acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Map FreeBSD to darwin instead of generic. Change autoconf report to "darwin or freebsd". * configure: Regenerate. * config/os/bsd/freebsd/ctype_inline.h (ctype<wchar_t>::do_is): Add. (ctype<wchar_t>::do_scan_is): Likewise. (ctype<wchar_t>::do_scan_not): Likewise. From-SVN: r94236
2005-01-25acinclude.m4 (GLIBCXX_ENABLE_C99): Test for complex math functions...Benjamin Kosnik1-0/+1691
2005-01-25 Benjamin Kosnik <bkoz@redhat.com> * acinclude.m4 (GLIBCXX_ENABLE_C99): Test for complex math functions, and enable _GLIBCXX_USE_C99_COMPLEX_MATH if they exist. * acconfig.h: Add _GLIBCXX_USE_C99_COMPLEX_MATH. * config.h.in: Regenerate. * configure: Regenerate. * include/std/std_complex.h: Protect complex builtins with _GLIBCXX_USE_C99_COMPLEX_MATH. From-SVN: r94221
2005-01-07acinclude.m4: Remove CCODECVT_H.Benjamin Kosnik1-7/+1
2005-01-07 Benjamin Kosnik <bkoz@redhat.com> * acinclude.m4: Remove CCODECVT_H. * configure: Regenerate. * include/Makefile.am (host_headers_extra): Move to... (ext_headers): ...here. * include/Makefile.in: Regenerate. * include/ext/enc_filebuf: Remove enc_filebuf, consolidate enc_traits to... * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Move... * include/ext/codecvt_specializations.h: ...here. Remove _GLIBCXX_USE___ENC_TRAITS. (__enc_traits): To __encoding_state, put in __gnu_cxx namespace. (enc_char_traits): To __encoding_char_traits, put in __gnu_cxx namespace. * config/locale/generic/codecvt_specializations.h: Remove. * include/bits/codecvt.h: Remove codecvt_specializations.h include. * src/codecvt.cc: Remove __enc_traits::_S_max_size. From-SVN: r93062
2005-01-03configure.ac: Check for sys/ipc.h and sys/sem.h.Mark Mitchell1-1/+3
* configure.ac: Check for sys/ipc.h and sys/sem.h. * config.h.in: Regenerated. * configure: Likewise. * testsuite/testsuite_hooks.cc (_GLIBCXX_SYSV_SEM): Conditionally define. (sys/types.h): Include. (sys/ipc.h): Likewise. (sys/sem.h): Likewise. (__gnu_test::semun): New type. (__gnu_test::semaphore::sempaphore): New function. (__gnu_test::semaphore::~semaphore): Likewise. (__gnu_test::semaphore::wait): Likewise. (__gnu_test::semaphore::signal): Likewise. * testsuite/testsuite_hooks.h (__gnu_test::semaphore): New class. * testsuite/27_io/basic_filebuf/close/char/4789.cc: Use semaphores, not sleep. * testsuite/27_io/basic_filebuf/close/char/9964.cc: Likewise. * testsuite/27_io/basic_filebuf/imbue/char/13171-2.cc: Likewise. * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise. * testsuite/27_io/basic_filebuf/imbue/wchar_t/14975-2.cc: Likewise. * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise. * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Likewise. * testsuite/27_io/objects/char/7.cc: Likewise. * testsuite/27_io/objects/char/9661-1.cc: Likewise. * testsuite/27_io/objects/wchar_t/7.cc: Likewise. * testsuite/27_io/objects/wchar_t/9961-1.cc: Likewise. From-SVN: r92865
2004-11-24libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Import linux-gnu case from CVS libtool ↵Kelley Cook1-10/+3
to always pass_all. 2004-11-24 Kelley Cook <kcook@gcc.gnu.org> * libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Import linux-gnu case from CVS libtool to always pass_all. * boehm-gc/configure: Regenerate. * libffi/configure: Regenerate. * libgfortran/configure: Regenerate. * libjava/configure: Regenerate. * libobjc/configure: Regenerate. * libstdc++-v3/configure: Regenerate. * zlib/configure: Regenerate. From-SVN: r91200
2004-11-08configure.ac (libtool_VERSION): To 6:4:0.Benjamin Kosnik1-1/+1
2004-11-08 Benjamin Kosnik <bkoz@redhat.com> * configure.ac (libtool_VERSION): To 6:4:0. * configure: Regenerate. * config/linker-map.gnu: Slide new symbols into GLIBCXX_3.4.4. * docs/doxygen/user.cfg.in: Add more extension files. From-SVN: r90292
2004-10-30configure.host (darwin*): Set os_include_dir to a separate directory for Darwin.Geoffrey Keating1-0/+22
* configure.host (darwin*): Set os_include_dir to a separate directory for Darwin. * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Add a new C locale kind, 'darwin'. * config/locale/darwin/ctype_members.cc: New. * config/os/bsd/darwin/ctype_base.h: New. * config/os/bsd/darwin/ctype_inline.h: New. * config/os/bsd/darwin/ctype_noninline.h: New. * config/os/bsd/darwin/os_defines.h: New. From-SVN: r89874
2004-10-12re PR libstdc++/17937 (Critical ~__pool troubles)Benjamin Kosnik1-27/+2
2004-10-11 Benjamin Kosnik <bkoz@redhat.com> * include/bits/stl_deque.h: Correct for over-long lines. 2004-10-11 Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/17937 * include/ext/mt_allocator.h (__pool::_M_destroy): New. * src/mt_allocator.cc (__pool::~__pool): Change definitions to _M_destroy. * acconfig.h: Remove _GLIBCXX_USE___CXA_ATEXIT. * acinclude.m4 (GLIBCXX_ENABLE_CXA_ATEXIT): Remove. * configure.ac: Remove call to GLIBCXX_ENABLE_CXA_EXIT. * configure: Regenerate. * config/linker-map.gnu: Tweak exports. * docs/html/ext/mt_allocator.html: Update docs. * testsuite/ext/mt_allocator/deallocate_global-2.cc: Fix. * testsuite/ext/mt_allocator/deallocate_global-4.cc: Fix. * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Fix. * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Fix. * testsuite/ext/mt_allocator/deallocate_local-2.cc: Fix. * testsuite/ext/mt_allocator/deallocate_local-4.cc: Fix. * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Fix. * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Fix. From-SVN: r88913
2004-10-10functexcept.h: Add guards.Benjamin Kosnik1-2/+8
2004-10-10 Benjamin Kosnik <bkoz@redhat.com> * include/bits/functexcept.h: Add guards. * acinclude.m4 (GLIBCXX_ENABLE_THREADS): Tweak test. * configure: Regenerate. From-SVN: r88857
2004-10-09acconfig.h: Add _GLIBCXX_USE___CXA_ATEXIT.Benjamin Kosnik1-2/+27
2004-10-08 Benjamin Kosnik <bkoz@redhat.com> * acconfig.h: Add _GLIBCXX_USE___CXA_ATEXIT. * acinclude.m4 (GLIBCXX_ENABLE_CXA_ATEXIT): New. * configure.ac: Call GLIBCXX_ENABLE_CXA_EXIT. * configure: Regenerate. * src/mt_allocator.cc (__pool::~__pool): Make conditional on _GLIBCXX_USE___CXA_ATEXIT macro. * docs/html/ext/mt_allocator.html: Add note about deallocation. * testsuite/ext/mt_allocator/deallocate_local-2.cc: Guard checks with _GLIBCXX_USE___CXA_ATEXIT. * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Same. * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Same. * testsuite/ext/mt_allocator/deallocate_global-4.cc: Same. * testsuite/ext/mt_allocator/deallocate_global-2.cc: Same. * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Same. * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Same. * testsuite/ext/mt_allocator/deallocate_local-4.cc: Same. From-SVN: r88809
2004-10-07re PR libstdc++/17850 (bootstrap failure - libstdc++ uses strtold when ↵Roger Sayle1-4/+0
undeclared) PR libstdc++/17850 * configure.ac: Newlib does not provide strtold. * configure: Regenerate. From-SVN: r88691
2004-10-06acinclude.m4 (GLIBCXX_ENABLE_THREADS): Set enable_thread.Benjamin Kosnik1-1/+24
2004-10-06 Benjamin Kosnik <bkoz@redhat.com> * acinclude.m4 (GLIBCXX_ENABLE_THREADS): Set enable_thread. (GLIBCXX_CONFIGURE_TESTSUITE): Use it. * configure: Regenerated. * testsuite/Makefile.am (CLEANFILES): Add TEST for check-performance executables. (stamp_thread): New. (all-local): Use it. * testsuite/Makefile.in: Regenerate. * scripts/create_testsuite_files: Filter thread tests. * testsuite/thread/pthread1.cc: Remove macro conditionals: this file will only be run by thread enabled configurations. * testsuite/thread/pthread7-rope.cc: Same, add rope_type typedef. * testsuite/thread/pthread6.cc: Same. * testsuite/thread/pthread5.cc: Same. * testsuite/thread/pthread4.cc: Same. * testsuite/thread/pthread3.cc: Same. * testsuite/thread/pthread2.cc: Same. * testsuite/ext/mt_allocator/instantiate.cc: Add in __GTHREADS guard. * testsuite/ext/mt_allocator/deallocate_global-1.cc: Move to... * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: ...here. * testsuite/ext/mt_allocator/deallocate_global-3.cc: Move to... * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: ...here. * testsuite/ext/mt_allocator/deallocate_local-1.cc: Move to... * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: ...here. * testsuite/ext/mt_allocator/deallocate_local-3.cc: Move to... * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: ...here. From-SVN: r88628
2004-10-05configure.ac (libtool_VERSION): To 6:3:0.Benjamin Kosnik1-1/+1
2004-10-04 Benjamin Kosnik <bkoz@redhat.com> * configure.ac (libtool_VERSION): To 6:3:0. * configure: Regnerate. * testsuite/testsuite_abi.cc (check_version): Add 3.4.3. From-SVN: r88545
2004-09-28[multiple changes]Paolo Carlini1-2/+28
2004-09-28 Paolo Carlini <pcarlini@suse.de> PR libstdc++/16612 * include/bits/basic_string.h (_M_dispose, _M_refcopy, basic_string()): When _GLIBCXX_FULLY_DYNAMIC_STRING is defined, don't deal with _S_empty_rep. * include/bits/basic_string.tcc (_S_construct, _M_destroy, _M_leak_hard, _M_mutate): Likewise. * acinclude.m4 (GLIBCXX_ENABLE_FULLY_DYNAMIC_STRING): New. * acconfig.h: Add corresponding undef. * configure.ac: Use GLIBCXX_ENABLE_FULLY_DYNAMIC_STRING. * docs/html/configopts.html: Document --enable-fully-dynamic-string. * configure: Regenerate. * config.h.in: Likewise. 2004-09-28 Benjamin Kosnik <bkoz@redhat.com> Paolo Carlini <pcarlini@suse.de> * testsuite/21_strings/basic_string/operations/char/1.cc: New. * testsuite/21_strings/basic_string/operations/wchar_t/1.cc: New. * testsuite/21_strings/basic_string/element_access/char/empty.cc: New. * testsuite/21_strings/basic_string/element_access/wchar_t/empty.cc: New. 2004-09-28 Paolo Carlini <pcarlini@suse.de> * README: Remove obsolete entry about include/c_shadow. From-SVN: r88225
2004-09-21PR libstdc++/12882 (cont)Paolo Carlini1-0/+3
2004-09-21 Paolo Carlini <pcarlini@suse.de> PR libstdc++/12882 (cont) * acinclude.m4 (GLIBCXX_CHECK_LFS): Check for fstat64 too. * configure: Regenerate. * config/io/basic_file_stdio.cc (__basic_file<>::showmanyc): When _GLIBCXX_USE_LFS use fstat64 and lseek64, thus providing a non trivial showmanyc for large files too. From-SVN: r87797
2004-09-03configure.in: Remove target-libstdc++-v3 from noconfigdirs for *-*-netware...Jan Beulich1-0/+2766
/ * configure.in: Remove target-libstdc++-v3 from noconfigdirs for *-*-netware, but add target-libmudflap. Consolidate *-*-netware targets (of which really only i?86 exists) into a single entry. * configure: Likewise. gcc/ * config.gcc: Resurrect NetWare as a target. Handle special case of Novell linker to be used (specified through --with-ld=) and threading model of either Posix (default) or NKS. * config/i386/i386.c (ix86_return_pops_args): Conditionalize popping of incoming hidden argument on KEEP_AGGREGATE_RETURN_POINTER. * config/i386/i386.h (KEEP_AGGREGATE_RETURN_POINTER): New. * config/i386/netware.c, config/i386/netware.h: New. * config/i386/nwld.c, config/i386/nwld.h: New. * config/i386/netware-crt0.c: New. * config/i386/netware-libgcc.c: New. * config/i386/netware-libgcc.def: New. * config/i386/netware-libgcc.exp: New. * config/i386/t-netware, config/i386/t-nwld: New. * gthr-nks.h: New. * doc/install.texi: Document NKS threading model. gcc/cp/ * g++spec.c (MATH_LIBRARY_PROFILE): Default to MATH_LIBRARY rather than "-lm". gcc/testsuite/ * g++.dg/abi/bitfield5.C: Use -mno-ms-bitfields. * g++.old-deja/g++.jason/thunk2.C: xfail for NetWare. * g++.old-deja/g++.law/profile1.C: xfail for NetWare. * g++.old-deja/g++.other/store-expr1.C: xfail for NetWare. * gcc.c-torture/compile/20001109-1.c: xfail for NetWare. * gcc.c-torture/compile/20001109-2.c: xfail for NetWare. * gcc.c-torture/execute/multi-ix.c: Use __builtin_bzero rather than the non-portable bzero. * gcc.dg/20010912-1.c: xfail for NetWare. * gcc.dg/20020426-2.c: xfail for NetWare. * gcc.dg/20021014-1.c: xfail for NetWare. * gcc.dg/20021018-1.c: xfail for NetWare. * gcc.dg/20030213-1.c: xfail for NetWare. * gcc.dg/20030225-1.c: xfail for NetWare. * gcc.dg/20030708-1.c: xfail for NetWare. * gcc.dg/builtins-config.h: Also exclude NetWare. * gcc.dg/format/format.h: Define restrict only if not already defined. * gcc.dg/nest.c: xfail for NetWare. * gcc.dg/special/gcsec-1.c: Don't pass -static for NetWare. * lib/target-supports.exp (check_visibility_available): Exclude NetWare. fixincludes/ * inclhack.def: Suppress exception_structure and math_exception for NetWare headers. * fixincl.x: Regenerate. libstdc++-v3/ * crossconfig.m4: Add NetWare as a target. * configure: Regenerate. From-SVN: r87040
2004-08-23configure.ac: Specify version 1.9.1 in AM_INIT_AUTOMAKE.Paolo Carlini1-14/+28
2004-08-23 Paolo Carlini <pcarlini@suse.de> * configure.ac: Specify version 1.9.1 in AM_INIT_AUTOMAKE. * aclocal.m4: Regenerate with automake-1.9.1. * configure: Regenerate. * Makefile.in: Likewise. * include/Makefile.in: Likewise. * libmath/Makefile.in: Likewise. * libsupc++/Makefile.in: Likewise. * po/Makefile.in: Likewise. * src/Makefile.in: Likewise. * testsuite/Makefile.in: Likewise. From-SVN: r86423
2004-08-12Makefile.in, [...]: RegenerateKelley Cook1-9/+34
2004-08-12 Kelley Cook <kcook@gcc.gnu.org> * Makefile.in, aclocal.m4, configure, include/Makefile.in, libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in, testsuite/Makefile.in: Regenerate From-SVN: r85869