[dovecot-cvs] dovecot configure.in,1.130,1.131
cras at procontrol.fi
cras at procontrol.fi
Mon Jun 23 09:47:44 EEST 2003
Update of /home/cvs/dovecot
In directory danu:/tmp/cvs-serv12221
Modified Files:
configure.in
Log Message:
fix for openssl detection
Index: configure.in
===================================================================
RCS file: /home/cvs/dovecot/configure.in,v
retrieving revision 1.130
retrieving revision 1.131
diff -u -d -r1.130 -r1.131
--- configure.in 22 Jun 2003 23:08:47 -0000 1.130
+++ configure.in 23 Jun 2003 05:47:41 -0000 1.131
@@ -732,18 +732,19 @@
if pkg-config --exists openssl; then
PKG_CHECK_MODULES(SSL, openssl)
CFLAGS="$CFLAGS $SSL_CFLAGS"
- have_ssl="yes (OpenSSL)"
have_openssl=yes
else
AC_CHECK_LIB(ssl, SSL_read, [
AC_CHECK_HEADERS(openssl/ssl.h openssl/err.h, [
- AC_DEFINE(HAVE_OPENSSL,, Build with OpenSSL support)
SSL_LIBS="-lssl -lcrypto"
AC_SUBST(SSL_LIBS)
- have_ssl="yes (OpenSSL)"
have_openssl=yes
])
],, -lcrypto)
+ fi
+ if test "$have_openssl" = "yes"; then
+ AC_DEFINE(HAVE_OPENSSL,, Build with OpenSSL support)
+ have_ssl="yes (OpenSSL)"
fi
fi
More information about the dovecot-cvs
mailing list