]> arthur.barton.de Git - ngircd-alex.git/blob - contrib/MacOSX/config.h
bf94d327fb337e024eeb8c44501c8821e827863d
[ngircd-alex.git] / contrib / MacOSX / config.h
1 /*
2  * ngIRCd -- The Next Generation IRC Daemon
3  * Copyright (c)2001-2012 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 /* Define if libiconv can be used, e.g. for CHARCONV */
55 #define ICONV 1
56
57 /* -- Supported features -- */
58
59 /* Define if SSP C support is enabled. */
60 #define ENABLE_SSP_CC 1
61
62 /* Define to 1 if the C compiler supports function prototypes. */
63 #define PROTOTYPES 1
64 /* Define like PROTOTYPES; this can be used by system headers. */
65 #define __PROTOTYPES 1
66
67 /* Define to 1 if you have the <sys/types.h> header file. */
68 #define HAVE_SYS_TYPES_H 1
69 /* Define to 1 if you have the <inttypes.h> header file. */
70 #define HAVE_INTTYPES_H 1
71 /* Define to 1 if you have the <stddef.h> header file. */
72 #define HAVE_STDDEF_H 1
73 /* Define to 1 if you have the <stdbool.h> header file. */
74 #define HAVE_STDBOOL_H 1
75 /* Define to 1 if you have the <arpa/inet.h> header file. */
76 #define HAVE_ARPA_INET_H 1
77 /* Define to 1 if you have the <netinet/ip.h> header file. */
78 #define HAVE_NETINET_IP_H 1
79
80 /* Define to 1 if you have the `gai_strerror' function. */
81 #define HAVE_GAI_STRERROR 1
82 /* Define to 1 if you have the `iconv_open' function. */
83 #define HAVE_ICONV_OPEN 1
84 /* Define to 1 if you have the `kqueue' function. */
85 #define HAVE_KQUEUE 1
86 /* Define to 1 if you have the `inet_ntoa' function. */
87 #define HAVE_INET_NTOA 1
88 /* Define to 1 if you have the `snprintf' function. */
89 #define HAVE_SNPRINTF 1
90 /* Define to 1 if you have the `strlcat' function. */
91 #define HAVE_STRLCAT 1
92 /* Define to 1 if you have the `strlcpy' function. */
93 #define HAVE_STRLCPY 1
94 /* Define to 1 if you have the `strdup' function. */
95 #define HAVE_STRDUP 1
96 /* Define to 1 if you have the `vsnprintf' function. */
97 #define HAVE_VSNPRINTF 1
98 /* Define to 1 if you have the `inet_aton' function. */
99 #define HAVE_INET_ATON 1
100 /* Define to 1 if you have the `getaddrinfo' function. */
101 #define HAVE_GETADDRINFO 1
102 /* Define to 1 if you have the `getnameinfo' function. */
103 #define HAVE_GETNAMEINFO 1
104 /* Define to 1 if you have the `sigaction' function. */
105 #define HAVE_SIGACTION 1
106 /* Define to 1 if you have the `setsid' function. */
107 #define HAVE_SETSID 1
108
109 /* Define if socklen_t exists */
110 #define HAVE_socklen_t 1
111
112 #ifdef PAM
113 /* Define to 1 if you have the `pam_authenticate' function. */
114 #define HAVE_PAM_AUTHENTICATE 1
115 #if (__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1060)
116 /* Define to 1 if you have the <pam/pam_appl.h> header file. */
117 #define HAVE_PAM_PAM_APPL_H 1
118 /* Mac OS X <10.6 doesn't have pam_fail_delay() */
119 #define NO_PAM_FAIL_DELAY 1
120 #else
121 /* Define to 1 if you have the <security/pam_appl.h> header file. */
122 #define HAVE_SECURITY_PAM_APPL_H 1
123 #endif
124 #endif
125
126 /* -eof- */