summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 89e0b2a7f2d..a13ea734d37 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 279c4f3e145..dac327af2fd 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 d7e034b9c4d..f8263f551d2 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