Commit 2ba52784 authored by Max Kellermann's avatar Max Kellermann

configure.ac: fix --enable-bzip2 and --enable-iso9660 variable name

Another "remove redundant explicit $enableval assignments" breakage.
parent bd6bcfb6
...@@ -290,16 +290,16 @@ dnl bzip2 ...@@ -290,16 +290,16 @@ dnl bzip2
AC_ARG_ENABLE(bzip2, AC_ARG_ENABLE(bzip2,
AS_HELP_STRING([--enable-bzip2], AS_HELP_STRING([--enable-bzip2],
[enable bzip2 archive support (default: disabled)]),, [enable bzip2 archive support (default: disabled)]),,
enable_bz2=no) enable_bzip2=no)
if test x$enable_bz2 = xyes; then if test x$enable_bzip2 = xyes; then
AC_CHECK_LIB(bz2, BZ2_bzDecompressInit, AC_CHECK_LIB(bz2, BZ2_bzDecompressInit,
[MPD_LIBS="$MPD_LIBS -lbz2"], [MPD_LIBS="$MPD_LIBS -lbz2"],
enable_bz2=no) enable_bzip2=no)
fi fi
AM_CONDITIONAL(HAVE_BZ2, test x$enable_bz2 = xyes) AM_CONDITIONAL(HAVE_BZ2, test x$enable_bzip2 = xyes)
if test x$enable_bz2 = xyes; then if test x$enable_bzip2 = xyes; then
AC_DEFINE(HAVE_BZ2, 1, [Define to have bz2 archive support]) AC_DEFINE(HAVE_BZ2, 1, [Define to have bz2 archive support])
fi fi
...@@ -324,24 +324,24 @@ dnl iso9660 ...@@ -324,24 +324,24 @@ dnl iso9660
AC_ARG_ENABLE(iso9660, AC_ARG_ENABLE(iso9660,
AS_HELP_STRING([--enable-iso9660], AS_HELP_STRING([--enable-iso9660],
[enable iso9660 archive support (default: disabled)]),, [enable iso9660 archive support (default: disabled)]),,
enable_iso=no) enable_iso9660=no)
if test x$enable_iso = xyes; then if test x$enable_iso9660 = xyes; then
AC_CHECK_LIB(iso9660, iso9660_ifs_readdir, AC_CHECK_LIB(iso9660, iso9660_ifs_readdir,
[MPD_LIBS="$MPD_LIBS -liso9660"], [MPD_LIBS="$MPD_LIBS -liso9660"],
enable_iso=no) enable_iso9660=no)
fi fi
AM_CONDITIONAL(HAVE_ISO, test x$enable_iso = xyes) AM_CONDITIONAL(HAVE_ISO, test x$enable_iso9660 = xyes)
if test x$enable_iso = xyes; then if test x$enable_iso9660 = xyes; then
AC_DEFINE(HAVE_ISO, 1, [Define to have iso archive support]) AC_DEFINE(HAVE_ISO, 1, [Define to have iso archive support])
fi fi
dnl archive API dnl archive API
if if
test x$enable_bz2 = xyes || test x$enable_bzip2 = xyes ||
test x$enable_zip = xyes || test x$enable_zip = xyes ||
test x$enable_iso = xyes; then test x$enable_iso9660 = xyes; then
enable_archive=yes enable_archive=yes
AC_DEFINE(ENABLE_ARCHIVE, 1, [The archive API is available]) AC_DEFINE(ENABLE_ARCHIVE, 1, [The archive API is available])
else else
...@@ -1297,13 +1297,13 @@ fi ...@@ -1297,13 +1297,13 @@ fi
echo "" echo ""
echo " Archive support:" echo " Archive support:"
if test x$enable_bz2 = xyes; then if test x$enable_bzip2 = xyes; then
echo " BZ2 archives support ..........enabled" echo " BZ2 archives support ..........enabled"
else else
echo " BZ2 archives support ..........disabled" echo " BZ2 archives support ..........disabled"
fi fi
if test x$enable_iso = xyes; then if test x$enable_iso9660 = xyes; then
echo " ISO 9660 archives support .....enabled" echo " ISO 9660 archives support .....enabled"
else else
echo " ISO 9660 archives support .....disabled" echo " ISO 9660 archives support .....disabled"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment