2
* "$Id: configh.cmake.in,v 1.1.2.2 2004/10/18 20:29:54 easysw Exp $"
4
* Configuration file for the Fast Light Tool Kit (FLTK).
7
* Copyright 1998-2004 by Bill Spitzak and others.
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.
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.
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
24
* Please report all bugs and problems to "fltk-bugs@fltk.org".
28
* Where to find files...
31
#define FLTK_DATADIR "@FLTK_DATADIR@"
32
#define FLTK_DOCDIR "@FLTK_DOCDIR@"
37
* Thickness of FL_UP_BOX and FL_DOWN_BOX. Current 1,2, and 3 are
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...
44
* Note that this may be simulated at runtime by redefining the boxtypes
45
* using Fl::set_boxtype().
48
#define BORDER_WIDTH 2
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.
57
#define HAVE_GL @HAVE_GL@
62
* Do you have the OpenGL Utility Library header file?
63
* (many broken Mesa RPMs do not...)
66
#cmakedefine HAVE_GL_GLU_H @HAVE_GL_GLU_H@
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.
75
#define USE_COLORMAP 1
80
* Use the new Xft library to draw anti-aliased text.
88
* Do we have the X double-buffer extension?
96
* Actually try to use the double-buffer extension?
99
#define USE_XDBE HAVE_XDBE
104
* Use Quartz instead of Quickdraw on Apple Mac OS X machines.
105
* FLTK was originally ported to Quickdraw which is no longer
106
* supported by Apple. If USE_QUARTZ is defined, FLTK will be
107
* compiled using Quartz instead. This flag has no meaning on
108
* other operating systems.
111
#cmakedefine FLTK_APPLE
113
#cmakedefine FLTK_QUARTZ
116
#define __APPLE_QUARTZ__
120
#undef __APPLE_QUARTZ__
128
* Use the X overlay extension? FLTK will try to use an overlay
129
* visual for Fl_Overlay_Window, the Gl_Window overlay, and for the
130
* menus. Setting this to zero will remove a substantial amount of
131
* code from FLTK. Overlays have only been tested on SGI servers!
134
#define HAVE_OVERLAY 0
139
* It is possible your GL has an overlay even if X does not. If so,
143
#define HAVE_GL_OVERLAY HAVE_OVERLAY
148
* Byte order of your machine: 1 = big-endian, 0 = little-endian.
151
#define WORDS_BIGENDIAN 0
156
* Types used by fl_draw_image. One of U32 or U64 must be defined.
157
* U16 is optional but FLTK will work better with it!
160
#cmakedefine U16 @U16@
161
#cmakedefine U32 @U32@
162
#cmakedefine U64 @U64@
165
* HAVE_DIRENT_H, HAVE_SYS_NDIR_H, HAVE_SYS_DIR_H, HAVE_NDIR_H, HAVE_SCANDIR:
167
* Where is <dirent.h> (used only by fl_file_chooser and scandir).
170
#cmakedefine HAVE_DIRENT_H @HAVE_DIRENT_H@
171
#cmakedefine HAVE_SYS_NDIR_H @HAVE_SYS_NDIR_H@
172
#cmakedefine HAVE_SYS_DIR_H @HAVE_SYS_DIR_H@
173
#cmakedefine HAVE_NDIR_H @HAVE_NDIR_H@
174
#cmakedefine HAVE_SCANDIR @HAVE_SCANDIR@
177
* Possibly missing sprintf-style functions:
180
#cmakedefine HAVE_VSNPRINTF @HAVE_VSNPRINTF@
181
#cmakedefine HAVE_SNPRINTF @HAVE_SNPRINTF@
184
* String functions and headers...
187
#cmakedefine HAVE_STRINGS_H @HAVE_STRINGS_H@
188
#cmakedefine HAVE_STRCASECMP @HAVE_STRCASECMP@
189
#cmakedefine HAVE_STRLCAT @HAVE_STRLCAT@
190
#cmakedefine HAVE_STRLCPY @HAVE_STRLCPY@
195
* Whether or not select() call has its own header file.
198
#cmakedefine HAVE_SYS_SELECT_H @HAVE_SYS_SELECT_H@
201
* HAVE_SYS_STDTYPES_H:
203
* Whether or not we have the <sys/stdtypes.h> header file.
206
#cmakedefine HAVE_SYS_STDTYPES_H @HAVE_SYS_STDTYPES_H@
211
* Use the poll() call provided on Linux and Irix instead of select()
217
* Do we have various image libraries?
220
#cmakedefine HAVE_LIBPNG @HAVE_LIBPNG@
221
#cmakedefine HAVE_LIBZ @HAVE_LIBZ@
222
#cmakedefine HAVE_LIBJPEG @HAVE_LIBJPEG@
225
* Which header file do we include for libpng?
228
#cmakedefine HAVE_PNG_H @HAVE_PNG_H@
229
#cmakedefine HAVE_LIBPNG_PNG_H @HAVE_LIBPNG_PNG_H@
232
* Do we have the png_xyz() functions?
235
#cmakedefine HAVE_PNG_GET_VALID @HAVE_PNG_GET_VALID@
236
#cmakedefine HAVE_PNG_SET_TRNS_TO_ALPHA @HAVE_PNG_SET_TRNS_TO_ALPHA@
239
* Do we have POSIX threading?
242
#cmakedefine CMAKE_USE_PTHREADS
243
#ifdef CMAKE_USE_PTHREADS
244
#define HAVE_PTHREAD 1
246
#define HAVE_PTHREAD 0
249
#cmakedefine CMAKE_HAVE_PTHREAD_H
250
#ifdef CMAKE_HAVE_PTHREAD_H
251
#define HAVE_PTHREAD_H 1
253
#define HAVE_PTHREAD_H 0
257
* End of "$Id: configh.cmake.in,v 1.1.2.2 2004/10/18 20:29:54 easysw Exp $".