From a9ca786a6a875d38f54f50b7c23ea1ad5d247511 Mon Sep 17 00:00:00 2001
From: Peter Powell
Date: Sat, 4 May 2013 16:40:27 +0100
Subject: Improve feature detection in configure.
---
make/test/kqueue.cpp | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
create mode 100644 make/test/kqueue.cpp
(limited to 'make/test/kqueue.cpp')
diff --git a/make/test/kqueue.cpp b/make/test/kqueue.cpp
new file mode 100644
index 000000000..a20317456
--- /dev/null
+++ b/make/test/kqueue.cpp
@@ -0,0 +1,24 @@
+/*
+ * InspIRCd -- Internet Relay Chat Daemon
+ *
+ *
+ * This file is part of InspIRCd. InspIRCd is free software: you can
+ * redistribute it and/or modify it under the terms of the GNU General Public
+ * License as published by the Free Software Foundation, version 2.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+ * details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
+ */
+
+
+#include
+
+int main() {
+ int fd = kqueue();
+ return (fd < 0);
+}
--
cgit v1.3.1-10-gc9f91