summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2009-11-03 10:54:44 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-11-17 08:49:38 -0600
commit78f5d726027d91065f11ea6b3e601492e0c1ff1d (patch)
treeb26ca37408f2f5e85ab6c177eab69c15e9bbd167 /configure
parent0e607a80d323ba9f46dee71cd07380c4eb5c2b0a (diff)
downloadqemu-78f5d726027d91065f11ea6b3e601492e0c1ff1d.zip
Cleanup configure checks for dup3 and fallocate
We have a function for this which does not issue annoying warnings. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index fb66246a74..8b545a0364 100755
--- a/configure
+++ b/configure
@@ -1585,7 +1585,7 @@ int main(void)
return 0;
}
EOF
-if $cc $ARCH_CFLAGS -o $TMPE $TMPC 2> /dev/null ; then
+if compile_prog "" "" ; then
fallocate=yes
fi
@@ -1600,7 +1600,7 @@ int main(void)
return 0;
}
EOF
-if $cc $ARCH_CFLAGS -o $TMPE $TMPC 2> /dev/null ; then
+if compile_prog "" "" ; then
dup3=yes
fi