File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,10 @@ check_include_file(unistd.h HAVE_UNISTD_H)
37
37
check_include_file (utime.h HAVE_UTIME_H )
38
38
check_include_file (windows.h HAVE_WINDOWS_H )
39
39
40
+ # library checks
41
+ include (CheckLibraryExists )
42
+ check_library_exists (pthread pthread_create "" HAVE_LIBPTHREAD )
43
+
40
44
# function checks
41
45
include (CheckSymbolExists )
42
46
check_symbol_exists (getpagesize unistd.h HAVE_GETPAGESIZE )
Original file line number Diff line number Diff line change 194
194
#cmakedefine HAVE_LIBPSAPI ${HAVE_LIBPSAPI}
195
195
196
196
/* Define to 1 if you have the `pthread' library (-lpthread ). */
197
- #undef HAVE_LIBPTHREAD
197
+ #cmakedefine HAVE_LIBPTHREAD ${HAVE_LIBPTHREAD}
198
198
199
199
/* Define to 1 if you have the `udis86' library (-ludis86 ). */
200
200
#undef HAVE_LIBUDIS86
You can’t perform that action at this time.
0 commit comments