diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-08-08 08:14:53 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-08-08 08:14:53 +0000 |
commit | 48b8e8464b5a0a4c20dca0ffac05541397bfb654 (patch) | |
tree | dca117cdd173289dba7f99acd28443a098c0af9c /configure.in | |
parent | 972e719e8154eec5f543b027e2a08dfa285d55d5 (diff) | |
download | glibc-48b8e8464b5a0a4c20dca0ffac05541397bfb654.tar glibc-48b8e8464b5a0a4c20dca0ffac05541397bfb654.tar.gz glibc-48b8e8464b5a0a4c20dca0ffac05541397bfb654.tar.bz2 glibc-48b8e8464b5a0a4c20dca0ffac05541397bfb654.zip |
Update.
2002-08-08 Alexandre Oliva <aoliva@redhat.com>
* configure.in: Make the test for broken_alias_attribute stricter.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/configure.in b/configure.in index d2af5ab277..808e52ba97 100644 --- a/configure.in +++ b/configure.in @@ -1041,11 +1041,15 @@ changequote([,])dnl [cat > conftest.c <<EOF extern int foo (int x) __asm ("xyzzy"); int bar (int x) { return x; } - extern __typeof (bar) foo __attribute ((weak, alias ("bar"))); + extern __typeof (bar) foo __attribute ((weak, alias ("bar"))); + extern int dfoo; + extern __typeof (dfoo) dfoo __asm ("abccb"); + int dfoo = 1; EOF libc_cv_broken_alias_attribute=yes if ${CC-cc} -Werror -S conftest.c -o conftest.s >/dev/null 2>&1; then - if grep 'xyzzy' conftest.s >/dev/null; then + if grep 'xyzzy' conftest.s >/dev/null && + grep 'abccb' conftest.s >/dev/null; then libc_cv_broken_alias_attribute=no fi fi |