View | Details | Raw Unified | Return to issue 13620
Collapse All | Expand All

(-)configure.in (-1 / +10 lines)
Lines 37-42 Link Here
37
AC_C_CONST
37
AC_C_CONST
38
AC_TYPE_OFF_T
38
AC_TYPE_OFF_T
39
AC_TYPE_SIZE_T
39
AC_TYPE_SIZE_T
40
AC_CHECK_TYPES(int8)
41
AC_CHECK_TYPES(uint8)
42
AC_CHECK_TYPES(int16)
43
AC_CHECK_TYPES(uint16)
44
AC_CHECK_TYPES(int32)
45
AC_CHECK_TYPES(uint32)
40
AC_HEADER_TIME
46
AC_HEADER_TIME
41
AC_CHECK_SIZEOF(short, 2)
47
AC_CHECK_SIZEOF(short, 2)
42
AC_CHECK_SIZEOF(int, 4)
48
AC_CHECK_SIZEOF(int, 4)
Lines 47-53 Link Here
47
AC_TYPE_SIGNAL
53
AC_TYPE_SIGNAL
48
AC_FUNC_UTIME_NULL
54
AC_FUNC_UTIME_NULL
49
AC_FUNC_VPRINTF
55
AC_FUNC_VPRINTF
50
AC_CHECK_FUNCS(getcwd getwd putenv strcspn strerror strspn strstr setvbuf tzset settz)
56
AC_CHECK_FUNCS(getcwd getwd putenv strcspn strerror strspn strstr setvbuf tzset settz tmpfile)
51
57
52
dnl Checks for OS
58
dnl Checks for OS
53
AC_MSG_CHECKING([the operating system])
59
AC_MSG_CHECKING([the operating system])
Lines 110-115 Link Here
110
	  ;;
116
	  ;;
111
	"GNU")
117
	"GNU")
112
	  OS_VERSION=linux
118
	  OS_VERSION=linux
119
	  ;;
120
	"AIX")
121
	  OS_VERSION=sysvr4
113
	  ;;
122
	  ;;
114
   *)
123
   *)
115
      AC_MSG_ERROR([$_os operating system is not suitable to build dmake!])
124
      AC_MSG_ERROR([$_os operating system is not suitable to build dmake!])
(-)itypes.h (-12 / +42 lines)
Lines 27-51 Link Here
27
#ifndef ITYPES_h
27
#ifndef ITYPES_h
28
#define	ITYPES_h
28
#define	ITYPES_h
29
29
30
typedef unsigned char uint8;
30
#ifndef HAVE_INT8
31
typedef signed char int8;
31
  typedef unsigned char uint8;
32
#endif
33
34
#ifndef HAVE_INT8
35
  typedef signed char int8;
36
#endif
37
32
#if SIZEOF_SHORT == 2
38
#if SIZEOF_SHORT == 2
33
typedef unsigned short uint16;
39
# ifndef HAVE_UINT16
34
typedef short int16;
40
    typedef unsigned short uint16;
41
# endif
42
43
# ifndef HAVE_INT16
44
    typedef short int16;
45
# endif
46
35
#elif SIZEOF_INT == 2
47
#elif SIZEOF_INT == 2
36
typedef unsigned int uint16;
48
37
typedef int int16;
49
# ifndef HAVE_UNIT16
50
    typedef unsigned int uint16;
51
# endif
52
53
# ifndef HAVE_INT16
54
     typedef int int16;
55
# endif
38
#else
56
#else
39
#error "No 2 byte type, you lose."
57
# ifndef HAVE_INT16
58
#   error "No 2 byte type, you lose."
59
# endif
40
#endif
60
#endif
41
#if SIZEOF_INT == 4
61
#if SIZEOF_INT == 4
42
typedef unsigned int uint32;
62
# ifndef HAVE_UINT32
43
typedef int int32;
63
    typedef unsigned int uint32;
64
# endif
65
# ifndef HAVE_INT32
66
    typedef int int32;
67
# endif
44
#elif SIZEOF_LONG == 4
68
#elif SIZEOF_LONG == 4
45
typedef unsigned long uint32;
69
# ifndef HAVE_UINT32
46
typedef long int32;
70
    typedef unsigned long uint32;
71
# endif
72
# ifndef HAVE_INT32
73
    typedef long int32;
74
# endif
47
#else
75
#else
48
#error "No 4 byte type, you lose."
76
# ifndef HAVE_INT32
77
#   error "No 4 byte type, you lose."
78
# endif
49
#endif
79
#endif
50
80
51
#endif
81
#endif
(-)unix/sysvr4/public.h (-1 / +1 lines)
Lines 88-94 Link Here
88
int Test_circle ANSI((CELLPTR, int));
88
int Test_circle ANSI((CELLPTR, int));
89
STRINGPTR Def_recipe ANSI((char *, STRINGPTR, int, int));
89
STRINGPTR Def_recipe ANSI((char *, STRINGPTR, int, int));
90
t_attr Rcp_attribute ANSI((char *));
90
t_attr Rcp_attribute ANSI((char *));
91
void main ANSI((int, char **));
91
int main ANSI((int, char **));
92
FILE *Openfile ANSI((char *, int, int));
92
FILE *Openfile ANSI((char *, int, int));
93
FILE *Closefile ANSI(());
93
FILE *Closefile ANSI(());
94
FILE *Search_file ANSI((char *, char **));
94
FILE *Search_file ANSI((char *, char **));

Return to issue 13620