Lines 6254-6263
echo >&5 "libc_undefs='$libc_undefs'"
Link Here
|
6254 |
# defaults to -fstack-protector but this produces an undefined symbol |
6254 |
# defaults to -fstack-protector but this produces an undefined symbol |
6255 |
# other than __stack_chk_fail. However, compilers like that have not |
6255 |
# other than __stack_chk_fail. However, compilers like that have not |
6256 |
# been encountered in practice. |
6256 |
# been encountered in practice. |
6257 |
libc_undefs=`echo "$libc_undefs" | egrep '^(foobar|__stack_chk_fail)$'` |
6257 |
libc_undefs=`echo "$libc_undefs" | egrep '^(foobar|__stack_chk_fail|__stack_chk_fail_local)$'` |
6258 |
case "$libc_undefs" in |
6258 |
case "$libc_undefs" in |
6259 |
foobar) libc_cv_predef_stack_protector=no ;; |
6259 |
foobar) libc_cv_predef_stack_protector=no ;; |
6260 |
'__stack_chk_fail |
6260 |
'__stack_chk_fail_local |
|
|
6261 |
foobar'|'__stack_chk_fail |
6261 |
foobar') libc_cv_predef_stack_protector=yes ;; |
6262 |
foobar') libc_cv_predef_stack_protector=yes ;; |
6262 |
*) as_fn_error $? "unexpected symbols in test: $libc_undefs" "$LINENO" 5 ;; |
6263 |
*) as_fn_error $? "unexpected symbols in test: $libc_undefs" "$LINENO" 5 ;; |
6263 |
esac |
6264 |
esac |