Cleanup configure checks for dup3 and fallocate
PATCH 1/1 Cleanup configure checks for dup3 and fallocate
We have a function for this which does not issue annoying warnings.
Signed-off-by Jan Kiszka <[email protected]>
---
configure | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
configure +2 -2
@@ -1580,7 +1580,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
@@ -1595,7 +1595,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
Quoted 1 line · Jan Kiszka
We have a function for this which does not issue annoying warnings.
Acked-by Riku Voipio <[email protected]>
Quoted 29 lines
Signed-off-by Jan Kiszka <[email protected]>---
configure | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)configure +2
-2@@ -1580,7 +1580,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@@ -1595,7 +1595,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