X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=configure.ac;h=f783db789781bfc5e40fc48699c8d670fc0d99e3;hp=afb993af265065e7082adcf9ebbececa99f11b57;hb=2b3cc3af64d5574473c2f1ea9c32d7589abbb811;hpb=00e4d4da1b2c00da139b09d3ed4ab9ad9fba2691 diff --git a/configure.ac b/configure.ac index afb993af..f783db78 100644 --- a/configure.ac +++ b/configure.ac @@ -84,22 +84,23 @@ dccp_send fd user_list chunk_queue afs osl aft mood score attribute blob ringbuf playlist sha1 rbtree 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 fsck exec send_common ggo -udp_recv udp_send color" +udp_recv udp_send color fec fecdec_filter" all_executables="server recv filter audioc write client fsck afh" recv_cmdline_objs="recv.cmdline http_recv.cmdline dccp_recv.cmdline udp_recv.cmdline" recv_errlist_objs="http_recv recv_common recv time string net dccp_recv - fd sched stdout ggo udp_recv" + fd sched stdout ggo udp_recv fec" recv_ldflags="" receivers=" http dccp udp" senders=" http dccp udp" filter_cmdline_objs="filter.cmdline compress_filter.cmdline amp_filter.cmdline" -filter_errlist_objs="filter_common wav_filter compress_filter filter string stdin stdout sched fd amp_filter ggo" +filter_errlist_objs="filter_common wav_filter compress_filter filter string + stdin stdout sched fd amp_filter ggo fecdec_filter fec" filter_ldflags="" -filters=" compress wav amp" +filters=" compress wav amp fecdec" audioc_cmdline_objs="audioc.cmdline" audioc_errlist_objs="audioc string net fd" @@ -110,8 +111,8 @@ audiod_cmdline_objs="audiod.cmdline grab_client.cmdline compress_filter.cmdline audiod_command_list amp_filter.cmdline udp_recv.cmdline" audiod_errlist_objs="audiod signal string daemon stat net time grab_client filter_common wav_filter compress_filter amp_filter http_recv dccp_recv - recv_common fd sched write_common file_write audiod_command crypt - client_common ggo udp_recv color" + recv_common fd sched write_common file_write audiod_command crypt fecdec_filter + client_common ggo udp_recv color fec" audiod_ldflags="" audiod_audio_formats="" @@ -123,7 +124,7 @@ server_cmdline_objs="server.cmdline server_command_list afs_command_list" server_errlist_objs="server afh_common mp3_afh vss command net string signal time daemon stat crypt http_send close_on_fork ipc dccp_send fd user_list chunk_queue afs osl aft mood score attribute - blob playlist sha1 rbtree sched acl send_common udp_send color" + blob playlist sha1 rbtree sched acl send_common udp_send color fec" server_ldflags="" server_audio_formats=" mp3" @@ -222,6 +223,7 @@ AC_SEARCH_LIBS([inet_ntoa],[nsl],[],[ ########################################################################### ucred AC_MSG_CHECKING(for struct ucred) AC_TRY_LINK([ + #define _GNU_SOURCE #include #include ],[ @@ -267,6 +269,20 @@ fi CPPFLAGS="$OLD_CPPFLAGS" LDFLAGS="$OLD_LDFLAGS" LIBS="$OLD_LIBS" + +########################################################################### ip_mreqn +AC_MSG_CHECKING(for struct ip_mreqn (UDPv4 multicast)) +AC_TRY_LINK([ + #include + #include +],[ + struct ip_mreqn mn; + mn.imr_ifindex = 0; +],[have_ip_mreqn=yes],[have_ip_mreqn=no]) +AC_MSG_RESULT($have_ip_mreqn) +if test ${have_ip_mreqn} = yes; then + AC_DEFINE(HAVE_IP_MREQN, 1, define to 1 you have struct ip_mreqn) +fi ########################################################################### osx AC_MSG_CHECKING(for CoreAudio (MacOs))