Commit bffc9d79 by Joseph Myers Committed by Joseph Myers

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
parent 41870ac5
2008-06-06 Joseph Myers <joseph@codesourcery.com> 2008-06-06 Joseph Myers <joseph@codesourcery.com>
* 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.
2008-06-06 Joseph Myers <joseph@codesourcery.com>
* testsuite/17_intro/headers/all.cc, * testsuite/17_intro/headers/all.cc,
testsuite/17_intro/headers/all_c++200x_compatibility.cc, testsuite/17_intro/headers/all_c++200x_compatibility.cc,
testsuite/17_intro/headers/all_pedantic_errors.cc, testsuite/17_intro/headers/all_pedantic_errors.cc,
......
...@@ -156,12 +156,6 @@ ...@@ -156,12 +156,6 @@
/* Define to 1 if you have the `frexpl' function. */ /* Define to 1 if you have the `frexpl' function. */
#undef HAVE_FREXPL #undef HAVE_FREXPL
/* Define to 1 if you have the <gconf.h> header file. */
#undef HAVE_GCONF_H
/* Define to 1 if you have the <gconv.h> header file. */
#undef HAVE_GCONV_H
/* Define if _Unwind_GetIPInfo is available. */ /* Define if _Unwind_GetIPInfo is available. */
#undef HAVE_GETIPINFO #undef HAVE_GETIPINFO
......
...@@ -131,7 +131,7 @@ if $GLIBCXX_IS_NATIVE; then ...@@ -131,7 +131,7 @@ if $GLIBCXX_IS_NATIVE; then
# Check for available headers. # Check for available headers.
AC_CHECK_HEADERS([nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \ 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 sys/ipc.h sys/sem.h]) sys/types.h sys/ipc.h sys/sem.h])
GLIBCXX_CHECK_LINKER_FEATURES GLIBCXX_CHECK_LINKER_FEATURES
......
...@@ -46,7 +46,7 @@ case "${host}" in ...@@ -46,7 +46,7 @@ case "${host}" in
# so we just check for all the features here. # so we just check for all the features here.
# Check for available headers. # Check for available headers.
AC_CHECK_HEADERS([nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \ 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]) sys/types.h])
# Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
...@@ -197,7 +197,7 @@ case "${host}" in ...@@ -197,7 +197,7 @@ case "${host}" in
AC_CHECK_HEADERS([nan.h ieeefp.h endian.h sys/isa_defs.h \ 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 \ 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 \ 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' SECTION_FLAGS='-ffunction-sections -fdata-sections'
AC_SUBST(SECTION_FLAGS) AC_SUBST(SECTION_FLAGS)
GLIBCXX_CHECK_COMPILER_FEATURES GLIBCXX_CHECK_COMPILER_FEATURES
...@@ -223,6 +223,10 @@ case "${host}" in ...@@ -223,6 +223,10 @@ case "${host}" in
# For C99 support to TR1. # For C99 support to TR1.
GLIBCXX_CHECK_C99_TR1 GLIBCXX_CHECK_C99_TR1
AC_DEFINE(_GLIBCXX_USE_RANDOM_TR1)
AC_LC_MESSAGES
# Check for sigsetjmp # Check for sigsetjmp
AC_TRY_COMPILE( AC_TRY_COMPILE(
[#include <setjmp.h>], [#include <setjmp.h>],
...@@ -231,6 +235,11 @@ case "${host}" in ...@@ -231,6 +235,11 @@ case "${host}" in
siglongjmp (env, 1); siglongjmp (env, 1);
], ],
[AC_DEFINE(HAVE_SIGSETJMP, 1, [Define if sigsetjmp is available.])]) [AC_DEFINE(HAVE_SIGSETJMP, 1, [Define if sigsetjmp is available.])])
AC_DEFINE(HAVE_MMAP)
# For iconv support.
AM_ICONV
;; ;;
*-mingw32*) *-mingw32*)
AC_CHECK_HEADERS([sys/types.h locale.h float.h]) AC_CHECK_HEADERS([sys/types.h locale.h float.h])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment