Fix the previous commit.
authorZoltan Varga <vargaz@gmail.com>
Wed, 8 Feb 2012 14:11:18 +0000 (15:11 +0100)
committerZoltan Varga <vargaz@gmail.com>
Wed, 8 Feb 2012 14:11:18 +0000 (15:11 +0100)
mono/mini/Makefile.am
mono/mini/main.c

index 6b3fc4d355ad62babca81a0fca299301a8434443..cbc9bbb905a4f785f546cb2ddc39d816283cc493 100644 (file)
@@ -151,7 +151,6 @@ mono_sgen_CFLAGS = $(SGEN_DEFINES) $(AM_CFLAGS)
 # link was done
 if SUPPORT_BOEHM
 buildver.h: libmono-static.la
-       echo FOO
        @echo "const char *build_date = \"`date`\";" > buildver.h
 mono-main.$(OBJEXT): buildver.h
 endif
index 03b7b919fc4cdb685d987f92f9e3ae17d88ccb0f..6e01e99fd3b903572c008a389db3ac7f5901563f 100644 (file)
@@ -1,8 +1,12 @@
 #include <config.h>
 #include "mini.h"
 #ifndef HOST_WIN32
+#ifdef HAVE_SGEN_GC
+#include "buildver-sgen.h"
+#else
 #include "buildver.h"
 #endif
+#endif
 
 /*
  * If the MONO_ENV_OPTIONS environment variable is set, it uses this as a