Skip to content

Commit

Permalink
BUILD: fail if gcrypt is not found during configure (see also #72).
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
  • Loading branch information
swesterfeld committed Dec 28, 2024
1 parent c4b0264 commit f227995
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@ AC_SNDFILE_REQUIREMENTS
AC_LIBMPG123_REQUIREMENTS
AC_ZITA_REQUIREMENTS
AC_FFTW_CHECK
AM_PATH_LIBGCRYPT
AM_PATH_LIBGCRYPT([], [], [
AC_MSG_ERROR([You need to install libgcrypt to build this package.])
])

dnl -------------------- ffmpeg is optional ----------------------------
AC_ARG_WITH([ffmpeg], [AS_HELP_STRING([--with-ffmpeg], [build against ffmpeg libraries])], [], [with_ffmpeg=no])
Expand Down

0 comments on commit f227995

Please sign in to comment.