]> icculus.org git repositories - btb/d2x.git/blob - arch/carbon/conf.h
formatting
[btb/d2x.git] / arch / carbon / conf.h
1 /* conf.h.  Generated by configure.  */
2 /* conf.h.in.  Generated from configure.ac by autoheader.  */
3 // Modified by Chris to work for an Apple computer with OS 9 or above
4
5 /* d2x major version */
6 #define D2XMAJOR 0
7
8 /* d2x micro version */
9 #define D2XMICRO 5
10
11 /* d2x minor version */
12 #define D2XMINOR 2
13
14 /* Define if you want to build the editor */
15 /* #undef EDITOR */
16
17 /* Define for faster i/o on little-endian cpus */
18 /* #undef FAST_FILE_IO */
19
20 /* Define if you want a GGI build */
21 /* #undef GGI */
22
23 /* Define to 1 if you have the declaration of `nanosleep', and to 0 if you
24    don't. */
25 #define HAVE_DECL_NANOSLEEP 1
26
27 /* Define to 1 if you have the <inttypes.h> header file. */
28 #define HAVE_INTTYPES_H 1
29
30 /* Define to 1 if you have the <memory.h> header file. */
31 #define HAVE_MEMORY_H 1
32
33 /* Define to 1 if you have the <netipx/ipx.h> header file. */
34 /* #undef HAVE_NETIPX_IPX_H */
35
36 /* Define to 1 if you have the <stdint.h> header file. */
37 #define HAVE_STDINT_H 1
38
39 /* Define to 1 if you have the <stdlib.h> header file. */
40 #define HAVE_STDLIB_H 1
41
42 /* Define to 1 if you have the <strings.h> header file. */
43 #define HAVE_STRINGS_H 1
44
45 /* Define to 1 if you have the <string.h> header file. */
46 #define HAVE_STRING_H 1
47
48 /* Define if you want to build for mac datafiles */
49 //#define MACDATA 
50
51 /* Define to disable asserts, int3, etc. */
52 /* #undef NDEBUG */
53
54 /* Define if you want an assembler free build */
55 #define NO_ASM 
56
57 /* Define if you want an OpenGL build */
58 //#define OGL
59
60 /* Name of package */
61 #define PACKAGE "d2x"
62
63 /* Define to the address where bug reports for this package should be sent. */
64 #define PACKAGE_BUGREPORT "descent-source@warpcore.org"
65
66 /* Define to the full name of this package. */
67 #define PACKAGE_NAME "d2x"
68
69 /* Define to the full name and version of this package. */
70 #define PACKAGE_STRING "d2x 0.2.6"
71
72 /* Define to the one symbol short name of this package. */
73 #define PACKAGE_TARNAME "d2x"
74
75 /* Define to the version of this package. */
76 #define PACKAGE_VERSION "0.2.6"
77
78 /* Define for a "release" build */
79 /* #undef RELEASE */
80
81 /* Define if you have the SDL_image library */
82 /* #undef SDL_IMAGE */
83
84 /* Define this to be the shared game directory root */
85 #define SHAREPATH "/Users/christaylor/share/games/d2x"
86
87 /* Define to 1 if you have the ANSI C header files. */
88 #define STDC_HEADERS 1
89
90 /* Define if you want an SVGALib build */
91 /* #undef SVGA */
92
93 /* define to not use the SDL_Joystick routines. */
94 /* #undef USE_LINUX_JOY */
95
96 /* Version number of package */
97 #define VERSION "0.2.6"
98
99 /* Define to 1 if your processor stores words with the most significant byte
100    first (like Motorola and SPARC, unlike Intel and VAX). */
101 #ifdef __LITTLE_ENDIAN__        // Intel Macs
102 # define WORDS_BIGENDIAN 0
103 #else
104 # define WORDS_BIGENDIAN 1
105 #endif
106
107 /* Define if your processor needs data to be word-aligned */
108 /* #undef WORDS_NEED_ALIGNMENT */
109
110
111         /* General defines */
112 #ifndef PACKAGE_STRING
113 #define PACKAGE_STRING "d2x 0.2.6"
114 #endif
115 #define VERSION_NAME PACKAGE_STRING
116 #define NMONO 1
117 #define PIGGY_USE_PAGING 1
118 #define NEWDEMO 1
119
120 #if defined(__APPLE__) && defined(__MACH__)
121 #define __unix__
122 /* Define if you want a network build */
123 #define NETWORK
124
125 /* Define to 1 if the system has the type `struct timespec'. */
126 #define HAVE_STRUCT_TIMESPEC 1
127
128 /* Define to 1 if the system has the type `struct timeval'. */
129 #define HAVE_STRUCT_TIMEVAL 1
130
131 /* Define to 1 if you have the <sys/stat.h> header file. */
132 #define HAVE_SYS_STAT_H 1
133
134 /* Define to 1 if you have the <sys/types.h> header file. */
135 #define HAVE_SYS_TYPES_H 1
136
137 /* Define to 1 if you have the <unistd.h> header file. */
138 #define HAVE_UNISTD_H 1
139
140 #else // Mac OS 9
141 # ifndef __MWERKS__
142 #  define inline
143 # endif
144
145 #define OGL_RUNTIME_LOAD        // avoids corruption of OpenGL
146
147 //#define TARGET_API_MAC_CARBON 1
148 /* Define to 1 if the system has the type `struct timespec'. */
149 #define HAVE_STRUCT_TIMESPEC 0
150
151 /* Define to 1 if the system has the type `struct timeval'. */
152 #define HAVE_STRUCT_TIMEVAL 0
153
154 /* Define to 1 if you have the <sys/stat.h> header file. */
155 #define HAVE_SYS_STAT_H 0
156
157 /* Define to 1 if you have the <sys/types.h> header file. */
158 #define HAVE_SYS_TYPES_H 0
159
160 /* Define to 1 if you have the <unistd.h> header file. */
161 #define HAVE_UNISTD_H 0
162
163 #endif  // OS 9/X
164
165 #ifdef __unix__
166 # ifdef GGI
167 #  define GII_INPUT 1
168 #  define GGI_VIDEO 1
169 # else
170 #  ifdef SVGA
171 #   define SVGALIB_INPUT 1
172 #   define SVGALIB_VIDEO 1
173 #  else
174 #   define SDL_INPUT 1
175 #   ifdef OGL
176 #    define SDL_GL_VIDEO 1
177 #   else
178 #    define SDL_VIDEO 1
179 #   endif
180 #  endif
181 # endif
182 #endif
183
184 #ifdef macintosh
185 # define SDL_INPUT 1
186 # ifdef OGL
187 #  define SDL_GL_VIDEO 1
188 # else
189 #  define SDL_VIDEO 1
190 # endif
191 #endif
192