diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/configure.in b/configure.in index 6fa1f87fa..1dc974af5 100644 --- a/configure.in +++ b/configure.in @@ -302,18 +302,10 @@ AM_CONDITIONAL(HAVE_CDROM_IOCTLS, test x"$have_cdrom_ioctls" = "xyes") dnl dnl dxr3 / hollywood plus card dnl -AC_ARG_WITH(linux-path, - [ --with-linux-path=PATH Where the linux sources are located], - linux_path="$withval", linux_path="/usr/src/linux") +AC_LINUX_PATH(/usr/src/linux) +AC_SUBST(LINUX_INCLUDE) -AC_ARG_ENABLE(dxr3, - [ --enable-dxr3 Turn on DXR3/HW+ decoder support], - enable_dxr3=yes, enable_dxr3=no) - -if test x$enable_dxr3 = xyes; then - AC_CHECK_HEADER($linux_path/include/linux/em8300.h, have_dxr3=yes, - AC_MSG_ERROR(DXR3 headers not found)) -fi +AC_CHECK_DXR3() AM_CONDITIONAL(HAVE_DXR3, test "x$have_dxr3" = xyes) dnl |