mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-27 05:20:50 +00:00
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>
This commit is contained in:
parent
0e607a80d3
commit
78f5d72602
4
configure
vendored
4
configure
vendored
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user