fix error condition on id3tag missing
This commit is contained in:
parent
036a39e91d
commit
8a7848cdd2
|
@ -118,9 +118,9 @@ want_id3_loader=maybe
|
|||
AC_ARG_ENABLE([module-id3-loader],
|
||||
[AC_HELP_STRING([--disable-module-id3-loader], [disable id3-loader module. @<:@default=detect@:>@])],
|
||||
[want_id3_loader=$enableval], [])
|
||||
if test -n "$want_id3_loader" ; then
|
||||
if test "x$want_id3_loader" != "xno" ; then
|
||||
PKG_CHECK_MODULES([ID3], [id3tag], [have_id3=yes], [have_id3=no])
|
||||
if test "x$have_id3" != "xyes" ; then
|
||||
if test "x$have_id3" != "xyes" && test "x$want_id3_loader" != "xmaybe" ; then
|
||||
AC_MSG_ERROR([libid3tag not found])
|
||||
fi
|
||||
want_id3_loader=yes
|
||||
|
|
Loading…
Reference in New Issue