Skip to content

Commit

Permalink
Add configure test for convert
Browse files Browse the repository at this point in the history
  • Loading branch information
snomos committed Feb 26, 2024
1 parent 819c838 commit d0b864b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@ AS_IF([test x$KBDGEN = xno ],
[AC_MSG_ERROR([You need kbdgen to build the keyboards. See https://github.com/divvun/kbdgen])
])

# `convert` is needed for icon generation, it must be available.
AC_PATH_PROG([CONVERT], [convert], [no], [$PATH$PATH_SEPARATOR$with_convert])
AS_IF([test x$CONVERT = xno ],
[AC_MSG_ERROR([The ImageMagic command 'convert' is needed for icon generation. Please install ImageMagic using your preferred package manager.])
])

# List all non-script files processed by Autoconf.
AC_CONFIG_FILES([Makefile])

Expand Down

0 comments on commit d0b864b

Please sign in to comment.