comparison m4/ax_check_openssl.m4 @ 1459:156b8e8c25d8

Grandfather into release: Use latest Debian testing autotools, etc.
author Adam Chlipala <adam@chlipala.net>
date Sun, 15 May 2011 17:20:08 -0400
parents b2bc8bcd546f
children 28b9b3d9414f
comparison
equal deleted inserted replaced
1458:bd6b03bc6333 1459:156b8e8c25d8
103 save_LDFLAGS="$LDFLAGS" 103 save_LDFLAGS="$LDFLAGS"
104 save_CPPFLAGS="$CPPFLAGS" 104 save_CPPFLAGS="$CPPFLAGS"
105 LDFLAGS="$LDFLAGS $OPENSSL_LDFLAGS" 105 LDFLAGS="$LDFLAGS $OPENSSL_LDFLAGS"
106 LIBS="$OPENSSL_LIBS $LIBS" 106 LIBS="$OPENSSL_LIBS $LIBS"
107 CPPFLAGS="$OPENSSL_INCLUDES $CPPFLAGS" 107 CPPFLAGS="$OPENSSL_INCLUDES $CPPFLAGS"
108 AC_LINK_IFELSE( 108 AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <openssl/ssl.h>], [SSL_new(NULL)])],
109 AC_LANG_PROGRAM([#include <openssl/ssl.h>], [SSL_new(NULL)]),
110 [ 109 [
111 AC_MSG_RESULT([yes]) 110 AC_MSG_RESULT([yes])
112 $1 111 $1
113 ], [ 112 ], [
114 AC_MSG_RESULT([no]) 113 AC_MSG_RESULT([no])