~ubuntu-branches/ubuntu/karmic/fltk1.1/karmic

« back to all changes in this revision

Viewing changes to configh.cmake.in

  • Committer: Bazaar Package Importer
  • Author(s): Aaron M. Ucko
  • Date: 2005-05-22 13:57:06 UTC
  • mfrom: (2.1.1 hoary)
  • Revision ID: james.westby@ubuntu.com-20050522135706-mchag24yf42lu7bu
Tags: 1.1.6-5
* Revert previous change, which seems to have been ineffective for some
  reason, in favor of commenting out the problematic Makefile rule
  altogether.  (Closes: #310151.)
* debian/control: Go back to specifying the URL as part of the
  description rather than via a non-standard field that doesn't seem to
  have caught on.  (Closes: #310240.)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * "$Id: configh.cmake.in,v 1.1.2.2 2004/10/18 20:29:54 easysw Exp $"
 
3
 *
 
4
 * Configuration file for the Fast Light Tool Kit (FLTK).
 
5
 * @configure_input@
 
6
 *
 
7
 * Copyright 1998-2004 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    "@FLTK_DATADIR@"
 
32
#define FLTK_DOCDIR     "@FLTK_DOCDIR@"
 
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 @HAVE_GL@
 
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
#cmakedefine HAVE_GL_GLU_H @HAVE_GL_GLU_H@
 
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 0
 
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
 * USE_QUARTZ:
 
103
 *
 
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.
 
109
 */
 
110
 
 
111
#cmakedefine FLTK_APPLE
 
112
#ifdef FLTK_APPLE
 
113
  #cmakedefine FLTK_QUARTZ
 
114
  #ifdef FLTK_QUARTZ
 
115
    #define USE_QUARTZ 1
 
116
    #define __APPLE_QUARTZ__
 
117
    #undef __APPLE_QD__
 
118
  #else
 
119
    #define USE_QUARTZ 0
 
120
    #undef __APPLE_QUARTZ__
 
121
    #define __APPLE_QD__
 
122
  #endif
 
123
#endif
 
124
 
 
125
/*
 
126
 * HAVE_OVERLAY:
 
127
 *
 
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!
 
132
 */
 
133
 
 
134
#define HAVE_OVERLAY 0
 
135
 
 
136
/*
 
137
 * HAVE_GL_OVERLAY:
 
138
 *
 
139
 * It is possible your GL has an overlay even if X does not.  If so,
 
140
 * set this to 1.
 
141
 */
 
142
 
 
143
#define HAVE_GL_OVERLAY HAVE_OVERLAY
 
144
 
 
145
/*
 
146
 * WORDS_BIGENDIAN:
 
147
 *
 
148
 * Byte order of your machine: 1 = big-endian, 0 = little-endian.
 
149
 */
 
150
 
 
151
#define WORDS_BIGENDIAN 0
 
152
 
 
153
/*
 
154
 * U16, U32, U64:
 
155
 *
 
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!
 
158
 */
 
159
 
 
160
#cmakedefine U16 @U16@
 
161
#cmakedefine U32 @U32@
 
162
#cmakedefine U64 @U64@
 
163
 
 
164
/*
 
165
 * HAVE_DIRENT_H, HAVE_SYS_NDIR_H, HAVE_SYS_DIR_H, HAVE_NDIR_H, HAVE_SCANDIR:
 
166
 *
 
167
 * Where is <dirent.h> (used only by fl_file_chooser and scandir).
 
168
 */
 
169
 
 
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@
 
175
 
 
176
/*
 
177
 * Possibly missing sprintf-style functions:
 
178
 */
 
179
 
 
180
#cmakedefine HAVE_VSNPRINTF @HAVE_VSNPRINTF@
 
181
#cmakedefine HAVE_SNPRINTF @HAVE_SNPRINTF@
 
182
 
 
183
/*
 
184
 * String functions and headers...
 
185
 */
 
186
 
 
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@
 
191
 
 
192
/*
 
193
 * HAVE_SYS_SELECT_H:
 
194
 *
 
195
 * Whether or not select() call has its own header file.
 
196
 */
 
197
 
 
198
#cmakedefine HAVE_SYS_SELECT_H @HAVE_SYS_SELECT_H@
 
199
 
 
200
/*
 
201
 * HAVE_SYS_STDTYPES_H:
 
202
 *
 
203
 * Whether or not we have the <sys/stdtypes.h> header file.
 
204
 */
 
205
 
 
206
#cmakedefine HAVE_SYS_STDTYPES_H @HAVE_SYS_STDTYPES_H@
 
207
 
 
208
/*
 
209
 * USE_POLL:
 
210
 *
 
211
 * Use the poll() call provided on Linux and Irix instead of select()
 
212
 */
 
213
 
 
214
#define USE_POLL 0
 
215
 
 
216
/*
 
217
 * Do we have various image libraries?
 
218
 */
 
219
 
 
220
#cmakedefine HAVE_LIBPNG @HAVE_LIBPNG@
 
221
#cmakedefine HAVE_LIBZ @HAVE_LIBZ@
 
222
#cmakedefine HAVE_LIBJPEG @HAVE_LIBJPEG@
 
223
 
 
224
/*
 
225
 * Which header file do we include for libpng?
 
226
 */
 
227
 
 
228
#cmakedefine HAVE_PNG_H @HAVE_PNG_H@
 
229
#cmakedefine HAVE_LIBPNG_PNG_H @HAVE_LIBPNG_PNG_H@
 
230
 
 
231
/*
 
232
 * Do we have the png_xyz() functions?
 
233
 */
 
234
 
 
235
#cmakedefine HAVE_PNG_GET_VALID @HAVE_PNG_GET_VALID@
 
236
#cmakedefine HAVE_PNG_SET_TRNS_TO_ALPHA @HAVE_PNG_SET_TRNS_TO_ALPHA@
 
237
 
 
238
/*
 
239
 * Do we have POSIX threading?
 
240
 */
 
241
 
 
242
#cmakedefine CMAKE_USE_PTHREADS
 
243
#ifdef CMAKE_USE_PTHREADS
 
244
#define HAVE_PTHREAD 1
 
245
#else
 
246
#define HAVE_PTHREAD 0
 
247
#endif
 
248
 
 
249
#cmakedefine CMAKE_HAVE_PTHREAD_H
 
250
#ifdef CMAKE_HAVE_PTHREAD_H
 
251
#define HAVE_PTHREAD_H 1
 
252
#else
 
253
#define HAVE_PTHREAD_H 0
 
254
#endif
 
255
 
 
256
/*
 
257
 * End of "$Id: configh.cmake.in,v 1.1.2.2 2004/10/18 20:29:54 easysw Exp $".
 
258
 */