components/coreutils/patches/coreutils-8_5.patch
changeset 115 c360825c3a3f
parent 100 385905d9554d
equal deleted inserted replaced
114:6cc95ec7b1bb 115:c360825c3a3f
       
     1 --- coreutils-8.5/configure_orig	2011-02-08 16:13:56.850317000 -0800
       
     2 +++ coreutils-8.5/configure	2011-02-08 16:14:04.872411000 -0800
       
     3 @@ -53254,11 +53254,10 @@
       
     4      optional_bin_progs="$optional_bin_progs df"
       
     5    fi
       
     6  }
       
     7  fi
       
     8  
       
     9 -# Limit stdbuf to ELF systems with GCC
       
    10  optional_pkglib_progs=
       
    11  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether this is an ELF system" >&5
       
    12  $as_echo_n "checking whether this is an ELF system... " >&6; }
       
    13  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
       
    14  /* end confdefs.h.  */
       
    15 @@ -53274,28 +53273,24 @@
       
    16  fi
       
    17  rm -f conftest*
       
    18  
       
    19  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $elf_sys" >&5
       
    20  $as_echo "$elf_sys" >&6; }
       
    21 -if test "$elf_sys" = "yes" && \
       
    22 -   test "$GCC" = "yes"; then
       
    23 -  {
       
    24 -  if test -z "$optional_bin_progs"; then
       
    25 -    optional_bin_progs=stdbuf
       
    26 -  else
       
    27 -    optional_bin_progs="$optional_bin_progs stdbuf"
       
    28 -  fi
       
    29 -}
       
    30 -  {
       
    31 -  if test -z "$optional_pkglib_progs"; then
       
    32 -    optional_pkglib_progs=libstdbuf.so
       
    33 -  else
       
    34 -    optional_pkglib_progs="$optional_pkglib_progs libstdbuf.so"
       
    35 -  fi
       
    36 -}
       
    37 +
       
    38 +if test -z "$optional_bin_progs"; then
       
    39 +  optional_bin_progs=stdbuf
       
    40 +else
       
    41 +  optional_bin_progs="$optional_bin_progs stdbuf"
       
    42  fi
       
    43  
       
    44 +if test -z "$optional_pkglib_progs"; then
       
    45 +  optional_pkglib_progs=libstdbuf.so
       
    46 +else
       
    47 +  optional_pkglib_progs="$optional_pkglib_progs libstdbuf.so"
       
    48 +fi
       
    49 +
       
    50 +
       
    51  ############################################################################
       
    52  mk="$srcdir/src/Makefile.am"
       
    53  # Extract all literal names from the definition of $(EXTRA_PROGRAMS)
       
    54  # in $mk but don't expand the variable references.
       
    55  # Append each literal name to $optional_bin_progs.