From: Bartosz Golaszewski Date: Wed, 8 Feb 2017 11:11:54 +0000 (+0100) Subject: configure: use quotation marks consistently X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=39ae8e13fe3005864654bf08c8fc82f366b2d84f;p=qemu-gpiodev%2Flibgpiod.git configure: use quotation marks consistently Always use quotation marks when testing variables. Signed-off-by: Bartosz Golaszewski --- diff --git a/configure.ac b/configure.ac index 5b9192c..2226513 100644 --- a/configure.ac +++ b/configure.ac @@ -65,7 +65,7 @@ AC_ARG_ENABLE([tools], fi ], [with_tools=false]) -AM_CONDITIONAL([WITH_TOOLS], [test x$with_tools = xtrue]) +AM_CONDITIONAL([WITH_TOOLS], [test "x$with_tools" = xtrue]) AC_DEFUN([FUNC_NOT_FOUND_TOOLS], [ERR_NOT_FOUND([$1()], [tools])]) @@ -83,7 +83,7 @@ then fi AC_CHECK_PROG([has_doxygen], [doxygen], [true], [false]) -AM_CONDITIONAL([HAS_DOXYGEN], [test x$has_doxygen = xtrue]) +AM_CONDITIONAL([HAS_DOXYGEN], [test "x$has_doxygen" = xtrue]) if test "x$has_doxygen" = xfalse then AC_MSG_NOTICE([doxygen not found - documentation cannot be generated])