Commit 4639117d authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

CrystalHD: improve configuration on some linux

parent f0c3d6fb
...@@ -2454,7 +2454,7 @@ dnl ...@@ -2454,7 +2454,7 @@ dnl
AC_ARG_ENABLE(crystalhd, AC_ARG_ENABLE(crystalhd,
[ --enable-crystalhd crystalhd codec plugin (default disabled)]) [ --enable-crystalhd crystalhd codec plugin (default disabled)])
if test "${enable_crystalhd}" == "yes"; then 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_PLUGIN([crystalhd])
VLC_ADD_LIBS([crystalhd], [-lcrystalhd]) VLC_ADD_LIBS([crystalhd], [-lcrystalhd])
],[ ],[
...@@ -2468,6 +2468,8 @@ if test "${enable_crystalhd}" == "yes"; then ...@@ -2468,6 +2468,8 @@ if test "${enable_crystalhd}" == "yes"; then
AC_MSG_ERROR("Could not find CrystalHD development headers") AC_MSG_ERROR("Could not find CrystalHD development headers")
]) ])
fi fi
],[#define __LINUX_USER__
#include <libcrystalhd/bc_dts_types.h>
]) ])
fi fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment