Ticket #40044: patch-m4-lg_replace_flags.m4.diff

File patch-m4-lg_replace_flags.m4.diff, 351 bytes (added by ryandesign (Ryan Carsten Schmidt), 11 years ago)
  • m4/lg_replace_flag.m4

    old new  
    55for flag in [$]$1 ; do
    66  if test x"$flag" = x"$2" ; then
    77    echo "replacing $flag with $3 in $1"
    8     out+=" $3"
     8    out="$out $3"
    99  else
    10     out+=" $flag"
     10    out="$out $flag"
    1111  fi
    1212done
    1313$1=$out