]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - configure.ac
aac: Fix compilation without libmp4v2.
[paraslash.git] / configure.ac
index 8b5fb95193b3c15cec63fa64f2c4468a24e76cef..bd1b5f5d2f9bf2385fc92cd56f7139f3c0f6acb9 100644 (file)
@@ -949,8 +949,14 @@ NEED_OPUS_OBJECTS &&
 NEED_FLAC_OBJECTS && {
        play_errlist_objs="$play_errlist_objs flacdec_filter flac_afh"
 }
-if test $HAVE_FAAD = yes && test $HAVE_MP4V2 = yes; then
-       play_errlist_objs="$play_errlist_objs aacdec_filter aac_afh aac_common"
+if test $HAVE_FAAD = yes; then
+       play_errlist_objs="$play_errlist_objs aacdec_filter"
+fi
+if test $HAVE_MP4V2 = yes; then
+       play_errlist_objs="$play_errlist_objs aac_afh"
+fi
+if test $HAVE_MP4V2 = yes || test $HAVE_FAAD = yes; then
+       play_errlist_objs="$play_errlist_objs aac_common"
 fi
 if test $HAVE_MAD = yes; then
        play_cmdline_objs="$play_cmdline_objs mp3dec_filter"