]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
Fix check for ino_t to work with both autoconf2.50 and autoconf2.13.
authorMartin Pool <mbp@samba.org>
Mon, 6 Aug 2001 08:49:19 +0000 (08:49 +0000)
committerMartin Pool <mbp@samba.org>
Mon, 6 Aug 2001 08:49:19 +0000 (08:49 +0000)
configure.in
rsync.h

index 71481437e6769c046b5623c38a839cefd2cdd9b8..21ac489cc922826cf6bcf6bac731036cfecb22e4 100644 (file)
@@ -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 cb138be2550c81d4083917146172c54bd0eeb406..e5b503821db57e7d50a21334c08e693031582edd 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