Commit Diff
Diff:
dd6a0589929b2a02e56b1c9ad4cac3d409100d98
ce3e41cf4ce7a968bc092d7028e5744e7220c8df
Commit:
ce3e41cf4ce7a968bc092d7028e5744e7220c8df
Tree:
be9acbe5193a24c6ba9cece00dd609310188967b
Author:
Alexander Barton <alex@barton.de>
Committer:
Alexander Barton <alex@barton.de>
Date:
Wed Mar 27 11:47:12 2013 UTC
Message:
Xcode: fix detection of host OS, vendor, and CPU
blob - f4838276ecfddcb8bccd5a42b7fb1fc410d64a5d
blob + 9374ab59e27839de4a3b5cec3b19c8490992213b
--- contrib/MacOSX/config.h
+++ 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
+
+#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 */
IRCNow