Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
handle broken readdir() on Solaris 2.6 (it returns the name offset by
[rsync/rsync.git]
/
configure.in
diff --git
a/configure.in
b/configure.in
index
65a40a5
..
f740073
100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-76,4
+76,11
@@
AC_TRY_COMPILE([#include <sys/types.h>
echo yes;AC_DEFINE(HAVE_UTIMBUF),
echo no)
echo yes;AC_DEFINE(HAVE_UTIMBUF),
echo no)
+echo $ac_n "checking for broken readdir ... $ac_c"
+AC_TRY_COMPILE([#include <sys/types.h>
+#include <utime.h>],
+[struct utimbuf tbuf; tbuf.actime = 0; tbuf.modtime = 1; return utime("foo.c",&tbuf);],
+echo yes;AC_DEFINE(HAVE_UTIMBUF),
+echo no)
+
AC_OUTPUT(Makefile lib/dummy)
AC_OUTPUT(Makefile lib/dummy)