… | |
… | |
3172 | fi |
3172 | fi |
3173 | |
3173 | |
3174 | done |
3174 | done |
3175 | |
3175 | |
3176 | |
3176 | |
3177 | for ac_header in stdint.h |
3177 | for ac_header in linux/fs.h linux/fiemap.h |
3178 | do : |
3178 | do : |
|
|
3179 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
3179 | ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" |
3180 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
3180 | if test "x$ac_cv_header_stdint_h" = x""yes; then : |
3181 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
3181 | cat >>confdefs.h <<_ACEOF |
3182 | cat >>confdefs.h <<_ACEOF |
3182 | #define HAVE_STDINT_H 1 |
3183 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
3184 | _ACEOF |
|
|
3185 | |
|
|
3186 | fi |
|
|
3187 | |
|
|
3188 | done |
|
|
3189 | |
|
|
3190 | |
|
|
3191 | for ac_header in stdint.h sys/syscall.h sys/prctl.h |
|
|
3192 | do : |
|
|
3193 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
3194 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
|
|
3195 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
|
|
3196 | cat >>confdefs.h <<_ACEOF |
|
|
3197 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
3183 | _ACEOF |
3198 | _ACEOF |
3184 | |
3199 | |
3185 | fi |
3200 | fi |
3186 | |
3201 | |
3187 | done |
3202 | done |
… | |
… | |
3532 | fi |
3547 | fi |
3533 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fallocate" >&5 |
3548 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fallocate" >&5 |
3534 | $as_echo "$ac_cv_fallocate" >&6; } |
3549 | $as_echo "$ac_cv_fallocate" >&6; } |
3535 | test $ac_cv_fallocate = yes && |
3550 | test $ac_cv_fallocate = yes && |
3536 | $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h |
3551 | $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h |
|
|
3552 | |
|
|
3553 | |
|
|
3554 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys_syncfs" >&5 |
|
|
3555 | $as_echo_n "checking for sys_syncfs... " >&6; } |
|
|
3556 | if test "${ac_cv_sys_syncfs+set}" = set; then : |
|
|
3557 | $as_echo_n "(cached) " >&6 |
|
|
3558 | else |
|
|
3559 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3560 | /* end confdefs.h. */ |
|
|
3561 | |
|
|
3562 | #include <unistd.h> |
|
|
3563 | #include <sys/syscall.h> |
|
|
3564 | int main (void) |
|
|
3565 | { |
|
|
3566 | int res = syscall (__NR_syncfs, (int)0); |
|
|
3567 | } |
|
|
3568 | |
|
|
3569 | _ACEOF |
|
|
3570 | if ac_fn_c_try_link "$LINENO"; then : |
|
|
3571 | ac_cv_sys_syncfs=yes |
|
|
3572 | else |
|
|
3573 | ac_cv_sys_syncfs=no |
|
|
3574 | fi |
|
|
3575 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
3576 | conftest$ac_exeext conftest.$ac_ext |
|
|
3577 | fi |
|
|
3578 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_syncfs" >&5 |
|
|
3579 | $as_echo "$ac_cv_sys_syncfs" >&6; } |
|
|
3580 | test $ac_cv_sys_syncfs = yes && |
|
|
3581 | $as_echo "#define HAVE_SYS_SYNCFS 1" >>confdefs.h |
|
|
3582 | |
|
|
3583 | |
|
|
3584 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prctl_set_name" >&5 |
|
|
3585 | $as_echo_n "checking for prctl_set_name... " >&6; } |
|
|
3586 | if test "${ac_cv_prctl_set_name+set}" = set; then : |
|
|
3587 | $as_echo_n "(cached) " >&6 |
|
|
3588 | else |
|
|
3589 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
3590 | /* end confdefs.h. */ |
|
|
3591 | |
|
|
3592 | #include <sys/prctl.h> |
|
|
3593 | int main (void) |
|
|
3594 | { |
|
|
3595 | char name = "test123"; |
|
|
3596 | int res = prctl (PR_SET_NAME, (unsigned long)name, 0, 0, 0); |
|
|
3597 | } |
|
|
3598 | |
|
|
3599 | _ACEOF |
|
|
3600 | if ac_fn_c_try_link "$LINENO"; then : |
|
|
3601 | ac_cv_prctl_set_name=yes |
|
|
3602 | else |
|
|
3603 | ac_cv_prctl_set_name=no |
|
|
3604 | fi |
|
|
3605 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
3606 | conftest$ac_exeext conftest.$ac_ext |
|
|
3607 | fi |
|
|
3608 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prctl_set_name" >&5 |
|
|
3609 | $as_echo "$ac_cv_prctl_set_name" >&6; } |
|
|
3610 | test $ac_cv_prctl_set_name = yes && |
|
|
3611 | $as_echo "#define HAVE_PRCTL_SET_NAME 1" >>confdefs.h |
3537 | |
3612 | |
3538 | |
3613 | |
3539 | |
3614 | |
3540 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for posix_madvise" >&5 |
3615 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for posix_madvise" >&5 |
3541 | $as_echo_n "checking for posix_madvise... " >&6; } |
3616 | $as_echo_n "checking for posix_madvise... " >&6; } |