Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 359491 | Differences between
and this patch

Collapse All | Expand All

(-)a/autogen.sh (-1 lines)
Lines 1-4 Link Here
1
#!/bin/sh
1
#!/bin/sh
2
# Run this to generate all the initial makefiles, etc.
2
# Run this to generate all the initial makefiles, etc.
3
export ACLOCAL="aclocal -I missing_M4"
4
autoreconf -f -i
3
autoreconf -f -i
(-)a/configure.ac (-2 / +4 lines)
Lines 152-157 dnl ********************************************************************* Link Here
152
dnl Test whether we're linux or not. If so, define HAVE_V4L and build the
152
dnl Test whether we're linux or not. If so, define HAVE_V4L and build the
153
dnl video4linux/hardware dependent tools. Else, undefine HAVE_V4L
153
dnl video4linux/hardware dependent tools. Else, undefine HAVE_V4L
154
154
155
AC_ARG_WITH([v4l], AC_HELP_STRING([--without-v4l], [Disable v4l1 API]))
156
AS_IF([test "x$with_v4l" != "xno"], [
155
have_video4linux=false
157
have_video4linux=false
156
case $host in
158
case $host in
157
  *-*-linux*)
159
  *-*-linux*)
Lines 159-167 case $host in Link Here
159
                  [have_video4linux=true
161
                  [have_video4linux=true
160
                   AC_DEFINE(HAVE_V4L, 1,
162
                   AC_DEFINE(HAVE_V4L, 1,
161
		             [Building for Linux - using the video4linux API])],
163
		             [Building for Linux - using the video4linux API])],
164
                  []);; esac])
165
AS_IF([test "x$have_video4linux" != "xtrue" && test "x$with_v4l" != "xno"],
162
                  [AC_MSG_ERROR([videodev.h not found - please install the linux kernel headers])])
166
                  [AC_MSG_ERROR([videodev.h not found - please install the linux kernel headers])])
163
   ;;
164
esac
165
AM_CONDITIONAL(HAVE_V4L, test x$have_video4linux = xtrue)
167
AM_CONDITIONAL(HAVE_V4L, test x$have_video4linux = xtrue)
166
168
167
dnl *********************************************************************
169
dnl *********************************************************************

Return to bug 359491