summaryrefslogtreecommitdiff
path: root/libstdc++-v3/crossconfig.m4
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2008-06-06 20:11:26 +0100
committerJoseph Myers <jsm28@gcc.gnu.org>2008-06-06 20:11:26 +0100
commitbffc9d793fd01df2420a39b2544860f9bae16848 (patch)
tree16521bbe945f4368aaa62b35c00f9cbb1b922d6f /libstdc++-v3/crossconfig.m4
parent41870ac553f4ea9df38ada05abf8aecb23c330f8 (diff)
configure.ac: Do not check for gconv.h.
* 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. From-SVN: r136494
Diffstat (limited to 'libstdc++-v3/crossconfig.m4')
-rw-r--r--libstdc++-v3/crossconfig.m413
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])