]> icculus.org git repositories - btb/d2x.git/blob - arch/carbon/conf.h
allow universal binaries to be built using Xcode 2.2 or later
[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 #ifdef __LITTLE_ENDIAN__        // Intel Macs
105 # define WORDS_BIGENDIAN 0
106 #else
107 # define WORDS_BIGENDIAN 1
108 #endif
109
110 /* Define if your processor needs data to be word-aligned */
111 /* #undef WORDS_NEED_ALIGNMENT */
112
113
114         /* General defines */
115 #ifndef PACKAGE_STRING
116 #define PACKAGE_STRING "d2x 0.2.6"
117 #endif
118 #define VERSION_NAME PACKAGE_STRING
119 #define NMONO 1
120 #define PIGGY_USE_PAGING 1
121 #define NEWDEMO 1
122
123 #if defined(__APPLE__) && defined(__MACH__)
124 #define __unix__
125 /* Define if you want a network build */
126 #define NETWORK
127
128 /* Define to 1 if the system has the type `struct timespec'. */
129 #define HAVE_STRUCT_TIMESPEC 1
130
131 /* Define to 1 if the system has the type `struct timeval'. */
132 #define HAVE_STRUCT_TIMEVAL 1
133
134 /* Define to 1 if you have the <sys/stat.h> header file. */
135 #define HAVE_SYS_STAT_H 1
136
137 /* Define to 1 if you have the <sys/types.h> header file. */
138 #define HAVE_SYS_TYPES_H 1
139
140 /* Define to 1 if you have the <unistd.h> header file. */
141 #define HAVE_UNISTD_H 1
142
143 #else // Mac OS 9
144 # ifndef __MWERKS__
145 #  define inline
146 # endif
147
148 #define OGL_RUNTIME_LOAD        // avoids corruption of OpenGL
149
150 //#define TARGET_API_MAC_CARBON 1
151 /* Define to 1 if the system has the type `struct timespec'. */
152 #define HAVE_STRUCT_TIMESPEC 0
153
154 /* Define to 1 if the system has the type `struct timeval'. */
155 #define HAVE_STRUCT_TIMEVAL 0
156
157 /* Define to 1 if you have the <sys/stat.h> header file. */
158 #define HAVE_SYS_STAT_H 0
159
160 /* Define to 1 if you have the <sys/types.h> header file. */
161 #define HAVE_SYS_TYPES_H 0
162
163 /* Define to 1 if you have the <unistd.h> header file. */
164 #define HAVE_UNISTD_H 0
165
166 #endif  // OS 9/X
167
168 #ifdef __unix__
169 # ifdef GGI
170 #  define GII_INPUT 1
171 #  define GGI_VIDEO 1
172 # else
173 #  ifdef SVGA
174 #   define SVGALIB_INPUT 1
175 #   define SVGALIB_VIDEO 1
176 #  else
177 #   define SDL_INPUT 1
178 #   ifdef OGL
179 #    define SDL_GL_VIDEO 1
180 #   else
181 #    define SDL_VIDEO 1
182 #   endif
183 #  endif
184 # endif
185 #endif
186
187 #ifdef macintosh
188 # define SDL_INPUT 1
189 # ifdef OGL
190 #  define SDL_GL_VIDEO 1
191 # else
192 #  define SDL_VIDEO 1
193 # endif
194 #endif
195