Commit f9a7093e authored by Jean-Paul Saman's avatar Jean-Paul Saman

configure.ac: --enable-compat is default (only descriptors api)

Enable compatibility layer with old descriptor api by default
parent 964354b2
......@@ -85,12 +85,12 @@ fi
dnl --enable-compat
AC_ARG_ENABLE(compat,
[ --enable-compat Enable API compatibility layer (default disabled)],
[ --enable-compat Enable API compatibility layer (default enabled)],
[case "${enableval}" in
yes) compat=true ;;
no) compat=false ;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-compat) ;;
esac],[compat=false])
esac],[compat=true])
if test "$compat" = "true"; then
CFLAGS_dist="${CFLAGS_dist} -DDVBPSI_USE_DEPRECATED_DR_API"
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