]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Fix typo in last commit, check _POSIX_TIMEOU...
authorPaolo Carlini <paolo.carlini@oracle.com>
Wed, 3 Sep 2008 22:50:59 +0000 (22:50 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Wed, 3 Sep 2008 22:50:59 +0000 (22:50 +0000)
2008-09-03  Paolo Carlini  <paolo.carlini@oracle.com>

* acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Fix typo in last commit,
check _POSIX_TIMEOUTS, not _POSIX_TIMERS.
* configure: Regenerate.

From-SVN: r139963

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

index a13ea734d37e7fc3156ef7aaee4ede865e2532c7..c2cf9253e48e44ce2626ab17d8a7f606677e53da 100644 (file)
@@ -1,3 +1,9 @@
+2008-09-03  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Fix typo in last commit,
+       check _POSIX_TIMEOUTS, not _POSIX_TIMERS.
+       * configure: Regenerate.
+
 2008-09-03  Paolo Carlini  <paolo.carlini@oracle.com>
 
        * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Check _POSIX_TIMERS too.
index dac327af2fdf1f1586c01c08ff1efa9c4953ea99..aba378693df7870cf6309644875f4872adfd904e 100644 (file)
@@ -2843,7 +2843,8 @@ AC_DEFUN([GLIBCXX_CHECK_GTHREADS], [
 
   AC_TRY_COMPILE([#include "gthr.h"],
     [
-       #if (!defined(__GTHREADS_CXX0X) || _POSIX_TIMERS <= 0)
+       #if (!defined(__GTHREADS_CXX0X) || !defined(_POSIX_TIMEOUTS) \
+            || _POSIX_TIMEOUTS <= 0)
        #error
        #endif
     ], [ac_has_gthreads=yes], [ac_has_gthreads=no])
index f8263f551d2de10661140647b0e9d9b2ffffe52b..b1470c7cf78da5a4b585f553fa0e8043272fbdb2 100755 (executable)
@@ -21610,7 +21610,8 @@ int
 main ()
 {
 
-       #if (!defined(__GTHREADS_CXX0X) || _POSIX_TIMERS <= 0)
+       #if (!defined(__GTHREADS_CXX0X) || !defined(_POSIX_TIMEOUTS) \
+            || _POSIX_TIMEOUTS <= 0)
        #error
        #endif