Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix configure visibility tests
  • Loading branch information
Ulrich Drepper committed May 21, 2011
1 parent cc9e536 commit f7d82dc
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
3 changes: 3 additions & 0 deletions ChangeLog
@@ -1,5 +1,8 @@
2011-05-21 Ulrich Drepper <drepper@gmail.com>

* configure.in: Fix typo in redirection and correct removal of test
files in two cases.

[BZ #12788]
* locale/setlocale.c (new_composite_name): Fix test to check for
identical name of all categories.
Expand Down
6 changes: 3 additions & 3 deletions configure
Expand Up @@ -5963,7 +5963,7 @@ EOF
fi
fi
fi
rm -f conftest.cs
rm -f conftest.{c,s}

fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_visibility_attribute" >&5
Expand All @@ -5985,7 +5985,7 @@ else
int bar (int x) { return x; }
EOF
libc_cv_broken_visibility_attribute=yes
if { ac_try='${CC-cc} -Werror -S conftest.c -o conftest.s1>&5'
if { ac_try='${CC-cc} -Werror -S conftest.c -o conftest.s 1>&5'
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
(eval $ac_try) 2>&5
ac_status=$?
Expand Down Expand Up @@ -6626,7 +6626,7 @@ EOF
else
libc_cv_have_section_quotes=unknown
fi
rm -f conftest.cs
rm -f conftest.{c,s}

fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_have_section_quotes" >&5
Expand Down
8 changes: 4 additions & 4 deletions configure.in
Expand Up @@ -1388,7 +1388,7 @@ EOF
fi
fi
fi
rm -f conftest.[cs]
rm -f conftest.{c,s}
])
if test $libc_cv_visibility_attribute != yes; then
AC_MSG_ERROR(compiler support for visibility attribute is required)
Expand All @@ -1404,7 +1404,7 @@ EOF
int bar (int x) { return x; }
EOF
libc_cv_broken_visibility_attribute=yes
if AC_TRY_COMMAND(${CC-cc} -Werror -S conftest.c -o conftest.s1>&AS_MESSAGE_LOG_FD); then
if AC_TRY_COMMAND(${CC-cc} -Werror -S conftest.c -o conftest.s 1>&AS_MESSAGE_LOG_FD); then
changequote(,)dnl
if grep '\.hidden[ _]foo' conftest.s >/dev/null; then
changequote([,])dnl
Expand Down Expand Up @@ -1806,7 +1806,7 @@ EOF
else
libc_cv_have_section_quotes=unknown
fi
rm -f conftest.[cs]
rm -f conftest.{c,s}
])
if test $libc_cv_have_section_quotes = yes; then
AC_DEFINE(HAVE_SECTION_QUOTES)
Expand Down Expand Up @@ -2080,7 +2080,7 @@ fi

if test -n "$submachine"; then
AC_CACHE_CHECK([for compiler option for CPU variant],
libc_cv_cc_submachine, [dnl
libc_cv_cc_submachine, [dnl
libc_cv_cc_submachine=no
for opt in "-march=$submachine" "-mcpu=$submachine"; do
if AC_TRY_COMMAND([${CC-cc} $opt -xc /dev/null -S -o /dev/null]); then
Expand Down

0 comments on commit f7d82dc

Please sign in to comment.