projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e607a8
)
Cleanup configure checks for dup3 and fallocate
author
Jan Kiszka
<jan.kiszka@siemens.com>
Tue, 3 Nov 2009 09:54:44 +0000
(10:54 +0100)
committer
Anthony Liguori
<aliguori@us.ibm.com>
Tue, 17 Nov 2009 14:49:38 +0000
(08:49 -0600)
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>
configure
patch
|
blob
|
history
diff --git
a/configure
b/configure
index
fb66246
..
8b545a0
100755
(executable)
--- 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