diff options
author | runge <runge> | 2008-05-12 01:03:06 +0000 |
---|---|---|
committer | runge <runge> | 2008-05-12 01:03:06 +0000 |
commit | fa53197938187817f93d3b86ee6dd696bce1e834 (patch) | |
tree | fdbd7ac36f51d78033a075490688852b368aa415 | |
parent | b2306270d0e356108fde0a0710fefa5acb38f6e7 (diff) | |
download | libtdevnc-fa53197938187817f93d3b86ee6dd696bce1e834.tar.gz libtdevnc-fa53197938187817f93d3b86ee6dd696bce1e834.zip |
Add X509_print_ex_fp check for x11vnc.
-rw-r--r-- | configure.ac | 5 |
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 |