]> arthur.barton.de Git - ngircd-alex.git/blob - contrib/MacOSX/config.h
5b47e9da7ac277b4baf8411013dff10bc2611f76
[ngircd-alex.git] / contrib / MacOSX / config.h
1 /*
2  * ngIRCd -- The Next Generation IRC Daemon
3  * Copyright (c)2001-2011 Alexander Barton (alex@barton.de) and Contributors.
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  * Please read the file COPYING, README and AUTHORS for more information.
10  *
11  * Static configuration file for Mac OS X Xcode project
12  */
13
14 #define PACKAGE_NAME "ngircd"
15 #ifndef VERSION
16 #define VERSION "??("__DATE__")"
17 #endif
18 #define SYSCONFDIR "/etc/ngircd"
19
20 #ifndef TARGET_VENDOR
21 #define TARGET_VENDOR "apple"
22 #define TARGET_OS "darwin"
23 #endif
24
25 /* -- Build options -- */
26
27 /* Define if debug-mode should be enabled */
28 #define DEBUG 1
29
30 /* Define if the server should do IDENT requests */
31 /*#define IDENTAUTH 1*/
32
33 /* Define if IRC+ protocol should be used */
34 #define IRCPLUS 1
35
36 /* Define if IRC sniffer should be enabled */
37 /*#define SNIFFER 1*/
38
39 /* Define if syslog should be used for logging */
40 #define SYSLOG 1
41
42 /* Define if TCP wrappers should be used */
43 /*#define TCPWRAP 1*/
44
45 /* Define if zlib compression should be enabled */
46 #define ZLIB 1
47
48 /* Define if IPV6 protocol should be enabled */
49 #define WANT_IPV6 1
50
51 /* Define if PAM should be used */
52 #define PAM 1
53
54 /* -- Supported features -- */
55
56 /* Define if SSP C support is enabled. */
57 #define ENABLE_SSP_CC 1
58
59 /* Define to 1 if the C compiler supports function prototypes. */
60 #define PROTOTYPES 1
61 /* Define like PROTOTYPES; this can be used by system headers. */
62 #define __PROTOTYPES 1
63
64 /* Define to 1 if you have the <sys/types.h> header file. */
65 #define HAVE_SYS_TYPES_H 1
66 /* Define to 1 if you have the <inttypes.h> header file. */
67 #define HAVE_INTTYPES_H 1
68 /* Define to 1 if you have the <stddef.h> header file. */
69 #define HAVE_STDDEF_H 1
70 /* Define to 1 if you have the <stdbool.h> header file. */
71 #define HAVE_STDBOOL_H 1
72 /* Define to 1 if you have the <arpa/inet.h> header file. */
73 #define HAVE_ARPA_INET_H 1
74 /* Define to 1 if you have the <netinet/ip.h> header file. */
75 #define HAVE_NETINET_IP_H 1
76
77 /* Define to 1 if you have the `gai_strerror' function. */
78 #define HAVE_GAI_STRERROR 1
79 /* Define to 1 if you have the `kqueue' function. */
80 #define HAVE_KQUEUE 1
81 /* Define to 1 if you have the `inet_ntoa' function. */
82 #define HAVE_INET_NTOA 1
83 /* Define to 1 if you have the `snprintf' function. */
84 #define HAVE_SNPRINTF 1
85 /* Define to 1 if you have the `strlcat' function. */
86 #define HAVE_STRLCAT 1
87 /* Define to 1 if you have the `strlcpy' function. */
88 #define HAVE_STRLCPY 1
89 /* Define to 1 if you have the `strdup' function. */
90 #define HAVE_STRDUP 1
91 /* Define to 1 if you have the `vsnprintf' function. */
92 #define HAVE_VSNPRINTF 1
93 /* Define to 1 if you have the `inet_aton' function. */
94 #define HAVE_INET_ATON 1
95 /* Define to 1 if you have the `getaddrinfo' function. */
96 #define HAVE_GETADDRINFO 1
97 /* Define to 1 if you have the `getnameinfo' function. */
98 #define HAVE_GETNAMEINFO 1
99 /* Define to 1 if you have the `sigaction' function. */
100 #define HAVE_SIGACTION 1
101
102 /* Define if socklen_t exists */
103 #define HAVE_socklen_t 1
104
105 #ifdef PAM
106 /* Define to 1 if you have the `pam_authenticate' function. */
107 #define HAVE_PAM_AUTHENTICATE 1
108 #if (__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1060)
109 /* Define to 1 if you have the <pam/pam_appl.h> header file. */
110 #define HAVE_PAM_PAM_APPL_H 1
111 /* Mac OS X <10.6 doesn't have pam_fail_delay() */
112 #define NO_PAM_FAIL_DELAY 1
113 #else
114 /* Define to 1 if you have the <security/pam_appl.h> header file. */
115 #define HAVE_SECURITY_PAM_APPL_H 1
116 #endif
117 #endif
118
119 /* -eof- */