diff options
author | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-06-06 19:11:26 +0000 |
---|---|---|
committer | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-06-06 19:11:26 +0000 |
commit | 842503911be8408849b3c843831a3770dd471b4e (patch) | |
tree | 16521bbe945f4368aaa62b35c00f9cbb1b922d6f /libstdc++-v3/crossconfig.m4 | |
parent | 2c8e48347f0f0ac0ee14b5fd5d6176ab3487cb52 (diff) | |
download | gcc-842503911be8408849b3c843831a3770dd471b4e.tar.gz |
* configure.ac: Do not check for gconv.h.
* crossconfig.m4 (GLIBCXX_CROSSCONFIG): Do not test for gconv.h or
gconf.h. For glibc and uClibc systems, define
_GLIBCXX_USE_RANDOM_TR1 and HAVE_MMAP and use AC_LC_MESSAGES and
AM_ICONV.
* configure, config.h.in: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136494 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/crossconfig.m4')
-rw-r--r-- | libstdc++-v3/crossconfig.m4 | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/libstdc++-v3/crossconfig.m4 b/libstdc++-v3/crossconfig.m4 index 2eb67568a6a..d40f30f8c7b 100644 --- a/libstdc++-v3/crossconfig.m4 +++ b/libstdc++-v3/crossconfig.m4 @@ -46,7 +46,7 @@ case "${host}" in # so we just check for all the features here. # Check for available headers. AC_CHECK_HEADERS([nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \ - machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \ + machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h \ sys/types.h]) # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld @@ -197,7 +197,7 @@ case "${host}" in AC_CHECK_HEADERS([nan.h ieeefp.h endian.h sys/isa_defs.h \ machine/endian.h machine/param.h sys/machine.h sys/types.h \ fp.h float.h endian.h inttypes.h locale.h float.h stdint.h \ - sys/ipc.h sys/sem.h gconf.h]) + sys/ipc.h sys/sem.h]) SECTION_FLAGS='-ffunction-sections -fdata-sections' AC_SUBST(SECTION_FLAGS) GLIBCXX_CHECK_COMPILER_FEATURES @@ -223,6 +223,10 @@ case "${host}" in # For C99 support to TR1. GLIBCXX_CHECK_C99_TR1 + AC_DEFINE(_GLIBCXX_USE_RANDOM_TR1) + + AC_LC_MESSAGES + # Check for sigsetjmp AC_TRY_COMPILE( [#include <setjmp.h>], @@ -231,6 +235,11 @@ case "${host}" in siglongjmp (env, 1); ], [AC_DEFINE(HAVE_SIGSETJMP, 1, [Define if sigsetjmp is available.])]) + + AC_DEFINE(HAVE_MMAP) + + # For iconv support. + AM_ICONV ;; *-mingw32*) AC_CHECK_HEADERS([sys/types.h locale.h float.h]) |