[add Jhc.Options module, to let programs query how they are being compiled and modify themselves accordingly
John Meacham <john@repetae.net>**20061110053335] addfile ./lib/base/Jhc/Options.hs
hunk ./lib/base/Jhc/Options.hs 1
+{-# OPTIONS_JHC -N #-}
+
+module Jhc.Options(target,Target(..)) where
+
+data Target = Grin | GhcHs | DotNet | Java
+
+
+{-# NOINLINE target #-}
+target :: Target
+target = error_target
+
+foreign import primitive "error.Jhc.Options.Target" error_target :: Target