Kaydet (Commit) 7b502808 authored tarafından Tomas Chvatal's avatar Tomas Chvatal

Make --with-theme actually work.

üst b03f2200
...@@ -7747,15 +7747,14 @@ dnl Test which themes to include ...@@ -7747,15 +7747,14 @@ dnl Test which themes to include
dnl =================================================================== dnl ===================================================================
AC_MSG_CHECKING([which themes to include]) AC_MSG_CHECKING([which themes to include])
# if none given, use all available themes # if none given, use all available themes
if test "z$enable_theme" = "z" -o "z$enable_theme" = "zyes"; then AS_IF([test "x$with_theme" = "x" -o "x$with_theme" = "xyes"], [
enable_theme="default crystal hicontrast oxygen tango" with_theme="default crystal hicontrast oxygen tango"
fi ])
WITH_THEMES="" WITH_THEMES=""
for theme in $enable_theme for theme in $with_theme; do
do
WITH_THEMES="$WITH_THEMES $theme" WITH_THEMES="$WITH_THEMES $theme"
SCPDEFS="$SCPDEFS -DTHEME_`echo $theme|tr '[a-z]' '[A-Z]'`" SCPDEFS="$SCPDEFS -DTHEME_`echo $theme|tr '[:lower:]' '[:upper:]'`"
done done
AC_MSG_RESULT([$WITH_THEMES]) AC_MSG_RESULT([$WITH_THEMES])
AC_SUBST(WITH_THEMES) AC_SUBST(WITH_THEMES)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment