OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
PR target/26792
[pf3gnuchains/gcc-fork.git]
/
libstdc++-v3
/
configure.ac
diff --git
a/libstdc++-v3/configure.ac
b/libstdc++-v3/configure.ac
index
45dd410
..
d6ab01f
100644
(file)
--- a/
libstdc++-v3/configure.ac
+++ b/
libstdc++-v3/configure.ac
@@
-112,7
+112,8
@@
GLIBCXX_ENABLE_FULLY_DYNAMIC_STRING([no])
# No surprises, no surprises...
GLIBCXX_ENABLE_THREADS
# No surprises, no surprises...
GLIBCXX_ENABLE_THREADS
-if test $atomicity_dir = cpu/generic ; then
+GLIBCXX_ENABLE_ATOMIC_BUILTINS
+if test $atomicity_dir = cpu/generic/atomic_mutex ; then
AC_MSG_WARN([No native atomic operations are provided for this platform.])
if test $target_thread_file = single; then
AC_MSG_WARN([They cannot be faked when thread support is disabled.])
AC_MSG_WARN([No native atomic operations are provided for this platform.])
if test $target_thread_file = single; then
AC_MSG_WARN([They cannot be faked when thread support is disabled.])
@@
-160,9
+161,15
@@
if $GLIBCXX_IS_NATIVE; then
# For C99 support to TR1.
GLIBCXX_CHECK_C99_TR1
# For C99 support to TR1.
GLIBCXX_CHECK_C99_TR1
+ # For dev/random and dev/urandom for TR1.
+ GLIBCXX_CHECK_RANDOM_TR1
+
# For TLS support.
GCC_CHECK_TLS
# For TLS support.
GCC_CHECK_TLS
+ # For _Unwind_GetIPInfo.
+ GCC_CHECK_UNWIND_GETIPINFO
+
AC_LC_MESSAGES
AC_TRY_COMPILE(
AC_LC_MESSAGES
AC_TRY_COMPILE(
@@
-279,10
+286,14
@@
else
AC_DEFINE(HAVE_TANHL)
fi
AC_DEFINE(HAVE_TANHL)
fi
+ # Assume we have _Unwind_GetIPInfo for cross-compiles.
+ AC_DEFINE(HAVE_GETIPINFO)
+
fi
# This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
GLIBCXX_ENABLE_SYMVERS([yes])
fi
# This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
GLIBCXX_ENABLE_SYMVERS([yes])
+GLIBCXX_ENABLE_VISIBILITY([yes])
ac_ldbl_compat=no
case "$target" in
ac_ldbl_compat=no
case "$target" in
@@
-318,11
+329,6
@@
AC_SUBST(CPU_DEFINES_SRCDIR)
AC_SUBST(ABI_TWEAKS_SRCDIR)
AC_SUBST(OS_INC_SRCDIR)
AC_SUBST(ABI_TWEAKS_SRCDIR)
AC_SUBST(OS_INC_SRCDIR)
-# Atomic builtins can be inlined in bits/atomicity.h.
-if test $atomicity_dir = cpu/generic/atomic_builtins ; then
- AC_DEFINE([_GLIBCXX_ATOMIC_BUILTINS], 1,
- [Define if atomic builtins are provided for this platform.])
-fi
# Determine cross-compile flags and AM_CONDITIONALs.
#AC_SUBST(GLIBCXX_IS_NATIVE)
# Determine cross-compile flags and AM_CONDITIONALs.
#AC_SUBST(GLIBCXX_IS_NATIVE)