config-linux.h 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320
  1. /* config.h. Generated from configh.in by configure. */
  2. /*
  3. * "$Id: configh.in 8864 2011-07-19 04:49:30Z greg.ercolano $"
  4. *
  5. * Configuration file for the Fast Light Tool Kit (FLTK).
  6. * @configure_input@
  7. *
  8. * Copyright 1998-2010 by Bill Spitzak and others.
  9. *
  10. * This library is free software. Distribution and use rights are outlined in
  11. * the file "COPYING" which should have been included with this file. If this
  12. * file is missing or damaged, see the license at:
  13. *
  14. * http://www.fltk.org/COPYING.php
  15. *
  16. * Please report all bugs and problems on the following page:
  17. *
  18. * http://www.fltk.org/str.php
  19. */
  20. /*
  21. * Where to find files...
  22. */
  23. #define FLTK_DATADIR "/usr/local/share/fltk"
  24. #define FLTK_DOCDIR "/usr/local/share/doc/fltk"
  25. /*
  26. * BORDER_WIDTH:
  27. *
  28. * Thickness of FL_UP_BOX and FL_DOWN_BOX. Current 1,2, and 3 are
  29. * supported.
  30. *
  31. * 3 is the historic FLTK look.
  32. * 2 is the default and looks like Microsoft Windows, KDE, and Qt.
  33. * 1 is a plausible future evolution...
  34. *
  35. * Note that this may be simulated at runtime by redefining the boxtypes
  36. * using Fl::set_boxtype().
  37. */
  38. #define BORDER_WIDTH 2
  39. /*
  40. * HAVE_GL:
  41. *
  42. * Do you have OpenGL? Set this to 0 if you don't have or plan to use
  43. * OpenGL, and FLTK will be smaller.
  44. */
  45. #define HAVE_GL 1
  46. /*
  47. * HAVE_GL_GLU_H:
  48. *
  49. * Do you have the OpenGL Utility Library header file?
  50. * (many broken Mesa RPMs do not...)
  51. */
  52. #undef HAVE_GL_GLU_H
  53. /*
  54. * HAVE_GLXGETPROCADDRESSARB:
  55. *
  56. * Do you have the OpenGL glXGetProcAddressARB() function?
  57. */
  58. #undef HAVE_GLXGETPROCADDRESSARB
  59. /*
  60. * USE_COLORMAP:
  61. *
  62. * Setting this to zero will save a good deal of code (especially for
  63. * fl_draw_image), but FLTK will only work on TrueColor visuals.
  64. */
  65. #define USE_COLORMAP 1
  66. /*
  67. * HAVE_XINERAMA
  68. *
  69. * Do we have the Xinerama library to support multi-head displays?
  70. */
  71. #define HAVE_XINERAMA 1
  72. /*
  73. * USE_XFT
  74. *
  75. * Use the new Xft library to draw anti-aliased text.
  76. */
  77. #define USE_XFT 1
  78. /*
  79. * HAVE_XDBE:
  80. *
  81. * Do we have the X double-buffer extension?
  82. */
  83. #define HAVE_XDBE 1
  84. /*
  85. * USE_XDBE:
  86. *
  87. * Actually try to use the double-buffer extension?
  88. */
  89. #define USE_XDBE HAVE_XDBE
  90. /*
  91. * __APPLE_QUARTZ__:
  92. *
  93. * All Apple implementations are now based on Quartz and Cocoa,
  94. * so this flag should always be on for Mac OS X. This flag has
  95. * no meaning on operating systems other than Mac OS X.
  96. */
  97. #undef __APPLE_QUARTZ__
  98. /*
  99. * USE_X11
  100. *
  101. * Should we use X11 for the current platform
  102. *
  103. */
  104. #define USE_X11 1
  105. /*
  106. * HAVE_OVERLAY:
  107. *
  108. * Use the X overlay extension? FLTK will try to use an overlay
  109. * visual for Fl_Overlay_Window, the Gl_Window overlay, and for the
  110. * menus. Setting this to zero will remove a substantial amount of
  111. * code from FLTK. Overlays have only been tested on SGI servers!
  112. */
  113. #define HAVE_OVERLAY 0
  114. /*
  115. * HAVE_GL_OVERLAY:
  116. *
  117. * It is possible your GL has an overlay even if X does not. If so,
  118. * set this to 1.
  119. */
  120. #define HAVE_GL_OVERLAY HAVE_OVERLAY
  121. /*
  122. * WORDS_BIGENDIAN:
  123. *
  124. * Byte order of your machine: 1 = big-endian, 0 = little-endian.
  125. */
  126. #ifdef __APPLE__
  127. #include <mac_endianness.h>
  128. #else
  129. #define WORDS_BIGENDIAN 0
  130. #endif
  131. /*
  132. * U16, U32, U64:
  133. *
  134. * Types used by fl_draw_image. One of U32 or U64 must be defined.
  135. * U16 is optional but FLTK will work better with it!
  136. */
  137. #define U16 unsigned short
  138. #define U32 unsigned
  139. /* #undef U64 */
  140. /*
  141. * HAVE_DIRENT_H, HAVE_SYS_NDIR_H, HAVE_SYS_DIR_H, HAVE_NDIR_H,
  142. * HAVE_SCANDIR, HAVE_SCANDIR_POSIX:
  143. *
  144. * Where is <dirent.h> (used only by fl_file_chooser and scandir).
  145. */
  146. #define HAVE_DIRENT_H 1
  147. /* #undef HAVE_SYS_NDIR_H */
  148. /* #undef HAVE_SYS_DIR_H */
  149. /* #undef HAVE_NDIR_H */
  150. #define HAVE_SCANDIR 1
  151. #define HAVE_SCANDIR_POSIX 1
  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. #define HAVE_SYS_SELECT_H 1
  175. /*
  176. * HAVE_SYS_STDTYPES_H:
  177. *
  178. * Whether or not we have the <sys/stdtypes.h> header file.
  179. */
  180. /* #define HAVE_SYS_STDTYPES_H 1 */
  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. * FLTK_USE_CAIRO
  195. *
  196. * Do we have the cairo library available and want extended cairo use in fltk ?
  197. * will implies to link cairo.lib in all fltk based apps.
  198. */
  199. #undef FLTK_USE_CAIRO
  200. /*
  201. * FLTK_HAVE_CAIRO
  202. *
  203. * Do we have the cairo library available?
  204. */
  205. #undef FLTK_HAVE_CAIRO
  206. /*
  207. * Which header file do we include for libpng?
  208. */
  209. #define HAVE_PNG_H 1
  210. /* #undef HAVE_LIBPNG_PNG_H */
  211. /*
  212. * Do we have the png_xyz() functions?
  213. */
  214. #define HAVE_PNG_GET_VALID 1
  215. #define HAVE_PNG_SET_TRNS_TO_ALPHA 1
  216. /*
  217. * Do we have POSIX threading?
  218. */
  219. #define HAVE_PTHREAD 1
  220. #define HAVE_PTHREAD_H 1
  221. /*
  222. * Do we have the ALSA library?
  223. */
  224. #undef HAVE_ALSA_ASOUNDLIB_H
  225. /*
  226. * Do we have the long long type?
  227. */
  228. #define HAVE_LONG_LONG 1
  229. #ifdef HAVE_LONG_LONG
  230. # define FLTK_LLFMT "%lld"
  231. # define FLTK_LLCAST (long long)
  232. #else
  233. # define FLTK_LLFMT "%ld"
  234. # define FLTK_LLCAST (long)
  235. #endif /* HAVE_LONG_LONG */
  236. /*
  237. * Do we have the strtoll() function?
  238. */
  239. #define HAVE_STRTOLL 1
  240. #ifndef HAVE_STRTOLL
  241. # define strtoll(nptr,endptr,base) strtol((nptr), (endptr), (base))
  242. #endif /* !HAVE_STRTOLL */
  243. /*
  244. * Do we have the dlsym() function and header?
  245. */
  246. #define HAVE_DLFCN_H 1
  247. #define HAVE_DLSYM 1
  248. /*
  249. * End of "$Id: configh.in 8864 2011-07-19 04:49:30Z greg.ercolano $".
  250. */