提交 78f5d726 编写于 作者: J Jan Kiszka 提交者: Anthony Liguori

Cleanup configure checks for dup3 and fallocate

We have a function for this which does not issue annoying warnings.
Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
上级 0e607a80
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册