configure: Fix literal usage in AS_IF
We need to make all of the contents of AS_IF literal so that they are
not re-interpreted by autoconf.
Change-Id: I220fa6254a16d1f59e0400a9fb1ca909a9e7befb
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/configure.ac b/configure.ac
index 95d9ba8..407c109 100644
--- a/configure.ac
+++ b/configure.ac
@@ -32,15 +32,15 @@
PKG_CHECK_MODULES([SDBUSPLUS], [sdbusplus],,\
AC_MSG_ERROR(["Requires sdbusplus package."]))
-AS_IF([test "x$enable_softoff" != "xno"],
+AS_IF([test "x$enable_softoff" != "xno"], [
PKG_CHECK_MODULES([SDEVENTPLUS], [sdeventplus],,\
AC_MSG_ERROR(["Requires sdeventplus package."]))
# Check for sdbus++ tool
- [AC_PATH_PROG([SDBUSPLUSPLUS], [sdbus++])]
+ AC_PATH_PROG([SDBUSPLUSPLUS], [sdbus++])
AS_IF([test "x$SDBUSPLUSPLUS" == "x"],
AC_MSG_ERROR([Cannot find sdbus++]))
-)
+])
# Checks for typedefs, structures, and compiler characteristics.
AX_CXX_COMPILE_STDCXX([17], [noext], [mandatory])