configure 363 B

12345678910111213141516171819202122232425262728
  1. #!/bin/sh
  2. # OASIS_START
  3. # DO NOT EDIT (digest: dc86c2ad450f91ca10c931b6045d0499)
  4. set -e
  5. FST=true
  6. for i in "$@"; do
  7. if $FST; then
  8. set --
  9. FST=false
  10. fi
  11. case $i in
  12. --*=*)
  13. ARG=${i%%=*}
  14. VAL=${i##*=}
  15. set -- "$@" "$ARG" "$VAL"
  16. ;;
  17. *)
  18. set -- "$@" "$i"
  19. ;;
  20. esac
  21. done
  22. ocaml setup.ml -configure "$@"
  23. # OASIS_STOP