/js/src/js-config.h.in

http://github.com/zpao/v8monkey · Autoconf · 98 lines · 63 code · 15 blank · 20 comment · 12 complexity · 0fb42f9a465da6c8f091632fee0aaa2b MD5 · raw file

  1. /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
  2. * vim: set ts=8 sw=4 et tw=78:
  3. *
  4. * ***** BEGIN LICENSE BLOCK *****
  5. * Version: MPL 1.1/GPL 2.0/LGPL 2.1
  6. *
  7. * The contents of this file are subject to the Mozilla Public License Version
  8. * 1.1 (the "License"); you may not use this file except in compliance with
  9. * the License. You may obtain a copy of the License at
  10. * http://www.mozilla.org/MPL/
  11. *
  12. * Software distributed under the License is distributed on an "AS IS" basis,
  13. * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  14. * for the specific language governing rights and limitations under the
  15. * License.
  16. *
  17. * The Original Code is Mozilla Communicator client code, released
  18. * March 31, 1998.
  19. *
  20. * The Initial Developer of the Original Code is
  21. * Netscape Communications Corporation.
  22. * Portions created by the Initial Developer are Copyright (C) 1998
  23. * the Initial Developer. All Rights Reserved.
  24. *
  25. * Contributor(s):
  26. *
  27. * Alternatively, the contents of this file may be used under the terms of
  28. * either of the GNU General Public License Version 2 or later (the "GPL"),
  29. * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  30. * in which case the provisions of the GPL or the LGPL are applicable instead
  31. * of those above. If you wish to allow use of your version of this file only
  32. * under the terms of either the GPL or the LGPL, and not to allow others to
  33. * use your version of this file under the terms of the MPL, indicate your
  34. * decision by deleting the provisions above and replace them with the notice
  35. * and other provisions required by the GPL or the LGPL. If you do not delete
  36. * the provisions above, a recipient may use your version of this file under
  37. * the terms of any one of the MPL, the GPL or the LGPL.
  38. *
  39. * ***** END LICENSE BLOCK ***** */
  40. #ifndef js_config_h___
  41. #define js_config_h___
  42. /* Definitions set at build time that affect SpiderMonkey's public API.
  43. This header file is generated by the SpiderMonkey configure script,
  44. and installed along with jsapi.h. */
  45. /* Define to 1 if SpiderMonkey should support multi-threaded clients. */
  46. #undef JS_THREADSAFE
  47. /* Define to 1 if SpiderMonkey should include ctypes support. */
  48. #undef JS_HAS_CTYPES
  49. /* Define to 1 if SpiderMonkey should support the ability to perform
  50. entirely too much GC. */
  51. #undef JS_GC_ZEAL
  52. /* Define to 1 if the <endian.h> header is present and
  53. useable. See jscpucfg.h. */
  54. #undef JS_HAVE_ENDIAN_H
  55. /* Define to 1 if the <machine/endian.h> header is present and
  56. useable. See jscpucfg.h. */
  57. #undef JS_HAVE_MACHINE_ENDIAN_H
  58. /* Define to 1 if the <sys/isa_defs.h> header is present and
  59. useable. See jscpucfg.h. */
  60. #undef JS_HAVE_SYS_ISA_DEFS_H
  61. /* Define to 1 if the <sys/types.h> defines int8_t, etc. */
  62. #undef JS_SYS_TYPES_H_DEFINES_EXACT_SIZE_TYPES
  63. /* Define to 1 if the N-byte __intN types are defined by the
  64. compiler. */
  65. #undef JS_HAVE___INTN
  66. /* Define to 1 if #including <stddef.h> provides definitions for
  67. intptr_t and uintptr_t. */
  68. #undef JS_STDDEF_H_HAS_INTPTR_T
  69. /* Define to 1 if #including <crtdefs.h> provides definitions for
  70. intptr_t and uintptr_t. */
  71. #undef JS_CRTDEFS_H_HAS_INTPTR_T
  72. /* The configure script defines these if it doesn't #define
  73. JS_HAVE_STDINT_H. */
  74. #undef JS_INT8_TYPE
  75. #undef JS_INT16_TYPE
  76. #undef JS_INT32_TYPE
  77. #undef JS_INT64_TYPE
  78. #undef JS_INTPTR_TYPE
  79. #undef JS_BYTES_PER_WORD
  80. /* Some mozilla code uses JS-friend APIs that depend on JS_METHODJIT being
  81. correct. */
  82. #undef JS_METHODJIT
  83. #endif /* js_config_h___ */