m4/mpd_func.m4: fix typo

This commit is contained in:
Max Kellermann 2014-12-08 15:37:39 +01:00
parent 9aada2ef19
commit 082be33cbd

View File

@ -6,7 +6,7 @@ AC_DEFUN([MPD_OPTIONAL_FUNC], [
AC_ARG_ENABLE([$1],
AS_HELP_STRING([--enable-$1],
[use the function "$1" (default: auto)]),
[test xenable_$1 = xyes && AC_DEFINE([$3], 1, [Define to use $1])],
[test x$[]enable_$1 = xyes && AC_DEFINE([$3], 1, [Define to use $1])],
[AC_CHECK_FUNC([$2],
[AC_DEFINE([$3], 1, [Define to use $1])],)])
])