diff options
Diffstat (limited to 'config/Makefile.switch-compiler')
| -rw-r--r-- | config/Makefile.switch-compiler | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/config/Makefile.switch-compiler b/config/Makefile.switch-compiler deleted file mode 100644 index b7cb2c7a70..0000000000 --- a/config/Makefile.switch-compiler +++ /dev/null @@ -1,22 +0,0 @@ -include Makefile - -enable disable: - @case "$@" in \ - "enable") C1="#"; C2=" ";; \ - "disable") C1=" "; C2="#";; \ - *) echo "Unknown action." 1>&2 ; exit 1;; \ - esac; \ - \ - if ! test -e "ocamlcomp"; then \ - echo ' CAMLC_BIN="$(CAMLC_BIN_BOOT)" # BOOT' >> "ocamlcomp"; \ - echo '# CAMLC_BIN="$(CAMLC_BIN_BYTE)" # BYTE' >> "ocamlcomp"; \ - echo '# CAMLC_BIN="$(CAMLC_BIN_OPT)" # OPT ' >> "ocamlcomp"; \ - echo ' CAMLOPT_BIN="no-opt-compiler-available" # NONE' >> "ocamlcomp"; \ - echo '# CAMLOPT_BIN="$(CAMLOPT_BIN_BYTE)" # BYTE' >> "ocamlcomp"; \ - echo '# CAMLOPT_BIN="$(CAMLOPT_BIN_OPT)" # OPT ' >> "ocamlcomp"; \ - fi; \ - \ - sed -e "/^$${C1} \($(COMPILER)_BIN\).*# $(VARIANT)/ s/$${C1}/$${C2}/" \ - "ocamlcomp" \ - > "ocamlcomp.tmp" ; \ - mv "ocamlcomp.tmp" "ocamlcomp" |
