config.mingw 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302
  1. /*
  2. * "$Id: config.mingw 6626 2009-01-12 14:52:45Z fabien $"
  3. *
  4. * Configuration file for the Fast Light Tool Kit (FLTK).
  5. * @configure_input@
  6. *
  7. * Copyright 1998-2009 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. /* config.h. Generated by configure. */
  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. #define USE_QUARTZ 0
  109. /* #undef __APPLE_QUARTZ__ */
  110. /* #undef __APPLE_QD__ */
  111. /*
  112. * HAVE_OVERLAY:
  113. *
  114. * Use the X overlay extension? FLTK will try to use an overlay
  115. * visual for Fl_Overlay_Window, the Gl_Window overlay, and for the
  116. * menus. Setting this to zero will remove a substantial amount of
  117. * code from FLTK. Overlays have only been tested on SGI servers!
  118. */
  119. #define HAVE_OVERLAY 0
  120. /*
  121. * HAVE_GL_OVERLAY:
  122. *
  123. * It is possible your GL has an overlay even if X does not. If so,
  124. * set this to 1.
  125. */
  126. #define HAVE_GL_OVERLAY HAVE_OVERLAY
  127. /*
  128. * WORDS_BIGENDIAN:
  129. *
  130. * Byte order of your machine: 1 = big-endian, 0 = little-endian.
  131. */
  132. #define WORDS_BIGENDIAN 0
  133. /*
  134. * U16, U32, U64:
  135. *
  136. * Types used by fl_draw_image. One of U32 or U64 must be defined.
  137. * U16 is optional but FLTK will work better with it!
  138. */
  139. #define U16 unsigned short
  140. #define U32 unsigned
  141. /* #undef U64 */
  142. /*
  143. * HAVE_DIRENT_H, HAVE_SYS_NDIR_H, HAVE_SYS_DIR_H, HAVE_NDIR_H, HAVE_SCANDIR:
  144. *
  145. * Where is <dirent.h> (used only by fl_file_chooser and scandir).
  146. */
  147. #define HAVE_DIRENT_H 1
  148. /* #undef HAVE_SYS_NDIR_H */
  149. /* #undef HAVE_SYS_DIR_H */
  150. /* #undef HAVE_NDIR_H */
  151. /* #undef HAVE_SCANDIR */
  152. /*
  153. * Possibly missing sprintf-style functions:
  154. */
  155. #define HAVE_VSNPRINTF 1
  156. #define HAVE_SNPRINTF 1
  157. /*
  158. * String functions and headers...
  159. */
  160. #define HAVE_STRINGS_H 1
  161. #define HAVE_STRCASECMP 1
  162. /* #undef HAVE_STRLCAT */
  163. /* #undef HAVE_STRLCPY */
  164. /*
  165. * Do we have POSIX locale support?
  166. */
  167. #define HAVE_LOCALE_H 1
  168. #define HAVE_LOCALECONV 1
  169. /*
  170. * HAVE_SYS_SELECT_H:
  171. *
  172. * Whether or not select() call has its own header file.
  173. */
  174. /* #undef HAVE_SYS_SELECT_H */
  175. /*
  176. * HAVE_SYS_STDTYPES_H:
  177. *
  178. * Whether or not we have the <sys/stdtypes.h> header file.
  179. */
  180. /* #undef HAVE_SYS_STDTYPES_H */
  181. /*
  182. * USE_POLL:
  183. *
  184. * Use the poll() call provided on Linux and Irix instead of select()
  185. */
  186. #define USE_POLL 0
  187. /*
  188. * Do we have various image libraries?
  189. */
  190. #define HAVE_LIBPNG 1
  191. #define HAVE_LIBZ 1
  192. #define HAVE_LIBJPEG 1
  193. /*
  194. * Which header file do we include for libpng?
  195. */
  196. #define HAVE_PNG_H 1
  197. /* #undef HAVE_LIBPNG_PNG_H */
  198. /*
  199. * Do we have the png_xyz() functions?
  200. */
  201. /* #undef HAVE_PNG_GET_VALID */
  202. /* #undef HAVE_PNG_SET_TRNS_TO_ALPHA */
  203. /*
  204. * Do we have POSIX threading?
  205. */
  206. /* #undef HAVE_PTHREAD */
  207. /* #undef HAVE_PTHREAD_H */
  208. /*
  209. * Do we have the ALSA library?
  210. */
  211. /* #undef HAVE_ALSA_ASOUNDLIB_H */
  212. /*
  213. * Do we have the long long type?
  214. */
  215. #define HAVE_LONG_LONG 1
  216. #ifdef HAVE_LONG_LONG
  217. # define FLTK_LLFMT "%lld"
  218. # define FLTK_LLCAST (long long)
  219. #else
  220. # define FLTK_LLFMT "%ld"
  221. # define FLTK_LLCAST (long)
  222. #endif /* HAVE_LONG_LONG */
  223. /*
  224. * Do we have the strtoll() function?
  225. */
  226. #define HAVE_STRTOLL 1
  227. #ifndef HAVE_STRTOLL
  228. # define strtoll(nptr,endptr,base) strtol((nptr), (endptr), (base))
  229. #endif /* !HAVE_STRTOLL */
  230. /*
  231. * Do we have the dlsym() function and header?
  232. */
  233. /* #undef HAVE_DLFCN_H */
  234. /* #undef HAVE_DLSYM */
  235. /*
  236. * End of "$Id: config.mingw 6626 2009-01-12 14:52:45Z fabien $".
  237. */