~ubuntu-branches/ubuntu/trusty/erlang/trusty

« back to all changes in this revision

Viewing changes to erts/include/internal/ethread_header_config.h.in

  • Committer: Bazaar Package Importer
  • Author(s): Clint Byrum
  • Date: 2011-05-05 15:48:43 UTC
  • mfrom: (3.5.13 sid)
  • Revision ID: james.westby@ubuntu.com-20110505154843-0om6ekzg6m7ugj27
Tags: 1:14.b.2-dfsg-3ubuntu1
* Merge from debian unstable.  Remaining changes:
  - Drop libwxgtk2.8-dev build dependency. Wx isn't in main, and not
    supposed to.
  - Drop erlang-wx binary.
  - Drop erlang-wx dependency from -megaco, -common-test, and -reltool, they
    do not really need wx. Also drop it from -debugger; the GUI needs wx,
    but it apparently has CLI bits as well, and is also needed by -megaco,
    so let's keep the package for now.
  - debian/patches/series: Do what I meant, and enable build-options.patch
    instead.
* Additional changes:
  - Drop erlang-wx from -et
* Dropped Changes:
  - patches/pcre-crash.patch: CVE-2008-2371: outer level option with
    alternatives caused crash. (Applied Upstream)
  - fix for ssl certificate verification in newSSL: 
    ssl_cacertfile_fix.patch (Applied Upstream)
  - debian/patches/series: Enable native.patch again, to get stripped beam
    files and reduce the package size again. (build-options is what
    actually accomplished this)
  - Remove build-options.patch on advice from upstream and because it caused
    odd build failures.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 * %CopyrightBegin%
3
 
 * 
4
 
 * Copyright Ericsson AB 2004-2009. All Rights Reserved.
5
 
 * 
 
3
 *
 
4
 * Copyright Ericsson AB 2004-2010. All Rights Reserved.
 
5
 *
6
6
 * The contents of this file are subject to the Erlang Public License,
7
7
 * Version 1.1, (the "License"); you may not use this file except in
8
8
 * compliance with the License. You should have received a copy of the
9
9
 * Erlang Public License along with this software. If not, it can be
10
10
 * retrieved online at http://www.erlang.org/.
11
 
 * 
 
11
 *
12
12
 * Software distributed under the License is distributed on an "AS IS"
13
13
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
14
14
 * the License for the specific language governing rights and limitations
15
15
 * under the License.
16
 
 * 
 
16
 *
17
17
 * %CopyrightEnd%
18
18
 */
19
19
 
20
20
/* Define to the size of pointers */
21
21
#undef ETHR_SIZEOF_PTR
22
22
 
 
23
/* Define to the size of int */
 
24
#undef ETHR_SIZEOF_INT
 
25
 
 
26
/* Define to the size of long */
 
27
#undef ETHR_SIZEOF_LONG
 
28
 
 
29
/* Define to the size of long long */
 
30
#undef ETHR_SIZEOF_LONG_LONG
 
31
 
 
32
/* Define to the size of __int64 */
 
33
#undef ETHR_SIZEOF___INT64
 
34
 
 
35
/* Define if bigendian */
 
36
#undef ETHR_BIGENDIAN
 
37
 
23
38
/* Define if you want to disable native ethread implementations */
24
39
#undef ETHR_DISABLE_NATIVE_IMPLS
25
40
 
29
44
/* Define if you have pthreads */
30
45
#undef ETHR_PTHREADS
31
46
 
 
47
/* Define if you need the <nptl/pthread.h> header file. */
 
48
#undef ETHR_NEED_NPTL_PTHREAD_H
 
49
 
32
50
/* Define if you have the <pthread.h> header file. */
33
51
#undef ETHR_HAVE_PTHREAD_H
34
52
 
35
53
/* Define if the pthread.h header file is in pthread/mit directory. */
36
54
#undef ETHR_HAVE_MIT_PTHREAD_H
37
55
 
38
 
/* Define if you have the pthread_mutexattr_settype function. */
39
 
#undef ETHR_HAVE_PTHREAD_MUTEXATTR_SETTYPE
40
 
 
41
 
/* Define if you have the pthread_mutexattr_setkind_np function. */
42
 
#undef ETHR_HAVE_PTHREAD_MUTEXATTR_SETKIND_NP
43
 
 
44
 
/* Define if you have the pthread_atfork function. */
45
 
#undef ETHR_HAVE_PTHREAD_ATFORK
46
 
 
47
56
/* Define if you have the pthread_spin_lock function. */
48
57
#undef ETHR_HAVE_PTHREAD_SPIN_LOCK
49
58
 
50
 
/* Define if you have a pthread_rwlock implementation that can be used */
51
 
#undef ETHR_HAVE_PTHREAD_RWLOCK_INIT
 
59
/* Define if you want to force usage of pthread rwlocks */
 
60
#undef ETHR_FORCE_PTHREAD_RWLOCK
 
61
 
 
62
/* Define if you have the pthread_rwlockattr_setkind_np() function. */
 
63
#undef ETHR_HAVE_PTHREAD_RWLOCKATTR_SETKIND_NP
 
64
 
 
65
/* Define if you have the PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP rwlock
 
66
   attribute. */
 
67
#undef ETHR_HAVE_PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP
 
68
 
 
69
/* Define if you have a linux futex implementation. */
 
70
#undef ETHR_HAVE_LINUX_FUTEX
 
71
 
 
72
/* Define if you have gcc atomic operations */
 
73
#undef ETHR_HAVE_GCC_ATOMIC_OPS
 
74
 
 
75
/* Define if you prefer gcc native ethread implementations */
 
76
#undef ETHR_PREFER_GCC_NATIVE_IMPLS
 
77
 
 
78
/* Define if you have the <sched.h> header file. */
 
79
#undef ETHR_HAVE_SCHED_H
 
80
 
 
81
/* Define if you have the sched_yield() function. */
 
82
#undef ETHR_HAVE_SCHED_YIELD
 
83
 
 
84
/* Define if you have the pthread_yield() function. */
 
85
#undef ETHR_HAVE_PTHREAD_YIELD
 
86
 
 
87
/* Define if pthread_yield() returns an int. */
 
88
#undef ETHR_PTHREAD_YIELD_RET_INT
 
89
 
 
90
/* Define if sched_yield() returns an int. */
 
91
#undef ETHR_SCHED_YIELD_RET_INT
 
92
 
 
93
/* Define if you want compatibilty with x86 processors before pentium4. */
 
94
#undef ETHR_PRE_PENTIUM4_COMPAT
 
95
 
 
96
/* Define if you have the pthread_rwlockattr_setkind_np() function. */
 
97
#undef ETHR_HAVE_PTHREAD_RWLOCKATTR_SETKIND_NP
 
98
 
 
99
/* Define if you have the PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP rwlock
 
100
   attribute. */
 
101
#undef ETHR_HAVE_PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP
 
102
 
 
103
/* Define if you have gcc atomic operations */
 
104
#undef ETHR_HAVE_GCC_ATOMIC_OPS
 
105
 
 
106
/* Define if you prefer gcc native ethread implementations */
 
107
#undef ETHR_PREFER_GCC_NATIVE_IMPLS
 
108
 
 
109
/* Define if you have libatomic_ops atomic operations */
 
110
#undef ETHR_HAVE_LIBATOMIC_OPS
 
111
 
 
112
/* Define if you prefer libatomic_ops native ethread implementations */
 
113
#undef ETHR_PREFER_LIBATOMIC_OPS_NATIVE_IMPLS
 
114
 
 
115
/* Define to the size of AO_t if libatomic_ops is used */
 
116
#undef ETHR_SIZEOF_AO_T
 
117
 
 
118
/* Define if you have _InterlockedCompareExchange64() */
 
119
#undef ETHR_HAVE__INTERLOCKEDCOMPAREEXCHANGE64
 
120
 
 
121
/* Define if you have _InterlockedDecrement64() */
 
122
#undef ETHR_HAVE__INTERLOCKEDDECREMENT64
 
123
 
 
124
/* Define if you have _InterlockedIncrement64() */
 
125
#undef ETHR_HAVE__INTERLOCKEDINCREMENT64
 
126
 
 
127
/* Define if you have _InterlockedExchangeAdd64() */
 
128
#undef ETHR_HAVE__INTERLOCKEDEXCHANGEADD64
 
129
 
 
130
/* Define if you have _InterlockedExchange64() */
 
131
#undef ETHR_HAVE__INTERLOCKEDEXCHANGE64
 
132
 
 
133
/* Define if you have _InterlockedAnd64() */
 
134
#undef ETHR_HAVE__INTERLOCKEDAND64
 
135
 
 
136
/* Define if you have _InterlockedOr64() */
 
137
#undef ETHR_HAVE__INTERLOCKEDOR64
52
138
 
53
139
/* Define if you want to turn on extra sanity checking in the ethread library */
54
140
#undef ETHR_XCHK