Commit f984ada8 authored by Andrei Paskevich's avatar Andrei Paskevich

better configure on Windows, thanks to Benjamin Monate

parent 509cc380
......@@ -44,6 +44,7 @@ EXE = @EXE@
STRIP = @STRIP@
# other variables
CC = @CC@
OCAMLC = @OCAMLC@
OCAMLOPT = @OCAMLOPT@
OCAMLDEP = @OCAMLDEP@
......
......@@ -120,13 +120,22 @@ if uname -s | grep -q CYGWIN ; then
EXE=.exe
STRIP='echo "no strip "'
CPULIMIT=cpulimit-win
AC_MSG_RESULT(.exe)
AC_MSG_RESULT(.exe <Cygwin>)
else
if uname -s | grep -q MINGW ; then
EXE=.exe
STRIP=strip
CPULIMIT=cpulimit-win
AC_MSG_RESULT(.exe <MinGW>)
else
EXE=
STRIP=strip
CPULIMIT=cpulimit
AC_MSG_RESULT(<none>)
fi
fi
AC_PROG_CC()
# Check for Ocaml compilers
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment