summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2017-01-26 09:59:54 +0100
committerMax Kellermann <max@musicpd.org>2017-01-26 10:22:37 +0100
commit97132e3d385ae84f7aaeb6c94f24d2cf41d39b9c (patch)
treeb79b471b2c934753f3a8fb4c6c9b03e1cc96150a /m4
parent5ad1fe77b1d40f5f8556affbfa6af06af93b44f9 (diff)
configure.ac: use MPD_DEPENDS for upnp->expat dependency
Diffstat (limited to 'm4')
-rw-r--r--m4/mpd_auto.m48
1 files changed, 5 insertions, 3 deletions
diff --git a/m4/mpd_auto.m4 b/m4/mpd_auto.m4
index 7a13b4cdc..b8355fd5a 100644
--- a/m4/mpd_auto.m4
+++ b/m4/mpd_auto.m4
@@ -178,8 +178,10 @@ AC_DEFUN([MPD_ENABLE_AUTO_HEADER], [
dnl Wrapper for MPD_ENABLE_AUTO_PKG and MPD_DEPENDS
dnl
-dnl Parameters: varname1, varname2, pkg, description, errmsg, default, dep_variable, dep_errmsg
+dnl Parameters: varname1, varname2, pkg, description, errmsg, default, dep_variable, dep_errmsg, pre
AC_DEFUN([MPD_ENABLE_AUTO_PKG_DEPENDS], [
- MPD_ENABLE_AUTO_PKG([$1], [$2], [$3], [$4], [$5], [$6],
- [MPD_DEPENDS([enable_$1], [$7], [$4], [$8])])
+ MPD_ENABLE_AUTO_PKG([$1], [$2], [$3], [$4], [$5], [$6], [
+ $9
+ MPD_DEPENDS([enable_$1], [$7], [$4], [$8])
+ ])
])