+OLD_CPPFLAGS="$CPPFLAGS"
+OLD_LD_FLAGS="$LDFLAGS"
+OLD_LIBS="$LIBS"
+
+have_libid3tag="yes"
+AC_ARG_WITH(id3tag_headers, [AC_HELP_STRING(--with-id3tag-headers=dir,
+ [look for id3tag header files also in dir])])
+if test -n "$with_id3tag_headers"; then
+ id3tag_cppflags="-I$with_id3tag_headers"
+ CPPFLAGS="$CPPFLAGS $id3tag_cppflags"
+fi
+AC_ARG_WITH(id3tag_libs, [AC_HELP_STRING(--with-id3tag-libs=dir,
+ [look for id3tag libs also in dir])])
+if test -n "$with_id3tag_libs"; then
+ id3tag_libs="-L$with_id3tag_libs"
+ LDFLAGS="$LDFLAGS $id3tag_libs"
+fi
+