Lines 17-22
AC_ARG_ENABLE(render,
Link Here
|
17 |
AC_ARG_ENABLE(ffmpeg, |
17 |
AC_ARG_ENABLE(ffmpeg, |
18 |
[ --enable-ffmpeg Enable ffmpeg decoder support (default: enabled)], |
18 |
[ --enable-ffmpeg Enable ffmpeg decoder support (default: enabled)], |
19 |
[enable_ffmpeg=$enableval],[enable_ffmpeg=yes]) |
19 |
[enable_ffmpeg=$enableval],[enable_ffmpeg=yes]) |
|
|
20 |
AC_ARG_WITH(sys-expat, |
21 |
[ --with-sys-expat Use the system expat library (default: use bundled expat library)], |
22 |
[], [with_sys_expat=no]) |
20 |
|
23 |
|
21 |
AC_MSG_CHECKING(for install location) |
24 |
AC_MSG_CHECKING(for install location) |
22 |
case "$prefix" in |
25 |
case "$prefix" in |
Lines 165-170
if test x$enable_ffmpeg = xyes; then
Link Here
|
165 |
LIBS="$LIBS $FFMPEG_LIBS" |
168 |
LIBS="$LIBS $FFMPEG_LIBS" |
166 |
fi |
169 |
fi |
167 |
|
170 |
|
|
|
171 |
dnl check if system expat requested |
172 |
if test "x$with_sys_expat" = "xyes"; then |
173 |
AC_CHECK_LIB([expat],[XML_ParserCreate],[SYS_EXPAT="yes"]) |
174 |
if test "x$SYS_EXPAT" = "x" ; then |
175 |
AC_MSG_WARN([system expat library not found, will use built-in instead]) |
176 |
with_sys_expat=no |
177 |
fi |
178 |
fi |
179 |
AM_CONDITIONAL(SYS_EXPAT, [test x$with_sys_expat = xyes]) |
168 |
|
180 |
|
169 |
dnl vars |
181 |
dnl vars |
170 |
AC_SUBST(LDFLAGS) |
182 |
AC_SUBST(LDFLAGS) |