summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMark Shinwell <mshinwell@janestreet.com>2014-05-30 12:49:24 +0000
committerMark Shinwell <mshinwell@janestreet.com>2014-05-30 12:49:24 +0000
commitec9672749700ee2bd466fb70fc003b09b6fe59d1 (patch)
tree50f30ca4cf05d3626244132a2993ab46ef0ef558 /configure
parent60d0af57c40b51394e51333994f5434252b8a52f (diff)
downloadocaml-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-xconfigure5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure b/configure
index 7800ba1ddb..74d489f10a 100755
--- a/configure
+++ b/configure
@@ -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