diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2014-08-22 13:31:59 +0200 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2014-08-22 14:09:15 +0200 |
commit | 7524f45e0a2b86dc418f0eb76df89dbdbecfafd3 (patch) | |
tree | 553905b99c3245d0c8ec3959250392b74fd1e414 /configure.ac | |
parent | e6fdd7ad0a4c548467157fa6791389e19f08993c (diff) |
remove superfluous --with-theme=default option
- currently mapped to --with-theme=galaxy for migration
- warns though
Change-Id: Ib40dabd4c54b6cac0b7f3c6f6183b2e4d1545331
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index 03d08f5cbaf9..ef3abc27db0f 100644 --- a/configure.ac +++ b/configure.ac @@ -1489,7 +1489,7 @@ AC_ARG_WITH(galleries, AC_ARG_WITH(theme, AS_HELP_STRING([--with-theme="theme1 theme2..."], [Choose which themes to include. By default those themes with an '*' are included. - Possible choices: *crystal, *default (galaxy), *hicontrast, human, industrial, *oxygen, *sifr, *tango, *tango_testing.]), + Possible choices: *crystal, *galaxy, *hicontrast, human, industrial, *oxygen, *sifr, *tango, *tango_testing.]), ,) AC_ARG_WITH(helppack-integration, @@ -11660,7 +11660,7 @@ dnl =================================================================== AC_MSG_CHECKING([which themes to include]) # if none given use default subset of available themes if test "x$with_theme" = "x" -o "x$with_theme" = "xyes"; then - with_theme="crystal default galaxy hicontrast oxygen tango sifr" + with_theme="crystal galaxy hicontrast oxygen tango sifr" test -z "$ENABLE_RELEASE_BUILD" && with_theme="$with_theme tango_testing" fi @@ -11668,14 +11668,22 @@ WITH_THEMES="" if test "x$with_theme" != "xno"; then for theme in $with_theme; do case $theme in - crystal|default|galaxy|hicontrast|human|industrial|oxygen|sifr|tango|tango_testing) : ;; + crystal|galaxy|hicontrast|human|industrial|oxygen|sifr|tango|tango_testing) real_theme="$theme" ;; + default) real_theme=galaxy ;; *) AC_MSG_ERROR([Unknown value for --with-theme: $theme]) ;; esac - WITH_THEMES="$WITH_THEMES $theme" + WITH_THEMES=`echo "$WITH_THEMES $real_theme"|tr '\ ' '\n'|sort|uniq|tr '\n' '\ '` done fi AC_MSG_RESULT([$WITH_THEMES]) AC_SUBST([WITH_THEMES]) +# FIXME: remove this, and the convenience default->galaxy remapping after a crace period +for theme in $with_theme; do + case $theme in + default) AC_MSG_WARN([--with-theme=default is deprecated and will be removed, use --with-theme=galaxy]) ;; + *) ;; + esac +done dnl =================================================================== dnl Test whether to integrate helppacks into the product's installer |