summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorAlain Frisch <alain@frisch.fr>2012-04-18 07:17:58 +0000
committerAlain Frisch <alain@frisch.fr>2012-04-18 07:17:58 +0000
commit061ed556888aed2c84267caca6a6ab832eb2da46 (patch)
treedd594255e06294b863e40a382af794adb60682aa /configure
parent215e508e8bd53f7299ffd7d828794e2f4d4ba6f4 (diff)
parent3930c2fd79e43bd02e3bc79d6b047f3aeab0effe (diff)
downloadocaml-more_unboxing.tar.gz
Sync with trunk.more_unboxing
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/more_unboxing@12369 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 4937fc9719..4ed6ce1b20 100755
--- a/configure
+++ b/configure
@@ -1116,6 +1116,11 @@ if sh ./hasgot -i sys/types.h -i sys/mman.h && sh ./hasgot mmap munmap; then
echo "#define HAS_MMAP" >> s.h
fi
+if sh ./hasgot pwrite; then
+ echo "pwrite() found"
+ echo "#define HAS_PWRITE" >> s.h
+fi
+
nargs=none
for i in 5 6; do
if sh ./trycompile -DNUM_ARGS=${i} gethostbyname.c; then nargs=$i; break; fi