File: config_common.ml

package info (click to toggle)
ocaml-dune 3.17.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 32,324 kB
  • sloc: ml: 181,128; ansic: 3,629; sh: 1,054; lisp: 625; makefile: 171; python: 125; cpp: 48; javascript: 10
file content (11 lines) | stat: -rw-r--r-- 186 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
(* Various types used by configure and real_configure.ml *)

type switch =
  | Yes
  | No
  | Auto

let string_of_switch = function
  | Yes  -> "Yes"
  | No   -> "No"
  | Auto -> "Auto"