summaryrefslogtreecommitdiffstats
path: root/config.h.cmake
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-03-30 21:38:25 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-03-30 21:38:25 +0200
commitef92c2b00d6b9085b392da3708d2e6a7aabdb65e (patch)
tree97aaa354f7581e61b361e2f07091dce1c1150245 /config.h.cmake
parent324c040645bcaa127717113a4a6cf6cf8693f938 (diff)
downloadtdeedu-ef92c2b00d6b9085b392da3708d2e6a7aabdb65e.tar.gz
tdeedu-ef92c2b00d6b9085b392da3708d2e6a7aabdb65e.zip
Detect the presence of the sys/io.h header and the ioperm function
instead of listing a long list of architectures. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'config.h.cmake')
-rw-r--r--config.h.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/config.h.cmake b/config.h.cmake
index e652bc51..8c61c4b8 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -25,6 +25,12 @@
// Defined to 1 if you have <linux/videodev2.h> header file.
#cmakedefine HAVE_LINUX_VIDEODEV2_H 1
+// Defined to 1 if you have <sys/io.h> header file.
+#cmakedefine HAVE_SYS_IO_H 1
+
+// Defined to 1 if <sys/io.h> defines ioperm function.
+#cmakedefine HAVE_IOPERM 1
+
// Defined to 1 if you have <stdint.h> header file
#cmakedefine HAVE_STDINT_H 1