ooo-build r13958 - branches/ooo-build-3-0
- From: szalaik svn gnome org
- To: svn-commits-list gnome org
- Subject: ooo-build r13958 - branches/ooo-build-3-0
- Date: Fri, 19 Sep 2008 07:59:54 +0000 (UTC)
Author: szalaik
Date: Fri Sep 19 07:59:54 2008
New Revision: 13958
URL: http://svn.gnome.org/viewvc/ooo-build?rev=13958&view=rev
Log:
2008-09-19 Kalman Szalai - KAMI <kamihir freemail hu>
* configure.in: --with-sun-templates option only uses supported languages.
Currently supported languages are: en-US de it fr es
All non supported languages will be ignored.
Modified:
branches/ooo-build-3-0/ChangeLog
branches/ooo-build-3-0/configure.in
Modified: branches/ooo-build-3-0/configure.in
==============================================================================
--- branches/ooo-build-3-0/configure.in (original)
+++ branches/ooo-build-3-0/configure.in Fri Sep 19 07:59:54 2008
@@ -1192,14 +1192,25 @@
AC_SUBST(SYSTEM_LIBWPG)
-AC_MSG_CHECKING([for SUN templates intergration])
+AC_MSG_CHECKING([for SUN templates intergration (only supported languages displayed)])
+SUNTEMPLATES_LANG=
if test "z$with_sun_templates" = "zyes" ; then
- SUNTEMPLATES_LANG="$with_lang"
-elif test "z$with_sun_templates" = "z" -o "z$with_lang" = "zno" ; then
+ for sun_supported_lang in en-US de it fr es
+ do
+ if test -n "`echo $with_lang | grep "$sun_supported_lang"`" ; then
+ SUNTEMPLATES_LANG="$SUNTEMPLATES_LANG $sun_supported_lang"
+ fi
+ done
+elif test "z$with_sun_templates" = "z" -o "z$with_sun_templates" = "zno" ; then
SUNTEMPLATES_LANG=""
- AC_MSG_RESULT([no])
+ AC_MSG_RESULT([no integration])
else
- SUNTEMPLATES_LANG="$with_sun_templates"
+ for sun_supported_lang in en-US de it fr es
+ do
+ if test -n "`echo $with_sun_templates | grep "$sun_supported_lang"`" ; then
+ SUNTEMPLATES_LANG="$SUNTEMPLATES_LANG $sun_supported_lang"
+ fi
+ done
fi
AC_MSG_RESULT([$SUNTEMPLATES_LANG])
AC_SUBST(SUNTEMPLATES_LANG)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]