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
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
......
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