]> git.tue.mpg.de Git - paraslash.git/commitdiff
configure.ac: add writer objects to para_audiod.
authorAndre <maan@p133.(none)>
Sun, 28 May 2006 05:35:13 +0000 (07:35 +0200)
committerAndre <maan@p133.(none)>
Sun, 28 May 2006 05:35:13 +0000 (07:35 +0200)
configure.ac

index c436e84860598baa0315273d0ba6a57acdec1f51..7c2c1ec56b0180fe1cbe66279f6fe738fc66964a 100644 (file)
@@ -65,9 +65,10 @@ filter_errlist_objs="filter_chain wav compress filter string stdin stdout sched
 filter_ldflags=""
 
 audiod_cmdline_objs="audiod.cmdline grab_client.cmdline compress_filter.cmdline
-       http_recv.cmdline dccp_recv.cmdline"
+       http_recv.cmdline dccp_recv.cmdline file_write.cmdline"
 audiod_errlist_objs="audiod exec close_on_fork signal string daemon stat net
-       time grab_client filter_chain wav compress http_recv dccp dccp_recv recv_common fd sched"
+       time grab_client filter_chain wav compress http_recv dccp dccp_recv
+       recv_common fd sched write_common file_writer"
 audiod_ldflags=""
 
 server_cmdline_objs="server.cmdline"
@@ -263,7 +264,7 @@ else
 fi
 ########################################################################### alsa
 have_alsa="yes"
-msg="=> no alsa support for para_write"
+msg="=> no alsa support for para_audiod/para_write"
 AC_CHECK_HEADERS([alsa/asoundlib.h], [], [
        AC_MSG_WARN([no alsa/asoundlib $msg])
        have_alsa="no"
@@ -273,6 +274,10 @@ AC_CHECK_LIB([asound], [snd_pcm_open], [], [
        have_alsa="no"
 ])
 if test "$have_alsa" = "yes"; then
+       audiod_errlist_objs="$audiod_errlist_objs alsa_writer"
+       audiod_cmdline_objs="$audiod_cmdline_objs alsa_write.cmdline"
+       audiod_ldflags="$audiod_ldflags -lasound"
+
        write_errlist_objs="$write_errlist_objs alsa_writer"
        write_cmdline_objs="$write_cmdline_objs alsa_write.cmdline"
        write_ldflags="$write_ldflags -lasound"