X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=configure.ac;h=af0601f5b86c04377390c86513b0f201afdd0119;hp=2e84c3b199858be03805417b31fe32d939c3abd0;hb=c816251a788e08f7f30464d9fa6e0ad33653aa52;hpb=24962fb774f39f7df9e7d65f64c1973db4c66f24 diff --git a/configure.ac b/configure.ac index 2e84c3b1..af0601f5 100644 --- a/configure.ac +++ b/configure.ac @@ -4,7 +4,7 @@ AC_PREREQ(2.60) -AC_INIT(paraslash, [0.3.2], maan@systemlinux.org) +AC_INIT(paraslash, [git], maan@systemlinux.org) AC_CONFIG_HEADER([config.h]) AC_PATH_PROG(UNAMEPATH, uname, no) @@ -79,11 +79,12 @@ AC_CHECK_FUNCS([atexit dup2 memchr memmove memset \ [AC_MSG_ERROR([function not found, cannot live without it])]) all_errlist_objs="server mp3_afh afh_common vss command net string signal time -daemon stat crypt http_send close_on_fork ipc acl afh fade +daemon stat crypt http_send close_on_fork ipc acl afh fade amp_filter dccp_send fd user_list chunk_queue afs osl aft mood score attribute blob ringbuffer playlist sha1 rbtree sched audiod grab_client filter_chain wav compress 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" + all_executables="server recv filter audioc write client fsck afh" recv_cmdline_objs="recv.cmdline http_recv.cmdline dccp_recv.cmdline" @@ -94,10 +95,10 @@ recv_ldflags="" receivers=" http dccp" senders=" http dccp" -filter_cmdline_objs="filter.cmdline compress_filter.cmdline" -filter_errlist_objs="filter_chain wav compress filter string stdin stdout sched fd" +filter_cmdline_objs="filter.cmdline compress_filter.cmdline amp_filter.cmdline" +filter_errlist_objs="filter_chain wav compress filter string stdin stdout sched fd amp_filter" filter_ldflags="" -filters=" compress wav" +filters=" compress wav amp" audioc_cmdline_objs="audioc.cmdline" audioc_errlist_objs="audioc string net fd" @@ -105,9 +106,9 @@ audioc_ldflags="" audiod_cmdline_objs="audiod.cmdline grab_client.cmdline compress_filter.cmdline http_recv.cmdline dccp_recv.cmdline file_write.cmdline client.cmdline - audiod_command_list" + audiod_command_list amp_filter.cmdline" audiod_errlist_objs="audiod signal string daemon stat net - time grab_client filter_chain wav compress http_recv dccp_recv + time grab_client filter_chain wav compress amp_filter http_recv dccp_recv recv_common fd sched write_common file_write audiod_command crypt client_common" audiod_ldflags="" @@ -434,6 +435,21 @@ fi CPPFLAGS="$OLD_CPPFLAGS" LDFLAGS="$OLD_LDFLAGS" LIBS="$OLD_LIBS" +###################################################################### libid3tag +AC_MSG_CHECKING(for libid3tag) +AC_TRY_LINK([ + #include +],[ + struct id3_tag t = {.flags = 0}; +],[have_libid3tag=yes],[have_libid3tag=no]) +AC_MSG_RESULT($have_libid3tag) +if test ${have_libid3tag} = yes; then + AC_DEFINE(HAVE_LIBID3TAG, 1, define to 1 you have libid3tag) + server_ldflags="$server_ldflags -lid3tag" + afh_ldflags="$afh_ldflags -lid3tag" +else + AC_MSG_WARN([no support for id3v2 tags]) +fi ########################################################################### alsa have_alsa="yes" OLD_CPPFLAGS="$CPPFLAGS" @@ -601,7 +617,7 @@ status_flags format score audio_file_info taginfo1 taginfo2 afs_mode attributes_txt decoder_flags audiod_status play_time attributes_bitmap offset seconds_total stream_start current_time audiod_uptime image_id lyrics_id duration directory lyrics_name image_name path hash channels -last_played num_chunks chunk_time" +last_played num_chunks chunk_time amplification" # $1: prefix, $2: items AC_DEFUN([make_enum_items], [$( @@ -715,6 +731,7 @@ paraslash configuration: ~~~~~~~~~~~~~~~~~~~~~~~~ unix socket credentials: $have_ucred audio formats supported by para_server/para_afh: $server_audio_formats +id3 version2 support: $have_libid3tag senders supported by para_server: $senders receivers supported by para_audiod/para_recv: $receivers filters supported by para_audiod/para_filter: $filters