[Libreoffice-commits] .: configure.in
Tomáš Chvátal
tchvatal at kemper.freedesktop.org
Sat Sep 17 03:46:33 PDT 2011
configure.in | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
New commits:
commit 7b502808dba8a4790a94182bf9835ba702f6f81b
Author: Tomas Chvatal <tchvatal at suse.cz>
Date: Sat Sep 17 12:46:21 2011 +0200
Make --with-theme actually work.
diff --git a/configure.in b/configure.in
index 6fd2d00..a99ddb0 100755
--- a/configure.in
+++ b/configure.in
@@ -7747,15 +7747,14 @@ dnl Test which themes to include
dnl ===================================================================
AC_MSG_CHECKING([which themes to include])
# if none given, use all available themes
-if test "z$enable_theme" = "z" -o "z$enable_theme" = "zyes"; then
- enable_theme="default crystal hicontrast oxygen tango"
-fi
+AS_IF([test "x$with_theme" = "x" -o "x$with_theme" = "xyes"], [
+ with_theme="default crystal hicontrast oxygen tango"
+])
WITH_THEMES=""
-for theme in $enable_theme
-do
+for theme in $with_theme; do
WITH_THEMES="$WITH_THEMES $theme"
- SCPDEFS="$SCPDEFS -DTHEME_`echo $theme|tr '[a-z]' '[A-Z]'`"
+ SCPDEFS="$SCPDEFS -DTHEME_`echo $theme|tr '[:lower:]' '[:upper:]'`"
done
AC_MSG_RESULT([$WITH_THEMES])
AC_SUBST(WITH_THEMES)
More information about the Libreoffice-commits
mailing list