source: m4/ax_openssl.m4@ 10640

Last change on this file since 10640 was 2488, checked in by stud-tollenaere, 16 years ago

Added a test for openssl library

File size: 397 bytes
RevLine 
[2488]1# SYNOPSIS
2#
3# AX_OPENSSL()
4#
5# DESCRIPTION
6#
7# Test for OpenSSL library
8#
9# LAST MODIFICATION
10#
11# 2008-12-11
12
13AC_DEFUN([AX_OPENSSL],
14[
15 AC_CHECK_HEADERS(openssl/ssl.h,,
16 [AC_MSG_ERROR([OpenSSL headers not found (OpenSSL, http://openssl.org)])])
17
18 AC_CHECK_LIB([ssl],[SSL_CTX_set_tmp_rsa_callback],,
19 [AC_MSG_ERROR([OpenSSL library not found (OpenSSL, http://openssl.org)])])
20])
Note: See TracBrowser for help on using the repository browser.