mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 19:42:50 -06:00
gf-server.cabal: flag to include C run-time support in the FastCGI PGF service
This commit is contained in:
@@ -16,6 +16,10 @@ flag http
|
|||||||
Description: Build pgf-http (deprecated, replaced by gf -server)
|
Description: Build pgf-http (deprecated, replaced by gf -server)
|
||||||
Default: False
|
Default: False
|
||||||
|
|
||||||
|
flag c-runtime
|
||||||
|
Description: Include functionality from the C run-time library (which must be installed already)
|
||||||
|
Default: False
|
||||||
|
|
||||||
Library
|
Library
|
||||||
exposed-modules: PGFService FastCGIUtils ServeStaticFile RunHTTP
|
exposed-modules: PGFService FastCGIUtils ServeStaticFile RunHTTP
|
||||||
other-modules: Cache URLEncoding Fold
|
other-modules: Cache URLEncoding Fold
|
||||||
@@ -27,7 +31,7 @@ Library
|
|||||||
filepath,
|
filepath,
|
||||||
containers,
|
containers,
|
||||||
process,
|
process,
|
||||||
gf >= 3.1,
|
gf >= 3.5.12,
|
||||||
cgi >= 3001.1.7.3,
|
cgi >= 3001.1.7.3,
|
||||||
httpd-shed,
|
httpd-shed,
|
||||||
mtl,
|
mtl,
|
||||||
@@ -42,6 +46,9 @@ Library
|
|||||||
else
|
else
|
||||||
build-depends: unix
|
build-depends: unix
|
||||||
|
|
||||||
|
if flag(c-runtime)
|
||||||
|
cpp-options: -DC_RUNTIME
|
||||||
|
|
||||||
executable pgf-http
|
executable pgf-http
|
||||||
main-is: pgf-http.hs
|
main-is: pgf-http.hs
|
||||||
Hs-source-dirs: exec
|
Hs-source-dirs: exec
|
||||||
|
|||||||
Reference in New Issue
Block a user