OSDN Git Service

2008-09-03 Paolo Carlini <paolo.carlini@oracle.com>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 3 Sep 2008 22:31:29 +0000 (22:31 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 3 Sep 2008 22:31:29 +0000 (22:31 +0000)
* acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Check _POSIX_TIMERS too.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@139961 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/acinclude.m4
libstdc++-v3/configure

index 89e0b2a..a13ea73 100644 (file)
@@ -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.
index 279c4f3..dac327a 100644 (file)
@@ -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])
index d7e034b..f8263f5 100755 (executable)
@@ -21610,7 +21610,7 @@ int
 main ()
 {
 
-       #ifndef __GTHREADS_CXX0X
+       #if (!defined(__GTHREADS_CXX0X) || _POSIX_TIMERS <= 0)
        #error
        #endif