From 9d71ffc831164c7cba260d1bb3f0a968cca8c3e7 Mon Sep 17 00:00:00 2001 From: hallgren Date: Mon, 20 Jan 2014 17:06:11 +0000 Subject: Optionally include C run-time support If the C run-time library is compiled and installed on your system, you can now do 'cabal configure -fc-runtime' to get the following extras: + The haskell binding to the C run-time library will be included in the PGF library (so you can import it in Haskell applications). Documentation on the new modules will be included when you run 'cabal haddock'. + The new command 'pgf-shell', implemented on top of haskell binding to the C run-time system. + Three new commands in the web API: c-parse, c-linearize and c-translate. Their interfaces are similar to the corresponding commands without the "c-" prefix, but they should be considered preliminary. --- src/compiler/GF/Infra/BuildInfo.hs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/compiler/GF') diff --git a/src/compiler/GF/Infra/BuildInfo.hs b/src/compiler/GF/Infra/BuildInfo.hs index cba57cf2a..07f5a0bfc 100644 --- a/src/compiler/GF/Infra/BuildInfo.hs +++ b/src/compiler/GF/Infra/BuildInfo.hs @@ -18,6 +18,9 @@ buildInfo = #endif #ifdef NEW_COMP ++" new-comp" +#endif +#ifdef C_RUNTIME + ++" c-runtime" #endif where details = either (const no_info) info darcs_info -- cgit v1.2.3