X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=contrib%2FMacOSX%2Fconfig.h;h=9374ab59e27839de4a3b5cec3b19c8490992213b;hp=86b460b159fceccc9201b8a18dcced65548da37d;hb=46d43dc09c82e05762ec05585eed65ba953e6887;hpb=7795b07c53f29bfdcfb2e4ebb5a9d18e283773c0 diff --git a/contrib/MacOSX/config.h b/contrib/MacOSX/config.h index 86b460b1..9374ab59 100644 --- a/contrib/MacOSX/config.h +++ b/contrib/MacOSX/config.h @@ -1,6 +1,6 @@ /* * ngIRCd -- The Next Generation IRC Daemon - * Copyright (c)2001-2011 Alexander Barton (alex@barton.de) and Contributors. + * 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,17 +11,23 @@ * 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__")" +# define VERSION "??("__DATE__")" #endif -#define SYSCONFDIR "/etc/ngircd" -#ifndef TARGET_VENDOR -#define TARGET_VENDOR "apple" -#define TARGET_OS "darwin" +#ifndef HOST_VENDOR +# define HOST_VENDOR "apple" +# define HOST_OS "darwin" +# ifdef __x86_64 +# define HOST_CPU "x86_64" +# endif #endif +#define SYSCONFDIR "/etc/ngircd" +#define DOCDIR "/usr/share/doc/ngircd" + /* -- Build options -- */ /* Define if debug-mode should be enabled */ @@ -51,6 +57,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. */ @@ -74,6 +83,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. */ @@ -96,6 +109,8 @@ #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