2 # as_fn_set_status STATUS
3 # -----------------------
4 # Set $? to STATUS, without forking.
12 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19 if expr a : '\(a\)' >/dev/null 2>&1 &&
20 test "X`expr 00001 : '.*\(...\)'`" = X001; then
26 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
32 as_me=`$as_basename -- "$0" ||
33 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
34 X"$0" : 'X\(//\)$' \| \
35 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
37 sed '/^.*\/\([^/][^/]*\)\/*$/{
52 as_lineno_1=$LINENO as_lineno_1a=$LINENO
53 as_lineno_2=$LINENO as_lineno_2a=$LINENO
54 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
55 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
56 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
68 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
72 chmod +x "$as_me.lineno" ||
73 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
75 # Don't try to exec as it changes $[0], causing all sort of problems
76 # (the dirname of $[0] is not the place where we might find the
77 # original and so on. Autoconf is especially sensitive to this).
79 # Exit status is that of the last command.
83 # This file is generated from configure.in by Autoconf. DO NOT EDIT!
85 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for assembler line separator" >&5
86 $as_echo_n "checking for assembler line separator... " >&6; }
87 if ${libc_cv_asm_line_sep+:} false; then :
88 $as_echo_n "(cached) " >&6
90 cat > conftest.s <<EOF
93 if { ac_try='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
94 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
97 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
98 test $ac_status = 0; }; }; then
99 libc_cv_asm_line_sep='!'
101 if test -z "$enable_hacker_mode"; then
102 echo "*** You need a newer assembler to compile glibc"
106 libc_cv_asm_line_sep=';'
110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_line_sep" >&5
111 $as_echo "$libc_cv_asm_line_sep" >&6; }
112 cat >>confdefs.h <<_ACEOF
113 #define ASM_LINE_SEP $libc_cv_asm_line_sep
117 # Check for support of thread-local storage handling in assembler and
119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hppa TLS support" >&5
120 $as_echo_n "checking for hppa TLS support... " >&6; }
121 if ${libc_cv_hppa_tls+:} false; then :
122 $as_echo_n "(cached) " >&6
124 cat > conftest.s <<\EOF
126 .section ".tdata","awT",@progbits
129 ; Test general dyanmic relocations
131 addil LT'foo-$tls_gdidx$, %r19
132 ldo RT'foo-$tls_gdidx$(%r1), %r26
135 ; Test local dynamic relocations
137 addil LT'foo-$tls_ldidx$, %r19
139 ldo RT'foo-$tls_ldidx$(%r1), %r26
140 ldo RR'foo-$tls_dtpoff$(%r1), %r25
141 ; More variables can be loaded...
142 ; Test initial exec reloctiosn
145 addil LT'foo-$tls_ieoff$, %r19
146 ldw RT'foo-$tls_ieoff$(%r1), %r25
148 ; Test local exec relocations
151 addil LR'foo-$tls_leoff$, %r26
152 ldo RR'foo-$tls_leoff$(%r1), %r25
153 ; Done all the TLS tests.
155 if { ac_try='${CC-cc} -c $CFLAGS conftest.s 1>&5'
156 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
159 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
160 test $ac_status = 0; }; }; then
167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_hppa_tls" >&5
168 $as_echo "$libc_cv_hppa_tls" >&6; }
169 if test $libc_cv_hppa_tls = no; then
170 as_fn_error $? "the assembler must support TLS" "$LINENO" 5