diff options
author | unK <electricityispower@gmail.com> | 2008-09-30 21:13:23 +0200 |
---|---|---|
committer | unK <electricityispower@gmail.com> | 2008-09-30 21:13:23 +0200 |
commit | 10e60880a53c8802fac2577ffd2dd4915e1e3479 (patch) | |
tree | f4d47c061eb01f0c02c792ba81a09145c9594f4e /configure.in | |
parent | 4adcdf8e235f8601a76b03457be70879f03b6b62 (diff) |
reverse 0384b236 and fix saving ID3v2 frames
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/configure.in b/configure.in index 66ecd0a2..1adbfbbc 100644 --- a/configure.in +++ b/configure.in @@ -52,12 +52,14 @@ dnl ======================= dnl = checking for taglib = dnl ======================= if test "$taglib" = "yes" ; then - PKG_CHECK_MODULES([taglib], taglib >= 1.5, , AC_MSG_ERROR([TagLib >= 1.5 is required])) - AC_SUBST(taglib_LIBS) - AC_SUBST(taglib_CFLAGS) - CPPFLAGS="$CPPFLAGS $taglib_CFLAGS" - LDFLAGS="$LDFLAGS $taglib_LIBS" - AC_CHECK_HEADERS([taglib.h], , AC_MSG_ERROR([missing taglib.h header])) + AC_PATH_PROG(TAGLIB_CONFIG, taglib-config) + if test "$TAGLIB_CONFIG" != "" ; then + CPPFLAGS="$CPPFLAGS `$TAGLIB_CONFIG --cflags`" + LDFLAGS="$LDFLAGS `$TAGLIB_CONFIG --libs`" + AC_CHECK_HEADERS([taglib.h], , AC_MSG_ERROR([missing taglib.h header])) + else + AC_MSG_ERROR([taglib-config executable is missing]) + fi fi AC_CONFIG_FILES([Makefile src/Makefile doc/Makefile]) |