diff options
Diffstat (limited to 'configure.cmake')
-rw-r--r-- | configure.cmake | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.cmake b/configure.cmake index 755a0402215..911cb38c454 100644 --- a/configure.cmake +++ b/configure.cmake @@ -1,5 +1,4 @@ - -# Copyright (c) 2009, 2012, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2009, 2013, Oracle and/or its affiliates. All rights reserved. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -617,6 +616,7 @@ ENDIF() # check whether time_t is unsigned CHECK_C_SOURCE_COMPILES(" +#include <time.h> int main() { int array[(((time_t)-1) > 0) ? 1 : -1]; @@ -1056,3 +1056,4 @@ SET(CMAKE_EXTRA_INCLUDE_FILES) CHECK_STRUCT_HAS_MEMBER("struct dirent" d_ino "dirent.h" STRUCT_DIRENT_HAS_D_INO) CHECK_STRUCT_HAS_MEMBER("struct dirent" d_namlen "dirent.h" STRUCT_DIRENT_HAS_D_NAMLEN) SET(SPRINTF_RETURNS_INT 1) +CHECK_INCLUDE_FILE(ucontext.h HAVE_UCONTEXT_H) |