#!/bin/sh # OASIS_START # DO NOT EDIT (digest: 67dd0def14e1d99625d2485f6a4d5df1) set -e FST=true for i in "$@"; do if $FST; then set -- FST=false fi case $i in --*=*) ARG=${i%%=*} VAL=${i##*=} set -- "$@" "$ARG" "$VAL" ;; *) set -- "$@" "$i" ;; esac done if [ ! -e setup.exe ] || [ _oasis -nt setup.exe ] || [ setup.ml -nt setup.exe ] || [ configure -nt setup.exe ]; then ocamlfind ocamlopt -o setup.exe setup.ml || ocamlfind ocamlc -o setup.exe setup.ml || exit 1 rm -f setup.cmi setup.cmo setup.cmx setup.o fi ./setup.exe -configure "$@" # OASIS_STOP