* temporary workaround for libfaac and libaacplus
* removed unneeded define (_FFTW3) * compatible with libaacplus-1.0.1, re #2
This commit is contained in:
parent
d606610431
commit
c6ef59c913
|
@ -165,6 +165,9 @@ AC_ARG_WITH(aacplus-prefix,
|
|||
CONFIG_AACPLUS_PREFIX="${withval}", CONFIG_AACPLUS_PREFIX="/usr")
|
||||
|
||||
if test "x${USE_AACPLUS}" = "xyes" ; then
|
||||
if test "x${FAAC_LIB_LOC}" != "x" ; then
|
||||
AC_MSG_ERROR( [compliling with faac and aacplus is not supported yet, please disable faac by "--without-faac"] )
|
||||
fi
|
||||
AC_MSG_CHECKING( [for aacplus library at ${CONFIG_AACPLUS_PREFIX}] )
|
||||
LA_SEARCH_LIB( AACPLUS_LIB_LOC, AACPLUS_INC_LOC, libaacplus.a libaacplus.so, sbr_main.h,
|
||||
${CONFIG_AACPLUS_PREFIX})
|
||||
|
@ -174,8 +177,6 @@ if test "x${USE_AACPLUS}" = "xyes" ; then
|
|||
AACPLUS_INCFLAGS="-I${AACPLUS_INC_LOC}"
|
||||
fi
|
||||
AACPLUS_LDFLAGS="-L${AACPLUS_LIB_LOC} -laacplus"
|
||||
# TODO: we have to define _FFTW3 only if libaacplus builded with fftw3f
|
||||
AC_DEFINE( _FFTW3, 1, [libaacplus have to be builded with fftw3f library] )
|
||||
AC_MSG_RESULT( [found at ${CONFIG_AACPLUS_PREFIX}] )
|
||||
else
|
||||
AC_MSG_WARN( [not found, building without aacplus])
|
||||
|
|
Loading…
Reference in New Issue