diff options
author | Andras Timar <andras.timar@collabora.com> | 2018-04-23 16:41:51 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2019-06-15 11:01:56 +0200 |
commit | aea5306d3ffa32c368ac73353dc9515c7e89ebe4 (patch) | |
tree | 032dc670a7460c2d582786581e49f8df95a9cdfe /configure.ac | |
parent | 90ef6c90b4311e41aa451c67c01523207466483c (diff) |
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 72bf635be317..8ec03a93548c 100644 --- a/configure.ac +++ b/configure.ac @@ -1593,6 +1593,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 @@ -11560,6 +11565,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 |