… | |
… | |
2596 | as_fn_error $? "pthread functions not found" "$LINENO" 5 |
2596 | as_fn_error $? "pthread functions not found" "$LINENO" 5 |
2597 | |
2597 | |
2598 | fi |
2598 | fi |
2599 | |
2599 | |
2600 | |
2600 | |
|
|
2601 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimes" >&5 |
|
|
2602 | $as_echo_n "checking for utimes... " >&6; } |
|
|
2603 | if test "${ac_cv_utimes+set}" = set; then : |
|
|
2604 | $as_echo_n "(cached) " >&6 |
|
|
2605 | else |
|
|
2606 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
2607 | /* end confdefs.h. */ |
|
|
2608 | |
|
|
2609 | #include <sys/types.h> |
|
|
2610 | #include <sys/time.h> |
|
|
2611 | #include <utime.h> |
|
|
2612 | struct timeval tv[2]; |
|
|
2613 | int res; |
|
|
2614 | int main (void) |
|
|
2615 | { |
|
|
2616 | res = utimes ("/", tv); |
|
|
2617 | return 0; |
|
|
2618 | } |
|
|
2619 | |
|
|
2620 | _ACEOF |
|
|
2621 | if ac_fn_c_try_link "$LINENO"; then : |
|
|
2622 | ac_cv_utimes=yes |
|
|
2623 | else |
|
|
2624 | ac_cv_utimes=no |
|
|
2625 | fi |
|
|
2626 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
2627 | conftest$ac_exeext conftest.$ac_ext |
|
|
2628 | fi |
|
|
2629 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_utimes" >&5 |
|
|
2630 | $as_echo "$ac_cv_utimes" >&6; } |
|
|
2631 | test $ac_cv_utimes = yes && |
|
|
2632 | $as_echo "#define HAVE_UTIMES 1" >>confdefs.h |
|
|
2633 | |
|
|
2634 | |
2601 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for futimes" >&5 |
2635 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for futimes" >&5 |
2602 | $as_echo_n "checking for futimes... " >&6; } |
2636 | $as_echo_n "checking for futimes... " >&6; } |
2603 | if test "${ac_cv_futimes+set}" = set; then : |
2637 | if test "${ac_cv_futimes+set}" = set; then : |
2604 | $as_echo_n "(cached) " >&6 |
2638 | $as_echo_n "(cached) " >&6 |
2605 | else |
2639 | else |