Bugzilla Bug 273336: fixed an incorrect variable name.
authorwtchang%redhat.com
Fri, 13 May 2005 01:42:35 +0000
changeset 3389 72ae80488a2c563504c5153fa45abc5f47a2f18b
parent 3386 a037bfbec54be96b2b94222a83c1668c54443876
child 3390 b3de7c5181aab9ff8ea99d1d9a070f9a64ec6b3a
push idunknown
push userunknown
push dateunknown
bugs273336
Bugzilla Bug 273336: fixed an incorrect variable name.
configure
configure.in
--- a/configure
+++ b/configure
@@ -2578,17 +2578,17 @@ if test "$GNU_CC"; then
     echo $ac_n "checking for visibility(hidden) attribute""... $ac_c" 1>&6
 echo "configure:2580: checking for visibility(hidden) attribute" >&5
 if eval "test \"`echo '$''{'ac_cv_visibility_hidden'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.c <<EOF
         int foo __attribute__ ((visibility ("hidden"))) = 1;
 EOF
-        ac_cv_visibility_attribute=no
+        ac_cv_visibility_hidden=no
         if ${CC-cc} -Werror -S conftest.c -o conftest.s >/dev/null 2>&1; then
             if grep '\.hidden.*foo' conftest.s >/dev/null; then
                 ac_cv_visibility_hidden=yes
             fi
         fi
         rm -f conftest.cs
         
 fi
--- a/configure.in
+++ b/configure.in
@@ -489,17 +489,17 @@ dnl Check for .hidden assembler directiv
 dnl Borrowed from glibc configure.in
 dnl ===============================================================
 if test "$GNU_CC"; then
     AC_CACHE_CHECK(for visibility(hidden) attribute,
         ac_cv_visibility_hidden,
         [cat > conftest.c <<EOF
         int foo __attribute__ ((visibility ("hidden"))) = 1;
 EOF
-        ac_cv_visibility_attribute=no
+        ac_cv_visibility_hidden=no
         if ${CC-cc} -Werror -S conftest.c -o conftest.s >/dev/null 2>&1; then
             if grep '\.hidden.*foo' conftest.s >/dev/null; then
                 ac_cv_visibility_hidden=yes
             fi
         fi
         rm -f conftest.[cs]
         ])
     if test "$ac_cv_visibility_hidden" = "yes"; then