]> arthur.barton.de Git - ngircd-alex.git/blob - contrib/MacOSX/config.h
Clean up Xcode project file, remove outdated files, add missing
[ngircd-alex.git] / contrib / MacOSX / config.h
1 /*
2  * ngIRCd -- The Next Generation IRC Daemon
3  * Copyright (c)2001-2013 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 #define PACKAGE "ngircd"
16 #ifndef VERSION
17 #define VERSION "??("__DATE__")"
18 #endif
19 #define SYSCONFDIR "/etc/ngircd"
20 #define DOCDIR "/usr/share/doc/ngircd"
21
22 #ifndef TARGET_VENDOR
23 #define TARGET_VENDOR "apple"
24 #define TARGET_OS "darwin"
25 #endif
26
27 /* -- Build options -- */
28
29 /* Define if debug-mode should be enabled */
30 #define DEBUG 1
31
32 /* Define if the server should do IDENT requests */
33 /*#define IDENTAUTH 1*/
34
35 /* Define if IRC+ protocol should be used */
36 #define IRCPLUS 1
37
38 /* Define if IRC sniffer should be enabled */
39 /*#define SNIFFER 1*/
40
41 /* Define if syslog should be used for logging */
42 #define SYSLOG 1
43
44 /* Define if TCP wrappers should be used */
45 /*#define TCPWRAP 1*/
46
47 /* Define if zlib compression should be enabled */
48 #define ZLIB 1
49
50 /* Define if IPV6 protocol should be enabled */
51 #define WANT_IPV6 1
52
53 /* Define if PAM should be used */
54 #define PAM 1
55
56 /* Define if libiconv can be used, e.g. for CHARCONV */
57 #define ICONV 1
58
59 /* -- Supported features -- */
60
61 /* Define if SSP C support is enabled. */
62 #define ENABLE_SSP_CC 1
63
64 /* Define to 1 if the C compiler supports function prototypes. */
65 #define PROTOTYPES 1
66 /* Define like PROTOTYPES; this can be used by system headers. */
67 #define __PROTOTYPES 1
68
69 /* Define to 1 if you have the <sys/types.h> header file. */
70 #define HAVE_SYS_TYPES_H 1
71 /* Define to 1 if you have the <inttypes.h> header file. */
72 #define HAVE_INTTYPES_H 1
73 /* Define to 1 if you have the <stddef.h> header file. */
74 #define HAVE_STDDEF_H 1
75 /* Define to 1 if you have the <stdbool.h> header file. */
76 #define HAVE_STDBOOL_H 1
77 /* Define to 1 if you have the <arpa/inet.h> header file. */
78 #define HAVE_ARPA_INET_H 1
79 /* Define to 1 if you have the <netinet/ip.h> header file. */
80 #define HAVE_NETINET_IP_H 1
81
82 /* Define to 1 if you have the `gai_strerror' function. */
83 #define HAVE_GAI_STRERROR 1
84 /* Define to 1 if you have the `iconv_open' function. */
85 #define HAVE_ICONV_OPEN 1
86 /* Define to 1 if you have the `kqueue' function. */
87 #define HAVE_KQUEUE 1
88 /* Define to 1 if you have the `inet_ntoa' function. */
89 #define HAVE_INET_NTOA 1
90 /* Define to 1 if you have the `snprintf' function. */
91 #define HAVE_SNPRINTF 1
92 /* Define to 1 if you have the `strlcat' function. */
93 #define HAVE_STRLCAT 1
94 /* Define to 1 if you have the `strlcpy' function. */
95 #define HAVE_STRLCPY 1
96 /* Define to 1 if you have the `strdup' function. */
97 #define HAVE_STRDUP 1
98 /* Define to 1 if you have the `vsnprintf' function. */
99 #define HAVE_VSNPRINTF 1
100 /* Define to 1 if you have the `inet_aton' function. */
101 #define HAVE_INET_ATON 1
102 /* Define to 1 if you have the `getaddrinfo' function. */
103 #define HAVE_GETADDRINFO 1
104 /* Define to 1 if you have the `getnameinfo' function. */
105 #define HAVE_GETNAMEINFO 1
106 /* Define to 1 if you have the `sigaction' function. */
107 #define HAVE_SIGACTION 1
108 /* Define to 1 if you have the `setsid' function. */
109 #define HAVE_SETSID 1
110
111 /* Define if socklen_t exists */
112 #define HAVE_socklen_t 1
113
114 #ifdef PAM
115 /* Define to 1 if you have the `pam_authenticate' function. */
116 #define HAVE_PAM_AUTHENTICATE 1
117 #if (__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1060)
118 /* Define to 1 if you have the <pam/pam_appl.h> header file. */
119 #define HAVE_PAM_PAM_APPL_H 1
120 /* Mac OS X <10.6 doesn't have pam_fail_delay() */
121 #define NO_PAM_FAIL_DELAY 1
122 #else
123 /* Define to 1 if you have the <security/pam_appl.h> header file. */
124 #define HAVE_SECURITY_PAM_APPL_H 1
125 #endif
126 #endif
127
128 /* -eof- */