source: rtems-graphics-toolkit/fltk-1.1.10/configh.in @ 513eea1

Last change on this file since 513eea1 was 513eea1, checked in by Joel Sherrill <joel.sherrill@…>, on 01/09/10 at 22:43:24

2010-01-08 Joel Sherrill <joel.sherrill@…>

fltk 1.1.10. imported

  • ORIGIN: Updated.
  • Property mode set to 100644
File size: 5.5 KB
Line 
1/*
2 * "$Id$"
3 *
4 * Configuration file for the Fast Light Tool Kit (FLTK).
5 * @configure_input@
6 *
7 * Copyright 1998-2007 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 on the following page:
25 *
26 *     http://www.fltk.org/str.php
27 */
28
29/*
30 * Where to find files...
31 */
32
33#define FLTK_DATADIR    ""
34#define FLTK_DOCDIR     ""
35
36/*
37 * BORDER_WIDTH:
38 *
39 * Thickness of FL_UP_BOX and FL_DOWN_BOX.  Current 1,2, and 3 are
40 * supported.
41 *
42 * 3 is the historic FLTK look.
43 * 2 is the default and looks like Microsoft Windows, KDE, and Qt.
44 * 1 is a plausible future evolution...
45 *
46 * Note that this may be simulated at runtime by redefining the boxtypes
47 * using Fl::set_boxtype().
48 */
49
50#define BORDER_WIDTH 2
51
52/*
53 * HAVE_GL:
54 *
55 * Do you have OpenGL? Set this to 0 if you don't have or plan to use
56 * OpenGL, and FLTK will be smaller.
57 */
58
59#define HAVE_GL 0
60
61/*
62 * HAVE_GL_GLU_H:
63 *
64 * Do you have the OpenGL Utility Library header file?
65 * (many broken Mesa RPMs do not...)
66 */
67
68#undef HAVE_GL_GLU_H
69
70/*
71 * HAVE_GLXGETPROCADDRESSARB:
72 *
73 * Do you have the OpenGL glXGetProcAddressARB() function?
74 */
75
76#undef HAVE_GLXGETPROCADDRESSARB
77
78/*
79 * USE_COLORMAP:
80 *
81 * Setting this to zero will save a good deal of code (especially for
82 * fl_draw_image), but FLTK will only work on TrueColor visuals.
83 */
84
85#define USE_COLORMAP 1
86
87/*
88 * HAVE_XINERAMA
89 *
90 * Do we have the Xinerama library to support multi-head displays?
91 */
92
93#define HAVE_XINERAMA 0
94
95/*
96 * USE_XFT
97 *
98 * Use the new Xft library to draw anti-aliased text.
99 */
100
101#define USE_XFT 0
102
103/*
104 * HAVE_XDBE:
105 *
106 * Do we have the X double-buffer extension?
107 */
108
109#define HAVE_XDBE 0
110
111/*
112 * USE_XDBE:
113 *
114 * Actually try to use the double-buffer extension?
115 */
116
117#define USE_XDBE HAVE_XDBE
118
119/*
120 * USE_QUARTZ:
121 *
122 * Use Quartz instead of Quickdraw on Apple Mac OS X machines.
123 * FLTK was originally ported to Quickdraw which is no longer
124 * supported by Apple. If USE_QUARTZ is defined, FLTK will be
125 * compiled using Quartz instead. This flag has no meaning on
126 * other operating systems.
127 */
128
129#define USE_QUARTZ 0
130#undef __APPLE_QUARTZ__
131#undef __APPLE_QD__
132
133/*
134 * HAVE_OVERLAY:
135 *
136 * Use the X overlay extension?  FLTK will try to use an overlay
137 * visual for Fl_Overlay_Window, the Gl_Window overlay, and for the
138 * menus.  Setting this to zero will remove a substantial amount of
139 * code from FLTK.  Overlays have only been tested on SGI servers!
140 */
141
142#define HAVE_OVERLAY 0
143
144/*
145 * HAVE_GL_OVERLAY:
146 *
147 * It is possible your GL has an overlay even if X does not.  If so,
148 * set this to 1.
149 */
150
151#define HAVE_GL_OVERLAY HAVE_OVERLAY
152
153/*
154 * WORDS_BIGENDIAN:
155 *
156 * Byte order of your machine: 1 = big-endian, 0 = little-endian.
157 */
158
159#define WORDS_BIGENDIAN 0
160
161/*
162 * U16, U32, U64:
163 *
164 * Types used by fl_draw_image.  One of U32 or U64 must be defined.
165 * U16 is optional but FLTK will work better with it!
166 */
167
168#undef U16
169#undef U32
170#undef U64
171
172/*
173 * HAVE_DIRENT_H, HAVE_SYS_NDIR_H, HAVE_SYS_DIR_H, HAVE_NDIR_H,
174 * HAVE_SCANDIR, HAVE_SCANDIR_POSIX:
175 *
176 * Where is <dirent.h> (used only by fl_file_chooser and scandir).
177 */
178
179#undef HAVE_DIRENT_H
180#undef HAVE_SYS_NDIR_H
181#undef HAVE_SYS_DIR_H
182#undef HAVE_NDIR_H
183#undef HAVE_SCANDIR
184#undef HAVE_SCANDIR_POSIX
185
186/*
187 * Possibly missing sprintf-style functions:
188 */
189
190#undef HAVE_VSNPRINTF
191#undef HAVE_SNPRINTF
192
193/*
194 * String functions and headers...
195 */
196
197#undef HAVE_STRINGS_H
198#undef HAVE_STRCASECMP
199#undef HAVE_STRLCAT
200#undef HAVE_STRLCPY
201
202/*
203 * Do we have POSIX locale support?
204 */
205
206#undef HAVE_LOCALE_H
207#undef HAVE_LOCALECONV
208
209/*
210 * HAVE_SYS_SELECT_H:
211 *
212 * Whether or not select() call has its own header file.
213 */
214
215#undef HAVE_SYS_SELECT_H
216
217/*
218 * HAVE_SYS_STDTYPES_H:
219 *
220 * Whether or not we have the <sys/stdtypes.h> header file.
221 */
222
223#undef HAVE_SYS_STDTYPES_H
224
225/*
226 * USE_POLL:
227 *
228 * Use the poll() call provided on Linux and Irix instead of select()
229 */
230
231#define USE_POLL 0
232
233/*
234 * Do we have various image libraries?
235 */
236
237#undef HAVE_LIBPNG
238#undef HAVE_LIBZ
239#undef HAVE_LIBJPEG
240
241/*
242 * Which header file do we include for libpng?
243 */
244
245#undef HAVE_PNG_H
246#undef HAVE_LIBPNG_PNG_H
247
248/*
249 * Do we have the png_xyz() functions?
250 */
251
252#undef HAVE_PNG_GET_VALID
253#undef HAVE_PNG_SET_TRNS_TO_ALPHA
254
255/*
256 * Do we have POSIX threading?
257 */
258
259#undef HAVE_PTHREAD
260#undef HAVE_PTHREAD_H
261
262/*
263 * Do we have the ALSA library?
264 */
265
266#undef HAVE_ALSA_ASOUNDLIB_H
267
268/*
269 * Do we have the long long type?
270 */
271
272#undef HAVE_LONG_LONG
273
274#ifdef HAVE_LONG_LONG
275#  define FLTK_LLFMT    "%lld"
276#  define FLTK_LLCAST   (long long)
277#else
278#  define FLTK_LLFMT    "%ld"
279#  define FLTK_LLCAST   (long)
280#endif /* HAVE_LONG_LONG */
281
282/*
283 * Do we have the strtoll() function?
284 */
285
286#undef HAVE_STRTOLL
287
288#ifndef HAVE_STRTOLL
289#  define strtoll(nptr,endptr,base) strtol((nptr), (endptr), (base))
290#endif /* !HAVE_STRTOLL */
291
292/*
293 * Do we have the dlsym() function and header?
294 */
295
296#undef HAVE_DLFCN_H
297#undef HAVE_DLSYM
298
299/*
300 * End of "$Id$".
301 */
Note: See TracBrowser for help on using the repository browser.