(library
  (name extlib)
  (public_name extlib)
  ; -no-strict-sequence not added until 4.03!
  (flags (:standard \ -strict-sequence) -w -3)
  (modules (:standard \ configure install uChar uTF8))
  (preprocess (action (run %{bin:cppo} %{read-lines:compat-level} %{input-file})))
  (wrapped false))

(rule
  (with-stdout-to compat-level (run ocaml %{dep:configure.ml} -cppo-args)))
