diff options
Diffstat (limited to '')
-rw-r--r-- | m4/mpd_func.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
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])],)]) ]) |