summaryrefslogtreecommitdiffstats
path: root/kstars/configure.in.in
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 /kstars/configure.in.in
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 'kstars/configure.in.in')
-rw-r--r--kstars/configure.in.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/kstars/configure.in.in b/kstars/configure.in.in
index 6b364a76..9065ba5d 100644
--- a/kstars/configure.in.in
+++ b/kstars/configure.in.in
@@ -111,6 +111,9 @@ case "$target" in
if test x$have_v4l2 = xtrue; then
AC_DEFINE(HAVE_LINUX_VIDEODEV2_H, 1, [Define to 1 if you have the <linux/videodev2.h> header file.])
+ KDE_CHECK_HEADERS([sys/io.h],
+ [AC_DEFINE(HAVE_IOPERM, 1, [Defined to 1 if <sys/io.h> defines ioperm function.])]
+ )
fi
AM_CONDITIONAL(BSD, test x$OSDIR = xbsd)