2 * "$Id: configh.in 8797 2011-06-09 16:21:40Z matt $"
4 * Configuration file for the Fast Light Tool Kit (FLTK).
7 * Copyright 1998-2010 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 on the following page:
26 * http://www.fltk.org/str.php
30 * Where to find files...
33 #define FLTK_DATADIR ""
34 #define FLTK_DOCDIR ""
39 * Thickness of FL_UP_BOX and FL_DOWN_BOX. Current 1,2, and 3 are
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...
46 * Note that this may be simulated at runtime by redefining the boxtypes
47 * using Fl::set_boxtype().
50 #define BORDER_WIDTH 2
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.
64 * Do you have the OpenGL Utility Library header file?
65 * (many broken Mesa RPMs do not...)
71 * HAVE_GLXGETPROCADDRESSARB:
73 * Do you have the OpenGL glXGetProcAddressARB() function?
76 #undef HAVE_GLXGETPROCADDRESSARB
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.
85 #define USE_COLORMAP 1
90 * Do we have the Xinerama library to support multi-head displays?
93 #define HAVE_XINERAMA 0
98 * Use the new Xft library to draw anti-aliased text.
106 * Do we have the X double-buffer extension?
114 * Actually try to use the double-buffer extension?
117 #define USE_XDBE HAVE_XDBE
122 * All Apple implementations are now based on Quartz and Cocoa,
123 * so this flag should always be on for Mac OS X. This flag has
124 * no meaning on operating systems other than Mac OS X.
127 #undef __APPLE_QUARTZ__
133 * Should we use X11 for the current platform
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!
148 #define HAVE_OVERLAY 0
153 * It is possible your GL has an overlay even if X does not. If so,
157 #define HAVE_GL_OVERLAY HAVE_OVERLAY
162 * Byte order of your machine: 1 = big-endian, 0 = little-endian.
166 #include <mac_endianness.h>
168 #define WORDS_BIGENDIAN 0
174 * Types used by fl_draw_image. One of U32 or U64 must be defined.
175 * U16 is optional but FLTK will work better with it!
183 * HAVE_DIRENT_H, HAVE_SYS_NDIR_H, HAVE_SYS_DIR_H, HAVE_NDIR_H,
184 * HAVE_SCANDIR, HAVE_SCANDIR_POSIX:
186 * Where is <dirent.h> (used only by fl_file_chooser and scandir).
190 #undef HAVE_SYS_NDIR_H
191 #undef HAVE_SYS_DIR_H
194 #undef HAVE_SCANDIR_POSIX
197 * Possibly missing sprintf-style functions:
200 #undef HAVE_VSNPRINTF
204 * String functions and headers...
207 #undef HAVE_STRINGS_H
208 #undef HAVE_STRCASECMP
213 * Do we have POSIX locale support?
217 #undef HAVE_LOCALECONV
222 * Whether or not select() call has its own header file.
225 #undef HAVE_SYS_SELECT_H
228 * HAVE_SYS_STDTYPES_H:
230 * Whether or not we have the <sys/stdtypes.h> header file.
233 #undef HAVE_SYS_STDTYPES_H
238 * Use the poll() call provided on Linux and Irix instead of select()
244 * Do we have various image libraries?
254 * Do we have the cairo library available and want extended cairo use in fltk ?
255 * will implies to link cairo.lib in all fltk based apps.
258 #undef FLTK_USE_CAIRO
263 * Do we have the cairo library available?
266 #undef FLTK_HAVE_CAIRO
269 * Which header file do we include for libpng?
273 #undef HAVE_LIBPNG_PNG_H
276 * Do we have the png_xyz() functions?
279 #undef HAVE_PNG_GET_VALID
280 #undef HAVE_PNG_SET_TRNS_TO_ALPHA
283 * Do we have POSIX threading?
287 #undef HAVE_PTHREAD_H
290 * Do we have the ALSA library?
293 #undef HAVE_ALSA_ASOUNDLIB_H
296 * Do we have the long long type?
299 #undef HAVE_LONG_LONG
301 #ifdef HAVE_LONG_LONG
302 # define FLTK_LLFMT "%lld"
303 # define FLTK_LLCAST (long long)
305 # define FLTK_LLFMT "%ld"
306 # define FLTK_LLCAST (long)
307 #endif /* HAVE_LONG_LONG */
310 * Do we have the strtoll() function?
316 # define strtoll(nptr,endptr,base) strtol((nptr), (endptr), (base))
317 #endif /* !HAVE_STRTOLL */
320 * Do we have the dlsym() function and header?
327 * End of "$Id: configh.in 8797 2011-06-09 16:21:40Z matt $".