From: Andre Noll Date: Sun, 15 Jul 2012 09:24:35 +0000 (+0200) Subject: configure: Add fade.o to object list only if oss was detected. X-Git-Tag: v0.4.12~10^2~10 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=f502e615454a293bc2efc53c861785d2aabe9218 configure: Add fade.o to object list only if oss was detected. The all_errlist_obj variable should only contain objects which can actually be compiled on the given setup. However, fade.o was added to this variable unconditionally. This patch makes it conditional on oss. --- diff --git a/configure.ac b/configure.ac index 46985f02..d11c3ad7 100644 --- a/configure.ac +++ b/configure.ac @@ -90,7 +90,7 @@ AC_DEFUN([add_cmdline],[$(for i in $@; do printf "${i}.cmdline "; done)]) all_errlist_objs="mp3_afh afh_common net string signal time daemon - stat afh fade amp_filter fd ringbuffer sched audiod + stat afh amp_filter fd ringbuffer sched audiod grab_client filter_common wav_filter compress_filter http_recv dccp_recv recv_common write_common file_write audiod_command client_common recv stdout filter stdin audioc write client @@ -809,7 +809,7 @@ msg="=> will not build para_fade/oss writer" AC_CHECK_HEADER(sys/soundcard.h, [ extras="$extras fade" executables="$executables fade" - all_errlist_objs="$all_errlist_objs oss_write" + all_errlist_objs="$all_errlist_objs oss_write fade" audiod_errlist_objs="$audiod_errlist_objs oss_write" audiod_cmdline_objs="$audiod_cmdline_objs add_cmdline(oss_write)"