X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=configure.ac;h=3ba67c4a8be4b46e4f27e2335c2de19058f763b2;hp=7679b31a50b55acb4419b93f26f70dc109bc3551;hb=8694f85b70488f2cdb48a1e853bdfae68dabc99f;hpb=462b1973f28bd6f021b02cd3e6b44edc0c7f5502 diff --git a/configure.ac b/configure.ac index 7679b31a..3ba67c4a 100644 --- a/configure.ac +++ b/configure.ac @@ -79,7 +79,7 @@ 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 +daemon stat crypt http_send close_on_fork ipc acl afh fade 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 @@ -139,12 +139,12 @@ fsck_cmdline_objs="fsck.cmdline" fsck_errlist_objs="osl rbtree fsck string sha1 fd" gui_cmdline_objs="gui.cmdline" -gui_errlist_objs="exec close_on_fork signal string stat ringbuffer fd" +gui_errlist_objs="exec signal string stat ringbuffer fd" gui_other_objs="gui gui_theme" gui_objs="$gui_cmdline_objs $gui_errlist_objs $gui_other_objs" fade_cmdline_objs="fade.cmdline" -fade_errlist_objs="fade exec close_on_fork string fd" +fade_errlist_objs="fade exec string fd" @@ -324,7 +324,7 @@ if test "$have_ogg" = "yes"; then server_ldflags="$server_ldflags $oggvorbis_libs -logg -lvorbis -lvorbisfile" filter_ldflags="$filter_ldflags $oggvorbis_libs -lvorbis -lvorbisfile" audiod_ldflags="$audiod_ldflags $oggvorbis_libs -lvorbis -lvorbisfile" - afh_ldflags="$afh_ldflags $oggvorbis_libs -lvorbis -lvorbisfile" + afh_ldflags="$afh_ldflags $oggvorbis_libs -logg -lvorbis -lvorbisfile" filter_cmdline_objs="$filter_cmdline_objs oggdec_filter.cmdline" audiod_cmdline_objs="$audiod_cmdline_objs oggdec_filter.cmdline" @@ -434,6 +434,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" @@ -714,8 +729,8 @@ AC_MSG_NOTICE([ paraslash configuration: ~~~~~~~~~~~~~~~~~~~~~~~~ unix socket credentials: $have_ucred -audio formats supported by para_server: $server_audio_formats -senders supported by para_server/para_send: $senders +audio formats supported by para_server/para_afh: $server_audio_formats +senders supported by para_server: $senders receivers supported by para_audiod/para_recv: $receivers filters supported by para_audiod/para_filter: $filters writers supported by para_audiod/para_write: $writers