PageRenderTime 5ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/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
41#ifndef js_config_h___
42#define js_config_h___
43
44/* Definitions set at build time that affect SpiderMonkey's public API.
45   This header file is generated by the SpiderMonkey configure script,
46   and installed along with jsapi.h.  */
47
48/* Define to 1 if SpiderMonkey should support multi-threaded clients.  */
49#undef JS_THREADSAFE
50
51/* Define to 1 if SpiderMonkey should include ctypes support.  */
52#undef JS_HAS_CTYPES
53
54/* Define to 1 if SpiderMonkey should support the ability to perform
55   entirely too much GC.  */
56#undef JS_GC_ZEAL
57
58/* Define to 1 if the <endian.h> header is present and
59   useable.  See jscpucfg.h.  */
60#undef JS_HAVE_ENDIAN_H
61
62/* Define to 1 if the <machine/endian.h> header is present and
63   useable.  See jscpucfg.h.  */
64#undef JS_HAVE_MACHINE_ENDIAN_H
65
66/* Define to 1 if the <sys/isa_defs.h> header is present and
67   useable.  See jscpucfg.h.  */
68#undef JS_HAVE_SYS_ISA_DEFS_H
69
70/* Define to 1 if the <sys/types.h> defines int8_t, etc. */
71#undef JS_SYS_TYPES_H_DEFINES_EXACT_SIZE_TYPES
72
73/* Define to 1 if the N-byte __intN types are defined by the
74   compiler.  */
75#undef JS_HAVE___INTN
76
77/* Define to 1 if #including <stddef.h> provides definitions for
78   intptr_t and uintptr_t.  */
79#undef JS_STDDEF_H_HAS_INTPTR_T
80
81/* Define to 1 if #including <crtdefs.h> provides definitions for
82   intptr_t and uintptr_t.  */
83#undef JS_CRTDEFS_H_HAS_INTPTR_T
84
85/* The configure script defines these if it doesn't #define
86   JS_HAVE_STDINT_H.  */
87#undef JS_INT8_TYPE
88#undef JS_INT16_TYPE
89#undef JS_INT32_TYPE
90#undef JS_INT64_TYPE
91#undef JS_INTPTR_TYPE
92#undef JS_BYTES_PER_WORD
93
94/* Some mozilla code uses JS-friend APIs that depend on JS_METHODJIT being
95   correct. */
96#undef JS_METHODJIT
97
98#endif /* js_config_h___ */