Skip to content

Commit

Permalink
feat(build): Provide mechanism to skip only font checks at build time
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Nov 3, 2023
1 parent f5ced15 commit 7ae3ca8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build-aux/ax_font.m4
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,14 @@ AC_DEFUN([AX_FONT], [
fi
pushdef([FONT],$1)
AC_MSG_CHECKING(whether font family FONT is available)
AS_IF([test "$FCMATCH" = "true"],[
AC_MSG_RESULT(skip)
],[
AS_IF([$FCMATCH "FONT" family | $GREP -qx "FONT"], [
AC_MSG_RESULT(yes)
], [
AC_MSG_FAILURE([font family FONT not found])
])
])
popdef([FONT])
])dnl

0 comments on commit 7ae3ca8

Please sign in to comment.