X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=contrib%2FMacOSX%2Fconfig.h;h=f4838276ecfddcb8bccd5a42b7fb1fc410d64a5d;hp=0da178dd5cba72ce87d433f3155e115ad423049b;hb=19d6f4740eb6dc058f02379b0abca96b94eb8159;hpb=b1a117cd98bad64ac56f06f854d4b00f488e44ea diff --git a/contrib/MacOSX/config.h b/contrib/MacOSX/config.h index 0da178dd..f4838276 100644 --- a/contrib/MacOSX/config.h +++ b/contrib/MacOSX/config.h @@ -1,6 +1,6 @@ /* * ngIRCd -- The Next Generation IRC Daemon - * Copyright (c)2001-2010 Alexander Barton (alex@barton.de). + * Copyright (c)2001-2013 Alexander Barton (alex@barton.de) and Contributors. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -11,11 +11,13 @@ * Static configuration file for Mac OS X Xcode project */ -#define PACKAGE_NAME "ngircd" +#define PACKAGE_NAME "ngIRCd" +#define PACKAGE "ngircd" #ifndef VERSION #define VERSION "??("__DATE__")" #endif #define SYSCONFDIR "/etc/ngircd" +#define DOCDIR "/usr/share/doc/ngircd" #ifndef TARGET_VENDOR #define TARGET_VENDOR "apple" @@ -42,9 +44,6 @@ /* Define if TCP wrappers should be used */ /*#define TCPWRAP 1*/ -/* Define if support for Zeroconf should be included */ -/*#define ZEROCONF 1*/ - /* Define if zlib compression should be enabled */ #define ZLIB 1 @@ -54,6 +53,9 @@ /* Define if PAM should be used */ #define PAM 1 +/* Define if libiconv can be used, e.g. for CHARCONV */ +#define ICONV 1 + /* -- Supported features -- */ /* Define if SSP C support is enabled. */ @@ -77,6 +79,10 @@ /* Define to 1 if you have the header file. */ #define HAVE_NETINET_IP_H 1 +/* Define to 1 if you have the `gai_strerror' function. */ +#define HAVE_GAI_STRERROR 1 +/* Define to 1 if you have the `iconv_open' function. */ +#define HAVE_ICONV_OPEN 1 /* Define to 1 if you have the `kqueue' function. */ #define HAVE_KQUEUE 1 /* Define to 1 if you have the `inet_ntoa' function. */ @@ -99,22 +105,24 @@ #define HAVE_GETNAMEINFO 1 /* Define to 1 if you have the `sigaction' function. */ #define HAVE_SIGACTION 1 +/* Define to 1 if you have the `setsid' function. */ +#define HAVE_SETSID 1 /* Define if socklen_t exists */ #define HAVE_socklen_t 1 -#ifdef ZEROCONF -/* Define to 1 if you have the header file. */ -#define HAVE_DNSSERVICEDISCOVERY_DNSSERVICEDISCOVERY_H 1 -/* Define to 1 if you have the `DNSServiceRegistrationCreate' function. */ -#define HAVE_DNSSERVICEREGISTRATIONCREATE 1 -#endif - #ifdef PAM /* Define to 1 if you have the `pam_authenticate' function. */ #define HAVE_PAM_AUTHENTICATE 1 +#if (__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1060) /* Define to 1 if you have the header file. */ #define HAVE_PAM_PAM_APPL_H 1 +/* Mac OS X <10.6 doesn't have pam_fail_delay() */ +#define NO_PAM_FAIL_DELAY 1 +#else +/* Define to 1 if you have the header file. */ +#define HAVE_SECURITY_PAM_APPL_H 1 +#endif #endif /* -eof- */