]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - configure.ac
NEWS update.
[paraslash.git] / configure.ac
index 2e84c3b199858be03805417b31fe32d939c3abd0..79d930de1c7fdaecfdef3d817bd6875c75748239 100644 (file)
@@ -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)
@@ -434,6 +434,21 @@ fi
 CPPFLAGS="$OLD_CPPFLAGS"
 LDFLAGS="$OLD_LDFLAGS"
 LIBS="$OLD_LIBS"
+###################################################################### libid3tag
+AC_MSG_CHECKING(for libid3tag)
+AC_TRY_LINK([
+       #include <id3tag.h>
+],[
+       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 +616,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 +730,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