2009-02-20 08:46:43 +01:00
|
|
|
Index: configure.in
|
|
|
|
===================================================================
|
2009-11-16 09:54:19 +01:00
|
|
|
--- configure.in.orig
|
|
|
|
+++ configure.in
|
2010-01-03 12:31:34 +01:00
|
|
|
@@ -1395,7 +1395,7 @@ EOF
|
2009-02-20 08:46:43 +01:00
|
|
|
fi
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
- rm -f conftest.[cs]
|
|
|
|
+ rm -f conftest*
|
|
|
|
])
|
|
|
|
if test $libc_cv_visibility_attribute != yes; then
|
|
|
|
AC_MSG_ERROR(compiler support for visibility attribute is required)
|
2010-01-03 12:31:34 +01:00
|
|
|
@@ -1411,7 +1411,7 @@ EOF
|
2009-02-20 08:46:43 +01:00
|
|
|
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 >&AS_MESSAGE_LOG_FD); then
|
|
|
|
changequote(,)dnl
|
|
|
|
if grep '\.hidden[ _]foo' conftest.s >/dev/null; then
|
|
|
|
changequote([,])dnl
|
|
|
|
Index: configure
|
|
|
|
===================================================================
|
2009-11-16 09:54:19 +01:00
|
|
|
--- configure.orig
|
|
|
|
+++ configure
|
2010-01-03 12:31:34 +01:00
|
|
|
@@ -6272,7 +6272,7 @@ EOF
|
2009-02-20 08:46:43 +01:00
|
|
|
fi
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
- rm -f conftest.cs
|
|
|
|
+ rm -f conftest*
|
|
|
|
|
|
|
|
fi
|
2009-11-16 09:54:19 +01:00
|
|
|
{ $as_echo "$as_me:$LINENO: result: $libc_cv_visibility_attribute" >&5
|
2010-01-03 12:31:34 +01:00
|
|
|
@@ -6296,7 +6296,7 @@ else
|
2009-02-20 08:46:43 +01:00
|
|
|
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 >&5'
|
|
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
|
|
(eval $ac_try) 2>&5
|
|
|
|
ac_status=$?
|