]> arthur.barton.de Git - ngircd-alex.git/commitdiff
Xcode: #define include __DATE__ in VERSION
authorAlexander Barton <alex@barton.de>
Fri, 10 Apr 2009 11:08:04 +0000 (13:08 +0200)
committerAlexander Barton <alex@barton.de>
Fri, 10 Apr 2009 11:08:04 +0000 (13:08 +0200)
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.

contrib/MacOSX/config.h

index 5ed07d9bb37c7730433dc005e2e7743c208bd33b..60b0618845bd78a70e4e40d389d2487e10fcab2d 100644 (file)
@@ -13,7 +13,7 @@
 
 #define PACKAGE_NAME "ngircd"
 #ifndef VERSION
-#define VERSION "??"
+#define VERSION "??("__DATE__")"
 #endif
 #define SYSCONFDIR "/etc/ngircd"