summaryrefslogtreecommitdiffstats
path: root/kopete/libkopete/avdevice/configure.in.in
blob: 4a446c03cfe141140d40e356adb2f35e5cdd58f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# -- Check for libv4l1-videodev.h presence --------------------

AC_MSG_CHECKING([for libv4l1-videodev.h])

AC_TRY_COMPILE([
#include <libv4l1-videodev.h>
],
[
],
        ac_have_libv4l1_videodev_h=yes
,
        ac_have_libv4l1_videodev_h=no
)

if test $ac_have_libv4l1_videodev_h = yes; then
        AC_DEFINE(HAVE_LIBV4L1_VIDEODEV_H, 1, [Define if you have libv4l1-videodev.h installed])
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 ----------------------------------------------