[vlc-commits] add gcrypt ac_define

Francois Cartegnie git at videolan.org
Wed Jun 10 18:58:07 CEST 2015


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon May 25 16:01:50 2015 +0200| [621b86f9ed21240450ec3efdd8234cbb7f56517e] | committer: Francois Cartegnie

add gcrypt ac_define

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=621b86f9ed21240450ec3efdd8234cbb7f56517e
---

 configure.ac |    1 +
 1 file changed, 1 insertion(+)

diff --git a/configure.ac b/configure.ac
index 4a175c4..faba317 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3959,6 +3959,7 @@ AS_IF([test "${enable_libgcrypt}" != "no"], [
         AC_MSG_ERROR([gcrypt.h present but libgcrypt-config could not be found])
     AC_CHECK_LIB(gcrypt, gcry_control, [
       have_libgcrypt="yes"
+      AC_DEFINE([HAVE_GCRYPT], 1, [Defined if having gcrypt])
       GCRYPT_CFLAGS="`libgcrypt-config --cflags`"
       GCRYPT_LIBS="`libgcrypt-config --libs`"
     ], [



More information about the vlc-commits mailing list