dnl
AC_ARG_ENABLE(mad,
[ --enable-mad libmad module (default disabled)])
-if test "x${enable_mad}" = "xyes"
+if test "x${enable_mad}" != "xno"
then
AC_ARG_WITH(mad,
[ --with-mad=PATH path to libmad],[],[])
LDFLAGS_a52tofloat32="${LDFLAGS_test} -la52 ${LDFLAGS_a52tofloat32}"
CPPFLAGS_a52tofloat32="${CPPFLAGS_a52tofloat32} ${CPPFLAGS_test}"
],[
- if test "x${enable_dvbpsi}" != "x"
- then
- AC_MSG_ERROR([Could not find a52 on your system: you may get it from http://liba52.sf.net])
- fi
+ AC_MSG_ERROR([Could not find a52 on your system: you may get it from http://liba52.sf.net/. Alternatively you can use --disable-a52 to disable the a52 plugin.])
])
])
CPPFLAGS="${CPPFLAGS_save}"