Skip to content

Commit dfe0b3a

Browse files
committed
configure: Warn or error (as appropriate) if icon rendering tools are missing
1 parent 934e51a commit dfe0b3a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

configure.ac

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -779,6 +779,12 @@ case $host in
779779
esac
780780

781781
AM_CONDITIONAL([CAN_RENDER_ICONS], [test "$can_render_icons" = "yes"])
782+
if test "$can_render_icons" != "yes"; then
783+
if test ! -f "${srcdir}/src/qt/res/rendered_icons/bitcoin.ico"; then
784+
AC_MSG_ERROR([Couldn't find ${can_render_icons} (required to build from git)])
785+
fi
786+
AC_MSG_WARN([Couldn't find ${can_render_icons}; you won't get the Knots-branded Bitcoin icon])
787+
fi
782788

783789
if test "$use_extended_functional_tests" != "no"; then
784790
AC_SUBST(EXTENDED_FUNCTIONAL_TESTS, --extended)

0 commit comments

Comments
 (0)