File: configure.ml

package info (click to toggle)
ocaml-obuild 0.2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,456 kB
  • sloc: ml: 14,491; sh: 211; ansic: 34; makefile: 11
file content (8 lines) | stat: -rw-r--r-- 361 bytes parent folder | download
1
2
3
4
5
6
7
8
let version = Sys.ocaml_version in
ignore (Sys.command "rm -f lib/base/compat.ml");
if version < "4.02.0" then
  Sys.command "cat compat_common.ml compat401.ml > lib/base/compat.ml"
else if version < "4.03.0" then
  Sys.command "cat compat_common.ml compat402.ml > lib/base/compat.ml"
else
  Sys.command "cat compat_common.ml compat403.ml > lib/base/compat.ml"