X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=contrib%2FMacOSX%2Fconfig.h;h=5b47e9da7ac277b4baf8411013dff10bc2611f76;hp=8882e4691e0d337b80541a1fc48bb98852663d02;hb=0ae74ceaedef2583c333b7cf2a95802009d7707e;hpb=761ae2b1a41a6b61a29e8e4bede958c27bb91584 diff --git a/contrib/MacOSX/config.h b/contrib/MacOSX/config.h index 8882e469..5b47e9da 100644 --- a/contrib/MacOSX/config.h +++ b/contrib/MacOSX/config.h @@ -1,6 +1,6 @@ /* * ngIRCd -- The Next Generation IRC Daemon - * Copyright (c)2001-2007 Alexander Barton (alex@barton.de). + * Copyright (c)2001-2011 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 @@ -8,15 +8,20 @@ * (at your option) any later version. * Please read the file COPYING, README and AUTHORS for more information. * - * $Id: config.h,v 1.1 2007/11/19 22:11:36 alex Exp $ - * * Static configuration file for Mac OS X Xcode project */ #define PACKAGE_NAME "ngircd" -#define VERSION "??" +#ifndef VERSION +#define VERSION "??("__DATE__")" +#endif #define SYSCONFDIR "/etc/ngircd" +#ifndef TARGET_VENDOR +#define TARGET_VENDOR "apple" +#define TARGET_OS "darwin" +#endif + /* -- Build options -- */ /* Define if debug-mode should be enabled */ @@ -37,12 +42,15 @@ /* 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 +/* Define if IPV6 protocol should be enabled */ +#define WANT_IPV6 1 + +/* Define if PAM should be used */ +#define PAM 1 + /* -- Supported features -- */ /* Define if SSP C support is enabled. */ @@ -63,7 +71,11 @@ #define HAVE_STDBOOL_H 1 /* Define to 1 if you have the header file. */ #define HAVE_ARPA_INET_H 1 +/* 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 `kqueue' function. */ #define HAVE_KQUEUE 1 /* Define to 1 if you have the `inet_ntoa' function. */ @@ -78,15 +90,30 @@ #define HAVE_STRDUP 1 /* Define to 1 if you have the `vsnprintf' function. */ #define HAVE_VSNPRINTF 1 +/* Define to 1 if you have the `inet_aton' function. */ +#define HAVE_INET_ATON 1 +/* Define to 1 if you have the `getaddrinfo' function. */ +#define HAVE_GETADDRINFO 1 +/* Define to 1 if you have the `getnameinfo' function. */ +#define HAVE_GETNAMEINFO 1 +/* Define to 1 if you have the `sigaction' function. */ +#define HAVE_SIGACTION 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 +#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- */