Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76d4988
)
Fix check for ino_t to work with both autoconf2.50 and autoconf2.13.
author
Martin Pool
<mbp@samba.org>
Mon, 6 Aug 2001 08:49:19 +0000
(08:49 +0000)
committer
Martin Pool
<mbp@samba.org>
Mon, 6 Aug 2001 08:49:19 +0000
(08:49 +0000)
configure.in
patch
|
blob
|
blame
|
history
rsync.h
patch
|
blob
|
blame
|
history
diff --git
a/configure.in
b/configure.in
index
7148143
..
21ac489
100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-76,7
+76,7
@@
AC_TYPE_SIZE_T
AC_TYPE_PID_T
AC_TYPE_GETGROUPS
AC_STRUCT_ST_RDEV
-AC_CHECK_TYPE(
ino_t,unsigned, [
])
+AC_CHECK_TYPE(
[ino_t], [unsigned
])
AC_CACHE_CHECK([for errno in errno.h],rsync_cv_errno, [
AC_TRY_COMPILE([#include <errno.h>],[int i = errno],
diff --git
a/rsync.h
b/rsync.h
index
cb138be
..
e5b5038
100644
(file)
--- a/
rsync.h
+++ b/
rsync.h
@@
-256,9
+256,11
@@
enum logcode {FNONE=0, FERROR=1, FINFO=2, FLOG=3 };
#endif
#if HAVE_SHORT_INO_T
-#define INO_T uint32
+# define INO_T uint32
+#elif HAVE_INO_T
+# define INO_T ino_t
#else
-#
define INO_T ino_t
+#
define INO_T unsigned
#endif
#ifndef MIN