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:50 +0200
commit30a351dfceeae8797711d755aa0065cffa58dab6 (patch)
tree1a5279946aedfd665cf9d3fbe86704a40f808650 /config.h.cmake
parent592b61441c5c16440101cb1ad43455463a0a89c9 (diff)
downloadtdeedu-30a351dfceeae8797711d755aa0065cffa58dab6.tar.gz
tdeedu-30a351dfceeae8797711d755aa0065cffa58dab6.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> (cherry picked from commit ef92c2b00d6b9085b392da3708d2e6a7aabdb65e)
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