Xcode: fix detection of host OS, vendor, and CPU
This commit is contained in:
parent
dd6a058992
commit
ce3e41cf4c
|
@ -12,18 +12,22 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define PACKAGE_NAME "ngIRCd"
|
#define PACKAGE_NAME "ngIRCd"
|
||||||
#define PACKAGE "ngircd"
|
# define PACKAGE "ngircd"
|
||||||
#ifndef VERSION
|
#ifndef VERSION
|
||||||
#define VERSION "??("__DATE__")"
|
# define VERSION "??("__DATE__")"
|
||||||
#endif
|
#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 SYSCONFDIR "/etc/ngircd"
|
||||||
#define DOCDIR "/usr/share/doc/ngircd"
|
#define DOCDIR "/usr/share/doc/ngircd"
|
||||||
|
|
||||||
#ifndef TARGET_VENDOR
|
|
||||||
#define TARGET_VENDOR "apple"
|
|
||||||
#define TARGET_OS "darwin"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* -- Build options -- */
|
/* -- Build options -- */
|
||||||
|
|
||||||
/* Define if debug-mode should be enabled */
|
/* Define if debug-mode should be enabled */
|
||||||
|
|
Loading…
Reference in New Issue