[Libreoffice-commits] libcdr.git: configure.ac

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sat Dec 29 15:47:54 UTC 2018


 configure.ac |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 10211e95bb95d05c2261819c88b7f48d9db20b32
Author:     David Tardon <dtardon at redhat.com>
AuthorDate: Sat Dec 29 16:16:00 2018 +0100
Commit:     David Tardon <dtardon at redhat.com>
CommitDate: Sat Dec 29 16:16:00 2018 +0100

    fix conditional
    
    Change-Id: I29bad8c1e96f17bf8304729baff8305584371a33

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


More information about the Libreoffice-commits mailing list