summaryrefslogtreecommitdiffstats
path: root/kopete/configure.in.in
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/configure.in.in')
-rw-r--r--kopete/configure.in.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/kopete/configure.in.in b/kopete/configure.in.in
index 261f4f6f..989b410d 100644
--- a/kopete/configure.in.in
+++ b/kopete/configure.in.in
@@ -136,6 +136,19 @@ AC_SUBST(KOPETE_INCLUDES)
AC_SUBST(KOPETE_COMPAT_INCLUDES)
AC_SUBST(LIB_KOPETECOMPAT)
+
+KDE_CHECK_HEADERS(
+ [libv4l1-videodev.h],
+ [videodev_header="libv4l1-videodev.h"],
+ [
+ KDE_CHECK_HEADERS([linux/videodev.h],
+ [videodev_header="linux/videodev.h"],
+ [videodev_header="no"])
+ ])
+if test ! x$videodev_header = xno; then
+ AC_DEFINE_UNQUOTED(VIDEODEV_HEADER, ["$videodev_header"], [Define header name for videodev])
+fi
+
# -- Check for installed Valgrind headers --------------------
AC_MSG_CHECKING([for valgrind.h])