summaryrefslogtreecommitdiff
path: root/m4/mpd_depends.m4
blob: 4898f90848d6ec20946c255a044af538d77b21b1 (plain)
1
2
3
4
5
6
7
8
9
AC_DEFUN([MPD_DEPENDS], [
	if test x$$2 = xno; then
		if test x$$1 = xauto; then
			$1=no
		elif test x$$1 = xyes; then
			AC_MSG_ERROR([$3])
		fi
	fi
])