su_configure.h.in 3.09 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 25
 * 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
 *
 */

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

Pekka Pessi's avatar
Pekka Pessi committed
28 29 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
/**@file su_configure.h
 *
 * 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
58 59
/** Define as 1 if you have >= glib-2.0 */
#undef SU_HAVE_GLIB
Pekka Pessi's avatar
Pekka Pessi committed
60 61 62 63

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

64 65 66
/** Define as 1 if you have getaddrinfo() function. */
#undef SU_HAVE_GETADDRINFO

Pekka Pessi's avatar
Pekka Pessi committed
67 68 69 70 71 72 73 74 75 76 77 78
/** Define as 1 if you have Winsock interface */
#undef SU_HAVE_WINSOCK
/** Define as 1 if you have Winsock2 interface */
#undef SU_HAVE_WINSOCK2     	

/** 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
79 80 81
/** Define this as 1 if we can use tags directly from stack. */
#undef SU_HAVE_TAGSTACK 

Pekka Pessi's avatar
Pekka Pessi committed
82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101
/* 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)

/**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 */