Commit aef6a32b authored by Gildas Bazin's avatar Gildas Bazin

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

parent aaa8fe4c
...@@ -2155,16 +2155,18 @@ if test "${enable_dts}" != "no"; then ...@@ -2155,16 +2155,18 @@ if test "${enable_dts}" != "no"; then
AC_MSG_ERROR([the specified tree doesn't have dts.h]) AC_MSG_ERROR([the specified tree doesn't have dts.h])
fi fi
else else
LDFLAGS="${LDFLAGS_save} ${LDFLAGS_dtstofloat32}"
AC_CHECK_HEADERS(dts.h, [ AC_CHECK_HEADERS(dts.h, [
AC_CHECK_LIB(dts, dts_free, [ AC_CHECK_LIB(dts, dts_free, [
AX_ADD_PLUGINS([dtstofloat32]) AX_ADD_PLUGINS([dtstofloat32])
AX_ADD_LDFLAGS([dtstofloat32],[-ldts]) AX_ADD_LDFLAGS([dtstofloat32],[-ldts])
],[ ],[
if test "${enable_dts}" = "yes"; then 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 fi
]) ])
]) ])
LDFLAGS="${LDFLAGS_save}"
fi fi
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