source: rtems-graphics-toolkit/fltk-1.3.0/configh.cmake.in @ d280eda

Last change on this file since d280eda was f5c9e9c, checked in by Alexandru-Sever Horin <alex.sever.h@…>, on 07/05/12 at 09:33:03

Aded FLTK 1.3.0

  • Property mode set to 100644
File size: 6.7 KB
Line 
1/*
2 * "$Id: configh.cmake.in 8198 2011-01-06 10:24:58Z manolo $"
3 *
4 * Configuration file for the Fast Light Tool Kit (FLTK).
5 * @configure_input@
6 *
7 * Copyright 1998-2010 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    "@PREFIX_DATA@"
34#define FLTK_DOCDIR     "@PREFIX_DOC@"
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#cmakedefine01 HAVE_GL
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#cmakedefine01 HAVE_GL_GLU_H
69
70/*
71 * HAVE_GLXGETPROCADDRESSARB:
72 *
73 * Do you have the OpenGL glXGetProcAddressARB() function?
74 */
75
76#cmakedefine HAVE_GLXGETPROCADDRESSARB %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#cmakedefine01 HAVE_XINERAMA
94
95/*
96 * USE_XFT
97 *
98 * Use the new Xft library to draw anti-aliased text.
99 */
100
101#cmakedefine01 USE_XFT
102
103/*
104 * HAVE_XDBE:
105 *
106 * Do we have the X double-buffer extension?
107 */
108
109#cmakedefine01 HAVE_XDBE
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 * __APPLE_QUARTZ__:
121 *
122 * If __APPLE_QUARTZ__ is defined, FLTK will be
123 * compiled using Quartz. This flag has no meaning on
124 * other operating systems than Mac OS X.
125 */
126
127#cmakedefine __APPLE_QUARTZ__ @__APPLE_QUARTZ__@
128
129
130/*
131 * USE_X11
132 *
133 * Should we use X11 for the current platform
134 *
135 */
136
137#cmakedefine USE_X11 @USE_X11@
138
139/*
140 * HAVE_OVERLAY:
141 *
142 * Use the X overlay extension?  FLTK will try to use an overlay
143 * visual for Fl_Overlay_Window, the Gl_Window overlay, and for the
144 * menus.  Setting this to zero will remove a substantial amount of
145 * code from FLTK.  Overlays have only been tested on SGI servers!
146 */
147
148#define HAVE_OVERLAY 0
149
150/*
151 * HAVE_GL_OVERLAY:
152 *
153 * It is possible your GL has an overlay even if X does not.  If so,
154 * set this to 1.
155 */
156
157#define HAVE_GL_OVERLAY HAVE_OVERLAY
158
159/*
160 * WORDS_BIGENDIAN:
161 *
162 * Byte order of your machine: 1 = big-endian, 0 = little-endian.
163 */
164
165#define WORDS_BIGENDIAN @WORDS_BIGENDIAN@
166
167/*
168 * U16, U32, U64:
169 *
170 * Types used by fl_draw_image.  One of U32 or U64 must be defined.
171 * U16 is optional but FLTK will work better with it!
172 */
173
174#cmakedefine U16 @U16@
175#cmakedefine U32 @U32@
176#cmakedefine U64 @U64@
177
178/*
179 * HAVE_DIRENT_H, HAVE_SYS_NDIR_H, HAVE_SYS_DIR_H, HAVE_NDIR_H,
180 * HAVE_SCANDIR, HAVE_SCANDIR_POSIX:
181 *
182 * Where is <dirent.h> (used only by fl_file_chooser and scandir).
183 */
184
185#cmakedefine HAVE_DIRENT_H @HAVE_DIRENT_H@
186#cmakedefine HAVE_SYS_NDIR_H @HAVE_SYS_NDIR_H@
187#cmakedefine HAVE_SYS_DIR_H @HAVE_SYS_DIR_H@
188#cmakedefine HAVE_NDIR_H @HAVE_NDIR_H@
189#cmakedefine HAVE_SCANDIR @HAVE_SCANDIR@
190#cmakedefine HAVE_SCANDIR_POSIX @HAVE_SCANDIR_POSIX@
191
192/*
193 * Possibly missing sprintf-style functions:
194 */
195
196#cmakedefine HAVE_VSNPRINTF @HAVE_VSNPRINTF@
197#cmakedefine HAVE_SNPRINTF @HAVE_SNPRINTF@
198
199/*
200 * String functions and headers...
201 */
202
203#cmakedefine HAVE_STRINGS_H @HAVE_STRINGS_H@
204#cmakedefine HAVE_STRCASECMP @HAVE_STRCASECMP@
205#cmakedefine HAVE_STRLCAT @HAVE_STRLCAT@
206#cmakedefine HAVE_STRLCPY @HAVE_STRLCPY@
207
208/*
209 * Do we have POSIX locale support?
210 */
211
212#cmakedefine HAVE_LOCALE_H @HAVE_LOCALE_H@
213#cmakedefine HAVE_LOCALECONV @HAVE_LOCALECONV@
214
215/*
216 * HAVE_SYS_SELECT_H:
217 *
218 * Whether or not select() call has its own header file.
219 */
220
221#cmakedefine01 HAVE_SYS_SELECT_H
222
223/*
224 * HAVE_SYS_STDTYPES_H:
225 *
226 * Whether or not we have the <sys/stdtypes.h> header file.
227 */
228
229#cmakedefine HAVE_SYS_STDTYPES_H @HAVE_SYS_STDTYPES_H@
230
231/*
232 * USE_POLL:
233 *
234 * Use the poll() call provided on Linux and Irix instead of select()
235 */
236
237#cmakedefine01 USE_POLL
238
239/*
240 * Do we have various image libraries?
241 */
242
243#cmakedefine HAVE_LIBPNG @HAVE_LIBPNG@
244#cmakedefine HAVE_LIBZ @HAVE_LIBZ@
245#cmakedefine HAVE_LIBJPEG @HAVE_LIBJPEG@
246
247/*
248 * FLTK_USE_CAIRO
249 *
250 * Do we have the cairo library available and want extended cairo use in fltk ?
251 * will implies to link cairo.lib in all fltk based apps.
252 */
253
254#cmakedefine FLTK_USE_CAIRO @FLTK_USE_CAIRO@
255
256/*
257 * FLTK_HAVE_CAIRO
258 *
259 * Do we have the cairo library available?
260 */
261
262#cmakedefine FLTK_HAVE_CAIRO @FLTK_HAVE_CAIRO@
263
264/*
265 * Which header file do we include for libpng?
266 */
267
268#cmakedefine HAVE_PNG_H @HAVE_PNG_H@
269#cmakedefine HAVE_LIBPNG_PNG_H @HAVE_LIBPNG_PNG_H@
270
271/*
272 * Do we have the png_xyz() functions?
273 */
274
275#cmakedefine HAVE_PNG_GET_VALID @HAVE_PNG_GET_VALID@
276#cmakedefine HAVE_PNG_SET_TRNS_TO_ALPHA @HAVE_PNG_SET_TRNS_TO_ALPHA@
277
278/*
279 * Do we have POSIX threading?
280 */
281
282#cmakedefine HAVE_PTHREAD @HAVE_PTHREAD@
283#cmakedefine01 HAVE_PTHREAD_H
284
285/*
286 * Do we have the ALSA library?
287 */
288
289#cmakedefine HAVE_ALSA_ASOUNDLIB_H @HAVE_ALSA_ASOUNDLIB_H@
290/*
291 * Do we have the long long type?
292 */
293
294#cmakedefine HAVE_LONG_LONG @HAVE_LONG_LONG@
295
296#ifdef HAVE_LONG_LONG
297#  define FLTK_LLFMT    "%lld"
298#  define FLTK_LLCAST   (long long)
299#else
300#  define FLTK_LLFMT    "%ld"
301#  define FLTK_LLCAST   (long)
302#endif /* HAVE_LONG_LONG */
303
304/*
305 * Do we have the strtoll() function?
306 */
307
308#cmakedefine HAVE_STRTOLL @HAVE_STRTOLL@
309
310#ifndef HAVE_STRTOLL
311#  define strtoll(nptr,endptr,base) strtol((nptr), (endptr), (base))
312#endif /* !HAVE_STRTOLL */
313
314/*
315 * Do we have the dlsym() function and header?
316 */
317
318#cmakedefine HAVE_DLFCN_H @HAVE_DLFCN_H@
319#cmakedefine HAVE_DLSYM @HAVE_DLSYM@
320
321/*
322 * End of "$Id: configh.cmake.in 8198 2011-01-06 10:24:58Z manolo $".
323 */
Note: See TracBrowser for help on using the repository browser.