configure.ac: Run unconditionally GLIBCXX_CHECK_INT64_T and GLIBCXX_CHECK_C99_TR1...
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. From-SVN: r139008
This commit is contained in:
parent
5408498e83
commit
0f24e8de8b
|
@ -1,3 +1,13 @@
|
|||
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.
|
||||
|
||||
2008-08-11 Stephen M. Webb <stephenw@xandros.com>
|
||||
|
||||
* include/tr1_impl/regex: Formatting fixes.
|
||||
|
|
|
@ -1204,7 +1204,8 @@ AC_DEFUN([GLIBCXX_CHECK_C99_TR1], [
|
|||
[int ch;
|
||||
int ret;
|
||||
ret = isblank(ch);
|
||||
],[glibcxx_cv_c99_ctype_tr1=yes], [glibcxx_cv_c99_ctype_tr1=no])
|
||||
],[glibcxx_cv_c99_ctype_tr1=yes],
|
||||
[glibcxx_cv_c99_ctype_tr1=no])
|
||||
])
|
||||
AC_MSG_RESULT($glibcxx_cv_c99_ctype_tr1)
|
||||
if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
|
||||
|
@ -1275,7 +1276,8 @@ AC_DEFUN([GLIBCXX_CHECK_C99_TR1], [
|
|||
typedef uint_least64_t my_uint_least64_t;
|
||||
typedef uintmax_t my_uintmax_t;
|
||||
typedef uintptr_t my_uintptr_t;
|
||||
],[glibcxx_cv_c99_stdint_tr1=yes], [glibcxx_cv_c99_stdint_tr1=no])
|
||||
],[glibcxx_cv_c99_stdint_tr1=yes],
|
||||
[glibcxx_cv_c99_stdint_tr1=no])
|
||||
])
|
||||
AC_MSG_RESULT($glibcxx_cv_c99_stdint_tr1)
|
||||
if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
|
||||
|
|
|
@ -159,9 +159,6 @@
|
|||
/* Define if _Unwind_GetIPInfo is available. */
|
||||
#undef HAVE_GETIPINFO
|
||||
|
||||
/* Define to 1 if you have the `getpagesize' function. */
|
||||
#undef HAVE_GETPAGESIZE
|
||||
|
||||
/* Define if gthr-default.h exists (meaning that threading support is
|
||||
enabled). */
|
||||
#undef HAVE_GTHR_DEFAULT
|
||||
|
@ -274,9 +271,6 @@
|
|||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#undef HAVE_MEMORY_H
|
||||
|
||||
/* Define to 1 if you have a working `mmap' system call. */
|
||||
#undef HAVE_MMAP
|
||||
|
||||
/* Define to 1 if you have the `modf' function. */
|
||||
#undef HAVE_MODF
|
||||
|
||||
|
@ -304,9 +298,6 @@
|
|||
/* Define to 1 if you have the `setenv' function. */
|
||||
#undef HAVE_SETENV
|
||||
|
||||
/* Define if sigsetjmp is available. */
|
||||
#undef HAVE_SIGSETJMP
|
||||
|
||||
/* Define to 1 if you have the `sincos' function. */
|
||||
#undef HAVE_SINCOS
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -122,6 +122,12 @@ GLIBCXX_ENABLE_FULLY_DYNAMIC_STRING([no])
|
|||
# Checks for operating systems support that don't require linking.
|
||||
GLIBCXX_CHECK_SYSTEM_ERROR
|
||||
|
||||
# For the streamoff typedef.
|
||||
GLIBCXX_CHECK_INT64_T
|
||||
|
||||
# For C99 support to TR1.
|
||||
GLIBCXX_CHECK_C99_TR1
|
||||
|
||||
# For common values of EOF, SEEK_CUR, SEEK_END.
|
||||
GLIBCXX_CHECK_STDIO_MACROS
|
||||
|
||||
|
@ -151,15 +157,9 @@ if $GLIBCXX_IS_NATIVE; then
|
|||
AC_CHECK_HEADERS(sys/uio.h)
|
||||
GLIBCXX_CHECK_WRITEV
|
||||
|
||||
# For the __streamoff_base_type typedef.
|
||||
GLIBCXX_CHECK_INT64_T
|
||||
|
||||
# For LFS support.
|
||||
GLIBCXX_CHECK_LFS
|
||||
|
||||
# For C99 support to TR1.
|
||||
GLIBCXX_CHECK_C99_TR1
|
||||
|
||||
# For dev/random and dev/urandom for TR1.
|
||||
GLIBCXX_CHECK_RANDOM_TR1
|
||||
|
||||
|
@ -177,16 +177,6 @@ if $GLIBCXX_IS_NATIVE; then
|
|||
|
||||
AC_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_FUNC_MMAP
|
||||
|
||||
# For iconv support.
|
||||
AM_ICONV
|
||||
|
||||
|
@ -229,8 +219,6 @@ else
|
|||
|
||||
# GLIBCXX_CHECK_STDLIB_SUPPORT
|
||||
AC_DEFINE(HAVE_STRTOF)
|
||||
# AC_FUNC_MMAP
|
||||
AC_DEFINE(HAVE_MMAP)
|
||||
|
||||
AC_DEFINE(HAVE_ACOSF)
|
||||
AC_DEFINE(HAVE_ASINF)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue