summaryrefslogtreecommitdiffstats
path: root/kopete/libkopete/avdevice/configure.in.in
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/libkopete/avdevice/configure.in.in')
-rw-r--r--kopete/libkopete/avdevice/configure.in.in22
1 files changed, 22 insertions, 0 deletions
diff --git a/kopete/libkopete/avdevice/configure.in.in b/kopete/libkopete/avdevice/configure.in.in
index 34dd7523..4a446c03 100644
--- a/kopete/libkopete/avdevice/configure.in.in
+++ b/kopete/libkopete/avdevice/configure.in.in
@@ -19,3 +19,25 @@ fi
AC_MSG_RESULT($ac_have_libv4l1_videodev_h)
# -- End libv4l1-videodev.h ----------------------------------------------
+
+# -- Check for installed videodev headers --------------------
+
+AC_MSG_CHECKING([for videodev.h])
+
+AC_TRY_COMPILE([
+#include <linux/videodev.h>
+],
+[
+],
+ ac_have_videodev_h=yes
+,
+ ac_have_videodev_h=no
+)
+
+if test $ac_have_videodev_h = yes; then
+ AC_DEFINE(HAVE_LINUX_VIDEODEV_H, 1, [Define if you have videodev.h installed])
+fi
+
+AC_MSG_RESULT($ac_have_videodev_h)
+
+# -- End videodev ----------------------------------------------