diff options
author | Pádraig Brady <P@draigBrady.com> | 2014-07-16 16:47:50 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2014-07-31 11:00:55 +0100 |
commit | 0cf66cbe85009213bcf2608eceeee1355f367667 (patch) | |
tree | 6b6444d93a0b56299ea0827f715a5b0dba1d414b | |
parent | d8a19e0336347e10c2640b01b96fd09ab7288528 (diff) | |
download | coreutils-0cf66cbe85009213bcf2608eceeee1355f367667.tar.xz |
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.
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index ae78cb187..e061a0ad5 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 |