From 39ae8e13fe3005864654bf08c8fc82f366b2d84f Mon Sep 17 00:00:00 2001 From: Bartosz Golaszewski Date: Wed, 8 Feb 2017 12:11:54 +0100 Subject: [PATCH] configure: use quotation marks consistently Always use quotation marks when testing variables. Signed-off-by: Bartosz Golaszewski --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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]) -- 2.30.2