1 > The header stores only 4 bytes for crc, so it is quite reasonable.
3 Then I would suggest something like this, though it could be made more
9 AC_CHECK_TYPE(gid_t, int)
12 +AC_CHECK_TYPES(uint32_t)
13 +AC_CHECK_SIZEOF(unsigned long)
14 +AC_CHECK_SIZEOF(unsigned int)
16 AC_CHECK_FUNCS([fchmod fchown])
17 # This is needed for mingw build
21 extern int archive_des;
22 extern char *archive_name;
23 extern char *rsh_command_option;
27 +# if SIZEOF_UNSIGNED_LONG == 4
28 extern unsigned long crc;
29 +# elif SIZEOF_UNSIGNED_INT == 4
30 +extern unsigned int crc;
32 +# error Wrong size for crc
35 extern int delayed_seek_count;
37 extern int debug_flag;
43 char *rsh_command_option = NULL;
49 +# if SIZEOF_UNSIGNED_LONG == 4
51 +# elif SIZEOF_UNSIGNED_INT == 4
54 +# error Wrong size for crc
58 /* Input and output buffers. */
59 char *input_buffer, *output_buffer;