projects
/
platform
/
upstream
/
v4l-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
166142c
)
Do not use v4l-utils copy of kernel headers on non Linux architectures
author
Gregor Jasny
<gjasny@googlemail.com>
Wed, 8 Feb 2012 20:12:03 +0000
(21:12 +0100)
committer
Gregor Jasny
<gjasny@googlemail.com>
Wed, 8 Feb 2012 20:12:03 +0000
(21:12 +0100)
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
053f846
..
ba68c82
100644
(file)
--- 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