1/*
2 * This file is part of the Sofia-SIP package
3 *
4 * Copyright (C) 2005,2006,2007 Nokia Corporation.
5 *
6 * Contact: Pekka Pessi <pekka.pessi@nokia.com>
7 *
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public License
10 * as published by the Free Software Foundation; either version 2.1 of
11 * the License, or (at your option) any later version.
12 *
13 * This library is distributed in the hope that it will be useful, but
14 * WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
17 *
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
21 * 02110-1301 USA
22 *
23 */
24
25#ifndef SU_CONFIGURE_H
26/** Defined when <sofia-sip/su_configure.h> has been included. */
27#define SU_CONFIGURE_H
28
29/**@file sofia-sip/su_configure.h
30 *
31 * Autoconf configuration for SU library.
32 *
33 * The file <su_configure.h> is automatically generated by autoconf.
34 *
35 * The file <su_configure.h> contains configuration information for
36 * programs using @b su library.  The configuration for su library itself is
37 * in "config.h".
38 *
39 * @author Pekka Pessi <Pekka.Pessi@nokia.com>
40 *
41 * @date Created: Mon Aug 21 20:32:25 2000 ppessi
42 */
43
44/** Define as 1 if you have <stdint.h> */
45#undef SU_HAVE_STDINT
46/** Define as 1 if you have <inttypes.h> */
47#undef SU_HAVE_INTTYPES
48/** Define as 1 if you have <sys/types.h> */
49#undef SU_HAVE_SYS_TYPES
50
51/** Define as 1 if you have BSD socket interface */
52#undef SU_HAVE_BSDSOCK
53/** Define as 1 if you have pthreads library */
54#undef SU_HAVE_PTHREADS
55/** Define as 1 if you have poll() */
56#undef SU_HAVE_POLL
57/** Define as 1 if you have IPv6 structures, macros and constants */
58#undef SU_HAVE_IN6
59
60/** Define as 1 if you have sa_len field in struct sockaddr */
61#undef SU_HAVE_SOCKADDR_SA_LEN
62
63/** Define as 1 if you have struct sockaddr_storage */
64#undef SU_HAVE_SOCKADDR_STORAGE
65
66/** Define as 1 if you have struct addrinfo. */
67#undef SU_HAVE_ADDRINFO
68
69/** Define as 1 if you have Winsock interface */
70#undef SU_HAVE_WINSOCK
71
72/** Define as 1 if you have Winsock2 interface */
73#undef SU_HAVE_WINSOCK2
74
75/** Define as 1 if you have OSX CoreFoundation interface */
76#undef SU_HAVE_OSX_CF_API
77
78/** Define as 1 if you want to enable experimental features.
79 *
80 * Use --enable-experimental with ./configure
81 */
82#undef SU_HAVE_EXPERIMENTAL
83
84/** Define as 1 if you have inline functions */
85#undef SU_HAVE_INLINE
86/** Define as suitable declarator inline functions */
87#undef SU_INLINE
88/** Define as suitable declarator static inline functions */
89#undef su_inline
90
91/** Define as 1 the tag value casts use inlined functions */
92#undef SU_INLINE_TAG_CAST
93
94/** Define this as 1 if we can use tags directly from stack. */
95#undef SU_HAVE_TAGSTACK
96
97/* These are valid only for GCC */
98
99#define SU_S64_C(i) (SU_S64_T)(i ## LL)
100#define SU_U64_C(i) (SU_U64_T)(i ## ULL)
101#define SU_S32_C(i) (SU_S32_T)(i ## L)
102#define SU_U32_C(i) (SU_U32_T)(i ## UL)
103#define SU_S16_C(i) (SU_S16_T)(i)
104#define SU_U16_C(i) (SU_U16_T)(i ## U)
105#define SU_S8_C(i)  (SU_S8_T)(i)
106#define SU_U8_C(i)  (SU_U8_T)(i ## U)
107
108/** Define this as ssize_t. */
109#undef SOFIA_SSIZE_T
110
111/** Define this as size_t
112    (int when compatible with sofia-sip-ua 1.12.0 binaries). */
113#undef SOFIA_ISIZE_T
114
115/** Maximum value of isize_t */
116#undef ISIZE_MAX
117
118/** Define this as ssize_t
119    (int when compatible with sofia-sip-ua 1.12.0 binaries). */
120#undef SOFIA_ISSIZE_T
121
122/** Maximum value of issize_t */
123#undef ISSIZE_MAX
124
125/** Define this as size_t
126    (unsigned int when compatible with sofia-sip-ua 1.12.0 binaries). */
127#undef SOFIA_USIZE_T
128
129/** Maximum value of usize_t */
130#undef USIZE_MAX
131
132/**On Solaris define this in order to get POSIX extensions. */
133#undef __EXTENSIONS__
134
135/** Define this in order to get GNU extensions. */
136#ifndef _GNU_SOURCE
137#define _GNU_SOURCE 1
138#endif
139
140#endif /* SU_CONFIGURE_H */
141