Skip to content

Commit f227995

Browse files
committed
BUILD: fail if gcrypt is not found during configure (see also #72).
Signed-off-by: Stefan Westerfeld <[email protected]>
1 parent c4b0264 commit f227995

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

configure.ac

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,9 @@ AC_SNDFILE_REQUIREMENTS
7777
AC_LIBMPG123_REQUIREMENTS
7878
AC_ZITA_REQUIREMENTS
7979
AC_FFTW_CHECK
80-
AM_PATH_LIBGCRYPT
80+
AM_PATH_LIBGCRYPT([], [], [
81+
AC_MSG_ERROR([You need to install libgcrypt to build this package.])
82+
])
8183

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

0 commit comments

Comments
 (0)