diff --git a/config_office/configure.in b/config_office/configure.in
index f00faab..6081016 100644
--- a/config_office/configure.in
+++ b/config_office/configure.in
@@ -1334,7 +1334,7 @@ if test "$GCC" = "yes"; then
    AC_MSG_CHECKING([whether $CC supports -fvisibility=hidden])
    save_CFLAGS=$CFLAGS
    CFLAGS="$CFLAGS -fvisibility=hidden"
-   AC_TRY_LINK([], [ return 0; ], [ HAVE_GCC_VISIBILITY_FEATURE=TRUE ], [])
+   AC_TRY_LINK([], [ return 0; ], [ XHAVE_GCC_VISIBILITY_FEATURE=TRUE ], [])
    CFLAGS=$save_CFLAGS
    if test "$HAVE_GCC_VISIBILITY_FEATURE" = "TRUE"; then
       AC_MSG_RESULT([yes])

