1 # This file is generated from configure.in by Autoconf. DO NOT EDIT!
3 if test "x$libc_cv_gcc___thread" != xyes; then
4 as_fn_error $? "compiler support for __thread is required" "$LINENO" 5
7 if test "x${libc_cv_visibility_attribute}" != xyes ||
8 test "x${libc_cv_broken_visibility_attribute}" != xno; then
9 as_fn_error $? "working compiler support for visibility attribute is required" "$LINENO" 5
12 if test "x$libc_cv_asm_cfi_directives" != xyes; then
13 case "$base_machine" in
14 i386 | x86_64 | powerpc | s390)
15 as_fn_error $? "CFI directive support in assembler is required" "$LINENO" 5 ;;
21 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for forced unwind support" >&5
22 $as_echo_n "checking for forced unwind support... " >&6; }
23 if ${libc_cv_forced_unwind+:} false; then :
24 $as_echo_n "(cached) " >&6
26 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33 struct _Unwind_Exception exc;
34 struct _Unwind_Context *context;
35 _Unwind_GetCFA (context)
40 if ac_fn_c_try_compile "$LINENO"; then :
41 libc_cv_forced_unwind=yes
43 libc_cv_forced_unwind=no
45 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_forced_unwind" >&5
48 $as_echo "$libc_cv_forced_unwind" >&6; }
49 if test $libc_cv_forced_unwind = yes; then
50 $as_echo "#define HAVE_FORCED_UNWIND 1" >>confdefs.h
53 CFLAGS="$CFLAGS -Werror -fexceptions"
54 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C cleanup handling" >&5
55 $as_echo_n "checking for C cleanup handling... " >&6; }
56 if ${libc_cv_c_cleanup+:} false; then :
57 $as_echo_n "(cached) " >&6
59 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62 extern void some_function (void);
68 int a __attribute__ ((cleanup (cl)));
74 if ac_fn_c_try_compile "$LINENO"; then :
79 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_c_cleanup" >&5
82 $as_echo "$libc_cv_c_cleanup" >&6; }
84 if test $libc_cv_c_cleanup = no; then
85 as_fn_error $? "the compiler must support C cleanup handling" "$LINENO" 5
88 as_fn_error $? "forced unwind support is required" "$LINENO" 5