| 806 |
|
with_ltdl_lib |
| 807 |
|
enable_ltdl_install |
| 808 |
|
enable_libgeoip |
| 809 |
– |
enable_openssl |
| 809 |
|
enable_assert |
| 810 |
|
enable_kqueue |
| 811 |
|
enable_epoll |
| 813 |
|
enable_poll |
| 814 |
|
enable_debugging |
| 815 |
|
enable_warnings |
| 816 |
+ |
enable_openssl |
| 817 |
|
' |
| 818 |
|
ac_precious_vars='build_alias |
| 819 |
|
host_alias |
| 1460 |
|
--disable-libtool-lock avoid locking (might break parallel builds) |
| 1461 |
|
--enable-ltdl-install install libltdl |
| 1462 |
|
--disable-libgeoip Disable GeoIP support |
| 1463 |
– |
--enable-openssl=DIR Enable OpenSSL support (DIR optional). |
| 1464 |
– |
--disable-openssl Disable OpenSSL support. |
| 1463 |
|
--enable-assert Enable assert() statements |
| 1464 |
|
--enable-kqueue Force kqueue usage. |
| 1465 |
|
--enable-epoll Force epoll usage. |
| 1467 |
|
--enable-poll Force poll usage. |
| 1468 |
|
--enable-debugging Enable debugging. |
| 1469 |
|
--enable-warnings Enable compiler warnings. |
| 1470 |
+ |
--enable-openssl=DIR Enable OpenSSL support (DIR optional). |
| 1471 |
+ |
--disable-openssl Disable OpenSSL support. |
| 1472 |
|
|
| 1473 |
|
Optional Packages: |
| 1474 |
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
| 13902 |
|
fi |
| 13903 |
|
|
| 13904 |
|
|
| 13905 |
– |
|
| 13906 |
– |
# Check whether --enable-openssl was given. |
| 13907 |
– |
if test "${enable_openssl+set}" = set; then : |
| 13908 |
– |
enableval=$enable_openssl; cf_enable_openssl=$enableval |
| 13909 |
– |
else |
| 13910 |
– |
cf_enable_openssl="auto" |
| 13911 |
– |
fi |
| 13912 |
– |
|
| 13913 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL" >&5 |
| 13914 |
– |
$as_echo_n "checking for OpenSSL... " >&6; } |
| 13915 |
– |
if test "$cf_enable_openssl" != "no"; then |
| 13916 |
– |
cf_openssl_basedir="" |
| 13917 |
– |
if test "$cf_enable_openssl" != "auto" && |
| 13918 |
– |
test "$cf_enable_openssl" != "yes"; then |
| 13919 |
– |
cf_openssl_basedir="${cf_enable_openssl}" |
| 13920 |
– |
else |
| 13921 |
– |
for dirs in /usr/local/ssl /usr/pkg /usr/local /usr/lib /usr/lib/ssl\ |
| 13922 |
– |
/opt /opt/openssl /usr/local/openssl; do |
| 13923 |
– |
if test -f "${dirs}/include/openssl/opensslv.h"; then |
| 13924 |
– |
cf_openssl_basedir="${dirs}" |
| 13925 |
– |
break |
| 13926 |
– |
fi |
| 13927 |
– |
done |
| 13928 |
– |
unset dirs |
| 13929 |
– |
fi |
| 13930 |
– |
|
| 13931 |
– |
if test ! -z "$cf_openssl_basedir"; then |
| 13932 |
– |
if test -f "${cf_openssl_basedir}/include/openssl/opensslv.h"; then |
| 13933 |
– |
CPPFLAGS="-I${cf_openssl_basedir}/include $CPPFLAGS" |
| 13934 |
– |
LDFLAGS="-L${cf_openssl_basedir}/lib $LDFLAGS" |
| 13935 |
– |
else |
| 13936 |
– |
cf_openssl_basedir="" |
| 13937 |
– |
fi |
| 13938 |
– |
else |
| 13939 |
– |
if test -f "/usr/include/openssl/opensslv.h"; then |
| 13940 |
– |
cf_openssl_basedir="/usr" |
| 13941 |
– |
fi |
| 13942 |
– |
fi |
| 13943 |
– |
|
| 13944 |
– |
if test ! -z "$cf_openssl_basedir"; then |
| 13945 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5 |
| 13946 |
– |
$as_echo "$cf_openssl_basedir" >&6; } |
| 13947 |
– |
cf_enable_openssl="yes" |
| 13948 |
– |
else |
| 13949 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5 |
| 13950 |
– |
$as_echo "not found. Please check your path." >&6; } |
| 13951 |
– |
cf_enable_openssl="no" |
| 13952 |
– |
fi |
| 13953 |
– |
unset cf_openssl_basedir |
| 13954 |
– |
else |
| 13955 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 |
| 13956 |
– |
$as_echo "disabled" >&6; } |
| 13957 |
– |
fi |
| 13958 |
– |
|
| 13959 |
– |
if test "$cf_enable_openssl" != "no"; then : |
| 13960 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8o or above" >&5 |
| 13961 |
– |
$as_echo_n "checking for OpenSSL 0.9.8o or above... " >&6; } |
| 13962 |
– |
if test "$cross_compiling" = yes; then : |
| 13963 |
– |
cf_openssl_version_ok=no |
| 13964 |
– |
else |
| 13965 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 13966 |
– |
/* end confdefs.h. */ |
| 13967 |
– |
|
| 13968 |
– |
|
| 13969 |
– |
#include <openssl/opensslv.h> |
| 13970 |
– |
#include <stdlib.h> |
| 13971 |
– |
int |
| 13972 |
– |
main () |
| 13973 |
– |
{ |
| 13974 |
– |
exit(!(OPENSSL_VERSION_NUMBER >= 0x009080ffL)); |
| 13975 |
– |
; |
| 13976 |
– |
return 0; |
| 13977 |
– |
} |
| 13978 |
– |
_ACEOF |
| 13979 |
– |
if ac_fn_c_try_run "$LINENO"; then : |
| 13980 |
– |
cf_openssl_version_ok=yes |
| 13981 |
– |
else |
| 13982 |
– |
cf_openssl_version_ok=no |
| 13983 |
– |
fi |
| 13984 |
– |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 13985 |
– |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 13986 |
– |
fi |
| 13987 |
– |
|
| 13988 |
– |
|
| 13989 |
– |
if test "$cf_openssl_version_ok" = "yes"; then : |
| 13990 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 |
| 13991 |
– |
$as_echo "found" >&6; } |
| 13992 |
– |
|
| 13993 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5 |
| 13994 |
– |
$as_echo_n "checking for RSA_free in -lcrypto... " >&6; } |
| 13995 |
– |
if ${ac_cv_lib_crypto_RSA_free+:} false; then : |
| 13996 |
– |
$as_echo_n "(cached) " >&6 |
| 13997 |
– |
else |
| 13998 |
– |
ac_check_lib_save_LIBS=$LIBS |
| 13999 |
– |
LIBS="-lcrypto $LIBS" |
| 14000 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14001 |
– |
/* end confdefs.h. */ |
| 14002 |
– |
|
| 14003 |
– |
/* Override any GCC internal prototype to avoid an error. |
| 14004 |
– |
Use char because int might match the return type of a GCC |
| 14005 |
– |
builtin and then its argument prototype would still apply. */ |
| 14006 |
– |
#ifdef __cplusplus |
| 14007 |
– |
extern "C" |
| 14008 |
– |
#endif |
| 14009 |
– |
char RSA_free (); |
| 14010 |
– |
int |
| 14011 |
– |
main () |
| 14012 |
– |
{ |
| 14013 |
– |
return RSA_free (); |
| 14014 |
– |
; |
| 14015 |
– |
return 0; |
| 14016 |
– |
} |
| 14017 |
– |
_ACEOF |
| 14018 |
– |
if ac_fn_c_try_link "$LINENO"; then : |
| 14019 |
– |
ac_cv_lib_crypto_RSA_free=yes |
| 14020 |
– |
else |
| 14021 |
– |
ac_cv_lib_crypto_RSA_free=no |
| 14022 |
– |
fi |
| 14023 |
– |
rm -f core conftest.err conftest.$ac_objext \ |
| 14024 |
– |
conftest$ac_exeext conftest.$ac_ext |
| 14025 |
– |
LIBS=$ac_check_lib_save_LIBS |
| 14026 |
– |
fi |
| 14027 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5 |
| 14028 |
– |
$as_echo "$ac_cv_lib_crypto_RSA_free" >&6; } |
| 14029 |
– |
if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then : |
| 14030 |
– |
cat >>confdefs.h <<_ACEOF |
| 14031 |
– |
#define HAVE_LIBCRYPTO 1 |
| 14032 |
– |
_ACEOF |
| 14033 |
– |
|
| 14034 |
– |
LIBS="-lcrypto $LIBS" |
| 14035 |
– |
|
| 14036 |
– |
fi |
| 14037 |
– |
|
| 14038 |
– |
if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then : |
| 14039 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5 |
| 14040 |
– |
$as_echo_n "checking for SSL_connect in -lssl... " >&6; } |
| 14041 |
– |
if ${ac_cv_lib_ssl_SSL_connect+:} false; then : |
| 14042 |
– |
$as_echo_n "(cached) " >&6 |
| 14043 |
– |
else |
| 14044 |
– |
ac_check_lib_save_LIBS=$LIBS |
| 14045 |
– |
LIBS="-lssl $LIBS" |
| 14046 |
– |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 14047 |
– |
/* end confdefs.h. */ |
| 14048 |
– |
|
| 14049 |
– |
/* Override any GCC internal prototype to avoid an error. |
| 14050 |
– |
Use char because int might match the return type of a GCC |
| 14051 |
– |
builtin and then its argument prototype would still apply. */ |
| 14052 |
– |
#ifdef __cplusplus |
| 14053 |
– |
extern "C" |
| 14054 |
– |
#endif |
| 14055 |
– |
char SSL_connect (); |
| 14056 |
– |
int |
| 14057 |
– |
main () |
| 14058 |
– |
{ |
| 14059 |
– |
return SSL_connect (); |
| 14060 |
– |
; |
| 14061 |
– |
return 0; |
| 14062 |
– |
} |
| 14063 |
– |
_ACEOF |
| 14064 |
– |
if ac_fn_c_try_link "$LINENO"; then : |
| 14065 |
– |
ac_cv_lib_ssl_SSL_connect=yes |
| 14066 |
– |
else |
| 14067 |
– |
ac_cv_lib_ssl_SSL_connect=no |
| 14068 |
– |
fi |
| 14069 |
– |
rm -f core conftest.err conftest.$ac_objext \ |
| 14070 |
– |
conftest$ac_exeext conftest.$ac_ext |
| 14071 |
– |
LIBS=$ac_check_lib_save_LIBS |
| 14072 |
– |
fi |
| 14073 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5 |
| 14074 |
– |
$as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; } |
| 14075 |
– |
if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then : |
| 14076 |
– |
cat >>confdefs.h <<_ACEOF |
| 14077 |
– |
#define HAVE_LIBSSL 1 |
| 14078 |
– |
_ACEOF |
| 14079 |
– |
|
| 14080 |
– |
LIBS="-lssl $LIBS" |
| 14081 |
– |
|
| 14082 |
– |
fi |
| 14083 |
– |
|
| 14084 |
– |
fi |
| 14085 |
– |
|
| 14086 |
– |
else |
| 14087 |
– |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no - OpenSSL support disabled" >&5 |
| 14088 |
– |
$as_echo "no - OpenSSL support disabled" >&6; } |
| 14089 |
– |
cf_enable_openssl="no" |
| 14090 |
– |
fi |
| 14091 |
– |
fi |
| 14092 |
– |
|
| 14093 |
– |
if test "$ac_cv_lib_ssl_SSL_connect" = yes; then |
| 14094 |
– |
ENABLE_SSL_TRUE= |
| 14095 |
– |
ENABLE_SSL_FALSE='#' |
| 14096 |
– |
else |
| 14097 |
– |
ENABLE_SSL_TRUE='#' |
| 14098 |
– |
ENABLE_SSL_FALSE= |
| 14099 |
– |
fi |
| 14100 |
– |
|
| 14101 |
– |
|
| 14102 |
– |
|
| 13905 |
|
# Check whether --enable-assert was given. |
| 13906 |
|
if test "${enable_assert+set}" = set; then : |
| 13907 |
|
enableval=$enable_assert; assert=$enableval |
| 15284 |
|
fi |
| 15285 |
|
|
| 15286 |
|
|
| 15287 |
+ |
# Check whether --enable-openssl was given. |
| 15288 |
+ |
if test "${enable_openssl+set}" = set; then : |
| 15289 |
+ |
enableval=$enable_openssl; cf_enable_openssl=$enableval |
| 15290 |
+ |
else |
| 15291 |
+ |
cf_enable_openssl="auto" |
| 15292 |
+ |
fi |
| 15293 |
+ |
|
| 15294 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL" >&5 |
| 15295 |
+ |
$as_echo_n "checking for OpenSSL... " >&6; } |
| 15296 |
+ |
if test "$cf_enable_openssl" != "no"; then |
| 15297 |
+ |
cf_openssl_basedir="" |
| 15298 |
+ |
if test "$cf_enable_openssl" != "auto" && |
| 15299 |
+ |
test "$cf_enable_openssl" != "yes"; then |
| 15300 |
+ |
cf_openssl_basedir="${cf_enable_openssl}" |
| 15301 |
+ |
else |
| 15302 |
+ |
for dirs in /usr/local/ssl /usr/pkg /usr/local /usr/lib /usr/lib/ssl\ |
| 15303 |
+ |
/opt /opt/openssl /usr/local/openssl; do |
| 15304 |
+ |
if test -f "${dirs}/include/openssl/opensslv.h"; then |
| 15305 |
+ |
cf_openssl_basedir="${dirs}" |
| 15306 |
+ |
break |
| 15307 |
+ |
fi |
| 15308 |
+ |
done |
| 15309 |
+ |
unset dirs |
| 15310 |
+ |
fi |
| 15311 |
+ |
|
| 15312 |
+ |
if test ! -z "$cf_openssl_basedir"; then |
| 15313 |
+ |
if test -f "${cf_openssl_basedir}/include/openssl/opensslv.h"; then |
| 15314 |
+ |
CPPFLAGS="-I${cf_openssl_basedir}/include $CPPFLAGS" |
| 15315 |
+ |
LDFLAGS="-L${cf_openssl_basedir}/lib $LDFLAGS" |
| 15316 |
+ |
else |
| 15317 |
+ |
cf_openssl_basedir="" |
| 15318 |
+ |
fi |
| 15319 |
+ |
else |
| 15320 |
+ |
if test -f "/usr/include/openssl/opensslv.h"; then |
| 15321 |
+ |
cf_openssl_basedir="/usr" |
| 15322 |
+ |
fi |
| 15323 |
+ |
fi |
| 15324 |
+ |
|
| 15325 |
+ |
if test ! -z "$cf_openssl_basedir"; then |
| 15326 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5 |
| 15327 |
+ |
$as_echo "$cf_openssl_basedir" >&6; } |
| 15328 |
+ |
cf_enable_openssl="yes" |
| 15329 |
+ |
else |
| 15330 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5 |
| 15331 |
+ |
$as_echo "not found. Please check your path." >&6; } |
| 15332 |
+ |
cf_enable_openssl="no" |
| 15333 |
+ |
fi |
| 15334 |
+ |
unset cf_openssl_basedir |
| 15335 |
+ |
else |
| 15336 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 |
| 15337 |
+ |
$as_echo "disabled" >&6; } |
| 15338 |
+ |
fi |
| 15339 |
+ |
|
| 15340 |
+ |
if test "$cf_enable_openssl" != "no"; then : |
| 15341 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL 0.9.8o or above" >&5 |
| 15342 |
+ |
$as_echo_n "checking for OpenSSL 0.9.8o or above... " >&6; } |
| 15343 |
+ |
if test "$cross_compiling" = yes; then : |
| 15344 |
+ |
cf_openssl_version_ok=no |
| 15345 |
+ |
else |
| 15346 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15347 |
+ |
/* end confdefs.h. */ |
| 15348 |
+ |
|
| 15349 |
+ |
|
| 15350 |
+ |
#include <openssl/opensslv.h> |
| 15351 |
+ |
#include <stdlib.h> |
| 15352 |
+ |
int |
| 15353 |
+ |
main () |
| 15354 |
+ |
{ |
| 15355 |
+ |
exit(!(OPENSSL_VERSION_NUMBER >= 0x009080ffL)); |
| 15356 |
+ |
; |
| 15357 |
+ |
return 0; |
| 15358 |
+ |
} |
| 15359 |
+ |
_ACEOF |
| 15360 |
+ |
if ac_fn_c_try_run "$LINENO"; then : |
| 15361 |
+ |
cf_openssl_version_ok=yes |
| 15362 |
+ |
else |
| 15363 |
+ |
cf_openssl_version_ok=no |
| 15364 |
+ |
fi |
| 15365 |
+ |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
| 15366 |
+ |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
| 15367 |
+ |
fi |
| 15368 |
+ |
|
| 15369 |
+ |
|
| 15370 |
+ |
if test "$cf_openssl_version_ok" = "yes"; then : |
| 15371 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 |
| 15372 |
+ |
$as_echo "found" >&6; } |
| 15373 |
+ |
|
| 15374 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5 |
| 15375 |
+ |
$as_echo_n "checking for RSA_free in -lcrypto... " >&6; } |
| 15376 |
+ |
if ${ac_cv_lib_crypto_RSA_free+:} false; then : |
| 15377 |
+ |
$as_echo_n "(cached) " >&6 |
| 15378 |
+ |
else |
| 15379 |
+ |
ac_check_lib_save_LIBS=$LIBS |
| 15380 |
+ |
LIBS="-lcrypto $LIBS" |
| 15381 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15382 |
+ |
/* end confdefs.h. */ |
| 15383 |
+ |
|
| 15384 |
+ |
/* Override any GCC internal prototype to avoid an error. |
| 15385 |
+ |
Use char because int might match the return type of a GCC |
| 15386 |
+ |
builtin and then its argument prototype would still apply. */ |
| 15387 |
+ |
#ifdef __cplusplus |
| 15388 |
+ |
extern "C" |
| 15389 |
+ |
#endif |
| 15390 |
+ |
char RSA_free (); |
| 15391 |
+ |
int |
| 15392 |
+ |
main () |
| 15393 |
+ |
{ |
| 15394 |
+ |
return RSA_free (); |
| 15395 |
+ |
; |
| 15396 |
+ |
return 0; |
| 15397 |
+ |
} |
| 15398 |
+ |
_ACEOF |
| 15399 |
+ |
if ac_fn_c_try_link "$LINENO"; then : |
| 15400 |
+ |
ac_cv_lib_crypto_RSA_free=yes |
| 15401 |
+ |
else |
| 15402 |
+ |
ac_cv_lib_crypto_RSA_free=no |
| 15403 |
+ |
fi |
| 15404 |
+ |
rm -f core conftest.err conftest.$ac_objext \ |
| 15405 |
+ |
conftest$ac_exeext conftest.$ac_ext |
| 15406 |
+ |
LIBS=$ac_check_lib_save_LIBS |
| 15407 |
+ |
fi |
| 15408 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5 |
| 15409 |
+ |
$as_echo "$ac_cv_lib_crypto_RSA_free" >&6; } |
| 15410 |
+ |
if test "x$ac_cv_lib_crypto_RSA_free" = xyes; then : |
| 15411 |
+ |
cat >>confdefs.h <<_ACEOF |
| 15412 |
+ |
#define HAVE_LIBCRYPTO 1 |
| 15413 |
+ |
_ACEOF |
| 15414 |
+ |
|
| 15415 |
+ |
LIBS="-lcrypto $LIBS" |
| 15416 |
+ |
|
| 15417 |
+ |
fi |
| 15418 |
+ |
|
| 15419 |
+ |
if test "$ac_cv_lib_crypto_RSA_free" = "yes"; then : |
| 15420 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5 |
| 15421 |
+ |
$as_echo_n "checking for SSL_connect in -lssl... " >&6; } |
| 15422 |
+ |
if ${ac_cv_lib_ssl_SSL_connect+:} false; then : |
| 15423 |
+ |
$as_echo_n "(cached) " >&6 |
| 15424 |
+ |
else |
| 15425 |
+ |
ac_check_lib_save_LIBS=$LIBS |
| 15426 |
+ |
LIBS="-lssl $LIBS" |
| 15427 |
+ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 15428 |
+ |
/* end confdefs.h. */ |
| 15429 |
+ |
|
| 15430 |
+ |
/* Override any GCC internal prototype to avoid an error. |
| 15431 |
+ |
Use char because int might match the return type of a GCC |
| 15432 |
+ |
builtin and then its argument prototype would still apply. */ |
| 15433 |
+ |
#ifdef __cplusplus |
| 15434 |
+ |
extern "C" |
| 15435 |
+ |
#endif |
| 15436 |
+ |
char SSL_connect (); |
| 15437 |
+ |
int |
| 15438 |
+ |
main () |
| 15439 |
+ |
{ |
| 15440 |
+ |
return SSL_connect (); |
| 15441 |
+ |
; |
| 15442 |
+ |
return 0; |
| 15443 |
+ |
} |
| 15444 |
+ |
_ACEOF |
| 15445 |
+ |
if ac_fn_c_try_link "$LINENO"; then : |
| 15446 |
+ |
ac_cv_lib_ssl_SSL_connect=yes |
| 15447 |
+ |
else |
| 15448 |
+ |
ac_cv_lib_ssl_SSL_connect=no |
| 15449 |
+ |
fi |
| 15450 |
+ |
rm -f core conftest.err conftest.$ac_objext \ |
| 15451 |
+ |
conftest$ac_exeext conftest.$ac_ext |
| 15452 |
+ |
LIBS=$ac_check_lib_save_LIBS |
| 15453 |
+ |
fi |
| 15454 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5 |
| 15455 |
+ |
$as_echo "$ac_cv_lib_ssl_SSL_connect" >&6; } |
| 15456 |
+ |
if test "x$ac_cv_lib_ssl_SSL_connect" = xyes; then : |
| 15457 |
+ |
cat >>confdefs.h <<_ACEOF |
| 15458 |
+ |
#define HAVE_LIBSSL 1 |
| 15459 |
+ |
_ACEOF |
| 15460 |
+ |
|
| 15461 |
+ |
LIBS="-lssl $LIBS" |
| 15462 |
+ |
|
| 15463 |
+ |
fi |
| 15464 |
+ |
|
| 15465 |
+ |
fi |
| 15466 |
+ |
|
| 15467 |
+ |
else |
| 15468 |
+ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no - OpenSSL support disabled" >&5 |
| 15469 |
+ |
$as_echo "no - OpenSSL support disabled" >&6; } |
| 15470 |
+ |
cf_enable_openssl="no" |
| 15471 |
+ |
fi |
| 15472 |
+ |
fi |
| 15473 |
+ |
|
| 15474 |
+ |
if test "$ac_cv_lib_ssl_SSL_connect" = yes; then |
| 15475 |
+ |
ENABLE_SSL_TRUE= |
| 15476 |
+ |
ENABLE_SSL_FALSE='#' |
| 15477 |
+ |
else |
| 15478 |
+ |
ENABLE_SSL_TRUE='#' |
| 15479 |
+ |
ENABLE_SSL_FALSE= |
| 15480 |
+ |
fi |
| 15481 |
+ |
|
| 15482 |
+ |
|
| 15483 |
+ |
|
| 15484 |
|
|
| 15485 |
|
prefix_NONE= |
| 15486 |
|
exec_prefix_NONE= |