X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=configure.ac;h=3ba67c4a8be4b46e4f27e2335c2de19058f763b2;hb=8231c4db98e5278fde9678a5d16a68fbef777662;hp=2e84c3b199858be03805417b31fe32d939c3abd0;hpb=24962fb774f39f7df9e7d65f64c1973db4c66f24;p=paraslash.git diff --git a/configure.ac b/configure.ac index 2e84c3b1..3ba67c4a 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) @@ -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"