aboutsummaryrefslogtreecommitdiff
path: root/nptl
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-10-15 19:33:56 +0000
committerRoland McGrath <roland@gnu.org>2003-10-15 19:33:56 +0000
commitc871d196ed4fb326408009cc102b78af13f8cc08 (patch)
tree2e29b3aecc170d6172faa0f9940728fdfb6f63d7 /nptl
parenta21a20a33f5b49cfc06ed72f3164099ce226a0b9 (diff)
downloadglibc-c871d196ed4fb326408009cc102b78af13f8cc08.zip
glibc-c871d196ed4fb326408009cc102b78af13f8cc08.tar.gz
glibc-c871d196ed4fb326408009cc102b78af13f8cc08.tar.bz2
2003-10-15 Roland McGrath <roland@redhat.com>
* sysdeps/pthread/configure.in: Barf if visibility attribute support is missing. * sysdeps/pthread/configure: Regenerated.
Diffstat (limited to 'nptl')
-rwxr-xr-xnptl/sysdeps/pthread/configure7
-rw-r--r--nptl/sysdeps/pthread/configure.in5
2 files changed, 12 insertions, 0 deletions
diff --git a/nptl/sysdeps/pthread/configure b/nptl/sysdeps/pthread/configure
index d10b23d..2241354 100755
--- a/nptl/sysdeps/pthread/configure
+++ b/nptl/sysdeps/pthread/configure
@@ -6,6 +6,13 @@ echo "$as_me: error: compiler support for __thread is required" >&2;}
{ (exit 1); exit 1; }; }
fi
+if test "x${libc_cv_visibility_attribute}" != xyes ||
+ test "x${libc_cv_broken_visibility_attribute}" != xno; then
+ { { echo "$as_me:$LINENO: error: working compiler support for visibility attribute is required" >&5
+echo "$as_me: error: working compiler support for visibility attribute is required" >&2;}
+ { (exit 1); exit 1; }; }
+fi
+
if test "x$libc_cv_asm_cfi_directives" != xyes; then
case "$base_machine" in
i386 | x86_64 | powerpc | s390)
diff --git a/nptl/sysdeps/pthread/configure.in b/nptl/sysdeps/pthread/configure.in
index c998eac..7d803b6 100644
--- a/nptl/sysdeps/pthread/configure.in
+++ b/nptl/sysdeps/pthread/configure.in
@@ -5,6 +5,11 @@ if test "x$libc_cv_gcc___thread" != xyes; then
AC_MSG_ERROR(compiler support for __thread is required)
fi
+if test "x${libc_cv_visibility_attribute}" != xyes ||
+ test "x${libc_cv_broken_visibility_attribute}" != xno; then
+ AC_MSG_ERROR(working compiler support for visibility attribute is required)
+fi
+
if test "x$libc_cv_asm_cfi_directives" != xyes; then
dnl We need this only for some architectures.
case "$base_machine" in