components/coreutils/patches/configure.patch
branchs11-update
changeset 2399 20c46127e17a
equal deleted inserted replaced
2398:54c1297f2b4b 2399:20c46127e17a
       
     1 --- coreutils-8.16/configure.orig	2012-04-18 07:35:04.318609521 -0700
       
     2 +++ coreutils-8.16/configure	2012-04-18 07:36:27.319985971 -0700
       
     3 @@ -62005,7 +62005,6 @@
       
     4  }
       
     5  fi
       
     6  
       
     7 -# Limit stdbuf to ELF systems with GCC
       
     8  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether this is an ELF system" >&5
       
     9  $as_echo_n "checking whether this is an ELF system... " >&6; }
       
    10  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
       
    11 @@ -62024,15 +62023,17 @@
       
    12  
       
    13  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $elf_sys" >&5
       
    14  $as_echo "$elf_sys" >&6; }
       
    15 -if test "$elf_sys" = "yes" && \
       
    16 -   test "$GCC" = "yes"; then
       
    17 -  {
       
    18 -  if test -z "$optional_bin_progs"; then
       
    19 -    optional_bin_progs=stdbuf
       
    20 -  else
       
    21 -    optional_bin_progs="$optional_bin_progs stdbuf"
       
    22 -  fi
       
    23 -}
       
    24 +
       
    25 +if test -z "$optional_bin_progs"; then
       
    26 +  optional_bin_progs=stdbuf
       
    27 +else
       
    28 +  optional_bin_progs="$optional_bin_progs stdbuf"
       
    29 + fi
       
    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  ############################################################################