summaryrefslogtreecommitdiff
path: root/event-config.h.cmake
diff options
context:
space:
mode:
authorAzat Khuzhin <a3at.mail@gmail.com>2017-01-30 03:17:41 +0300
committerAzat Khuzhin <a3at.mail@gmail.com>2017-03-08 12:47:22 +0300
commitfa135bdcd9f82a953ac6be55a5c874114bccbc42 (patch)
tree0ff89665b78f388d93492d7175f1fbe4139172c6 /event-config.h.cmake
parentc199df7bc78824ff579ff34c5f9f922034e8fa31 (diff)
downloadlibevent-fa135bdcd9f82a953ac6be55a5c874114bccbc42.tar.gz
cmake: Fix checking of enum values from sysctl.h
CheckSymbolExists do not do this, so add new CheckConstExists that will use CheckCSourceCompiles() to check this. v2: use set() instead of string(APPEND)
Diffstat (limited to 'event-config.h.cmake')
-rw-r--r--event-config.h.cmake9
1 files changed, 6 insertions, 3 deletions
diff --git a/event-config.h.cmake b/event-config.h.cmake
index 472ffe17..8431dfc8 100644
--- a/event-config.h.cmake
+++ b/event-config.h.cmake
@@ -67,13 +67,16 @@
#cmakedefine EVENT__HAVE_CLOCK_GETTIME
/* Define to 1 if you have the declaration of `CTL_KERN'. */
-#cmakedefine EVENT__HAVE_DECL_CTL_KERN
+#define EVENT__HAVE_DECL_CTL_KERN @EVENT__HAVE_DECL_CTL_KERN@
/* Define to 1 if you have the declaration of `KERN_ARND'. */
-#cmakedefine EVENT__HAVE_DECL_KERN_ARND
+#define EVENT__HAVE_DECL_KERN_ARND @EVENT__HAVE_DECL_KERN_ARND@
/* Define to 1 if you have the declaration of `KERN_RANDOM'. */
-#cmakedefine EVENT__HAVE_DECL_KERN_RANDOM
+#define EVENT__HAVE_DECL_KERN_RANDOM @EVENT__HAVE_DECL_KERN_RANDOM@
+
+/* Define to 1 if you have the declaration of `RANDOM_UUID'. */
+#define EVENT__HAVE_DECL_RANDOM_UUID @EVENT__HAVE_DECL_RANDOM_UUID@
/* Define if /dev/poll is available */
#cmakedefine EVENT__HAVE_DEVPOLL