X-Git-Url: http://git.draconx.ca/gitweb/dxcommon.git/blobdiff_plain/c6f9cd97c0399d9bd827ac823c9f59aefa6e456c..843799dbec995b276a7d017bb32c053747b55400:/m4/linguas.m4 diff --git a/m4/linguas.m4 b/m4/linguas.m4 index 61613b6..eb6701e 100644 --- a/m4/linguas.m4 +++ b/m4/linguas.m4 @@ -32,31 +32,32 @@ if test -f "$srcdir/po/LINGUAS"; then # Ensure that if "la_CC"-style code is requested then so is plain "la". printf '%s\n' "$arg" case $arg in - *_*) printf '%s\n' "${arg%%_*}" ;; + *_*) + save_IFS=$IFS; IFS=_ + set x $arg + IFS=$save_IFS + AS_ECHO(["${2}"]) + ;; esac done } | sort -u >conftest.ena fi - ALL_LINGUAS=`cat conftest.all` - LINGUAS=`join conftest.ena conftest.all` - - # Note: $srcdir is not used here because these variables are for make. - set x $ALL_LINGUAS; shift - case ${#} in - 0) ;; - *) POFILES=`printf "po/%s.po\n" "${@}"` ;; - esac + exec 3conftest.out + exec 3