aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Hauke <mardnh@gmx.de>2018-03-08 16:34:25 +0100
committerMartin Hauke <mardnh@gmx.de>2018-03-08 16:34:25 +0100
commite855f0c12b297d9e026e6a89b672bacf2ed983df (patch)
treed629944d8449ba312546e68664c6ae2a1ac5dd7f
parentc386867bafd43cbaa998146e409882cda75a9c80 (diff)
build: check for libcrypto and libssl
Use PKG_CHECK_MODULES to check for libcrypto and libssl Change-Id: I442603f9fa3f648cb552f5e9daf6e0fd49776eff
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 07ea265..16489f4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5,6 +5,10 @@ AM_INIT_AUTOMAKE
AC_PROG_CC
AC_PROG_LIBTOOL
+PKG_CHECK_MODULES(LIBCRYPTO, libcrypto)
+PKG_CHECK_MODULES(LIBSSL, libssl)
+
+
# zlib support
AC_CHECK_LIB(z,deflate,ZLIB=yes,ZLIB=no)
if test "x$ZLIB" = "xyes" ; then