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