summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2018-12-29 16:16:00 +0100
committerDavid Tardon <dtardon@redhat.com>2018-12-29 16:16:00 +0100
commit10211e95bb95d05c2261819c88b7f48d9db20b32 (patch)
tree567001246f8c565634bcf37aacd46443cd507ed4
parentcd9549b81880c35c5d6d56eeab143c3284cbbc5c (diff)
fix conditional
Change-Id: I29bad8c1e96f17bf8304729baff8305584371a33
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 61d62ef..d29c154 100644
--- a/configure.ac
+++ b/configure.ac
@@ -189,10 +189,10 @@ AS_IF([test $platform_win32 = yes],
AC_MSG_RESULT([$have_visibility])
CXXFLAGS="$saved_CXXFLAGS"
AX_GCC_FUNC_ATTRIBUTE([visibility])
- AM_CONDITIONAL([HAVE_VISIBILITY], [
- test "$have_visibility" = "yes" && test "$ax_cv_have_func_attribute_visibility" = "yes"])
]
)
+AM_CONDITIONAL([HAVE_VISIBILITY], [
+ test x"$have_visibility" = xyes && test x"$ax_cv_have_func_attribute_visibility" = xyes])
# ================
# Check for cflags