Commit 9eebded0 authored by Eric Petit's avatar Eric Petit

Fixed --with-mad and --with-mad-tree

parent 3ddfd217
...@@ -1375,8 +1375,8 @@ then ...@@ -1375,8 +1375,8 @@ then
[ --with-mad=PATH path to libmad],[],[]) [ --with-mad=PATH path to libmad],[],[])
if test "x${with_mad}" != "xno" -a "x${with_mad}" != "x" if test "x${with_mad}" != "xno" -a "x${with_mad}" != "x"
then then
CPPFLAGS_mad="${CPPFLAGS_mpgatofixed32} -I${with_mad}/include" CPPFLAGS_mpgatofixed32="${CPPFLAGS_mpgatofixed32} -I${with_mad}/include"
LDFLAGS_mad="${LDFLAGS_mpgatofixed32} -L${with_mad}/lib" LDFLAGS_mpgatofixed32="${LDFLAGS_mpgatofixed32} -L${with_mad}/lib"
fi fi
AC_ARG_WITH(mad-tree, AC_ARG_WITH(mad-tree,
...@@ -1395,8 +1395,8 @@ then ...@@ -1395,8 +1395,8 @@ then
if test -f ${real_mad_tree}/libmad/mad.h if test -f ${real_mad_tree}/libmad/mad.h
then then
AC_MSG_RESULT(yes) AC_MSG_RESULT(yes)
CPPFLAGS_mad="${CPPFLAGS_mpgatofixed32} -I${real_mad_tree}/libmad" CPPFLAGS_mpgatofixed32="${CPPFLAGS_mpgatofixed32} -I${real_mad_tree}/libmad"
LDFLAGS_mad="${LDFLAGS_mpgatofixed32} -L${real_mad_tree}/libmad/.libs" LDFLAGS_mpgatofixed32="${LDFLAGS_mpgatofixed32} -L${real_mad_tree}/libmad/.libs"
LDFLAGS="${LDFLAGS_save} ${LDFLAGS_mpgatofixed32}" LDFLAGS="${LDFLAGS_save} ${LDFLAGS_mpgatofixed32}"
AC_CHECK_LIB(mad, mad_bit_init, [ AC_CHECK_LIB(mad, mad_bit_init, [
BUILTINS="${BUILTINS} mpgatofixed32" BUILTINS="${BUILTINS} mpgatofixed32"
......
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