aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/aclocal.m4
AgeCommit message (Collapse)AuthorFilesLines
2005-04-08configure.ac: Create template for PACKAGE and VERSION.Kelley Cook1-2/+3
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-3/+2
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-06Makefile.am (ACLOCAL_AMFLAGS): Define.Kelley Cook1-0/+4
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-02-01crossconfig.m4: Repair Solaris cross bits for strtold and strtof.Brad Spencer1-2/+2
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-28libstdc++.exp (libstdc++_init): Search the path for the compiler.Geoffrey Keating1-2/+2
* testsuite/lib/libstdc++.exp (libstdc++_init): Search the path for the compiler. Don't set cxxflags. (v3_target_compile): Search for libv3test.a relative to $objdir. (lsearch_all_inline): New. (lsearch_all_inline_not): New. (v3-list-tests): Rewrite to not need generated files. * testsuite/Makefile.am (IGNORE_WCHAR_T): New. (IGNORE_THREAD): New. (TESTS_TO_IGNORE): New. (site.exp): Set tests_to_ignore, cxxflags. * aclocal.m4: Regenerate. * Makefile.in: Regenerate. * libmath/Makefile.in: Likewise. * libsupc++/Makefile.in: Likewise. * po/Makefile.in: Likewise. * src/Makefile.in: Likewise. * testsuite/Makefile.in: Likewise. From-SVN: r94384
2004-11-24Makefile.in, aclocal.m4: Regenerate with automake 1.9.3.Kelley Cook1-2/+2
2004-11-24 Kelley Cook <kcook@gcc.gnu.org> * Makefile.in, aclocal.m4: Regenerate with automake 1.9.3. * 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: r91197
2004-08-23configure.ac: Specify version 1.9.1 in AM_INIT_AUTOMAKE.Paolo Carlini1-15/+132
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-2284/+315
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
2004-08-02Makefile.am (hosted_source): Add libmath and testsuite.Mark Mitchell1-315/+2284
* Makefile.am (hosted_source): Add libmath and testsuite. (SUBDIRS): Remove them. * acinclude.m4: (GLIBCXX_ENABLED_HOSTED): Default to freestanding on arm*-*-symbianelf*. * crossconfig.m4: Add arm*-*-symbianelf* support. * include/c_std/std/std_cstdlib.h (stdlib.h): Do not include it when freestanding. Do not bring names into std:: namespace with "using" when freestanding. Declare required functions and macros when freestanding. * libsupc++/Makefile.am (c_sources): Do not include cp-demangle.c when freestanding. * libsupc++/del_op.cc: Declare "free" only when freestanding. * libsupc++/eh_alloc.cc (cstring): Include it only when hosted. (malloc): Declare when freestanding. (free): Likewise. (memset): Likewise. (__cxa_allocate_exception): Call malloc, not std::malloc. Likewise for memset. (__cxa_free_exception): Likewise for free. * libsupc++/new_op.cc: Declare "malloc" when freestanding. * libsupc++/pure.cc (writestr): Define to nothing when freestanding. * libsupc++/vterminate.cc: Do not define anything when freestanding. * Makefile.in: Regenerated. * aclocal.m4: Likewise. * configure: 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: r85452
2004-07-11regenerate with correct toolsPhil Edwards1-2256/+315
From-SVN: r84503
2004-07-11acinclude.m4: Cosmetic shell syntax fixes.Phil Edwards1-315/+2256
2004-07-11 Phil Edwards <phil@codesourcery.com> * acinclude.m4: Cosmetic shell syntax fixes. * configure.ac: Bring comment inline with reality. * configure.host: Both of the above. Move 'arm' case to right place in host_cpu switch. * aclocal.m4, configure: Regenerate. From-SVN: r84497
2004-06-14Makefile.in: Regenerate with automake 1.8.5.Benjamin Kosnik1-2/+2
2004-06-14 Benjamin Kosnik <bkoz@redhat.com> * Makefile.in: Regenerate with automake 1.8.5. * aclocal.m4: Same. * include/Makefile.in: Same. * libmath/Makefile.in: Same. * libsupc++/Makefile.in: Same. * po/Makefile.in: Same. * src/Makefile.in: Same. * testsuite/Makefile.in: Same. From-SVN: r83123
2004-05-31linker-map.gnu (GLIBCXX_3.4.1): Add.Benjamin Kosnik1-4/+12
2004-05-31 Benjamin Kosnik <bkoz@redhat.com> * config/linker-map.gnu (GLIBCXX_3.4.1): Add. * testsuite/testsuite_abi.cc: Same. * configure.ac (libtool_VERSION): Bump to 6:1:0. * configure: Regenerate. * aclocal.m4: Regenerate. From-SVN: r82498
2004-03-02Support automake 1.8.2Benjamin Kosnik1-2240/+310
2004-03-02 Benjamin Kosnik <bkoz@redhat.com> Support automake 1.8.2 * configure.ac (AM_INIT_AUTOMAKE): Add -Wno-override. * po/Makefile.am (EXTRA_DIST): New. * po/Makefile.in: Regenerate. * Makefile.in: Same. * include/Makefile.in: Same. * libmath/Makefile.in: Same. * libsupc++/Makefile.in: Same. * src/Makefile.in: Same. * testsuite/Makefile.in: Same. * include/Makefile.am (${host_builddir}/gthr-posix.h): Use __GXX_WEAK__ instead of SUPPORTS_WEAK. (${host_builddir}/gthr-default.h): Same. (${host_builddir}/gthr.h): Same. * acinclude.m4 (GLIBCXX_ENABLE_THREAD): Remove _GLIBCXX_SUPPORTS_WEAK, as this behavior can be modified via -fno-weak. * aclocal.m4: Regenerate. * acconfig.h: Remove _GLIBCXX_SUPPORTS_WEAK. * config.h.in: Regenerate. * configure: Same. From-SVN: r78770
2004-03-01acinclude.m4: Quote correctly.Benjamin Kosnik1-37/+37
2004-03-01 Benjamin Kosnik <bkoz@redhat.com> * acinclude.m4: Quote correctly. * aclocal.m4: Regenerate. * linkage.m4: Same. From-SVN: r78715
2004-02-27atomicity.h: New, forward declarations for __atomic_add and __exchange_and_add.Benjamin Kosnik1-2/+2
2004-02-25 Benjamin Kosnik <bkoz@redhat.com> * include/bits/atomicity.h: New, forward declarations for __atomic_add and __exchange_and_add. * config/cpu/generic/atomic_word.h: New, typdef for atomic word. * config/cpu/cris/atomic_word.h: Same. * config/cpu/sparc/atomic_word.h: Same. * include/bits/ios_base.h (_Callback_list::_M_remove_reference): Qualifiy with __gnu_cxx. (_Callback_list::_M_add_reference): Same. * include/bits/locale_classes.h (locale::facet::_M_add_reference): Add. (locale::facet::_M_remove_reference): Same. (locale::_Impl::_M_add_reference): Add. (locale::_Impl::_M_remove_reference): Same. * include/bits/basic_string.h (basic_string::_Rep::_M_refcopy): Same. (basic_string::_Rep::_M_dispose): Same. * src/ios.cc (ios_base::xalloc): Same. * src/ios_init.cc (ios_base::Init::Init): Same. (ios_base::Init::~Init): Same. * src/locale.cc (locale::id::_M_id): Same. * config/cpu/i486/atomicity.h: Use __gnu_cxx namespace. Remove static, and inline keyworks. * config/cpu/alpha/atomicity.h: Same. * config/cpu/cris/atomicity.h: Same. * config/cpu/generic/atomicity.h: Same. * config/cpu/hppa/atomicity.h: Same. * config/cpu/i386/atomicity.h: Same. * config/cpu/ia64/atomicity.h: Same. * config/cpu/m68k/atomicity.h: Same. * config/cpu/mips/atomicity.h: Same. * config/cpu/powerpc/atomicity.h: Same. * config/cpu/s390/atomicity.h: Same. * config/cpu/sparc/atomicity.h: Same. * src/Makefile.am (host_sources): Add atomicity.cc. (atomicity.cc): New rule. * src/Makefile.in: Regenerate. * include/Makefile.am (host_headers): Remove host atomicity.h. (host_headers): Add atomic_word.h. (bits_headers): Add bits atomicity.h. Change ATOMICITY_INC_SRCDIR to ATOMICITY_SRCDIR. * include/Makefile.in: Regenerate. * configure.host (atomic_word_dir): Add. * configure.ac: Substitute ATOMIC_WORD_SRCDIR. Change ATOMICITY_INC_SRCDIR to ATOMICITY_SRCDIR. * configure: Regenerate. * config/linker-map.gnu: Export __exchange_and_add, and __atomic_add. * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers. * testsuite/27_io/ios_base/cons/copy_neg.cc: Same. From-SVN: r78544
2004-02-05Index: libf2c/ChangeLogGeoffrey Keating1-6/+7
Thu Feb 5 15:08:08 2004 Geoffrey Keating <geoffk@apple.com> PR 12179 * aclocal.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Use 'gcc', not 'gcc-lib'. Add comment about poorly-named variables. * Makefile.in (libsubdir): Use 'gcc', not 'gcc-lib'. * configure: Regenerate. Index: libstdc++-v3/ChangeLog 2004-02-05 Geoffrey Keating <geoffk@apple.com> PR 12179 * .cvsignore: New. * acinclude.m4 (GLIBCXX_EXPORT_INSTALL_INFO): Use 'gcc', not 'gcc-lib'. Add comment about poorly-named variables. * aclocal.m4: Regenerate. * configure: Regenerate. From-SVN: r77351
2004-01-07crossconfig.m4: Add LFS, io bits to linux cross config.Benjamin Kosnik1-2/+2
2004-01-07 Benjamin Kosnik <bkoz@redhat.com> * crossconfig.m4: Add LFS, io bits to linux cross config. * acconfig.h: Remove obsolete bits, reorder. * config.h.in: Regenerate. * aclocal.m4: Same. * configure: Same. From-SVN: r75520
2003-12-29acinclude.m4 (GLIBCXX_CHECK_LFS): Add -fno-exceptions to CXXFLAGS.Paolo Carlini1-2/+5
2003-12-29 Paolo Carlini <pcarlini@suse.de> * acinclude.m4 (GLIBCXX_CHECK_LFS): Add -fno-exceptions to CXXFLAGS. * aclocal.m4: Regenerate. * configure: Likewise. From-SVN: r75212
2003-12-29acconfig.h: Add _GLIBCXX_USE_C99_MATH.Mark Mitchell1-2/+10
* acconfig.h: Add _GLIBCXX_USE_C99_MATH. * acinclude.m4 (GLIBCXX_ENABLE_C99): Define GLIBCXX_USE_C99_MATH. * configure.ac: Define HAVE_S_ISREG and HAVE_S_IFREG when targeting newlib. * aclocal.m4: Regenerated. * config.h.in: Likewise. * configure: Likewise. * Makefile.in: Likewise. * include/Makefile.in: Likewise. * libmath/Makefile.in: Likewise. * libsupc++/Makefile.in: Likewise. * testsuite/Makefile.in: Likewise. * src/Makefile.in: Likewise. * po/Makefile.in: Likewise. * include/c_std/std_cmath.h (_GLIBCXX_USE_C99): Replace with ... (_GLIBCXX_USE_C99_MATH): ... this. * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: XFAIL for arm-none-elf. * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Likewise. * testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: Likewise. * testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: Likewise. * testsuite/27_io/basic_istream/readsome/char/6476-2.cc: Likewise. * testsuite/27_io/objects/char/9.cc: Likewise. * testsuite/ext/stdio_filebuf/char/10063-2.cc: Likewise. From-SVN: r75209
2003-12-10re PR libstdc++/13296 (unnecessary libunwind support in libstdc++-v3)Benjamin Kosnik1-27/+0
2003-12-09 Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/13296 * acinclude.m4 (GLIBCXX_ENABLE_LIBUNWIND_EXCEPTIONS): Remove. * aclocal.m4: Regenerate. * configure.ac: Remove call to GLIBCXX_ENABLE_LIBUNWIND_EXCEPTIONS. * conigure: Regenerate. * src/Makefile.am (libstdc___la_LDFLAGS): Remove LIBUNWIND_FLAGS. * src/Makefile.in: Regenerate. * docs/html/17_intro/configury.html: Modify. From-SVN: r74479
2003-12-04re PR libstdc++/13284 (126 g++ failures due to lrand48 not defined)Benjamin Kosnik1-2/+2
2003-12-04 Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/13284 * include/bits/stl_algo.h (__random_number): Remove. (random_shuffle): Use rand, as permitted by DR 395. * include/ext/algorithm: Same. * linkage.m4 (GLIBCXX_CHECK_STDLIB_SUPPORT): Remove lrand48. * acconfig.h: Same. * crossconfig.m4: Remove HAVE_DRAND48, HAVE_LRAND48. * config.h.in: Regenerated. * configure: Same. * aclocal.m4: Same. From-SVN: r74288
2003-11-21PR libstdc++/12882 (partial)Paolo Carlini1-3/+6
2003-11-21 Paolo Carlini <pcarlini@suse.de> PR libstdc++/12882 (partial) * acinclude.m4 (GLIBCXX_CHECK_LFS): Check fseeko64 and ftello64 too. * include/ext/stdio_sync_filebuf.h (seekoff): Use fseeko64 and ftello64 if available. * aclocal.m4: Regenerate. * configure: Ditto. From-SVN: r73815
2003-10-27re PR libstdc++/12778 (1022 bootstrap failure building ↵Paolo Carlini1-3/+8
libstdc++-v3/src/basic_file.cc) 2003-10-27 Paolo Carlini <pcarlini@suse.de> PR libstdc++/12778 * acinclude.m4 (GLIBCXX_CHECK_LFS): Use the C++ compiler. * aclocal.m4: Regenerate. * configure: Regenerate. From-SVN: r72994
2003-10-25acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Add kfreebsd*-gnu and knetbsd*-gnu.Robert Millan1-3/+3
2003-10-24 Robert Millan <robertmh@gnu.org> * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Add kfreebsd*-gnu and knetbsd*-gnu. * aclocal.m4: Regenerated. * configure: Regenerated. From-SVN: r72917
2003-10-22re PR libstdc++/8610 (large file support in libstdc++-v3 (std::streamoff ↵Paolo Carlini1-2/+37
type is 32-bit in GCC 3.2 whereas it was 64-bit in GCC 2.96)) 2003-10-22 Paolo Carlini <pcarlini@suse.de> PR libstdc++/8610 * acinclude.m4 (GLIBCXX_CHECK_INT64_T): New macro, checking for the availability of int64_t. (GLIBCXX_CHECK_LFS): New macro, checking for LFS support. * configure.ac: Call here. * acconfig.h: Add undef for the corresponding symbols. * config/io/basic_file_stdio.cc (__basic_file<char>::open): Depending on _GLIBCXX_USE_LFS, call fopen64 or fopen. (__basic_file<char>::seekoff): Likewise, call lseek64 when available, otherwise lseek, checking the __off parameter. * include/bits/postypes.h: Typedef __streamoff_base_type to int64_t if available, otherwise long long. * aclocal.m4: Regenerate. * config.h.in: Likewise. * configure: Likewise. * acinclude.m4 (GLIBCXX_CHECK_POLL, GLIBCXX_CHECK_WRITEV): Use AC_TRY_LINK instead of AC_TRY_COMPILE. From-SVN: r72806
2003-10-16[multiple changes]Benjamin Kosnik1-4/+0
2003-10-16 Petur Runolfsson <peturr02@ru.is> PR libstdc++/8610 PR libstdc++/11450 PR libstdc++/11543 PR libstdc++/12065 * config/io/basic_file_stdio.cc (__basic_file::seekoff): Change return value from streampos to streamoff. (__basic_file::seekpos): Delete. * config/io/basic_file_stdio.h: Same. * config/io/c_io_stdio.h: Remove streamoff and wstreamsize typedefs. * include/Makefile.am (bits_headers): Add bits/postypes.h. * include/bits/char_traits.h: Include bits/postypes.h instead of bits/fpos.h. * include/bits/fstream.tcc (basic_filebuf::open, basic_filebuf::pbackfail): Don't use < or >= to compare pos_type values, use == and != instead. (basic_filebuf::_M_seek): Use explicit conversion from streamoff to pos_type. (basic_filebuf::imbue): Don't use ! on pos_type values, use == instead. Don't use __check_facet(_M_codecvt) unless is_open(). * include/bits/postypes.h: New file. Add __streamoff_base_type typedef, streamsize. (streamoff, streampos, wstreampos): Define typedefs, with streamoff defined as... (streamoff): New class. Document implementation defined aspects. (fpos): New implementation. Document implementation defined aspects. * include/bits/sstream.tcc (basic_stringbuf::seekpos): Use explicit conversion from pos_type to off_type. * include/std/std_iosfwd.h: Include bits/postypes.h instead of bits/fpos.h. * testsuite/27_io/basic_filebuf/seekoff/char/11543.cc: New test. * testsuite/27_io/basic_filebuf/seekoff/wchar_t/11543.cc: New test. * testsuite/27_io/fpos/11450.cc: New test. * testsuite/27_io/fpos/mbstate_t/12065.cc: New test. * testsuite/27_io/fpos/mbstate_t/4_neg.cc: New test. * testsuite/27_io/types/3.cc: New test. 2003-10-16 Benjamin Kosnik <bkoz@redhat.com> * configure.host: Remove fpos_include_dir. * configure.ac: Remove FPOS_INC_SRCDIR. * configure: Regenerate. * acinclude.m4 (GLIBCXX_ENABLE_CSTDIO): Remove FPOS_H. * aclocal.m4: Regenerate. * include/Makefile.am (host_headers): Remove fpos.h. (bits_headers): Add postypes.h. * include/Makefile.in: Regenerate. * config/os/gnu-linux/fposh: Remove. * config/os/generic/fpos.h: Remove. * testsuite/27_io/basic_filebuf/seekoff/char/1-in.cc: Fixup. * testsuite/27_io/basic_filebuf/seekoff/char/1-io.cc: Same. * testsuite/27_io/basic_filebuf/seekoff/char/1-out.cc: Same. * testsuite/27_io/basic_filebuf/seekoff/char/2-in.cc: Same. * testsuite/27_io/basic_filebuf/seekoff/char/2-io.cc: Same. * testsuite/27_io/basic_filebuf/seekoff/char/2-out.cc: Same. * testsuite/27_io/basic_filebuf/seekpos/char/1-in.cc: Same. * testsuite/27_io/basic_filebuf/seekpos/char/1-io.cc: Same. * testsuite/27_io/basic_filebuf/seekpos/char/1-out.cc: Same. * testsuite/27_io/basic_filebuf/seekpos/char/2-in.cc: Same. * testsuite/27_io/basic_filebuf/seekpos/char/2-io.cc: Same. * testsuite/27_io/basic_filebuf/seekpos/char/2-out.cc: Same. * testsuite/27_io/basic_istream/seekg/char/2.cc: Same. * testsuite/27_io/basic_stringbuf/seekoff/char/1.cc: Same. * testsuite/27_io/basic_stringbuf/seekpos/char/1.cc: Same. * testsuite/27_io/fpos/mbstate_t/3.cc: Same. * testsuite/27_io/objects/char/10.cc: Same. From-SVN: r72582
2003-10-16acconfig.h: Add HAVE_DRAND48 and HAVE_ISATTY.Benjamin Kosnik1-2/+2
2003-10-16 Benjamin Kosnik <bkoz@redhat.com> * acconfig.h: Add HAVE_DRAND48 and HAVE_ISATTY. * aclocal.m4: Regenerated. * config.h.in: Regenerated. From-SVN: r72573
2003-09-25re PR c++/6072 (3.2 g++ testsuite breakage on cygwin)Brad Spencer1-3/+8
2003-09-25 Brad Spencer <spencer@infointeractive.com> PR libstdc++/6072 * acinclude.m4: * aclocal.m4: Regenerate. * config.h.in: Regenerate. * configure: Regenerate. * crossconfig.m4: Add in wchar_t bits for solaris crosses. * config/io/basic_file_stdio.cc: Guard unistd.h. * include/c_compatibility/wchar.h: Guard extra wchar_t functionality. * include/c_std/std_cwchar.h: Same. * include/c_std/std_cwctype.h: Same. From-SVN: r71795
2003-09-18re PR libstdc++/11504 (-Wcast-qual vs. stl_tree)Benjamin Kosnik1-1/+1
2003-09-18 Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/11504 * acinclude.m4 (GLIBCXX_EXPORT_FLAGS): Add -Wcast-qual to WARN_FLAGS, remove -Wno-format. * aclocal.m4: Regenerate. * configure: Regenerate. From-SVN: r71523
2003-09-11re PR libstdc++/12189 (abi_check fails to build)Daniel Jacobowitz1-12/+15
PR libstdc++/12189 * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Don't build abi_check if cross compiling. * aclocal.m4: Regenerated. * configure: Regenerated. Co-Authored-By: Andreas Jaeger <aj@suse.de> From-SVN: r71291
2003-09-02acinclude.m4 (GLIBCXX_ENABLE_HOSTED): #define _GLIBCXX_HOSTED appropriately.Phil Edwards1-0/+7
2003-09-02 Phil Edwards <phil@codesourcery.com> * acinclude.m4 (GLIBCXX_ENABLE_HOSTED): #define _GLIBCXX_HOSTED appropriately. * config.h.in: Add _GLIBCXX_HOSTED. * libsupc++/eh_term_handler.cc: Test it here; initialize __terminate_handler to std::abort if freestanding. * aclocal.m4, configure: Regenerated. * docs/html/configopts.html: Document --disable-hosted-libstdcxx. From-SVN: r71001
2003-08-27acinclude.m4 (GLIBCXX_EXPORT_INCLUDES): Change quoting of includedir.Phil Edwards1-1/+1
2003-08-27 Phil Edwards <pme@gcc.gnu.org> * acinclude.m4 (GLIBCXX_EXPORT_INCLUDES): Change quoting of includedir. * aclocal.m4, configure: Regenerate. From-SVN: r70858
2003-08-27acinclude.m4: Include no-executables.m4.Daniel Jacobowitz1-0/+1
* acinclude.m4: Include no-executables.m4. * configure.ac: Uncomment GCC_NO_EXECUTABLES. * aclocal.m4: Regenerated. * configure: Regenerated. From-SVN: r70857
2003-08-27acinclude.m4: Don't call AC_ISC_POSIX.Daniel Jacobowitz1-30/+0
* acinclude.m4: Don't call AC_ISC_POSIX. * aclocal.m4: Regenerated. * configure: Regenerated. From-SVN: r70856
2003-08-27acinclude.m4 (GLIBCXX_CONDITIONAL): New macro.Phil Edwards1-55/+104
2003-08-27 Phil Edwards <pme@gcc.gnu.org> * acinclude.m4 (GLIBCXX_CONDITIONAL): New macro. Wrap AM_CONDITIONAL. Replace all calls to AM_CONDITIONAL with this one. (GLIBCXX_ENABLE_HOSTED): New macro, sets new variable is_hosted, used elsewhere in this file. (GLIBCXX_EVALUATE_CONDITIONALS): New macro... * configure.ac: ...called here to expand all conditionals. * Makefile.am: Conditionalize SUBDIRS on GLIBCXX_HOSTED. * include/Makefile.am: Remove redundant gxx_include_dir assignment. (install-freestanding-headers): New target, a subset of install-headers. Conditionalize install-data-local on GLIBCXX_HOSTED. * aclocal.m4, configure, Makefile.in, include/Makefile.in, libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in, testsuite/Makefile.in: Regenerated. From-SVN: r70854
2003-08-27Makefile.am: Add comment.Phil Edwards1-0/+7
2003-08-26 Phil Edwards <pme@gcc.gnu.org> * Makefile.am: Add comment. * acinclude.m4 (GLIBCXX_CONFIGURE): Set new glibcxx_SUBDIRS and SUBDIRS variables. * configure.ac: Use them both here, instead of hardcoded lists. * fragment.am: Add STAMP varaible. * include/Makefile.am: Cosmetic whitespace cleanup. Use $(LN_S) instead of @LN_S@. (stamp-*): Move file creation rule outside of 'if' branches to ensure the stamp-* files are actually updated. Use $(STAMP). * src/Makefile.am: Remove now-nonexistant variable. * libsupc++/Makefile.am: Likewise. Snap the assignment chain for -prefer-pic. * po/Makefile.am: Include same fragment as all the others. * aclocal.m4, configure, Makefile.in, include/Makefile.in, libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in: Regenerated. From-SVN: r70836
2003-08-17acinclude.m4 (GLIBCXX_EXPORT_INCLUDES): Remove LIBMATH_INCLUDES and ↵Phil Edwards1-11/+11
LIBSUPCXX_INCLUDES. 2003-08-17 Phil Edwards <pme@gcc.gnu.org> * acinclude.m4 (GLIBCXX_EXPORT_INCLUDES): Remove LIBMATH_INCLUDES and LIBSUPCXX_INCLUDES. Re-purpose TOPLEVEL_INCLUDES to refer to things from the top level. * configure.ac (GLIBCXX_IS_NATIVE): Determine earlier and re-order. Comment out the conditionals for CANADIAN and GLIBCXX_BUILD_LIBMATH (currently unused). Strip the fake-VPATH shell fragment from automake-generated rules, if present. * linkage.m4: Add comment. * fragment.am: New file, containing factored-out common settings. (AM_CPPFLAGS): Absorb the deprecated INCLUDES variable contents. * Makefile.am: Include fragment.am. Remove common variables. * include/Makefile.am: Likewise. * libmath/Makefile.am: Likewise. * libsupc++/Makefile.am: Likewise. * po/Makefile.am: Likewise. Print rules during check. * src/Makefile.am: Likewise. * testsuite/Makefile.am: Likewise. * aclocal.m4, configure, Makefile.in, include/Makefile.in, libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in, testsuite/Makefile.in: Regenerate. From-SVN: r70522
2003-08-11acinclude.m4 (GLIBCXX_CONFIGURE): Unprecious CC and CFLAGS when calling ↵Phil Edwards1-3/+3
AC_PROG_CC. 2003-08-11 Phil Edwards <pme@gcc.gnu.org> * acinclude.m4 (GLIBCXX_CONFIGURE): Unprecious CC and CFLAGS when calling AC_PROG_CC. * aclocal.m4, configure: Regenerate. From-SVN: r70319
2003-08-11acinclude.m4: Properly quote variable which will be expanded inside makefiles.Phil Edwards1-9/+10
2003-08-11 Phil Edwards <pme@gcc.gnu.org> * acinclude.m4: Properly quote variable which will be expanded inside makefiles. Use CXX instead of CC to extract compiler info. * configure.ac (AC_INIT): Use the new 4-arg form to finally get the correct form in PACKAGE. * aclocal.m4, configure: Regenerate. From-SVN: r70318
2003-08-05acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Put down the crack pipe...Phil Edwards1-31/+39
2003-08-05 Phil Edwards <pme@gcc.gnu.org> * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Put down the crack pipe, open the window to let out the fumes, redo the option-handling logic to properly execute the detection test. * aclocal.m4, configure: Regenerate. From-SVN: r70186
2003-08-05Convert to new autotools.Phil Edwards1-1853/+1855
2003-08-04 Phil Edwards <pme@gcc.gnu.org> Convert to new autotools. * acconfig.h: Update with correct names. * configure.host (ATOMICITYH): Rename to atomicity_include_dir. (qnx6.[12]*): 'q' comes before 's', not after 'w'. * configure.in: Update. Split hardcoded cross-configury settings out to... * crossconfig.m4: ...here. New file. Contents untouched. * acinclude.m4: Reorganize and rewrite as needed. Split large chunks out to... * linkage.m4: ...here. New file. Math and stdlib linkage tests. Contents untouched. * scripts/testsuite_flags.in: Update. * Makefile.am: Remove unneeded AUTOMAKE_OPTIONS settings and other variables (already generated by automake). * include/Makefile.am: Ditto. * libmath/Makefile.am: Ditto. * libsupc++/Makefile.am: Ditto. * po/Makefile.am: Ditto. * src/Makefile.am: Ditto. * aclocal.m4: Regenerate using new versions. * config.h.in: Ditto. * configure: Ditto. * Makefile.in: Ditto. * include/Makefile.in: Ditto. * libmath/Makefile.in: Ditto. * libsupc++/Makefile.in: Ditto. * po/Makefile.in: Ditto. * src/Makefile.in: Ditto. * testsuite/Makefile.in: Ditto. From-SVN: r70167
2003-07-23acinclude.m4 (GLIBCXX_ENABLE_PCH): Rework test such that it tests not only ↵Alexandre Oliva1-17/+20
generation of pch files, but also their use. * acinclude.m4 (GLIBCXX_ENABLE_PCH): Rework test such that it tests not only generation of pch files, but also their use. * aclocal.m4, configure: Rebuilt. From-SVN: r69727
2003-07-14Nathan C.Paolo Carlini1-0/+17
2003-07-14 Paolo Carlini <pcarlini@unitus.it> Nathan C. Myers <ncm-nospam@cantrip.org> PR libstdc++/11378 * include/std/std_fstream.h (xsputn): Declare only. * include/bits/fstream.tcc (xsputn): Define, optimize for the always_noconv() case: when __n is sufficiently large flush the buffer and issue a direct write, if possible combining the two with writev in __basic_file<>::xsputn_2. * config/io/basic_file_stdio.h (__basic_file<>::xsputn_2): New, declare. * config/io/basic_file_stdio.cc (__basic_file<>::xsputn_2): Define. * acinclude.m4 (GLIBCXX_CHECK_WRITE): New macro, checking for the availability of writev in <sys/uio.h>. * configure.in: Call here. * acconfig.h: Add undef for the corresponding symbol. * aclocal.m4: Regenerate. * configure: Regenerate. * config.h.in: Regenerate. * testsuite/27_io/basic_filebuf/setbuf/char/3.cc: Tweak. * include/std/std_fstream.h (sync): Constify a variable. Co-Authored-By: Nathan C. Myers <ncm-nospam@cantrip.org> From-SVN: r69341
2003-07-11acinclude.m4 (GLIBCC_ENABLE_SYMVERS): Tweak comments.Phil Edwards1-5/+14
2003-07-11 Phil Edwards <pme@gcc.gnu.org> * acinclude.m4 (GLIBCC_ENABLE_SYMVERS): Tweak comments. Add warning messages if the environment cannot support symbol versioning. (port_specific_symbol_file): It's plural, add an 's' on the end. * configure.host: Likewise. * src/Makefile.am: Likewise. * config/linker-map.gnu: Remove one semicolon, heh. * scripts/extract_symvers: Don't assume useful 'export' syntax. Set LANG as well as LC_ALL for possibly-broken sort(1)s. * aclocal.m4, configure, src/Makefile.in: Regenerated. From-SVN: r69212
2003-07-06acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Do not test for binutils 2.11 with ↵Phil Edwards1-17/+5
globbing backport fix. 2003-07-06 Phil Edwards <pme@gcc.gnu.org> * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Do not test for binutils 2.11 with globbing backport fix. * aclocal.m4, configure: Regenerated. From-SVN: r69013
2003-07-06acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Bump minimal version requirement.Phil Edwards1-2/+3
2003-07-05 Phil Edwards <pme@gcc.gnu.org> * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Bump minimal version requirement. Add port_specific_symbol_file variable. * configure.host: Add docs for port_specific_symbol_file. Clean up try_cpu block for x86. * config/linker-map.gnu: No more "last symbol can't have a semicolon" kaka. Add hook for port-specific symbols. * src/Makefile.am: Remove trailing whitespace. (libstdc++-symbol.ver): Detect the presence of port-specific symbols, and add them accordingly. * docs/html/17_intro/porting.texi: Bring up to date. * src/Makefile.in, aclocal.m4, configure, docs/html/17_intro/porting.html: Regenerated. From-SVN: r68992
2003-07-05Move from CPP to CXX.Benjamin Kosnik1-355/+355
2003-07-04 Benjamin Kosnik <bkoz@redhat.com> Move from CPP to CXX. * include/bits/c++config: Move to GLIBCXX from GLIBCPP. * testsuite/Makefile.am: Same. * testsuite/Makefile.in: Regenerate. * po/Makefile.am: Same. * po/Makefile.in: Regenerate. * libsupc++/Makefile.am: Same. * libsupc++/Makefile.in: Regenerate. * libmath/Makefile.am: Same. * libmath/Makefile.in: Regenerate. * include/Makefile.am: Same. * include/Makefile.in: Regenerate. * src/Makefile.am: Same. * src/Makefile.in: Regenerate. * acconfig.h: Same. * configure.host: Same. * configure.in: Same. * configure: Regenerate. * acinclude.m4: Same. * aclocal.m4: Same. * src: Change all files in this directory. * testsuite: Same. * include: Same, standardize include guards. * config: Same. * libsupc++: Same. From-SVN: r68958
2003-07-04[multiple changes]Benjamin Kosnik1-1/+1
2003-07-04 Benjamin Kosnik <bkoz@redhat.com> * acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix missed variable. * aclocal.m4: Regenerate. * configure: Regenerate. 2003-07-04 Jerry Quinn <jlquinn@optonline.net> * include/bits/locale_facets.tcc (__int_to_char): Move common case to the top. From-SVN: r68942
2003-07-04acinclude.m4 (GLIBCPP_ENABLE_DEBUG_FLAGS): To --enable-libstdcxx-debug-flags.Benjamin Kosnik1-36/+37
2003-07-04 Benjamin Kosnik <bkoz@redhat.com> * acinclude.m4 (GLIBCPP_ENABLE_DEBUG_FLAGS): To --enable-libstdcxx-debug-flags. (GLIBCPP_ENABLE_DEBUG_FLAGS): To --enable-libstdcxx-debug. (GLIBCPP_ENABLE_PCH): To --enable-libstdcxx-pch. * aclocal.m4: Regenerate. * configure: Same. * docs/html/configopts.html: Update. From-SVN: r68925