From 0cf66cbe85009213bcf2608eceeee1355f367667 Mon Sep 17 00:00:00 2001 From: =?utf8?q?P=C3=A1draig=20Brady?= Date: Wed, 16 Jul 2014 16:47:50 +0100 Subject: [PATCH] build: avoid building stdbuf on cygwin * configure.ac: Don't add stdbuf to the list of programs to build if EXEEXT is set, as that is not handled in configure.ac for libstdbuf.so yet (see bin_PRGRAMS handling in configure.ac). Also the LD_PRELOAD mechanism will need to be adjusted to support cygwin in any case, so avoid stdbuf completely in this case for now. Problem reported by Eric Blake. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index ae78cb1877..e061a0ad5a 100644 --- a/configure.ac +++ b/configure.ac @@ -473,7 +473,7 @@ AC_COMPILE_IFELSE( [stdbuf_supported=yes], [stdbuf_supported=no]) AC_MSG_RESULT([$stdbuf_supported]) -if test "$stdbuf_supported" = "yes"; then +if test "$stdbuf_supported" = "yes" && test -z "$EXEEXT"; then gl_ADD_PROG([optional_bin_progs], [stdbuf]) fi -- 2.47.3