From c871d196ed4fb326408009cc102b78af13f8cc08 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 15 Oct 2003 19:33:56 +0000 Subject: 2003-10-15 Roland McGrath * sysdeps/pthread/configure.in: Barf if visibility attribute support is missing. * sysdeps/pthread/configure: Regenerated. --- nptl/sysdeps/pthread/configure.in | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'nptl/sysdeps/pthread/configure.in') diff --git a/nptl/sysdeps/pthread/configure.in b/nptl/sysdeps/pthread/configure.in index c998eac705..7d803b6323 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 -- cgit v1.2.3