summaryrefslogtreecommitdiff
path: root/src/config.sml.in
blob: 1d7e450fa634d7263fd819f771cef50e063ae9c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
structure Config :> CONFIG = struct

val bin = "@BIN@"
val lib = "@LIB@"
val includ = "@INCLUDE@"
val sitelisp = "@SITELISP@"

val libUr = OS.Path.joinDirFile {dir = lib,
                                 file = "ur"}
val libC = OS.Path.joinDirFile {dir = lib,
                                file = "c"}
val libJs = OS.Path.joinDirFile {dir = lib,
                                 file = "js"}

val ccompiler = "@CC@"
val ccArgs = "@CCARGS@"
val openssl = "@OPENSSL_LDFLAGS@ @OPENSSL_LIBS@"

val pgheader = "@PGHEADER@"
val msheader = "@MSHEADER@"
val sqheader = "@SQHEADER@"

val versionNumber  = "@VERSION@"
val versionString  = "The Ur/Web compiler, version " ^ versionNumber

val pthreadCflags = "@PTHREAD_CFLAGS@"
val pthreadLibs = "@PTHREAD_LIBS@"

end