10409 |
|
|
10410 |
|
|
10411 |
|
|
10412 |
|
|
10413 |
: |
: |
10414 |
|
|
10415 |
|
|
10501 |
|
|
10502 |
fi |
fi |
10503 |
|
|
|
echo "$as_me:$LINENO: checking for nanoseconds member of struct stat.st_mtim" >&5 |
|
|
echo $ECHO_N "checking for nanoseconds member of struct stat.st_mtim... $ECHO_C" >&6 |
|
|
if test "${ac_cv_struct_st_mtim_nsec+set}" = set; then |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
else |
|
|
ac_save_CPPFLAGS="$CPPFLAGS" |
|
|
ac_cv_struct_st_mtim_nsec=no |
|
|
# tv_nsec -- the usual case |
|
|
# _tv_nsec -- Solaris 2.6, if |
|
|
# (defined _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED == 1 |
|
|
# && !defined __EXTENSIONS__) |
|
|
# st__tim.tv_nsec -- UnixWare 2.1.2 |
|
|
for ac_val in tv_nsec _tv_nsec st__tim.tv_nsec; do |
|
|
CPPFLAGS="$ac_save_CPPFLAGS -DST_MTIM_NSEC=$ac_val" |
|
|
cat >conftest.$ac_ext <<_ACEOF |
|
|
/* confdefs.h. */ |
|
|
_ACEOF |
|
|
cat confdefs.h >>conftest.$ac_ext |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
|
|
/* end confdefs.h. */ |
|
|
#include <sys/types.h> |
|
|
#include <sys/stat.h> |
|
|
int |
|
|
main () |
|
|
{ |
|
|
struct stat s; s.st_mtim.ST_MTIM_NSEC; |
|
|
; |
|
|
return 0; |
|
|
} |
|
|
_ACEOF |
|
|
rm -f conftest.$ac_objext |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
(eval $ac_compile) 2>conftest.er1 |
|
|
ac_status=$? |
|
|
grep -v '^ *+' conftest.er1 >conftest.err |
|
|
rm -f conftest.er1 |
|
|
cat conftest.err >&5 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); } && |
|
|
{ ac_try='test -z "$ac_c_werror_flag" |
|
|
|| test ! -s conftest.err' |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
(eval $ac_try) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); }; } && |
|
|
{ ac_try='test -s conftest.$ac_objext' |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
(eval $ac_try) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); }; }; then |
|
|
ac_cv_struct_st_mtim_nsec=$ac_val; break |
|
|
else |
|
|
echo "$as_me: failed program was:" >&5 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
|
|
fi |
|
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
done |
|
|
CPPFLAGS="$ac_save_CPPFLAGS" |
|
|
fi |
|
|
echo "$as_me:$LINENO: result: $ac_cv_struct_st_mtim_nsec" >&5 |
|
|
echo "${ECHO_T}$ac_cv_struct_st_mtim_nsec" >&6 |
|
|
|
|
|
if test $ac_cv_struct_st_mtim_nsec != no; then |
|
|
|
|
|
cat >>confdefs.h <<_ACEOF |
|
|
#define ST_MTIM_NSEC $ac_cv_struct_st_mtim_nsec |
|
|
_ACEOF |
|
|
|
|
|
fi |
|
|
|
|
|
|
|
10504 |
|
|
10505 |
|
|
10506 |
|
|
27005 |
|
|
27006 |
|
|
27007 |
|
|
27008 |
|
|
27009 |
: |
: |
27010 |
|
|
27011 |
|
|
27097 |
|
|
27098 |
fi |
fi |
27099 |
|
|
|
echo "$as_me:$LINENO: checking for nanoseconds member of struct stat.st_mtim" >&5 |
|
|
echo $ECHO_N "checking for nanoseconds member of struct stat.st_mtim... $ECHO_C" >&6 |
|
|
if test "${ac_cv_struct_st_mtim_nsec+set}" = set; then |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
else |
|
|
ac_save_CPPFLAGS="$CPPFLAGS" |
|
|
ac_cv_struct_st_mtim_nsec=no |
|
|
# tv_nsec -- the usual case |
|
|
# _tv_nsec -- Solaris 2.6, if |
|
|
# (defined _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED == 1 |
|
|
# && !defined __EXTENSIONS__) |
|
|
# st__tim.tv_nsec -- UnixWare 2.1.2 |
|
|
for ac_val in tv_nsec _tv_nsec st__tim.tv_nsec; do |
|
|
CPPFLAGS="$ac_save_CPPFLAGS -DST_MTIM_NSEC=$ac_val" |
|
|
cat >conftest.$ac_ext <<_ACEOF |
|
|
/* confdefs.h. */ |
|
|
_ACEOF |
|
|
cat confdefs.h >>conftest.$ac_ext |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
|
|
/* end confdefs.h. */ |
|
|
#include <sys/types.h> |
|
|
#include <sys/stat.h> |
|
|
int |
|
|
main () |
|
|
{ |
|
|
struct stat s; s.st_mtim.ST_MTIM_NSEC; |
|
|
; |
|
|
return 0; |
|
|
} |
|
|
_ACEOF |
|
|
rm -f conftest.$ac_objext |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
(eval $ac_compile) 2>conftest.er1 |
|
|
ac_status=$? |
|
|
grep -v '^ *+' conftest.er1 >conftest.err |
|
|
rm -f conftest.er1 |
|
|
cat conftest.err >&5 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); } && |
|
|
{ ac_try='test -z "$ac_c_werror_flag" |
|
|
|| test ! -s conftest.err' |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
(eval $ac_try) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); }; } && |
|
|
{ ac_try='test -s conftest.$ac_objext' |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
(eval $ac_try) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); }; }; then |
|
|
ac_cv_struct_st_mtim_nsec=$ac_val; break |
|
|
else |
|
|
echo "$as_me: failed program was:" >&5 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
|
|
fi |
|
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
done |
|
|
CPPFLAGS="$ac_save_CPPFLAGS" |
|
|
fi |
|
|
echo "$as_me:$LINENO: result: $ac_cv_struct_st_mtim_nsec" >&5 |
|
|
echo "${ECHO_T}$ac_cv_struct_st_mtim_nsec" >&6 |
|
|
|
|
|
if test $ac_cv_struct_st_mtim_nsec != no; then |
|
|
|
|
|
cat >>confdefs.h <<_ACEOF |
|
|
#define ST_MTIM_NSEC $ac_cv_struct_st_mtim_nsec |
|
|
_ACEOF |
|
|
|
|
|
fi |
|
|
|
|
|
|
|
27100 |
|
|
27101 |
|
|
27102 |
|
|