Xcode: fix detection of host OS, vendor, and CPU

This commit is contained in:
Alexander Barton 2013-03-27 12:47:12 +01:00
parent dd6a058992
commit ce3e41cf4c
1 changed files with 11 additions and 7 deletions

View File

@ -12,18 +12,22 @@
*/
#define PACKAGE_NAME "ngIRCd"
#define PACKAGE "ngircd"
# define PACKAGE "ngircd"
#ifndef VERSION
#define VERSION "??("__DATE__")"
# define VERSION "??("__DATE__")"
#endif
#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"
#ifndef TARGET_VENDOR
#define TARGET_VENDOR "apple"
#define TARGET_OS "darwin"
#endif
/* -- Build options -- */
/* Define if debug-mode should be enabled */