Skip to content
Snippets Groups Projects
Commit 807a2998 authored by Andre Maroneze's avatar Andre Maroneze Committed by Virgile Prevosto
Browse files

[configure] Remove deprecated -vmthread flag

Thanks to madroach for spotting the issue and providing a patch.
parent be164026
No related branches found
No related tags found
No related merge requests found
...@@ -430,23 +430,20 @@ else ...@@ -430,23 +430,20 @@ else
EXE= EXE=
fi fi
if test "$OCAMLBEST" = opt; then # OCaml native threads
# OCaml native threads AC_MSG_CHECKING([OCaml native threads])
AC_MSG_CHECKING([OCaml native threads]) echo "let f = Thread.create (fun () -> ())" > test_native_threads.ml
echo "let f = Thread.create (fun () -> ())" > test_native_threads.ml if
if ($OCAMLOPT -thread -o test_native_threads unix.cmxa threads.cmxa \ ($OCAMLC -thread -o test_native_threads unix.cma threads.cma \
test_native_threads.ml) 2> /dev/null ; test_native_threads.ml) 2> /dev/null
then then
HAS_NATIVE_THREADS=yes HAS_NATIVE_THREADS=yes
AC_MSG_RESULT([ok.]); AC_MSG_RESULT([ok.]);
else
HAS_NATIVE_THREADS=no
AC_MSG_WARN([unsupported.]);
fi
rm -f test_native_threads*;
else else
HAS_NATIVE_THREADS=no; # no native compilation anyway HAS_NATIVE_THREADS=no
fi AC_MSG_WARN([unsupported.]);
fi
rm -f test_native_threads*;
fi fi
# C and POSIX standard headers used by C bindings. # C and POSIX standard headers used by C bindings.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment