aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-06-27 15:13:00 +0200
committerMax Kellermann <max@duempel.org>2015-06-27 15:13:00 +0200
commit5b5a18db2ac8fef29afcf647ca56aedf59165619 (patch)
tree154e5ad69e52cd4215ce2ccc2e573e5f6a835f23 /configure.ac
parent3fa4dad418a5235e5bd7990e3fe755a43fe987e7 (diff)
downloadmpd-5b5a18db2ac8fef29afcf647ca56aedf59165619.tar.gz
mpd-5b5a18db2ac8fef29afcf647ca56aedf59165619.tar.xz
mpd-5b5a18db2ac8fef29afcf647ca56aedf59165619.zip
configure.ac: make libicu "auto" by default
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac10
1 files changed, 3 insertions, 7 deletions
diff --git a/configure.ac b/configure.ac
index c044f53e8..a7113d405 100644
--- a/configure.ac
+++ b/configure.ac
@@ -462,14 +462,10 @@ CPPFLAGS="$CPPFLAGS_SAVED"
AC_ARG_ENABLE(icu,
AS_HELP_STRING([--enable-icu],
- [enable libicu for Unicode (default: enabled)]),,
- enable_icu=yes)
-
-if test x$enable_icu = xyes; then
- PKG_CHECK_MODULES([ICU], [icu-i18n],,
- [AC_MSG_ERROR([libicu not found])])
-fi
+ [enable libicu for Unicode (default: auto)]),,
+ enable_icu=auto)
+MPD_AUTO_PKG(icu, ICU, [icu-i18n], [libicu], [libicu not found])
MPD_DEFINE_CONDITIONAL(enable_icu, HAVE_ICU, [libicu])
if test x$enable_icu != xyes; then