[vlc-commits] CrystalHD: improve configuration on some linux

Jean-Baptiste Kempf git at videolan.org
Sun Feb 13 21:13:56 CET 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Feb 13 17:15:19 2011 +0100| [4639117d9d994f1687bc8f0ccb58b47cad142d8f] | committer: Jean-Baptiste Kempf

CrystalHD: improve configuration on some linux

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4639117d9d994f1687bc8f0ccb58b47cad142d8f
---

 configure.ac |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index beec261..8a7e8c5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2454,7 +2454,7 @@ dnl
 AC_ARG_ENABLE(crystalhd,
   [  --enable-crystalhd       crystalhd codec plugin (default disabled)])
 if test "${enable_crystalhd}" == "yes"; then
-    AC_CHECK_HEADERS(libcrystalhd/libcrystalhd_if.h, [
+    AC_CHECK_HEADER(libcrystalhd/libcrystalhd_if.h, [
       VLC_ADD_PLUGIN([crystalhd])
       VLC_ADD_LIBS([crystalhd], [-lcrystalhd])
     ],[
@@ -2468,7 +2468,9 @@ if test "${enable_crystalhd}" == "yes"; then
           AC_MSG_ERROR("Could not find CrystalHD development headers")
         ])
       fi
-    ])
+    ],[#define __LINUX_USER__
+       #include <libcrystalhd/bc_dts_types.h>
+      ])
 fi
 
 dnl



More information about the vlc-commits mailing list