Mercurial > urweb
annotate src/config.sml.in @ 1520:b5517f47b1f1
Tracking and printing of version numbers (based on a patch by Austin Seipp)
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Tue, 02 Aug 2011 13:33:38 -0400 |
parents | 3d0cc841cafd |
children | 52fbd8534ef3 |
rev | line source |
---|---|
adamc@378 | 1 structure Config :> CONFIG = struct |
adamc@378 | 2 |
adamc@378 | 3 val bin = "@BIN@" |
adamc@378 | 4 val lib = "@LIB@" |
adamc@378 | 5 val includ = "@INCLUDE@" |
adamc@378 | 6 val sitelisp = "@SITELISP@" |
adamc@378 | 7 |
adamc@378 | 8 val libUr = OS.Path.joinDirFile {dir = lib, |
adamc@378 | 9 file = "ur"} |
adamc@378 | 10 val libC = OS.Path.joinDirFile {dir = lib, |
adamc@378 | 11 file = "c"} |
adamc@569 | 12 val libJs = OS.Path.joinDirFile {dir = lib, |
adamc@569 | 13 file = "js"} |
adamc@378 | 14 |
adam@1474 | 15 val ccompiler = "@CC@" |
adamc@435 | 16 val gccArgs = "@GCCARGS@" |
adam@1368 | 17 val openssl = "@OPENSSL_LDFLAGS@ @OPENSSL_LIBS@" |
adamc@435 | 18 |
adam@1464 | 19 val pgheader = "@PGHEADER@" |
adam@1464 | 20 val msheader = "@MSHEADER@" |
adam@1464 | 21 val sqheader = "@SQHEADER@" |
adam@1464 | 22 |
adam@1520 | 23 val versionNumber = "@VERSION@" |
adam@1520 | 24 val versionString = "The Ur/Web compiler, version " ^ versionNumber |
adam@1520 | 25 |
adamc@378 | 26 end |