From: Alexander Barton Date: Fri, 10 Apr 2009 11:08:04 +0000 (+0200) Subject: Xcode: #define include __DATE__ in VERSION X-Git-Tag: rel-14~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d9355d53f8c9b6ed81e8df61f52cb8506b077d05;p=ngircd Xcode: #define include __DATE__ in VERSION Change VERSION to include the __DATE__ when compiling from within Xcode. When building using "make xcode" or "make osxpkg" VERSION already is defined to the "real" version number set in configure.in. --- diff --git a/contrib/MacOSX/config.h b/contrib/MacOSX/config.h index 5ed07d9b..60b06188 100644 --- a/contrib/MacOSX/config.h +++ b/contrib/MacOSX/config.h @@ -13,7 +13,7 @@ #define PACKAGE_NAME "ngircd" #ifndef VERSION -#define VERSION "??" +#define VERSION "??("__DATE__")" #endif #define SYSCONFDIR "/etc/ngircd"