From 1b37f4c5ef01eaa1fe5724ced0954ceba27fe5f2 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Mon, 22 Dec 2014 21:03:46 -0800 Subject: 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 --- cmakeconfig.h.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cmakeconfig.h.in') diff --git a/cmakeconfig.h.in b/cmakeconfig.h.in index 042816633f..a0388be056 100644 --- a/cmakeconfig.h.in +++ b/cmakeconfig.h.in @@ -242,6 +242,9 @@ /* Define to 1 if you have the `pcap_set_tstamp_precision' function. */ #cmakedefine HAVE_PCAP_SET_TSTAMP_PRECISION 1 +/* Define to 1 if you have the popcount function. */ +#cmakedefine HAVE_POPCOUNT 1 + /* Define to 1 if you have the header file. */ #cmakedefine HAVE_PORTAUDIO_H 1 -- cgit v1.2.3