commit | 170a871202782602e02b840972a29ec29d228930 | [log] [tgz] |
---|---|---|
author | Vincent Rabaud <vrabaud@google.com> | Tue Jan 19 10:47:57 2021 |
committer | James Zern <jzern@google.com> | Thu Jan 21 03:19:32 2021 |
tree | e58488726247ac31dbc0558eba39776a77fbf43b | |
parent | 8599571935b08104b666695987ba663db76f461e [diff] |
Fix check_c_source_compiles with pthread. Also fix the variables: we need to check for PTHREAD_PRIO_INHERIT and PTHREAD_CREATE_JOINABLE (not PTHREAD_CREATE_UNDETACHED) and internally use HAVE_PTHREAD_PRIO_INHERIT and PTHREAD_CREATE_JOINABLE (and not HAVE_PTHREAD_CREATE_JOINABLE). cmake/config.h.in actually had the right variables. BUG=webp:498 Change-Id: Ibf6cf854337cea5781a74316024f8ff4960366d7 (cherry picked from commit ceddb5fc8d077fb1d5d4536012c33172645c69cf)