aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGregor Jasny <gjasny@googlemail.com>2012-02-08 21:12:03 +0100
committerGregor Jasny <gjasny@googlemail.com>2012-02-08 21:12:03 +0100
commitcc9c1dfdf93e76bf466ded8c354b1585de31890f (patch)
treedddc766765d8e0ebc755e709460157093e566dd3
parent166142cb4f10eebb268d3b652847b818f3c6a05c (diff)
Do not use v4l-utils copy of kernel headers on non Linux architectures
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
-rw-r--r--configure.ac6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 053f8466..ba68c827 100644
--- a/configure.ac
+++ b/configure.ac
@@ -174,6 +174,10 @@ AS_IF([test x$with_libv4l != xyes], [AC_SUBST([ENFORCE_LIBV4L_STATIC], ["-static
# misc
-CPPFLAGS="-I\$(top_srcdir)/include -I\$(top_srcdir)/lib/include -Wall -Wpointer-arith -D_GNU_SOURCE $CPPFLAGS"
+if test "x$linux_os" = "xyes"; then
+ CPPFLAGS="-I\$(top_srcdir)/include $CPPFLAGS"
+fi
+
+CPPFLAGS="-I\$(top_srcdir)/lib/include -Wall -Wpointer-arith -D_GNU_SOURCE $CPPFLAGS"
AC_OUTPUT

Privacy Policy