Changeset 5715

Update acmacros/ax_check_openssl.m4

Comitted by:  mjagdis
Date:  Jun 07 2010 * 18:16 (about 1 year ago)

Affected files:

callweaver/trunk/acmacros/ax_check_openssl.m4 (unified diff)

r5563r5715
11 # ===========================================================================
2 # http://www.nongnu.org/autoconf-archive/ax_check_openssl.html
2 # http://www.gnu.org/software/autoconf-archive/ax_check_openssl.html
33 # ===========================================================================
44 #
55 # SYNOPSIS
------
2424 #
2525 # LICENSE
2626 #
27 # Copyright (c) 2009 Zmanda Inc. <http://www.zmanda.com/>
28 # Copyright (c) 2009 Dustin J. Mitchell <dustin@zmanda.com>
27 # Copyright (c) 2009,2010 Zmanda Inc. <http://www.zmanda.com/>
28 # Copyright (c) 2009,2010 Dustin J. Mitchell <dustin@zmanda.com>
2929 #
3030 # Copying and distribution of this file, with or without modification, are
3131 # permitted in any medium without royalty provided the copyright notice
32 # and this notice are preserved.
32 # and this notice are preserved. This file is offered as-is, without any
33 # warranty.
3334
35 #serial 7
36
3437 AU_ALIAS([CHECK_SSL], [AX_CHECK_OPENSSL])
3538 AC_DEFUN([AX_CHECK_OPENSSL], [
3639 found=false
------
7578 AC_MSG_CHECKING([for openssl/ssl.h in $ssldir])
7679 if test -f "$ssldir/include/openssl/ssl.h"; then
7780 OPENSSL_INCLUDES="-I$ssldir/include"
78 OPENSSL_LDFLAGS="-L $ssldir/lib"
81 OPENSSL_LDFLAGS="-L$ssldir/lib"
7982 OPENSSL_LIBS="-lssl -lcrypto"
8083 found=true
8184 AC_MSG_RESULT([yes])