Files
main/office/misc/recode/files/recode-3.6-gettextfix.diff
T
2016-01-01 13:24:33 +01:00

20 lines
534 B
Diff

--- recode-3.6/m4/gettext.m4.old 2001-01-03 11:37:56.000000000 -0500
+++ recode-3.6/m4/gettext.m4 2009-01-08 13:48:57.000000000 -0500
@@ -109,12 +109,12 @@
else
ac_items="$LINGUAS"
for ac_item in $ac_items; do
- case "$ALL_LINGUAS" in
- *$ac_item*)
+ for supported_item in $ALL_LINGUAS; do
+ if test "$ac_item" = "$supported_item"; then
ac_print="$ac_print $ac_item"
MOFILES="$MOFILES $ac_item.mo"
- ;;
- esac
+ fi
+ done
done
fi
AC_SUBST(MOFILES)