blob: ce973f3cc27ee5b240cd68040a25f2ae7e1858c4 [file] [log] [blame]
The Android Open Source Project441f72d2009-03-03 19:29:28 -08001/* config.h.in. Generated from configure.ac by autoheader. */
2
3/* Define to 1 if translation of program messages to the user's native
4 language is requested. */
5#undef ENABLE_NLS
6
7/* Define if the GNU dcgettext() function is already present or preinstalled.
8 */
9#undef HAVE_DCGETTEXT
10
11/* Define if the GNU gettext() function is already present or preinstalled. */
12#undef HAVE_GETTEXT
13
14/* Define if you have the iconv() function. */
15#undef HAVE_ICONV
16
17/* Directory to place translation files in. */
18#undef LOCALEDIR
19
20/* Define to 32 or 64 if a specific implementation is wanted. */
21#undef NATIVE_ELF
22
23/* Name of package */
24#undef PACKAGE
25
26/* Define to the address where bug reports for this package should be sent. */
27#undef PACKAGE_BUGREPORT
28
29/* Define to the full name of this package. */
30#undef PACKAGE_NAME
31
32/* Define to the full name and version of this package. */
33#undef PACKAGE_STRING
34
35/* Define to the one symbol short name of this package. */
36#undef PACKAGE_TARNAME
37
38/* Define to the version of this package. */
39#undef PACKAGE_VERSION
40
41/* Defined if thread local storage should be used. */
42#undef USE_TLS
43
44/* Version number of package */
45#undef VERSION
46
47/* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
48 `char[]'. */
49#undef YYTEXT_POINTER
50
51/* Number of bits in a file offset, on hosts where this is settable. */
52#undef _FILE_OFFSET_BITS
53
54/* Define for large files, on AIX-style hosts. */
55#undef _LARGE_FILES
56
57
58/* Eventually we will allow multi-threaded applications to use the
59 libraries. Therefore we will add the necessary locking although
60 the macros used expand to nothing for now. */
61#define lock_lock(lock) ((void) (lock))
62#define rwlock_define(class,name) class int name
63#define rwlock_init(lock) ((void) (lock))
64#define rwlock_fini(lock) ((void) (lock))
65#define rwlock_rdlock(lock) ((void) (lock))
66#define rwlock_wrlock(lock) ((void) (lock))
67#define rwlock_unlock(lock) ((void) (lock))
68#define tls_key_t void *
69#define key_create(keyp, freefct) (1)
70#define getspecific(key) key
71#define setspecific(key,val) key = val
72#define once_define(class,name) class int name
73#define once_execute(name,fct) \
74 do { \
75 if (name == 0) \
76 fct (); \
77 name = 1; \
78 } while (0)
79
80/* gettext helper macro. */
81#define N_(Str) Str
82
83/* Compiler-specific definitions. */
84#define strong_alias(name, aliasname) \
85 extern __typeof (name) aliasname __attribute__ ((alias (#name)));
86
87#ifdef __i386__
88# define internal_function_def __attribute__ ((regparm (3), stdcall))
89#else
90# define internal_function_def /* nothing */
91#endif
92
93# define internal_function \
94 internal_function_def __attribute__ ((visibility ("internal")))
95# define internal_strong_alias(name, aliasname) \
96 extern __typeof (name) aliasname __attribute__ ((alias (#name), visibility ("internal"))) internal_function_def;
97
98#define attribute_hidden \
99 __attribute__ ((visibility ("hidden")))
100
101/* Define ALLOW_UNALIGNED if the architecture allows operations on
102 unaligned memory locations. */
103#if defined __i386__ || defined __alpha__ || defined __x86_64__ || defined __ia64__
104# define ALLOW_UNALIGNED 1
105#else
106# define ALLOW_UNALIGNED 0
107#endif
108
109#define unlikely(expr) __builtin_expect (expr, 0)
110#define likely(expr) __builtin_expect (expr, 1)
111
112#define obstack_calloc(ob, size) \
113 ({ size_t _s = (size); memset (obstack_alloc (ob, _s), '\0', _s); })
114#define obstack_strdup(ob, str) \
115 ({ const char *_s = (str); obstack_copy0 (ob, _s, strlen (_s)); })
116#define obstack_strndup(ob, str, n) \
117 ({ const char *_s = (str); obstack_copy0 (ob, _s, strnlen (_s, n)); })
118
119#if __STDC_VERSION__ >= 199901L
120# define flexarr_size /* empty */
121#else
122# define flexarr_size 0
123#endif
124
125/* Calling conventions. */
126#ifdef __i386__
127# define CALLING_CONVENTION regparm (3), stdcall
128# define AND_CALLING_CONVENTION , regparm (3), stdcall
129#else
130# define CALLING_CONVENTION
131# define AND_CALLING_CONVENTION
132#endif
133
134/* Avoid PLT entries. */
135#ifdef PIC
136# define INTUSE(name) _INTUSE(name)
137# define _INTUSE(name) __##name##_internal
138# define INTDEF(name) _INTDEF(name)
139# define _INTDEF(name) \
140 extern __typeof__ (name) __##name##_internal __attribute__ ((alias (#name)));
141#else
142# define INTUSE(name) name
143# define INTDEF(name) /* empty */
144#endif
145