… | |
… | |
3172 | fi |
3172 | fi |
3173 | |
3173 | |
3174 | done |
3174 | done |
3175 | |
3175 | |
3176 | |
3176 | |
3177 | for ac_header in stdint.h sys/syscall.h |
3177 | for ac_header in stdint.h sys/syscall.h sys/prctl.h |
3178 | do : |
3178 | do : |
3179 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
3179 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
3180 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
3180 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
3181 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
3181 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
3182 | cat >>confdefs.h <<_ACEOF |
3182 | cat >>confdefs.h <<_ACEOF |
… | |
… | |
3563 | fi |
3563 | fi |
3564 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_syncfs" >&5 |
3564 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_syncfs" >&5 |
3565 | $as_echo "$ac_cv_sys_syncfs" >&6; } |
3565 | $as_echo "$ac_cv_sys_syncfs" >&6; } |
3566 | test $ac_cv_sys_syncfs = yes && |
3566 | test $ac_cv_sys_syncfs = yes && |
3567 | $as_echo "#define HAVE_SYS_SYNCFS 1" >>confdefs.h |
3567 | $as_echo "#define HAVE_SYS_SYNCFS 1" >>confdefs.h |
|
|
3568 | |
|
|
3569 | |
|
|
3570 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prctl_set_name" >&5 |
|
|
3571 | $as_echo_n "checking for prctl_set_name... " >&6; } |
|
|
3572 | if test "${ac_cv_prctl_set_name+set}" = set; then : |
|
|
3573 | $as_echo_n "(cached) " >&6 |
|
|
3574 | else |
|
|
3575 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3576 | /* end confdefs.h. */ |
|
|
3577 | |
|
|
3578 | #include <sys/prctl.h> |
|
|
3579 | int main (void) |
|
|
3580 | { |
|
|
3581 | char name = "test123"; |
|
|
3582 | int res = prctl (PR_SET_NAME, (unsigned long)name, 0, 0, 0); |
|
|
3583 | } |
|
|
3584 | |
|
|
3585 | _ACEOF |
|
|
3586 | if ac_fn_c_try_link "$LINENO"; then : |
|
|
3587 | ac_cv_prctl_set_name=yes |
|
|
3588 | else |
|
|
3589 | ac_cv_prctl_set_name=no |
|
|
3590 | fi |
|
|
3591 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
3592 | conftest$ac_exeext conftest.$ac_ext |
|
|
3593 | fi |
|
|
3594 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prctl_set_name" >&5 |
|
|
3595 | $as_echo "$ac_cv_prctl_set_name" >&6; } |
|
|
3596 | test $ac_cv_prctl_set_name = yes && |
|
|
3597 | $as_echo "#define HAVE_PRCTL_SET_NAME 1" >>confdefs.h |
3568 | |
3598 | |
3569 | |
3599 | |
3570 | |
3600 | |
3571 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for posix_madvise" >&5 |
3601 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for posix_madvise" >&5 |
3572 | $as_echo_n "checking for posix_madvise... " >&6; } |
3602 | $as_echo_n "checking for posix_madvise... " >&6; } |