summaryrefslogtreecommitdiff
path: root/m4/_xine.m4
diff options
context:
space:
mode:
authorEduard Hasenleithner <ehasenle@users.sourceforge.net>2001-07-22 10:58:32 +0000
committerEduard Hasenleithner <ehasenle@users.sourceforge.net>2001-07-22 10:58:32 +0000
commit399c1ad333b1618d1f671404305d36f50ac58d2c (patch)
tree0c7676f61d18e0c1b1cde12f4f794ce006bbcf01 /m4/_xine.m4
parent8d2216a2097f2df48e4db1548a4303856787bde6 (diff)
downloadxine-lib-399c1ad333b1618d1f671404305d36f50ac58d2c.tar.gz
xine-lib-399c1ad333b1618d1f671404305d36f50ac58d2c.tar.bz2
Moved check for dxr3 to _xine.m4.
Made the linux path accessible. CVS patchset: 319 CVS date: 2001/07/22 10:58:32
Diffstat (limited to 'm4/_xine.m4')
-rw-r--r--m4/_xine.m422
1 files changed, 22 insertions, 0 deletions
diff --git a/m4/_xine.m4 b/m4/_xine.m4
index 187d4f1a5..afdcc7ac5 100644
--- a/m4/_xine.m4
+++ b/m4/_xine.m4
@@ -54,6 +54,28 @@ AC_DEFUN([AC_CHECK_LIRC],
])
+dnl AC_LINUX_PATH(DEFAULT PATH)
+AC_DEFUN(AC_LINUX_PATH,
+ [AC_ARG_WITH(linux-path,
+ [ --with-linux-path=PATH Where the linux sources are located],
+ linux_path="$withval", linux_path="$1")
+ LINUX_INCLUDE="-I$linux_path/include"
+])
+
+dnl AC_CHECK_DXR3()
+AC_DEFUN(AC_CHECK_DXR3,
+ [
+ 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
+])
+
+
dnl AC_C_ATTRIBUTE_ALIGNED
dnl define ATTRIBUTE_ALIGNED_MAX to the maximum alignment if this is supported
AC_DEFUN([AC_C_ATTRIBUTE_ALIGNED],