Commit a2f0522a authored by Jean-Paul Saman's avatar Jean-Paul Saman add --enable-compat

Enable the API compatibility layer that supports wraps the new API in old API.
Its use is meant only for easing transistion to the new API and will remain exactly
one release. It is scheduled to be removed in version 2.1.
parent e9d4fbc8
......@@ -82,6 +82,18 @@ if test "$release" != "true"; then
dnl --enable-compat
[ --enable-compat Enable API compatibility layer (default disabled)],
[case "${enableval}" in
yes) compat=true ;;
no) compat=false ;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-compat) ;;
if test "$compat" = "true"; then
dnl compile feature tests
CFLAGS="${CFLAGS_save} ${CFLAGS_dist}"
......@@ -150,6 +162,7 @@ libdvbpsi configuration
libdvbpsi version : ${VERSION}
debug : ${debug}
release : ${release}
compatibility old api : ${compat}
compile flags : ${CFLAGS}
build for : ${SYS}
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