Mercurial > masqmail
comparison configure.ac @ 363:02bc0331e390
Removed support for openssl linking
It had been rarely used and could have caused legal problems.
For explanations, see this mail message:
Date: Sun, 04 Sep 2011 17:35:23 +0200
From: markus schnalke <meillo@marmaro.de>
To: masqmail@marmaro.de
Subject: [masqmail] RFC: Removal of configure options
Message-ID: <1R0EjD-4aX-00@serveme.home.schnalke.org>
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Wed, 14 Sep 2011 12:07:34 +0200 |
parents | 4916f9df5051 |
children | 72653295b75d |
comparison
equal
deleted
inserted
replaced
362:9d49dffc3070 | 363:02bc0331e390 |
---|---|
134 BASE64_LIBS='base64/libbase64.a' | 134 BASE64_LIBS='base64/libbase64.a' |
135 need_md5='yes' | 135 need_md5='yes' |
136 fi | 136 fi |
137 AC_SUBST(BASE64_LIBS) | 137 AC_SUBST(BASE64_LIBS) |
138 | 138 |
139 dnl libcrypto | |
140 AC_ARG_WITH(libcrypto, | |
141 [ --with-libcrypto use libcrypto (usually not needed)], | |
142 ) | |
143 if test "x$with_libcrypto" != 'xyes'; then | |
144 with_libcrypto='no' | |
145 fi | |
146 | |
147 if test "x$need_md5" = 'xyes'; then | 139 if test "x$need_md5" = 'xyes'; then |
148 dnl check whether we have md5 in libcrypto if md5 needed and we shall link with libcrypto | 140 MD5_LIBS='md5/libmd5.a' |
149 if test "x$with_libcrypto" = "xyes"; then | |
150 AC_CHECK_LIB(crypto, MD5, has_crypto='yes', AC_MSG_ERROR('no libcrypto')) | |
151 if test "x$has_crypto" = 'xyes'; then | |
152 AC_DEFINE(USE_LIB_CRYPTO, 1, [If libcrypto is available]) | |
153 MD5_LIBS='-lcrypto' | |
154 fi | |
155 else | |
156 MD5_LIBS='md5/libmd5.a' | |
157 fi | |
158 fi | 141 fi |
159 AC_SUBST(MD5_LIBS) | 142 AC_SUBST(MD5_LIBS) |
160 | 143 |
161 dnl ident support (default is to not use it) | 144 dnl ident support (default is to not use it) |
162 IDENT_LIBS='' | 145 IDENT_LIBS='' |