Commit aef6a32b authored by gbazin's avatar gbazin

* configure.ac: fixed libdts detection (libm linking problem) and dtsdec url.

parent aaa8fe4c
......@@ -2155,16 +2155,18 @@ if test "${enable_dts}" != "no"; then
AC_MSG_ERROR([the specified tree doesn't have dts.h])
fi
else
LDFLAGS="${LDFLAGS_save} ${LDFLAGS_dtstofloat32}"
AC_CHECK_HEADERS(dts.h, [
AC_CHECK_LIB(dts, dts_free, [
AX_ADD_PLUGINS([dtstofloat32])
AX_ADD_LDFLAGS([dtstofloat32],[-ldts])
],[
if test "${enable_dts}" = "yes"; then
AC_MSG_ERROR([Could not find libdts on your system: you may get it from http://www.videolan.org/dtsdec.])
AC_MSG_ERROR([Could not find libdts on your system: you may get it from http://www.videolan.org/dtsdec.html])
fi
])
])
LDFLAGS="${LDFLAGS_save}"
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