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.
This commit is contained in:
Alexander Barton 2009-04-10 13:08:04 +02:00
parent 8c0137a6e0
commit d9355d53f8
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@
#define PACKAGE_NAME "ngircd"
#ifndef VERSION
#define VERSION "??"
#define VERSION "??("__DATE__")"
#endif
#define SYSCONFDIR "/etc/ngircd"