X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=contrib%2FMacOSX%2Fconfig.h;h=761a68e1e2a61ad64ad5e9ffc92dfd14b8d06f95;hb=93a872a36bca8880d1285ba0222a9294d513df91;hp=f4838276ecfddcb8bccd5a42b7fb1fc410d64a5d;hpb=68cb1a8c2e507e7c99f787fab3540b904cfa1cc1;p=ngircd-alex.git diff --git a/contrib/MacOSX/config.h b/contrib/MacOSX/config.h index f4838276..761a68e1 100644 --- a/contrib/MacOSX/config.h +++ b/contrib/MacOSX/config.h @@ -12,18 +12,22 @@ */ #define PACKAGE_NAME "ngIRCd" -#define PACKAGE "ngircd" +# define PACKAGE "ngircd" #ifndef VERSION -#define VERSION "??("__DATE__")" +# define VERSION "??("__DATE__")" #endif -#define SYSCONFDIR "/etc/ngircd" -#define DOCDIR "/usr/share/doc/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 */ @@ -101,6 +105,8 @@ #define HAVE_INET_ATON 1 /* Define to 1 if you have the `getaddrinfo' function. */ #define HAVE_GETADDRINFO 1 +/* getaddrinfo(0) */ +#define HAVE_WORKING_GETADDRINFO 1 /* Define to 1 if you have the `getnameinfo' function. */ #define HAVE_GETNAMEINFO 1 /* Define to 1 if you have the `sigaction' function. */