From: Peter van Dijk Date: Mon, 16 Apr 2018 15:30:56 +0000 (+0200) Subject: autoconf: correctly quote AC_MSG_ERROR inside AS_IF X-Git-Tag: dnsdist-1.3.1~142^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=49983d9af371902586f61bea6b766be4f560626a;p=pdns autoconf: correctly quote AC_MSG_ERROR inside AS_IF --- diff --git a/configure.ac b/configure.ac index f28e57d62..5ee4beee4 100644 --- a/configure.ac +++ b/configure.ac @@ -29,7 +29,7 @@ AC_PROG_MAKE_SET AC_PROG_CXX AS_IF([test "x$CXX" = "xno" || test "x$CXX:x$GXX" = "xg++:x"], - AC_MSG_ERROR([no C++ compiler found]) + [AC_MSG_ERROR([no C++ compiler found])] ) AC_LANG([C++]) @@ -204,10 +204,10 @@ for a in $modules $dynmodules; do ;; lua) AS_IF([test "x$with_lua" = "xno"], - AC_MSG_ERROR([Lua backend needs lua, run ./configure --with-lua]) + [AC_MSG_ERROR([Lua backend needs lua, run ./configure --with-lua])] ) AS_IF([test "x$LUAPC" = "x"], - AC_MSG_ERROR([Lua backend needs lua but we cannot find it]) + [AC_MSG_ERROR([Lua backend needs lua but we cannot find it])] ) ;; esac