From 082be33cbd5ced59da3262274103bdfff35c780d Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 8 Dec 2014 15:37:39 +0100 Subject: [PATCH] m4/mpd_func.m4: fix typo --- m4/mpd_func.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m4/mpd_func.m4 b/m4/mpd_func.m4 index 5f2bf8f3d..757cd3b6f 100644 --- a/m4/mpd_func.m4 +++ b/m4/mpd_func.m4 @@ -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])],)]) ])