su_configure.h.in 3.89 KB
Newer Older
Pekka Pessi's avatar
Pekka Pessi committed
1 2 3 4 5 6 7
/*
 * This file is part of the Sofia-SIP package
 *
 * Copyright (C) 2005 Nokia Corporation.
 *
 * Contact: Pekka Pessi <pekka.pessi@nokia.com>
 *
8
 * This library is free software; you can redistribute it and/or
Pekka Pessi's avatar
Pekka Pessi committed
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
 * modify it under the terms of the GNU Lesser General Public License
 * as published by the Free Software Foundation; either version 2.1 of
 * the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
 * 02110-1301 USA
 *
 */

Pekka Pessi's avatar
Pekka Pessi committed
25 26
#ifndef SU_CONFIGURE_H
/** Defined when <sofia-sip/su_configure.h> has been included. */
Pekka Pessi's avatar
Pekka Pessi committed
27 28
#define SU_CONFIGURE_H 

Pekka Pessi's avatar
Pekka Pessi committed
29
/**@file sofia-sip/su_configure.h
Pekka Pessi's avatar
Pekka Pessi committed
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
 *
 * Autoconf configuration for SU library.
 *
 * The file <su_configure.h> is automatically generated by autoconf.
 *
 * The file <su_configure.h> contains configuration information for
 * programs using @b su library.  The configuration for su library itself is
 * in "config.h".
 *
 * @author Pekka Pessi <Pekka.Pessi@nokia.com>
 * 
 * @date Created: Mon Aug 21 20:32:25 2000 ppessi
 */

/** Define as 1 if you have <stdint.h> */
#undef SU_HAVE_STDINT
/** Define as 1 if you have <inttypes.h> */
#undef SU_HAVE_INTTYPES
/** Define as 1 if you have <sys/types.h> */
#undef SU_HAVE_SYS_TYPES

/** Define as 1 if you have BSD socket interface */
#undef SU_HAVE_BSDSOCK
/** Define as 1 if you have pthreads library */
#undef SU_HAVE_PTHREADS
/** Define as 1 if you have poll() */
#undef SU_HAVE_POLL
/** Define as 1 if you have IPv6 structures, macros and constants */
#undef SU_HAVE_IN6

/** Define as 1 if you have sa_len field in struct sockaddr */
#undef SU_HAVE_SOCKADDR_SA_LEN

63 64 65
/** Define as 1 if you have struct sockaddr_storage */
#undef SU_HAVE_SOCKADDR_STORAGE

66 67
/** Define as 1 if you have struct addrinfo. */
#undef SU_HAVE_ADDRINFO
68

Pekka Pessi's avatar
Pekka Pessi committed
69 70
/** Define as 1 if you have Winsock interface */
#undef SU_HAVE_WINSOCK
71

Pekka Pessi's avatar
Pekka Pessi committed
72 73 74
/** Define as 1 if you have Winsock2 interface */
#undef SU_HAVE_WINSOCK2     	

75
/** Define as 1 if you have OSX CoreFoundation interface */
76
#undef SU_HAVE_OSX_CF_API
77

78 79 80 81 82 83
/** Define as 1 if you want to enable experimental features.
 *
 * Use --enable-experimental with ./configure
 */
#undef SU_HAVE_EXPERIMENTAL

Pekka Pessi's avatar
Pekka Pessi committed
84 85 86 87 88 89 90
/** Define as 1 if you have inline functions */
#undef SU_HAVE_INLINE
/** Define as suitable declarator inline functions */
#undef SU_INLINE
/** Define as suitable declarator static inline functions */
#undef su_inline

Pekka Pessi's avatar
Pekka Pessi committed
91 92 93
/** Define this as 1 if we can use tags directly from stack. */
#undef SU_HAVE_TAGSTACK 

Pekka Pessi's avatar
Pekka Pessi committed
94 95 96 97 98 99 100 101 102 103 104
/* These are valid only for GCC */

#define SU_S64_C(i) (SU_S64_T)(i ## LL)
#define SU_U64_C(i) (SU_U64_T)(i ## ULL)
#define SU_S32_C(i) (SU_S32_T)(i ## L)
#define SU_U32_C(i) (SU_U32_T)(i ## UL)
#define SU_S16_C(i) (SU_S16_T)(i)
#define SU_U16_C(i) (SU_U16_T)(i ## U)
#define SU_S8_C(i)  (SU_S8_T)(i)
#define SU_U8_C(i)  (SU_U8_T)(i ## U)

105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128
/** Define this as ssize_t. */
#undef SOFIA_SSIZE_T

/** Define this as size_t
    (int when compatible with sofia-sip-ua 1.12.0 binaries). */
#undef SOFIA_ISIZE_T

/** Maximum value of isize_t */
#undef ISIZE_MAX

/** Define this as ssize_t
    (int when compatible with sofia-sip-ua 1.12.0 binaries). */
#undef SOFIA_ISSIZE_T

/** Maximum value of issize_t */
#undef ISSIZE_MAX

/** Define this as size_t
    (unsigned int when compatible with sofia-sip-ua 1.12.0 binaries). */
#undef SOFIA_USIZE_T

/** Maximum value of usize_t */
#undef USIZE_MAX

Pekka Pessi's avatar
Pekka Pessi committed
129 130 131 132 133 134 135 136 137
/**On Solaris define this in order to get POSIX extensions. */
#undef __EXTENSIONS__

/** Define this in order to get GNU extensions. */
#ifndef _GNU_SOURCE
#define _GNU_SOURCE 1
#endif

#endif /* SU_CONFIGURE_H */