diff options
author | Paolo Carlini <paolo.carlini@oracle.com> | 2008-09-03 22:50:59 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2008-09-03 22:50:59 +0000 |
commit | 83b55915e74aca2ede0562d3cb55465da5090abd (patch) | |
tree | 750adfcd9a1ee4891197b44c10f2a5a15104896f /libstdc++-v3/acinclude.m4 | |
parent | d1fe519cb8d2a7520ddf17e8bba2f96f943db62b (diff) | |
download | gcc-83b55915e74aca2ede0562d3cb55465da5090abd.zip gcc-83b55915e74aca2ede0562d3cb55465da5090abd.tar.gz gcc-83b55915e74aca2ede0562d3cb55465da5090abd.tar.bz2 |
acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Fix typo in last commit, check _POSIX_TIMEOUTS, not _POSIX_TIMERS.
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
Diffstat (limited to 'libstdc++-v3/acinclude.m4')
-rw-r--r-- | libstdc++-v3/acinclude.m4 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libstdc++-v3/acinclude.m4 b/libstdc++-v3/acinclude.m4 index dac327a..aba3786 100644 --- a/libstdc++-v3/acinclude.m4 +++ b/libstdc++-v3/acinclude.m4 @@ -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]) |