diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-29 20:31:51 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-29 20:31:51 +0000 |
commit | 4c7c543902cc8bd03c6a2ded06f27d6b93cf1316 (patch) | |
tree | b9b4e44d799a568f62a0da2ba5d0b9f82a4a85c9 /kopete/libkopete/avdevice/configure.in.in | |
parent | d0be1721b4656109c9e21cc0ecb6f23b343b7c26 (diff) | |
download | tdenetwork-4c7c543902cc8bd03c6a2ded06f27d6b93cf1316.tar.gz tdenetwork-4c7c543902cc8bd03c6a2ded06f27d6b93cf1316.zip |
Use libv4l1-videodev.h when available in kdenetwork
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1243951 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/libkopete/avdevice/configure.in.in')
-rw-r--r-- | kopete/libkopete/avdevice/configure.in.in | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/kopete/libkopete/avdevice/configure.in.in b/kopete/libkopete/avdevice/configure.in.in new file mode 100644 index 00000000..34dd7523 --- /dev/null +++ b/kopete/libkopete/avdevice/configure.in.in @@ -0,0 +1,21 @@ +# -- 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 ---------------------------------------------- |