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

Collapse All | Expand All

(-)configure.in.orig (-11 / +23 lines)
Lines 44-49 Link Here
44
  [  --with-dv-yv12,                   libDV PAL YV12 read-support])
44
  [  --with-dv-yv12,                   libDV PAL YV12 read-support])
45
AC_ARG_ENABLE(zalpha,
45
AC_ARG_ENABLE(zalpha,
46
  [  --enable-zalpha,                  include MPEG Z/Alpha support in mplex (www.geofront.se/products_software_mza.php)])
46
  [  --enable-zalpha,                  include MPEG Z/Alpha support in mplex (www.geofront.se/products_software_mza.php)])
47
AC_ARG_WITH(v4l,
48
  [ --without-v4l		       disable video4linux support])
49
AC_ARG_WITH(gtk,
50
  [--without-gtk		       disable gtk+ support])
47
51
48
AC_GNU_SOURCE
52
AC_GNU_SOURCE
49
53
Lines 155-166 Link Here
155
os_type=`uname`
159
os_type=`uname`
156
have_video4linux=false
160
have_video4linux=false
157
if test x$os_type = x"Linux"; then
161
if test x$os_type = x"Linux"; then
158
  AC_CHECK_HEADER(linux/videodev.h,
162
  if test x$with_v4l != xno; then
159
    have_video4linux=true
163
    AC_CHECK_HEADER(linux/videodev.h,
160
    AC_DEFINE(HAVE_V4L,1,
164
      have_video4linux=true
161
		      [Building for Linux - using the video4linux API]),
165
      AC_DEFINE(HAVE_V4L,1,
162
    AC_MSG_ERROR([videodev.h not found - please install the linux kernel headers])
166
  		      [Building for Linux - using the video4linux API]),
163
    )
167
      AC_MSG_ERROR([videodev.h not found - please install the linux kernel headers])
168
      )
169
  else
170
    AC_MSG_WARN([video4linux support disapled])
171
  fi
164
else
172
else
165
  AC_MSG_WARN([Did not find linux platform - video4linux functionality will be disabled])
173
  AC_MSG_WARN([Did not find linux platform - video4linux functionality will be disabled])
166
  AC_MSG_WARN([If you are on MacOS X, please note that only the classic libjpeg works !])
174
  AC_MSG_WARN([If you are on MacOS X, please note that only the classic libjpeg works !])
Lines 294-299 Link Here
294
fi
302
fi
295
303
296
have_dv=false
304
have_dv=false
305
if test x$with_dv != xno ; then
297
EXTRA_LIBS=" $LIBM_LIBS $GLIB_LIBS  $PTHREAD_LIBS"
306
EXTRA_LIBS=" $LIBM_LIBS $GLIB_LIBS  $PTHREAD_LIBS"
298
AC_CHECK_LIB(dv, dv_decoder_free,
307
AC_CHECK_LIB(dv, dv_decoder_free,
299
  [ DV_LIBS="-L${with_dv}/lib -ldv ${EXTRA_LIBS}"
308
  [ DV_LIBS="-L${with_dv}/lib -ldv ${EXTRA_LIBS}"
Lines 302-307 Link Here
302
			  [libdv is present])
311
			  [libdv is present])
303
    have_dv=true],, 
312
    have_dv=true],, 
304
    -L${with_dv}/lib -ldv ${EXTRA_LIBS})
313
    -L${with_dv}/lib -ldv ${EXTRA_LIBS})
314
fi
305
315
306
dnl *********************************************************************
316
dnl *********************************************************************
307
dnl Check for libDV YV12 read-support
317
dnl Check for libDV YV12 read-support
Lines 364-374 Link Here
364
dnl Check for Gtk+/glib (for glav)
374
dnl Check for Gtk+/glib (for glav)
365
dnl ********************************************************************
375
dnl ********************************************************************
366
have_gtk=false
376
have_gtk=false
367
ifdef([AM_PATH_GTK],
377
if test x$with_gtk != xno; then
368
      [ AM_PATH_GTK(1.2.0, [ have_gtk=true
378
 ifdef([AM_PATH_GTK],
369
                           AC_DEFINE(HAVE_GTK,1,
379
       [ AM_PATH_GTK(1.2.0, [ have_gtk=true
370
									 [Gtk library present]
380
                            AC_DEFINE(HAVE_GTK,1,
371
							)],,) ])
381
                                                                        [Gtk library present]
382
                                                       )],,) ])
383
fi
372
384
373
dnl ********************************************************************
385
dnl ********************************************************************
374
dnl Check for the SDL library (for software playback)
386
dnl Check for the SDL library (for software playback)

Return to bug 86692