config-mingw.h 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338
  1. /* config.h. Generated from configh.in by configure. */
  2. /*
  3. * "$Id: configh.in 7353 2010-03-29 10:54:18Z matt $"
  4. *
  5. * Configuration file for the Fast Light Tool Kit (FLTK).
  6. * @configure_input@
  7. *
  8. * Copyright 1998-2009 by Bill Spitzak and others.
  9. *
  10. * This library is free software; you can redistribute it and/or
  11. * modify it under the terms of the GNU Library General Public
  12. * License as published by the Free Software Foundation; either
  13. * version 2 of the License, or (at your option) any later version.
  14. *
  15. * This library is distributed in the hope that it will be useful,
  16. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  17. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  18. * Library General Public License for more details.
  19. *
  20. * You should have received a copy of the GNU Library General Public
  21. * License along with this library; if not, write to the Free Software
  22. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
  23. * USA.
  24. *
  25. * Please report all bugs and problems on the following page:
  26. *
  27. * http://www.fltk.org/str.php
  28. */
  29. /*
  30. * Where to find files...
  31. */
  32. #define FLTK_DATADIR "/usr/local/share/fltk"
  33. #define FLTK_DOCDIR "/usr/local/share/doc/fltk"
  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. #define BORDER_WIDTH 2
  48. /*
  49. * HAVE_GL:
  50. *
  51. * Do you have OpenGL? Set this to 0 if you don't have or plan to use
  52. * OpenGL, and FLTK will be smaller.
  53. */
  54. #define HAVE_GL 1
  55. /*
  56. * HAVE_GL_GLU_H:
  57. *
  58. * Do you have the OpenGL Utility Library header file?
  59. * (many broken Mesa RPMs do not...)
  60. */
  61. #define HAVE_GL_GLU_H 1
  62. /*
  63. * HAVE_GLXGETPROCADDRESSARB:
  64. *
  65. * Do you have the OpenGL glXGetProcAddressARB() function?
  66. */
  67. /* #undef HAVE_GLXGETPROCADDRESSARB */
  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. #define USE_COLORMAP 1
  75. /*
  76. * HAVE_XINERAMA
  77. *
  78. * Do we have the Xinerama library to support multi-head displays?
  79. */
  80. #define HAVE_XINERAMA 0
  81. /*
  82. * USE_XFT
  83. *
  84. * Use the new Xft library to draw anti-aliased text.
  85. */
  86. #define USE_XFT 0
  87. /*
  88. * HAVE_XDBE:
  89. *
  90. * Do we have the X double-buffer extension?
  91. */
  92. #define HAVE_XDBE 0
  93. /*
  94. * USE_XDBE:
  95. *
  96. * Actually try to use the double-buffer extension?
  97. */
  98. #define USE_XDBE HAVE_XDBE
  99. /*
  100. * USE_QUARTZ:
  101. *
  102. * Use Quartz instead of Quickdraw on Apple Mac OS X machines.
  103. * FLTK was originally ported to Quickdraw which is no longer
  104. * supported by Apple. If USE_QUARTZ is defined, FLTK will be
  105. * compiled using Quartz instead. This flag has no meaning on
  106. * other operating systems.
  107. *
  108. * USE_QUARTZ is deprecated because all Apple implementations
  109. * are now based on Quartz and Cocoa. Use __APPLE__ instead.
  110. */
  111. #define USE_QUARTZ 0
  112. /* #undef __APPLE_QUARTZ__ */
  113. /* #undef __APPLE_COCOA__ */
  114. /* #undef __APPLE_QD__ */
  115. /*
  116. * USE_X11
  117. *
  118. * Should we use X11 for the current platform
  119. *
  120. */
  121. /* #undef USE_X11 */
  122. /*
  123. * HAVE_OVERLAY:
  124. *
  125. * Use the X overlay extension? FLTK will try to use an overlay
  126. * visual for Fl_Overlay_Window, the Gl_Window overlay, and for the
  127. * menus. Setting this to zero will remove a substantial amount of
  128. * code from FLTK. Overlays have only been tested on SGI servers!
  129. */
  130. #define HAVE_OVERLAY 0
  131. /*
  132. * HAVE_GL_OVERLAY:
  133. *
  134. * It is possible your GL has an overlay even if X does not. If so,
  135. * set this to 1.
  136. */
  137. #define HAVE_GL_OVERLAY HAVE_OVERLAY
  138. /*
  139. * WORDS_BIGENDIAN:
  140. *
  141. * Byte order of your machine: 1 = big-endian, 0 = little-endian.
  142. */
  143. #define WORDS_BIGENDIAN 0
  144. /*
  145. * U16, U32, U64:
  146. *
  147. * Types used by fl_draw_image. One of U32 or U64 must be defined.
  148. * U16 is optional but FLTK will work better with it!
  149. */
  150. #define U16 unsigned short
  151. #define U32 unsigned
  152. /* #undef U64 */
  153. /*
  154. * HAVE_DIRENT_H, HAVE_SYS_NDIR_H, HAVE_SYS_DIR_H, HAVE_NDIR_H,
  155. * HAVE_SCANDIR, HAVE_SCANDIR_POSIX:
  156. *
  157. * Where is <dirent.h> (used only by fl_file_chooser and scandir).
  158. */
  159. #define HAVE_DIRENT_H 1
  160. /* #undef HAVE_SYS_NDIR_H */
  161. /* #undef HAVE_SYS_DIR_H */
  162. /* #undef HAVE_NDIR_H */
  163. /* #undef HAVE_SCANDIR */
  164. /* #undef HAVE_SCANDIR_POSIX */
  165. /*
  166. * Possibly missing sprintf-style functions:
  167. */
  168. #define HAVE_VSNPRINTF 1
  169. #define HAVE_SNPRINTF 1
  170. /*
  171. * String functions and headers...
  172. */
  173. #define HAVE_STRINGS_H 1
  174. #define HAVE_STRCASECMP 1
  175. /* #undef HAVE_STRLCAT */
  176. /* #undef HAVE_STRLCPY */
  177. /*
  178. * Do we have POSIX locale support?
  179. */
  180. #define HAVE_LOCALE_H 1
  181. #define HAVE_LOCALECONV 1
  182. /*
  183. * HAVE_SYS_SELECT_H:
  184. *
  185. * Whether or not select() call has its own header file.
  186. */
  187. /* #undef HAVE_SYS_SELECT_H */
  188. /*
  189. * HAVE_SYS_STDTYPES_H:
  190. *
  191. * Whether or not we have the <sys/stdtypes.h> header file.
  192. */
  193. /* #undef HAVE_SYS_STDTYPES_H */
  194. /*
  195. * USE_POLL:
  196. *
  197. * Use the poll() call provided on Linux and Irix instead of select()
  198. */
  199. #define USE_POLL 0
  200. /*
  201. * Do we have various image libraries?
  202. */
  203. #define HAVE_LIBPNG 1
  204. #define HAVE_LIBZ 1
  205. #define HAVE_LIBJPEG 1
  206. /*
  207. * USE_CAIRO
  208. *
  209. * Do we have the cairo library available and want extended cairo use in fltk ?
  210. * will implies to link cairo.lib in all fltk based apps.
  211. */
  212. /* #undef USE_CAIRO */
  213. /*
  214. * HAVE_CAIRO
  215. *
  216. * Do we have the cairo library available?
  217. */
  218. /* #undef HAVE_CAIRO */
  219. /*
  220. * Which header file do we include for libpng?
  221. */
  222. #define HAVE_PNG_H 1
  223. /* #undef HAVE_LIBPNG_PNG_H */
  224. /*
  225. * Do we have the png_xyz() functions?
  226. */
  227. #define HAVE_PNG_GET_VALID 1
  228. #define HAVE_PNG_SET_TRNS_TO_ALPHA 1
  229. /*
  230. * Do we have POSIX threading?
  231. */
  232. #define HAVE_PTHREAD 1
  233. #define HAVE_PTHREAD_H 1
  234. /*
  235. * Do we have the ALSA library?
  236. */
  237. /* #undef HAVE_ALSA_ASOUNDLIB_H */
  238. /*
  239. * Do we have the long long type?
  240. */
  241. #define HAVE_LONG_LONG 1
  242. #ifdef HAVE_LONG_LONG
  243. # define FLTK_LLFMT "%lld"
  244. # define FLTK_LLCAST (long long)
  245. #else
  246. # define FLTK_LLFMT "%ld"
  247. # define FLTK_LLCAST (long)
  248. #endif /* HAVE_LONG_LONG */
  249. /*
  250. * Do we have the strtoll() function?
  251. */
  252. #define HAVE_STRTOLL 1
  253. #ifndef HAVE_STRTOLL
  254. # define strtoll(nptr,endptr,base) strtol((nptr), (endptr), (base))
  255. #endif /* !HAVE_STRTOLL */
  256. /*
  257. * Do we have the dlsym() function and header?
  258. */
  259. /* #undef HAVE_DLFCN_H */
  260. /* #undef HAVE_DLSYM */
  261. /*
  262. * Do we want ctrl+a select all text on Fl_Input ?
  263. */
  264. #define CTRL_A_SELECT_ALL 1
  265. /*
  266. * End of "$Id: configh.in 7353 2010-03-29 10:54:18Z matt $".
  267. */