diff options
author | Mark Shinwell <mshinwell@janestreet.com> | 2014-05-30 12:49:24 +0000 |
---|---|---|
committer | Mark Shinwell <mshinwell@janestreet.com> | 2014-05-30 12:49:24 +0000 |
commit | ec9672749700ee2bd466fb70fc003b09b6fe59d1 (patch) | |
tree | 50f30ca4cf05d3626244132a2993ab46ef0ef558 /configure | |
parent | 60d0af57c40b51394e51333994f5434252b8a52f (diff) | |
download | ocaml-ec9672749700ee2bd466fb70fc003b09b6fe59d1.tar.gz |
merge from 4.02 (rev. 14929): add configure detection of mkstemp, remove old HAVE_MKSTEMP conditional, rename HAVE_MKSTEMP -> HAS_MKSTEMP
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14930 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1300,6 +1300,11 @@ if test $nargs != "none"; then echo "#define HAS_GETHOSTBYADDR_R $nargs" >> s.h fi +if sh ./hasgot mkstemp; then + inf "mkstemp() found" + echo "#define HAS_MKSTEMP" >> s.h +fi + # Determine if the debugger is supported if test -n "$with_debugger"; then |