Index: /trunk/FACT++/Makefile.am
===================================================================
--- /trunk/FACT++/Makefile.am	(revision 11387)
+++ /trunk/FACT++/Makefile.am	(revision 11388)
@@ -4,4 +4,6 @@
 
 ACLOCAL_AMFLAGS = -I .macro_dir
+
+SVN_REVISION = -DREVISION=\"`svnversion -n .`\"
 
 DIM_FLAGS    = -DMIPSEL -DPROTOCOL=1 -Dunix -Dlinux
@@ -9,5 +11,6 @@
 
 AM_CPPFLAGS = -Idim/dim $(DIM_FLAGS) $(BOOST_FLAGS) $(ROOTCPPFLAGS) \
-   -O3 -Wall -Winit-self -Wpointer-arith -Wcast-align -Wextra -Wformat=2
+   -O3 -Wall -Winit-self -Wpointer-arith -Wcast-align -Wextra -Wformat=2 \
+   $(SVN_REVISION)
 
 AM_CXXFLAGS = $(AM_CPPFLAGS) $(QT4_INCLUDES) \
Index: /trunk/FACT++/Makefile.in
===================================================================
--- /trunk/FACT++/Makefile.in	(revision 11387)
+++ /trunk/FACT++/Makefile.in	(revision 11388)
@@ -625,8 +625,10 @@
 #-------------------------------------------------------------------------
 ACLOCAL_AMFLAGS = -I .macro_dir
+SVN_REVISION = -DREVISION=\"`svnversion -n .`\"
 DIM_FLAGS = -DMIPSEL -DPROTOCOL=1 -Dunix -Dlinux
 BOOST_FLAGS = -DBOOST_DISABLE_ASSERTS
 AM_CPPFLAGS = -Idim/dim $(DIM_FLAGS) $(BOOST_FLAGS) $(ROOTCPPFLAGS) \
-   -O3 -Wall -Winit-self -Wpointer-arith -Wcast-align -Wextra -Wformat=2
+   -O3 -Wall -Winit-self -Wpointer-arith -Wcast-align -Wextra -Wformat=2 \
+   $(SVN_REVISION)
 
 AM_CXXFLAGS = $(AM_CPPFLAGS) $(QT4_INCLUDES) \
Index: /trunk/FACT++/src/Main.h
===================================================================
--- /trunk/FACT++/src/Main.h	(revision 11387)
+++ /trunk/FACT++/src/Main.h	(revision 11388)
@@ -62,8 +62,8 @@
     const Time now;
     io_service.Write(now, "---------------------------- Program ----------------------------");
-    io_service.Write(now, " Time: "+now.GetAsStr("%c"));
+    io_service.Write(now, " Current time: "+now.GetAsStr("%c"));
     io_service.Write(now, " Name: "+conf.GetName());
     io_service.Write(now, " Compiled: "__DATE__" "__TIME__);
-    io_service.Write(now, $Rev$);
+    io_service.Write(now, " Revision: "REVISION);
     io_service.Write(now, "---------------------------- Options ----------------------------");
     const multimap<string,string> map = conf.GetOptions();
