From: Martin Pool Date: Mon, 6 Aug 2001 08:49:19 +0000 (+0000) Subject: Fix check for ino_t to work with both autoconf2.50 and autoconf2.13. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/e2ba16cceac9289c52a1fd0af9a229c1b6d51807 Fix check for ino_t to work with both autoconf2.50 and autoconf2.13. --- diff --git a/configure.in b/configure.in index 71481437..21ac489c 100644 --- 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 ],[int i = errno], diff --git a/rsync.h b/rsync.h index cb138be2..e5b50382 100644 --- 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