summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrunge <runge>2008-05-12 01:03:06 +0000
committerrunge <runge>2008-05-12 01:03:06 +0000
commitfa53197938187817f93d3b86ee6dd696bce1e834 (patch)
treefdbd7ac36f51d78033a075490688852b368aa415
parentb2306270d0e356108fde0a0710fefa5acb38f6e7 (diff)
downloadlibtdevnc-fa531979.tar.gz
libtdevnc-fa531979.zip
Add X509_print_ex_fp check for x11vnc.
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index b7ff969..22d3d41 100644
--- a/configure.ac
+++ b/configure.ac
@@ -305,6 +305,7 @@ if test "x$with_crypto" != "xno" -a "x$with_ssl" != "xno"; then
[AC_DEFINE(HAVE_LIBCRYPTO) HAVE_LIBCRYPTO="true"], ,)
fi
+AH_TEMPLATE(HAVE_X509_PRINT_EX_FP, [open ssl X509_print_ex_fp available])
if test "x$with_ssl" != "xno"; then
if test "x$HAVE_LIBCRYPTO" = "xtrue"; then
AC_CHECK_LIB(ssl, SSL_library_init,
@@ -328,6 +329,10 @@ SSL install the necessary development packages (perhaps it is named
something like libssl-dev) and run configure again.
==========================================================================
])
+ else
+ AC_CHECK_LIB(ssl, X509_print_ex_fp,
+ [AC_DEFINE(HAVE_X509_PRINT_EX_FP) HAVE_X509_PRINT_EX_FP="true"], , $SSL_LIBS
+ )
fi
if test "x$with_v4l" != "xno"; then