diff options
| author | Alexander Barton <alex@barton.de> | 2013-03-27 12:47:12 +0100 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2013-03-27 12:47:12 +0100 |
| commit | ce3e41cf4ce7a968bc092d7028e5744e7220c8df (patch) | |
| tree | be9acbe5193a24c6ba9cece00dd609310188967b /contrib/MacOSX | |
| parent | dd6a0589929b2a02e56b1c9ad4cac3d409100d98 (diff) | |
| download | ngircd-ce3e41cf4ce7a968bc092d7028e5744e7220c8df.tar.gz ngircd-ce3e41cf4ce7a968bc092d7028e5744e7220c8df.zip | |
Xcode: fix detection of host OS, vendor, and CPU
Diffstat (limited to 'contrib/MacOSX')
| -rw-r--r-- | contrib/MacOSX/config.h | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/contrib/MacOSX/config.h b/contrib/MacOSX/config.h index f4838276..9374ab59 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 */ |