recode-3.6-gettextfix.diff 534 B

1234567891011121314151617181920
  1. --- recode-3.6/m4/gettext.m4.old 2001-01-03 11:37:56.000000000 -0500
  2. +++ recode-3.6/m4/gettext.m4 2009-01-08 13:48:57.000000000 -0500
  3. @@ -109,12 +109,12 @@
  4. else
  5. ac_items="$LINGUAS"
  6. for ac_item in $ac_items; do
  7. - case "$ALL_LINGUAS" in
  8. - *$ac_item*)
  9. + for supported_item in $ALL_LINGUAS; do
  10. + if test "$ac_item" = "$supported_item"; then
  11. ac_print="$ac_print $ac_item"
  12. MOFILES="$MOFILES $ac_item.mo"
  13. - ;;
  14. - esac
  15. + fi
  16. + done
  17. done
  18. fi
  19. AC_SUBST(MOFILES)