diff options
author | Andras Timar <andras.timar@collabora.com> | 2018-04-23 16:41:51 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2023-01-23 20:46:57 +0100 |
commit | 70e2876a45473ad75d133c9209e3aff943f40113 (patch) | |
tree | d973adac14ab15c49e5095a6c0570c3f10fb9a4f /configure.ac | |
parent | 8a356de7810482d43b1b11dba8763a8a594b1cd3 (diff) |
[cp] Optionally bundle even more Google Noto fonts
Change-Id: I6c08476710ab541ff9b9407f5d874dbb038990df
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index e8c11fd1bdaa..d42e5d508bb7 100644 --- a/configure.ac +++ b/configure.ac @@ -2146,6 +2146,11 @@ libo_FUZZ_ARG_WITH(fonts, known to be available on the system then you should use this option.]), ,) +AC_ARG_ENABLE(noto-font, + AS_HELP_STRING([--enable-noto-font], + [Add more Google Noto fonts.]), +,) + AC_ARG_WITH(epm, AS_HELP_STRING([--with-epm], [Decides which epm to use. Default is to use the one from the system if @@ -13337,6 +13342,19 @@ else fi AC_SUBST(WITH_FONTS) +dnl Test whether to include more Google Noto fonts +dnl =================================================================== +AC_MSG_CHECKING([whether to include more Google Noto fonts]) +if test "$enable_noto_font" = "" -o "$enable_noto_font" = "no" -o "$with_fonts" = "no"; then + AC_MSG_RESULT([no]) + WITH_NOTO_FONT= +else + AC_MSG_RESULT([yes]) + WITH_NOTO_FONT=TRUE + BUILD_TYPE="$BUILD_TYPE NOTO_FONT" + SCPDEFS="$SCPDEFS -DWITH_NOTO_FONT" +fi +AC_SUBST(WITH_NOTO_FONT) dnl =================================================================== dnl Test whether to enable online update service |