diff options
author | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-09-03 22:31:29 +0000 |
---|---|---|
committer | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-09-03 22:31:29 +0000 |
commit | 045cc3b3dfe269c1e9e5c566e3af934137fcb123 (patch) | |
tree | 4673e1076aaf1d9c6afb107699a37beec1dbcd8b | |
parent | 3993cbc2c8539e9d9e11ecbd1dd181ea11bf75b0 (diff) | |
download | gcc-045cc3b3dfe269c1e9e5c566e3af934137fcb123.tar.gz |
2008-09-03 Paolo Carlini <paolo.carlini@oracle.com>
* 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
-rw-r--r-- | libstdc++-v3/ChangeLog | 5 | ||||
-rw-r--r-- | libstdc++-v3/acinclude.m4 | 2 | ||||
-rwxr-xr-x | libstdc++-v3/configure | 2 |
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 |