diff --git a/configure.ac b/configure.ac
index 66c8cbe..3f546e9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -475,7 +475,8 @@ AC_LINK_IFELSE(
{
stdbuf = 1;
}]],[[
- return !(stdbuf == 1);]])
+ if (stdbuf != 1)
+ return 1;]])
],
[stdbuf_supported=yes])
AC_MSG_RESULT([$stdbuf_supported])
How about the attached (untested) patch instead? It should fix the
underlying problem, and thus avoid the need for fiddling with compiler
flags.
- bug#22087: Problem with stdbuf configure test for 8.24 on S... Rich Burridge
- bug#22087: Problem with stdbuf configure test for 8.24... Pádraig Brady
- bug#22087: Problem with stdbuf configure test for ... Rich Burridge
- bug#22087: Problem with stdbuf configure test ... Paul Eggert
- bug#22087: Problem with stdbuf configure t... Bob Proulx
- bug#22087: Problem with stdbuf config... Eric Blake
- bug#22087: Problem with stdbuf co... Bob Proulx
- bug#22087: Problem with stdbuf configure t... Rich Burridge
- bug#22087: Problem with stdbuf config... Paul Eggert
