diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2016-11-13 01:52:56 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2016-11-13 01:52:56 +0100 |
commit | c7ed96db836509bfc933c2be08dcbd63dff54589 (patch) | |
tree | f24394273597944f365fbd0f8b7e46618091728c /kopete/configure.in.in | |
parent | 60880aed60f18f95d860510e19ba926b82d588af (diff) | |
download | tdenetwork-c7ed96db836509bfc933c2be08dcbd63dff54589.tar.gz tdenetwork-c7ed96db836509bfc933c2be08dcbd63dff54589.zip |
Kopete: Improve check for videodev header
This resolves bug 2725
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'kopete/configure.in.in')
-rw-r--r-- | kopete/configure.in.in | 13 |
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]) |