+########################################################################### afh
+afh_cmdline_objs="afh"
+afh_errlist_objs="
+ afh
+ string
+ fd
+ mp3_afh
+ afh_common
+ time
+ wma_afh
+ wma_common
+ version
+ ggo
+"
+if test "$have_vorbis" = "yes" || \
+ test "$have_speex" = "yes" || \
+ test "$have_opus" = "yes"; then
+ afh_errlist_objs="$afh_errlist_objs ogg_afh_common"
+fi
+if test "$have_vorbis" = "yes"; then
+ afh_errlist_objs="$afh_errlist_objs ogg_afh"
+fi
+if test "$have_speex" = "yes"; then
+ afh_errlist_objs="$afh_errlist_objs spx_afh spx_common"
+fi
+if test "$have_opus" = "yes"; then
+ afh_errlist_objs="$afh_errlist_objs opus_afh opus_common"
+fi
+if test "$have_faad" = "yes"; then
+ afh_errlist_objs="$afh_errlist_objs aac_common aac_afh"
+fi
+if test "$have_flac" = "yes"; then
+ afh_errlist_objs="$afh_errlist_objs flac_afh"
+fi
+
+afh_objs="add_cmdline($afh_cmdline_objs) $afh_errlist_objs"
+
+AC_SUBST(afh_objs, add_dot_o($afh_objs))
+AC_DEFINE_UNQUOTED(INIT_AFH_ERRLISTS,
+ objlist_to_errlist($afh_errlist_objs), errors used by para_afh)