* configure.ac: Allow disabling themes.
This commit is contained in:
parent
2d357558fb
commit
300f48c532
2 changed files with 16 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2013-11-12 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* configure.ac: Allow disabling themes.
|
||||||
|
|
||||||
2013-11-12 Lukas Schwaighofer <lukas@schwaighofer.name>
|
2013-11-12 Lukas Schwaighofer <lukas@schwaighofer.name>
|
||||||
|
|
||||||
* util/grub.d/20_linux_xen.in: Don't decompress initrd.
|
* util/grub.d/20_linux_xen.in: Don't decompress initrd.
|
||||||
|
|
13
configure.ac
13
configure.ac
|
@ -1143,7 +1143,14 @@ DJVU_FONT_SOURCE=
|
||||||
|
|
||||||
starfield_excuse=
|
starfield_excuse=
|
||||||
|
|
||||||
if test x"$enable_build_grub_mkfont" = xno ; then
|
AC_ARG_ENABLE([grub-themes],
|
||||||
|
[AS_HELP_STRING([--enable-grub-themes],
|
||||||
|
[build and install GRUB themes (default=guessed)])])
|
||||||
|
if test x"$enable_grub_themes" = xno ; then
|
||||||
|
starfield_excuse="explicitly disabled"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test x"$starfield_excuse" = x && test x"$enable_build_grub_mkfont" = xno ; then
|
||||||
starfield_excuse="No build-time grub-mkfont"
|
starfield_excuse="No build-time grub-mkfont"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -1162,6 +1169,10 @@ if test x"$starfield_excuse" = x; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if test x"$enable_grub_themes" = xyes && test x"$starfield_excuse" != x; then
|
||||||
|
AC_MSG_ERROR([themes were explicitly requested but requirements are not satisfied])
|
||||||
|
fi
|
||||||
|
|
||||||
AC_SUBST([DJVU_FONT_SOURCE])
|
AC_SUBST([DJVU_FONT_SOURCE])
|
||||||
|
|
||||||
FONT_SOURCE=
|
FONT_SOURCE=
|
||||||
|
|
Loading…
Reference in a new issue