From 43bc397e9eb49de6fcc8559946810c0c26d4765c Mon Sep 17 00:00:00 2001 From: Sean McGovern Date: Sun, 13 Mar 2016 14:29:26 -0400 Subject: configure: use proper quoting on iconv test Unquoted strings cause an error when the test variable is empty. --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 0e61cdf..5c61f1a 100644 --- a/configure.ac +++ b/configure.ac @@ -227,8 +227,8 @@ AM_CONDITIONAL([ENABLE_PROFILE], [test x$enable_profile = xyes]) # add packages to pkg-config for static linking if test "$use_libiconv" = true; then AC_DEFINE(CONFIG_ICONV, 1, [use iconv]) - if test x$ac_cv_search_libiconv_open != x'none required' && - test x$ac_cv_search_iconv_open != x'none required'; then + if test x"$ac_cv_search_libiconv_open" != x"none required" && + test x"$ac_cv_search_iconv_open" != x"none required"; then pkg_libs="${pkg_libs} -liconv" fi fi -- cgit v1.2.3