summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean McGovern <gseanmcg@gmail.com>2016-03-13 14:29:26 -0400
committerwm4 <wm4@nowhere>2016-03-13 19:45:01 +0100
commit43bc397e9eb49de6fcc8559946810c0c26d4765c (patch)
tree937b19c058bbf6d5db5c840d3cce835bc9fa5afc
parent28274d6469cb631c115763150ddee4a78aac49ec (diff)
downloadlibass-43bc397e9eb49de6fcc8559946810c0c26d4765c.tar.bz2
libass-43bc397e9eb49de6fcc8559946810c0c26d4765c.tar.xz
configure: use proper quoting on iconv test
Unquoted strings cause an error when the test variable is empty.
-rw-r--r--configure.ac4
1 files 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