summaryrefslogtreecommitdiff
path: root/libstdc++-v3/crossconfig.m4
diff options
context:
space:
mode:
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2008-08-12 10:41:26 +0000
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2008-08-12 10:41:26 +0000
commitfcbe9d5cc1bb3b3bd51ffdb1fda2135f857e44a1 (patch)
treea1538a40d9d76b39f3d037f1671a4271c923907c /libstdc++-v3/crossconfig.m4
parent00721c5b5b6ad63ef8798f5565a2e7d429bc124a (diff)
downloadgcc-fcbe9d5cc1bb3b3bd51ffdb1fda2135f857e44a1.tar.gz
2008-08-12 Paolo Carlini <paolo.carlini@oracle.com>
* configure.ac: Run unconditionally GLIBCXX_CHECK_INT64_T and GLIBCXX_CHECK_C99_TR1; remove sigsetjmp and mmap checks (unused). * crossconfig.m4: Adjust; remove HAVE_GETPAGESIZE defines (unused). * configure: Regenerate. * config.h.in: Likewise. * acinclude.m4: Minor formatting fixes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@139008 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/crossconfig.m4')
-rw-r--r--libstdc++-v3/crossconfig.m436
1 files changed, 0 insertions, 36 deletions
diff --git a/libstdc++-v3/crossconfig.m4 b/libstdc++-v3/crossconfig.m4
index 6bac0330037..a38a4c306a1 100644
--- a/libstdc++-v3/crossconfig.m4
+++ b/libstdc++-v3/crossconfig.m4
@@ -24,10 +24,7 @@ case "${host}" in
GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
GLIBCXX_CHECK_STDLIB_SUPPORT
GLIBCXX_CHECK_S_ISREG_OR_S_IFREG
- AC_DEFINE(HAVE_SIGSETJMP)
- AC_DEFINE(HAVE_GETPAGESIZE)
AC_DEFINE(HAVE_WRITEV)
- AC_DEFINE(HAVE_INT64_T)
AC_DEFINE(HAVE_LIBM)
AC_DEFINE(HAVE_COPYSIGN)
@@ -65,16 +62,6 @@ case "${host}" in
GLIBCXX_CHECK_WRITEV
AC_DEFINE(HAVE_LC_MESSAGES)
-
- AC_TRY_COMPILE(
- [#include <setjmp.h>],
- [sigjmp_buf env;
- while (! sigsetjmp (env, 1))
- siglongjmp (env, 1);
- ],
- [AC_DEFINE(HAVE_SIGSETJMP, 1, [Define if sigsetjmp is available.])])
-
- AC_DEFINE(HAVE_MMAP)
;;
*djgpp)
@@ -125,9 +112,7 @@ case "${host}" in
GLIBCXX_CHECK_LINKER_FEATURES
GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
AC_DEFINE(HAVE_LC_MESSAGES)
- AC_DEFINE(HAVE_GETPAGESIZE)
AC_DEFINE(HAVE_SETENV)
- AC_DEFINE(HAVE_SIGSETJMP)
AC_DEFINE(HAVE_COPYSIGN)
AC_DEFINE(HAVE_COPYSIGNF)
AC_DEFINE(HAVE_FINITEF)
@@ -139,7 +124,6 @@ case "${host}" in
AC_DEFINE(HAVE_ISNAN)
AC_DEFINE(HAVE_ISNANF)
- AC_DEFINE(HAVE_MMAP)
AC_DEFINE(HAVE_ACOSF)
AC_DEFINE(HAVE_ASINF)
AC_DEFINE(HAVE_ATAN2F)
@@ -208,7 +192,6 @@ case "${host}" in
GLIBCXX_CHECK_STDLIB_SUPPORT
# For LFS.
- AC_DEFINE(HAVE_INT64_T)
GLIBCXX_CHECK_LFS
# For showmanyc_helper().
@@ -220,24 +203,10 @@ case "${host}" in
AC_CHECK_HEADERS(sys/uio.h)
GLIBCXX_CHECK_WRITEV
- # 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>],
- [sigjmp_buf env;
- while (! sigsetjmp (env, 1))
- siglongjmp (env, 1);
- ],
- [AC_DEFINE(HAVE_SIGSETJMP, 1, [Define if sigsetjmp is available.])])
-
- AC_DEFINE(HAVE_MMAP)
-
# For iconv support.
AM_ICONV
;;
@@ -314,15 +283,12 @@ case "${host}" in
case "$target" in
*-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
GLIBCXX_CHECK_LINKER_FEATURES
- AC_DEFINE(HAVE_GETPAGESIZE)
- AC_DEFINE(HAVE_SIGSETJMP)
AC_DEFINE(HAVE_MBSTATE_T)
AC_DEFINE(HAVE_POLL)
AC_DEFINE(HAVE_S_ISREG)
AC_DEFINE(HAVE_LC_MESSAGES)
AC_DEFINE(HAVE_FINITE)
AC_DEFINE(HAVE_FPCLASS)
- AC_DEFINE(HAVE_GETPAGESIZE)
# All of the dependencies for wide character support are here, so
# turn it on.
AC_DEFINE(_GLIBCXX_USE_WCHAR_T)
@@ -365,7 +331,6 @@ case "${host}" in
AC_DEFINE(HAVE_STRTOLD)
;;
esac
- AC_DEFINE(HAVE_MMAP)
AC_DEFINE(HAVE_COPYSIGN)
AC_DEFINE(HAVE_ISNAN)
AC_DEFINE(HAVE_ISNANF)
@@ -399,7 +364,6 @@ case "${host}" in
fi
;;
*-vxworks)
- AC_DEFINE(HAVE_MMAP)
AC_DEFINE(HAVE_ACOSF)
AC_DEFINE(HAVE_ASINF)
AC_DEFINE(HAVE_ATAN2F)