aboutsummaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-12-22 21:03:46 -0800
committerGuy Harris <guy@alum.mit.edu>2014-12-23 05:04:17 +0000
commit1b37f4c5ef01eaa1fe5724ced0954ceba27fe5f2 (patch)
tree9a11cc25488081aed05403be15c9579c37ffaf79 /ConfigureChecks.cmake
parent4009231b2c21a90638d5eebd5e97bda82ff99862 (diff)
Cmake: check for popcount, and build it from wsutil/popcount.c if missing.
Change-Id: Id646a9f0b1fc6acafa99a78725e3f0ec8a48c170 Reviewed-on: https://code.wireshark.org/review/6006 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 5c173eb004..03beda2232 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -86,6 +86,7 @@ check_function_exists("mmap" HAVE_MMAP)
check_function_exists("mprotect" HAVE_MPROTECT)
check_function_exists("mkdtemp" HAVE_MKDTEMP)
check_function_exists("mkstemp" HAVE_MKSTEMP)
+check_function_exists("popcount" HAVE_POPCOUNT)
check_function_exists("setresgid" HAVE_SETRESGID)
check_function_exists("setresuid" HAVE_SETRESUID)
check_function_exists("strptime" HAVE_STRPTIME)