[vlc-commits] configure: fix gcrypt detection for update
Jean-Baptiste Kempf
git at videolan.org
Sat Aug 6 12:17:10 CEST 2016
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Aug 6 12:15:31 2016 +0200| [2676dfd54e504861da0a96ec1ab3968e986ce74e] | committer: Jean-Baptiste Kempf
configure: fix gcrypt detection for update
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2676dfd54e504861da0a96ec1ab3968e986ce74e
---
configure.ac | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/configure.ac b/configure.ac
index 8d10cc6..b40402b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4128,10 +4128,8 @@ AC_ARG_ENABLE(update-check,
[ --enable-update-check update checking system (default disabled)])
if test "${enable_update_check}" = "yes"
then
- if test "${have_libgcrypt}" != "yes"
- then
- AC_MSG_ERROR([libgcrypt is required for update checking system])
- fi
+ AS_IF([test "${ac_cv_lib_gcrypt}" != "yes"],[
+ AC_MSG_ERROR([libgcrypt is required for update checking system]) ])
VLC_ADD_LIBS([libvlccore], [${GCRYPT_LIBS}])
VLC_ADD_CFLAGS([libvlccore], [${GCRYPT_CFLAGS}])
AC_DEFINE([UPDATE_CHECK], 1, [Define if you want to use the VLC update mechanism])
More information about the vlc-commits
mailing list