summaryrefslogtreecommitdiff
path: root/libstdc++-v3/acinclude.m4
Commit message (Collapse)AuthorAgeFilesLines
* 2004-05-03 Andreas Tobler <a.tobler@schweiz.ch>andreast2004-05-031-1/+1
| | | | | | | | * acinclude.m4: Replace -W with more speaking -Wextra. * configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81444 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-04-01 Paolo Carlini <pcarlini@suse.de>paolo2004-04-011-9/+10
| | | | | | | | | | | | | | | | | | | PR libstdc++/14775 * acconfig.h: Rename _GLIBCXX_MEM_LIMITS to _GLIBCXX_RES_LIMITS. * acinclude.m4 (GLIBCXX_CHECK_SETRLIMIT): Call GLIBCXX_CHECK_SETRLIMIT_ancilliary for FSIZE too, adjust define to _GLIBCXX_RES_LIMITS. (GLIBCXX_CHECK_SETRLIMIT_ancilliary): Rename HAVE_MEMLIMIT_* to HAVE_LIMIT_*. * testsuite/testsuite_hooks.h: Declare set_file_limit. * testsuite/testsuite_hooks.cc: Define it, using getrlimit and setrlimit(RLIMIT_FSIZE). * testsuite/27_io/fpos/14775.cc: New. * config.h.in: Regenerate. * configure: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@80289 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-03-22 Paolo Carlini <pcarlini@suse.de>paolo2004-03-221-1/+5
| | | | | | | | | | | | | | | | | | * acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): Add pool_allocator. * configure: Regenerate. * config/allocator/pool_allocator_base.h: New. * include/ext/pool_allocator.h: Convert to a standard-conforming allocator. * src/allocator.cc: Tweak instantiations. * testsuite/performance/20_util/allocator/insert.cc: Add __pool_alloc. * testsuite/performance/20_util/allocator/insert_insert.cc: Ditto. * testsuite/performance/20_util/allocator/list_sort_search.cc: Ditto. * testsuite/performance/20_util/allocator/map_mt_find.cc: Ditto. * testsuite/performance/20_util/allocator/map_thread.cc: Ditto. * testsuite/performance/20_util/allocator/producer_consumer.cc: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@79824 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-03-19 Phil Edwards <phil@codesourcery.com>pme2004-03-191-2/+5
| | | | | | | | | | | | | | * acinclude.m4 (GLIBCXX_CHECK_WCHAR_T_SUPPORT): Set LIBICONV, not libiconv. SUBST this variable as well. * testsuite/Makefile.am (site.exp): New target, based on that created by automake. Also set libiconv. * configure, Makefile.in, include/Makefile.in, libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in, testsuite/Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@79678 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-03-16 Benjamin Kosnik <bkoz@redhat.com>bkoz2004-03-171-15/+0
| | | | | | | | | * acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): Default setting is new_allocator for all hosts. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@79582 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-03-13 Benjamin Kosnik <bkoz@redhat.com>bkoz2004-03-131-0/+73
| | | | | | | | | | | | | | | | | | | * config/allocator: New. * config/allocator/bitmap_allocator_base.h: New. * config/allocator/malloc_allocator_base.h: New. * config/allocator/mt_allocator_base.h: New. * config/allocator/new_allocator_base.h: New. * include/bits/allocator.h: Include c++allocator.h. * acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): New. * aclocal.m4: Regenerate. * configure.ac: Use GLIBCXX_ENABLE_ALLOCATOR. * configure: Regenerate. * include/Makefile.am (host_headers_extra): Add c++allocator.h. * include/Makefile.in: Regenerate. * docs/html/configopts.html: Add enable-libstdcxx-allocator. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@79435 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-03-02 Benjamin Kosnik <bkoz@redhat.com>bkoz2004-03-021-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78770 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-03-01 Benjamin Kosnik <bkoz@redhat.com>bkoz2004-03-011-37/+37
| | | | | | | | | * acinclude.m4: Quote correctly. * aclocal.m4: Regenerate. * linkage.m4: Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78715 138bc75d-0d04-0410-961f-82ee72b054a4
* Index: libf2c/ChangeLoggeoffk2004-02-051-4/+5
| | | | | | | | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77351 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-12-29 Paolo Carlini <pcarlini@suse.de>paolo2003-12-291-2/+5
| | | | | | | | | | * acinclude.m4 (GLIBCXX_CHECK_LFS): Add -fno-exceptions to CXXFLAGS. * aclocal.m4: Regenerate. * configure: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75212 138bc75d-0d04-0410-961f-82ee72b054a4
* * acconfig.h: Add _GLIBCXX_USE_C99_MATH.mmitchel2003-12-291-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75209 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-12-09 Benjamin Kosnik <bkoz@redhat.com>bkoz2003-12-101-27/+0
| | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74479 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-11-21 Paolo Carlini <pcarlini@suse.de>paolo2003-11-211-1/+4
| | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73815 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-10-27 Paolo Carlini <pcarlini@suse.de>paolo2003-10-271-1/+6
| | | | | | | | | | PR libstdc++/12778 * acinclude.m4 (GLIBCXX_CHECK_LFS): Use the C++ compiler. * aclocal.m4: Regenerate. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72994 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-10-24 Robert Millan <robertmh@gnu.org>pme2003-10-251-1/+1
| | | | | | | | | | * acinclude.m4 (GLIBCXX_ENABLE_CLOCALE): Add kfreebsd*-gnu and knetbsd*-gnu. * aclocal.m4: Regenerated. * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72917 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-10-22 Paolo Carlini <pcarlini@suse.de>paolo2003-10-221-2/+37
| | | | | | | | | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72806 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-10-16 Petur Runolfsson <peturr02@ru.is>bkoz2003-10-161-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72582 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-09-25 Brad Spencer <spencer@infointeractive.com>bkoz2003-09-251-3/+8
| | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71795 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-09-18 Benjamin Kosnik <bkoz@redhat.com>bkoz2003-09-181-1/+1
| | | | | | | | | | | PR libstdc++/11504 * acinclude.m4 (GLIBCXX_EXPORT_FLAGS): Add -Wcast-qual to WARN_FLAGS, remove -Wno-format. * aclocal.m4: Regenerate. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71523 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/12189drow2003-09-111-12/+15
| | | | | | | | | | * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Don't build abi_check if cross compiling. * aclocal.m4: Regenerated. * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71291 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-09-02 Phil Edwards <phil@codesourcery.com>pme2003-09-021-0/+7
| | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71001 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-08-27 Phil Edwards <pme@gcc.gnu.org>pme2003-08-271-1/+1
| | | | | | | | | * acinclude.m4 (GLIBCXX_EXPORT_INCLUDES): Change quoting of includedir. * aclocal.m4, configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70858 138bc75d-0d04-0410-961f-82ee72b054a4
* * acinclude.m4: Include no-executables.m4.drow2003-08-271-0/+1
| | | | | | | | | * configure.ac: Uncomment GCC_NO_EXECUTABLES. * aclocal.m4: Regenerated. * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70857 138bc75d-0d04-0410-961f-82ee72b054a4
* * acinclude.m4: Don't call AC_ISC_POSIX.drow2003-08-271-3/+0
| | | | | | | | * aclocal.m4: Regenerated. * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70856 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-08-27 Phil Edwards <pme@gcc.gnu.org>pme2003-08-271-11/+60
| | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70854 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-08-26 Phil Edwards <pme@gcc.gnu.org>pme2003-08-271-0/+7
| | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70836 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-08-17 Phil Edwards <pme@gcc.gnu.org>pme2003-08-171-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70522 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-08-11 Phil Edwards <pme@gcc.gnu.org>pme2003-08-111-3/+3
| | | | | | | | | * acinclude.m4 (GLIBCXX_CONFIGURE): Unprecious CC and CFLAGS when calling AC_PROG_CC. * aclocal.m4, configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70319 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-08-11 Phil Edwards <pme@gcc.gnu.org>pme2003-08-111-9/+10
| | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70318 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-08-05 Phil Edwards <pme@gcc.gnu.org>pme2003-08-051-31/+39
| | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70186 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-08-04 Phil Edwards <pme@gcc.gnu.org>pme2003-08-051-1767/+1017
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70167 138bc75d-0d04-0410-961f-82ee72b054a4
* * acinclude.m4 (GLIBCXX_ENABLE_PCH): Rework test such that itaoliva2003-07-231-17/+20
| | | | | | | | tests not only generation of pch files, but also their use. * aclocal.m4, configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69727 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-07-14 Paolo Carlini <pcarlini@unitus.it>paolo2003-07-141-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69341 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-07-11 Phil Edwards <pme@gcc.gnu.org>pme2003-07-111-5/+14
| | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69212 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-07-06 Phil Edwards <pme@gcc.gnu.org>pme2003-07-061-17/+5
| | | | | | | | | * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Do not test for binutils 2.11 with globbing backport fix. * aclocal.m4, configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69013 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-07-05 Phil Edwards <pme@gcc.gnu.org>pme2003-07-061-2/+3
| | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68992 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>bkoz2003-07-051-355/+355
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68958 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>bkoz2003-07-041-1/+1
| | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68942 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-07-04 Benjamin Kosnik <bkoz@redhat.com>bkoz2003-07-041-36/+37
| | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68925 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-07-03 Benjamin Kosnik <bkoz@redhat.com>bkoz2003-07-041-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/Makefile.am (target_headers): Add fpos.h (bits_headers): Remove. * include/Makefile.in: Regenerate. * configure.in: Add FPOS_INC_SRCDIR, substitute it. * configure: Regenerate. * configure.host: Add fpos_include_dir. * config/os/gnu-linux/fpos.h: New. * config/os/generic/fpos.h: Add. * include/bits/fpos.h: Remove. * config/io/c_io_stdio.h: Remove fpos_t typedef. * include/bits/fstream.tcc: Tweaks. * include/std/std_fstream.h: Same. * testsuite/27_io/fpos/1.cc (test01): Uncomment. Move to... * testsuite/27_io/fpos/mbstate_t/1.cc: ...here. * testsuite/27_io/fpos/mbstate_t/2.cc: Same. * testsuite/27_io/fpos/mbstate_t/3.cc: Same. * testsuite/27_io/fpos/1.cc: New. 2003-07-03 Benjamin Kosnik <bkoz@redhat.com> Petur Runolfsson <peturr02@ru.is> * include/std/std_streambuf.h: Remove _M_pos. * config/io/basic_file_stdio.h: Use seekpos instead of seekoff. * config/io/basic_file_stdio.cc: Same, use fseek instead of lseek, use fread/fwrite instead of read/write. * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Fix. * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: Close filebufs before reading again. * testsuite/27_io/objects/char/6.cc: Tweak. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68913 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-07-01 Roger Sayle <roger@eyesopen.com>bkoz2003-07-011-2/+2
| | | | | | | | | | * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Fix typo in CXXFLAGS. (GLIBCPP_CHECK_MATH_SUPPORT): Likewise. * aclocal.m4: Regenerate. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68793 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-07-01 Benjamin Kosnik <bkoz@redhat.com>bkoz2003-07-011-4/+2
| | | | | | | | | * acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix obvious error. * aclocal.m4: Regenerated. * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68792 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-06-30 Benjamin Kosnik <bkoz@redhat.com>bkoz2003-06-301-18/+46
| | | | | | | | | | | | * acinclude.m4 (GLIBCPP_ENABLE_PCH): Add bits for --enable-pch. * aclocal.m4: Regenerate. * configure.in (GLIBCPP_CHECK_PCH): Move, change to GLIBCPP_ENABLE_PCH, default to yes. * configure: Regenerate. * docs/html/configopts.html: Add --enable-pch. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68715 138bc75d-0d04-0410-961f-82ee72b054a4
* * testsuite/Makefile.am (new-abi-baseline): Create baselineaj2003-06-181-2/+2
| | | | | | | | | | | | | | | | | | directory. (baseline_file): Use baseline_dir. (baseline_dir): New. (mkinstalldirs): New. * acinclude.m4: Rename baseline_file to baseline_dir, strip filename from baseline_dir. * testsuite/Makefile.in: Regenerated. * Makefile.in: Regenerated. * aclocal.m4: Regenerated. * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68136 138bc75d-0d04-0410-961f-82ee72b054a4
* 03-06-16 Benjamin Kosnik <bkoz@redhat.com>bkoz2003-06-171-9/+22
| | | | | | | | | | | | | | | | | | | | * Makefile.am (check-abi): Move... (new-abi-baseline): Move... * testsuite/Makefile.am: ...here. (new-abi-baseline): Conditionalize. (check-abi): Conditionalize. (check-abi-verbose): New. * Makefile.in: Regenerate. * testsuite/Makefile.in: Regenerate. * configure.in: Consolidate testsuite configure bits. * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Same. * configure: Regenerate. * aclocal.m4: Regenerate. * testsuite/abi_check.cc: Add --check-verbose. Only output detailed information if --check-verbose. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68067 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-06-16 Andreas Jaeger <aj@suse.de>bkoz2003-06-161-1/+1
| | | | | | | | | | | | | | | * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Make check-abi multilib aware. * aclocal.m4: Regenerate. * configure: Regenerate. 2003-06-16 Benjamin Kosnik <bkoz@redhat.com> Andreas Jaeger <aj@suse.de> * configure.host: Set x86_64 abi_baseline pair correctly. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68029 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-06-13 Benjamin Kosnik <bkoz@redhat.com>bkoz2003-06-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | * config/abi/i686-pc-linux-gnu: To.. * config/abi/i486-linux-gnu: ...this. * config/abi/alphaev67-unknown-linux-gnu: To.. * config/abi/alpha-linux-gnu: ...this. * config/abi/ia64-unknown-linux-gnu: To... * config/abi/ia64-linux-gnu: ...this. * config/abi/x86_64-unknown-linux-gnu: To... * config/abi/x86_64-linux-gnu: ...this. * config/abi/i386-unknown-freebsd4: To... * config/abi/i386-freebsd4: ...this. * configure.host: abi_baseline_triplet to abi_baseline_pair. Simplify cpu bits so that abi_baseline_pair can use the same cpu configuration. * acinclude.m4: Same. * aclocal.m4: Regenerate. * configure.in: Can't get enable_abi_check to yes unless native. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67931 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-06-11 Benjamin Kosnik <bkoz@redhat.com>bkoz2003-06-121-86/+1
| | | | | | | | | | | | | | | | | | | | | * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Simplify. * aclocal.m4: Regenerate. * Makefile.am (SUBDIRS): Remove libio. * Makefile.in: Regenerate. * configure.in: Same. * configure: Regenerate. * config/io/basic_file_libio.cc: Remove. * config/io/basic_file_libio.h: Remove. * config/io/c_io_libio_codecvt.c: Remove. * config/io/c_io_libio.h: Remove. * libio/*: Remove. * src/Makefile.am: Same. * src/Makefile.in: Regenerate. * docs/html/configopts.html: Edits. * docs/html/explanations.html: Edits. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67813 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-06-09 Phil Edwards <pme@gcc.gnu.org>pme2003-06-091-9/+16
| | | | | | | | | | | | * acinclude.m4: Move all AM_CONDITIONAL calls out. (GLIBCPP_CONFIGURE): Set defaults for variables used in AM_CONDITIONAL statements. * configure.in: Centralize AM_CONDITIONALs so that they are always run. Make use of GLIBCPP_IS_CROSS_COMPILING. * aclocal.m4, configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67663 138bc75d-0d04-0410-961f-82ee72b054a4
* * acinclude.m4 (GLIBCPP_CHECK_PCH): Only set glibcpp_PCHFLAGS ifro2003-06-051-0/+6
| | | | | | | | | | .gch compilation works. * aclocal.m4, configure: Regenerate. * testsuite_flags.in (--build-cxx): Use glibcpp_PCHFLAGS to initialize PCHFLAGS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67515 138bc75d-0d04-0410-961f-82ee72b054a4