components/gcc3/patches/intl.configure.patch
changeset 246 0878f7720e3e
equal deleted inserted replaced
245:3ec27968d7c8 246:0878f7720e3e
       
     1 *** gcc-3.4.3/intl/configure.orig	Sat Oct 27 14:34:29 2007
       
     2 --- gcc-3.4.3/intl/configure	Sat Oct 27 14:35:17 2007
       
     3 ***************
       
     4 *** 2779,2786 ****
       
     5         test -z "$ac_dir" && ac_dir=.
       
     6         for ac_exec_ext in '' $ac_executable_extensions; do
       
     7           if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
       
     8 !           if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
       
     9 !      (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
       
    10               ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
       
    11               break 2
       
    12             fi
       
    13 --- 2779,2786 ----
       
    14         test -z "$ac_dir" && ac_dir=.
       
    15         for ac_exec_ext in '' $ac_executable_extensions; do
       
    16           if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
       
    17 !           if $ac_dir/$ac_word /dev/null >/dev/null 2>&1 &&
       
    18 !      (if $ac_dir/$ac_word /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
       
    19               ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
       
    20               break 2
       
    21             fi
       
    22 ***************
       
    23 *** 2973,2980 ****
       
    24   
       
    25   
       
    26         if test "$GMSGFMT" != ":"; then
       
    27 !             if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
       
    28 !        (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
       
    29         : ;
       
    30       else
       
    31         GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
       
    32 --- 2973,2980 ----
       
    33   
       
    34   
       
    35         if test "$GMSGFMT" != ":"; then
       
    36 !             if $GMSGFMT /dev/null >/dev/null 2>&1 &&
       
    37 !        (if $GMSGFMT /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
       
    38         : ;
       
    39       else
       
    40         GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`