[utilize preprocessor rather than ./configure to handle System.Info
John Meacham <john@repetae.net>**20100802100036
 Ignore-this: 76681affa5b0269621974deeccda019b
] move ./lib/base/System/Info.hs.in ./lib/base/System/Info.hs
hunk ./Makefile.am 301
-    jhc-1.0.hl
+    lib/base/System/Info.hs jhc-1.0.hl
hunk ./configure.ac 77
-AC_CONFIG_FILES([Makefile jhc.spec src/Version/Config.hs lib/base/System/Info.hs docs/building.mkd src/cbits/config.h src/data/targets.ini])
+AC_CONFIG_FILES([Makefile jhc.spec src/Version/Config.hs docs/building.mkd src/cbits/config.h src/data/targets.ini])
hunk ./lib/base/System/Info.hs 1
-{-# OPTIONS_JHC -fffi #-}
+{-# OPTIONS_JHC -fm4 -fffi #-}
hunk ./lib/base/System/Info.hs 12
-compilerVersion = Version (splitup "@VERSION@") []
+compilerVersion = Version (splitup "__JHC_VERSION__") []
hunk ./src/Ho/Build.hs 63
-import Version.Config(revision)
+import Version.Config(revision,version)
hunk ./src/Ho/Build.hs 681
-        defFlags = ("-D__JHC__=" ++ revision):[ "-D" ++ d | d <- optDefs initialOpts]
+        defFlags = ("-D__JHC__=" ++ revision):("-D__JHC_VERSION__=" ++ version):[ "-D" ++ d | d <- optDefs initialOpts]