diff options
author | Pierre Chambart <pierre.chambart@ocamlpro.com> | 2016-01-06 17:48:37 +0100 |
---|---|---|
committer | Pierre Chambart <pierre.chambart@ocamlpro.com> | 2016-01-14 14:20:23 +0100 |
commit | 868b799304f3f676c0603b7752da0b5db6d33890 (patch) | |
tree | af32ef54268e68f5a91cbd1ba2625c5e77a125df /configure | |
parent | adfa4541543f68db9e1d949284f299974b867658 (diff) | |
download | ocaml-868b799304f3f676c0603b7752da0b5db6d33890.tar.gz |
Configure option for flambda
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -51,6 +51,7 @@ no_naked_pointers=false native_compiler=true TOOLPREF="" with_cfi=true +flambda=false # Try to turn internationalization off, can cause config.guess to malfunction! unset LANG @@ -162,6 +163,8 @@ while : ; do with_cfi=false;; -no-native-compiler) native_compiler=false;; + -flambda) + flambda=true;; *) if echo "$1" | grep -q -e '^--\?[a-zA-Z0-9-]\+='; then err "configure expects arguments of the form '-prefix /foo/bar'," \ "not '-prefix=/foo/bar' (note the '=')." @@ -1788,6 +1791,7 @@ echo "HOST=$host" >> Makefile if [ "$ostype" = Cygwin ]; then echo "DIFF=diff -q --strip-trailing-cr" >>Makefile fi +echo "FLAMBDA=$flambda" >> Makefile rm -f tst hasgot.c @@ -1856,6 +1860,11 @@ else else inf " profiling with gprof ..... not supported" fi + if test "$flambda" = "true"; then + inf " using flambda middle-end . yes" + else + inf " using flambda middle-end . no" + fi fi if test "$with_debugger" = "ocamldebugger"; then |