aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorTom Schouten <doelie@users.sourceforge.net>2011-11-29 17:13:48 +0000
committerTom Schouten <doelie@users.sourceforge.net>2011-11-29 17:13:48 +0000
commit325d6ba1c380fc2d57923f7282d73d4d4224639e (patch)
tree30e5aea37d6b227defa6024aaf0a22f5e66b4e62 /configure.ac
parent6e2552bbb95b0c58ef9e7ab1021f4f3d85176109 (diff)
pdp: v4l build fixes
svn path=/trunk/externals/pdp/; revision=15805
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index d5359ad..15d686a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -168,8 +168,8 @@ else
if test "x$have_libv4l" = "xyes"
then
AC_DEFINE(HAVE_PDP_LIBV4L, 1, [build pdp_v4l with libv4l])
- PDP_V4L_CFLAGS="`pkg-config --cflags libv4l`"
- PDP_V4L_LIBS="`pkg-config --libs libv4l`"
+ PDP_V4L_CFLAGS="`pkg-config --cflags libv4l 2>/dev/null || pkg-config --cflags libv4l2`"
+ PDP_V4L_LIBS="`pkg-config --libs libv4l 2>/dev/null || pkg-config --libs libv4l2`"
else
PDP_V4L_CFLAGS=""
PDP_V4L_LIBS=""