config.lib
branchNewGRF_ports
changeset 6870 ca3fd1fbe311
parent 6800 6c09e1e86fcb
child 6871 5a9dc001e1ad
--- a/config.lib	Thu Sep 06 19:42:48 2007 +0000
+++ b/config.lib	Sat Oct 06 21:16:00 2007 +0000
@@ -702,6 +702,9 @@
 		elif [ -d "$ROOT_DIR/.git" ] && [ -n "`git help`" ]; then
 			revision=""
 			log 1 "checking revision... git detection"
+		elif [ -d "$ROOT_DIR/.hg" ] && [ -n "`hg help`" ]; then
+			revision=""
+			log 1 "checking revision... hg detection"
 		else
 			revision=""
 			log 1 "checking revision... no detection"
@@ -745,7 +748,7 @@
 	# General CFlags for BUILD
 	CFLAGS_BUILD=""
 	# General CFlags for HOST
-	CFLAGS="$CFLAGS -D$os -DWITH_REV"
+	CFLAGS="$CFLAGS -D$os"
 	# CFlags for HOST and C-Compiler
 	CC_FLAGS=""
 	# Libs to compile. In fact this is just LDFLAGS