Updating branch refs/heads/master to 0ec84f42a1dc3184cab04348b9b0147d95bc4203 (commit) from fe79d1bf25ac86d5472a1870196f6f72c750dd04 (commit)
commit 0ec84f42a1dc3184cab04348b9b0147d95bc4203 Author: Enrico Tröger <enr...@xfce.org> Date: Sun Jan 17 19:03:59 2010 +0100 Respect the LINGUAS environment variable when configuring the build system This time for the autotools based build configure.ac | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index b813474..4ac4b65 100644 --- a/configure.ac +++ b/configure.ac @@ -37,10 +37,15 @@ GETTEXT_PACKAGE=gigolo AC_SUBST(GETTEXT_PACKAGE) AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Gettext package.]) -if test -z "$conf_dir" ; then - conf_dir="." +if [ "${LINGUAS}" ] +then + ALL_LINGUAS="${LINGUAS}" +else + if test -z "$conf_dir" ; then + conf_dir="." + fi + ALL_LINGUAS=`cd "$conf_dir/po" 2>/dev/null && ls *.po 2>/dev/null | $AWK 'BEGIN { FS="."; ORS=" " } { print $1 }'` fi -ALL_LINGUAS=`cd "$conf_dir/po" 2>/dev/null && ls *.po 2>/dev/null | $AWK 'BEGIN { FS="."; ORS=" " } { print $1 }'` AM_GLIB_GNU_GETTEXT # workaround for intltool bug (http://bugzilla.gnome.org/show_bug.cgi?id=490845) _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org http://foo-projects.org/mailman/listinfo/xfce4-commits