1 | /* config.h. Generated automatically by configure. */ |
---|
2 | /* |
---|
3 | * "$Id$" |
---|
4 | * |
---|
5 | * Configuration file for the Fast Light Tool Kit (FLTK). |
---|
6 | * |
---|
7 | * Copyright 1998-2003 by Bill Spitzak and others. |
---|
8 | * |
---|
9 | * This library is free software; you can redistribute it and/or |
---|
10 | * modify it under the terms of the GNU Library General Public |
---|
11 | * License as published by the Free Software Foundation; either |
---|
12 | * version 2 of the License, or (at your option) any later version. |
---|
13 | * |
---|
14 | * This library is distributed in the hope that it will be useful, |
---|
15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
---|
17 | * Library General Public License for more details. |
---|
18 | * |
---|
19 | * You should have received a copy of the GNU Library General Public |
---|
20 | * License along with this library; if not, write to the Free Software |
---|
21 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 |
---|
22 | * USA. |
---|
23 | * |
---|
24 | * Please report all bugs and problems to "fltk-bugs@fltk.org". |
---|
25 | */ |
---|
26 | |
---|
27 | /* |
---|
28 | * Where to find files... |
---|
29 | */ |
---|
30 | |
---|
31 | #define FLTK_DATADIR "/usr/local/share/fltk" |
---|
32 | #define FLTK_DOCDIR "/usr/local/share/doc/fltk" |
---|
33 | |
---|
34 | /* |
---|
35 | * BORDER_WIDTH: |
---|
36 | * |
---|
37 | * Thickness of FL_UP_BOX and FL_DOWN_BOX. Current 1,2, and 3 are |
---|
38 | * supported. |
---|
39 | * |
---|
40 | * 3 is the historic FLTK look. |
---|
41 | * 2 is the default and looks like Microsoft Windows, KDE, and Qt. |
---|
42 | * 1 is a plausible future evolution... |
---|
43 | * |
---|
44 | * Note that this may be simulated at runtime by redefining the boxtypes |
---|
45 | * using Fl::set_boxtype(). |
---|
46 | */ |
---|
47 | |
---|
48 | #define BORDER_WIDTH 2 |
---|
49 | |
---|
50 | /* |
---|
51 | * HAVE_GL: |
---|
52 | * |
---|
53 | * Do you have OpenGL? Set this to 0 if you don't have or plan to use |
---|
54 | * OpenGL, and FLTK will be smaller. |
---|
55 | */ |
---|
56 | |
---|
57 | #define HAVE_GL 0 |
---|
58 | |
---|
59 | /* |
---|
60 | * HAVE_GL_GLU_H: |
---|
61 | * |
---|
62 | * Do you have the OpenGL Utility Library header file? |
---|
63 | * (many broken Mesa RPMs do not...) |
---|
64 | */ |
---|
65 | |
---|
66 | #define HAVE_GL_GLU_H 1 |
---|
67 | |
---|
68 | /* |
---|
69 | * USE_COLORMAP: |
---|
70 | * |
---|
71 | * Setting this to zero will save a good deal of code (especially for |
---|
72 | * fl_draw_image), but FLTK will only work on TrueColor visuals. |
---|
73 | */ |
---|
74 | |
---|
75 | #define USE_COLORMAP 1 |
---|
76 | |
---|
77 | /* |
---|
78 | * USE_XFT |
---|
79 | * |
---|
80 | * Use the new Xft library to draw anti-aliased text. |
---|
81 | */ |
---|
82 | |
---|
83 | #define USE_XFT 0 |
---|
84 | |
---|
85 | /* |
---|
86 | * HAVE_XDBE: |
---|
87 | * |
---|
88 | * Do we have the X double-buffer extension? |
---|
89 | */ |
---|
90 | |
---|
91 | #define HAVE_XDBE 1 |
---|
92 | |
---|
93 | /* |
---|
94 | * USE_XDBE: |
---|
95 | * |
---|
96 | * Actually try to use the double-buffer extension? |
---|
97 | */ |
---|
98 | |
---|
99 | #define USE_XDBE HAVE_XDBE |
---|
100 | |
---|
101 | /* |
---|
102 | * HAVE_OVERLAY: |
---|
103 | * |
---|
104 | * Use the X overlay extension? FLTK will try to use an overlay |
---|
105 | * visual for Fl_Overlay_Window, the Gl_Window overlay, and for the |
---|
106 | * menus. Setting this to zero will remove a substantial amount of |
---|
107 | * code from FLTK. Overlays have only been tested on SGI servers! |
---|
108 | */ |
---|
109 | |
---|
110 | #define HAVE_OVERLAY 0 |
---|
111 | |
---|
112 | /* |
---|
113 | * HAVE_GL_OVERLAY: |
---|
114 | * |
---|
115 | * It is possible your GL has an overlay even if X does not. If so, |
---|
116 | * set this to 1. |
---|
117 | */ |
---|
118 | |
---|
119 | #define HAVE_GL_OVERLAY HAVE_OVERLAY |
---|
120 | |
---|
121 | /* |
---|
122 | * WORDS_BIGENDIAN: |
---|
123 | * |
---|
124 | * Byte order of your machine: 1 = big-endian, 0 = little-endian. |
---|
125 | */ |
---|
126 | |
---|
127 | #define WORDS_BIGENDIAN 0 |
---|
128 | |
---|
129 | /* |
---|
130 | * U16, U32, U64: |
---|
131 | * |
---|
132 | * Types used by fl_draw_image. One of U32 or U64 must be defined. |
---|
133 | * U16 is optional but FLTK will work better with it! |
---|
134 | */ |
---|
135 | |
---|
136 | #define U16 unsigned short |
---|
137 | #define U32 unsigned |
---|
138 | /* #undef U64 */ |
---|
139 | |
---|
140 | /* |
---|
141 | * HAVE_DIRENT_H, HAVE_SYS_NDIR_H, HAVE_SYS_DIR_H, HAVE_NDIR_H, HAVE_SCANDIR: |
---|
142 | * |
---|
143 | * Where is <dirent.h> (used only by fl_file_chooser and scandir). |
---|
144 | */ |
---|
145 | |
---|
146 | #define HAVE_DIRENT_H 1 |
---|
147 | /* #undef HAVE_SYS_NDIR_H */ |
---|
148 | /* #undef HAVE_SYS_DIR_H */ |
---|
149 | /* #undef HAVE_NDIR_H */ |
---|
150 | /* #undef HAVE_SCANDIR */ |
---|
151 | |
---|
152 | /* |
---|
153 | * Possibly missing sprintf-style functions: |
---|
154 | */ |
---|
155 | |
---|
156 | #define HAVE_VSNPRINTF 1 |
---|
157 | #define HAVE_SNPRINTF 1 |
---|
158 | |
---|
159 | /* |
---|
160 | * String functions and headers... |
---|
161 | */ |
---|
162 | |
---|
163 | #define HAVE_STRINGS_H 1 |
---|
164 | #define HAVE_STRCASECMP 1 |
---|
165 | /* #undef HAVE_STRLCAT*/ |
---|
166 | /* #undef HAVE_STRLCPY*/ |
---|
167 | |
---|
168 | /* |
---|
169 | * Do we have POSIX locale support? |
---|
170 | */ |
---|
171 | |
---|
172 | #define HAVE_LOCALE_H 1 |
---|
173 | #define HAVE_LOCALECONV 1 |
---|
174 | |
---|
175 | /* |
---|
176 | * HAVE_SYS_SELECT_H: |
---|
177 | * |
---|
178 | * Whether or not select() call has its own header file. |
---|
179 | */ |
---|
180 | |
---|
181 | #define HAVE_SYS_SELECT_H 1 |
---|
182 | |
---|
183 | /* |
---|
184 | * HAVE_SYS_STDTYPES_H: |
---|
185 | * |
---|
186 | * Whether or not we have the <sys/stdtypes.h> header file. |
---|
187 | */ |
---|
188 | |
---|
189 | /* #undef HAVE_SYS_STDTYPES_H */ |
---|
190 | |
---|
191 | /* |
---|
192 | * USE_POLL: |
---|
193 | * |
---|
194 | * Use the poll() call provided on Linux and Irix instead of select() |
---|
195 | */ |
---|
196 | |
---|
197 | #define USE_POLL 0 |
---|
198 | |
---|
199 | /* |
---|
200 | * Do we have various image libraries? |
---|
201 | */ |
---|
202 | |
---|
203 | #define HAVE_LIBPNG 1 |
---|
204 | #define HAVE_LIBZ 1 |
---|
205 | #define HAVE_LIBJPEG 1 |
---|
206 | |
---|
207 | /* |
---|
208 | * Which header file do we include for libpng? |
---|
209 | */ |
---|
210 | |
---|
211 | #define HAVE_PNG_H 1 |
---|
212 | /* #undef HAVE_LIBPNG_PNG_H */ |
---|
213 | |
---|
214 | /* |
---|
215 | * Do we have the png_xyz() functions? |
---|
216 | */ |
---|
217 | |
---|
218 | #define HAVE_PNG_GET_VALID 1 |
---|
219 | /* #undef HAVE_PNG_SET_TRNS_TO_ALPHA */ |
---|
220 | |
---|
221 | /* |
---|
222 | * Do we have POSIX threading? |
---|
223 | */ |
---|
224 | |
---|
225 | /* #undef HAVE_PTHREAD */ |
---|
226 | /* #undef HAVE_PTHREAD_H */ |
---|
227 | |
---|
228 | |
---|
229 | /* |
---|
230 | * End of "$Id$". |
---|
231 | */ |
---|