LocalSetup.pp 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. //
  2. // LocalSetup.pp
  3. //
  4. // This file contains further instructions to set up the DTOOL package
  5. // when using ppremake. In particular, it creates the dtool_config.h
  6. // file based on the user's selected configure variables. This script
  7. // need not execute when BUILD_TYPE is "autoconf"; in this case, the
  8. // dtool_config.h file will automatically be correctly generated by
  9. // configure.
  10. //
  11. #if $[ne $[BUILD_TYPE],autoconf]
  12. #output dtool_config.h notouch
  13. #format straight
  14. /* dtool_config.h. Generated automatically by $[PPREMAKE] $[PPREMAKE_VERSION] from $[SOURCEFILE]. */
  15. /* Define if your processor stores words with the most significant
  16. byte first (like Motorola and SPARC, unlike Intel and VAX). */
  17. $[cdefine WORDS_BIGENDIAN]
  18. /* Define if the C++ compiler uses namespaces. */
  19. $[cdefine HAVE_NAMESPACE]
  20. /* Define if the C++ iostream library supports ios::binary. */
  21. $[cdefine HAVE_IOS_BINARY]
  22. /* Define if we have Python installed. */
  23. $[cdefine HAVE_PYTHON]
  24. /* Define if we have NSPR installed. */
  25. $[cdefine HAVE_NSPR]
  26. /* Define if we have VRPN installed. */
  27. $[cdefine HAVE_VRPN]
  28. /* Define if we have zlib installed. */
  29. $[cdefine HAVE_ZLIB]
  30. /* Define if we have sox libst installed. */
  31. $[cdefine HAVE_SOXST]
  32. /* Define if we have OpenGL installed and want to build for GL. */
  33. $[cdefine HAVE_GL]
  34. /* Define if we have GLX installed and want to build for GLX. */
  35. $[cdefine HAVE_GLX]
  36. /* Define if we have Glut installed and want to build for Glut. */
  37. $[cdefine HAVE_GLUT]
  38. /* Define if we have DirectX installed and want to build for DX. */
  39. $[cdefine HAVE_DX]
  40. /* Define if we want to build the Renderman interface. */
  41. $[cdefine HAVE_RIB]
  42. /* Define if we want to use mikmod for audio. */
  43. $[cdefine HAVE_MIKMOD]
  44. /* Define if we want to compile the net code. */
  45. $[cdefine HAVE_NET]
  46. /* Define if we want to compile the audio code. */
  47. $[cdefine HAVE_AUDIO]
  48. /* Define if we have a gettimeofday() function. */
  49. $[cdefine HAVE_GETTIMEOFDAY]
  50. /* Define if gettimeofday() takes only one parameter. */
  51. $[cdefine GETTIMEOFDAY_ONE_PARAM]
  52. /* Define if you have the getopt function. */
  53. $[cdefine HAVE_GETOPT]
  54. /* Define if you have the getopt_long_only function. */
  55. $[cdefine HAVE_GETOPT_LONG_ONLY]
  56. /* Define if you have ioctl(TIOCGWINSZ) to determine terminal width. */
  57. $[cdefine IOCTL_TERMINAL_WIDTH]
  58. /* Do the compiler or the system headers define a "streamsize" typedef? */
  59. $[cdefine HAVE_STREAMSIZE]
  60. /* Can we safely call getenv() at static init time? */
  61. $[cdefine STATIC_INIT_GETENV]
  62. /* Can we read the file /proc/self/environ to determine our
  63. environment variables at static init time? */
  64. $[cdefine HAVE_PROC_SELF_ENVIRON]
  65. /* Do we have a global pair of argc/argv variables that we can read at
  66. static init time? Should we prototype them? What are they called? */
  67. $[cdefine HAVE_GLOBAL_ARGV]
  68. $[cdefine PROTOTYPE_GLOBAL_ARGV]
  69. $[cdefine GLOBAL_ARGV]
  70. $[cdefine GLOBAL_ARGC]
  71. /* Can we read the file /proc/self/cmdline to determine our
  72. command-line arguments at static init time? */
  73. $[cdefine HAVE_PROC_SELF_CMDLINE]
  74. /* Define if you have the <io.h> header file. */
  75. $[cdefine HAVE_IO_H]
  76. /* Define if you have the <iostream> header file. */
  77. $[cdefine HAVE_IOSTREAM]
  78. /* Define if you have the <malloc.h> header file. */
  79. $[cdefine HAVE_MALLOC_H]
  80. /* Define if you have the <alloca.h> header file. */
  81. $[cdefine HAVE_ALLOCA_H]
  82. /* Define if you have the <minmax.h> header file. */
  83. $[cdefine HAVE_MINMAX_H]
  84. /* Define if you have the <sstream> header file. */
  85. $[cdefine HAVE_SSTREAM]
  86. /* Define if you have the <sys/types.h> header file. */
  87. $[cdefine HAVE_SYS_TYPES]
  88. /* Define if you have the <unistd.h> header file. */
  89. $[cdefine HAVE_UNISTD_H]
  90. /* Do we have <sys/soundcard.h> (and presumably a Linux-style audio
  91. interface)? */
  92. $[cdefine HAVE_SYS_SOUNDCARD_H]
  93. #end dtool_config.h
  94. #endif // BUILD_TYPE