aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorPaolo Carlini <paolo.carlini@oracle.com>2008-09-03 22:31:29 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2008-09-03 22:31:29 +0000
commit1ced1970821f150701d696b948bce051d86de2e4 (patch)
tree4673e1076aaf1d9c6afb107699a37beec1dbcd8b /libstdc++-v3
parent92f9cde563c1d16b8b0ffe955508e8ad94e1c559 (diff)
downloadgcc-1ced1970821f150701d696b948bce051d86de2e4.zip
gcc-1ced1970821f150701d696b948bce051d86de2e4.tar.gz
gcc-1ced1970821f150701d696b948bce051d86de2e4.tar.bz2
acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Check _POSIX_TIMERS too.
2008-09-03 Paolo Carlini <paolo.carlini@oracle.com> * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Check _POSIX_TIMERS too. * configure: Regenerate. From-SVN: r139961
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog5
-rw-r--r--libstdc++-v3/acinclude.m42
-rwxr-xr-xlibstdc++-v3/configure2
3 files changed, 7 insertions, 2 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 89e0b2a..a13ea73 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,8 @@
+2008-09-03 Paolo Carlini <paolo.carlini@oracle.com>
+
+ * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Check _POSIX_TIMERS too.
+ * configure: Regenerate.
+
2008-09-03 Chris Fairles <chris.fairles@gmail.com>
* include/std/condition_variable: Use new deleted ctors.
diff --git a/libstdc++-v3/acinclude.m4 b/libstdc++-v3/acinclude.m4
index 279c4f3..dac327a 100644
--- a/libstdc++-v3/acinclude.m4
+++ b/libstdc++-v3/acinclude.m4
@@ -2843,7 +2843,7 @@ AC_DEFUN([GLIBCXX_CHECK_GTHREADS], [
AC_TRY_COMPILE([#include "gthr.h"],
[
- #ifndef __GTHREADS_CXX0X
+ #if (!defined(__GTHREADS_CXX0X) || _POSIX_TIMERS <= 0)
#error
#endif
], [ac_has_gthreads=yes], [ac_has_gthreads=no])
diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure
index d7e034b..f8263f5 100755
--- a/libstdc++-v3/configure
+++ b/libstdc++-v3/configure
@@ -21610,7 +21610,7 @@ int
main ()
{
- #ifndef __GTHREADS_CXX0X
+ #if (!defined(__GTHREADS_CXX0X) || _POSIX_TIMERS <= 0)
#error
#endif