@@ -12343,8 +12343,7 @@ if test "$with_ssl" = openssl ; then
12343
12343
12344
12344
$as_echo "#define OPENSSL_API_COMPAT 0x10101000L" >>confdefs.h
12345
12345
12346
- if test "$PORTNAME" != "win32"; then
12347
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CRYPTO_new_ex_data in -lcrypto" >&5
12346
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CRYPTO_new_ex_data in -lcrypto" >&5
12348
12347
$as_echo_n "checking for CRYPTO_new_ex_data in -lcrypto... " >&6; }
12349
12348
if ${ac_cv_lib_crypto_CRYPTO_new_ex_data+:} false; then :
12350
12349
$as_echo_n "(cached) " >&6
@@ -12391,7 +12390,7 @@ else
12391
12390
as_fn_error $? "library 'crypto' is required for OpenSSL" "$LINENO" 5
12392
12391
fi
12393
12392
12394
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_new in -lssl" >&5
12393
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_new in -lssl" >&5
12395
12394
$as_echo_n "checking for SSL_new in -lssl... " >&6; }
12396
12395
if ${ac_cv_lib_ssl_SSL_new+:} false; then :
12397
12396
$as_echo_n "(cached) " >&6
@@ -12438,124 +12437,6 @@ else
12438
12437
as_fn_error $? "library 'ssl' is required for OpenSSL" "$LINENO" 5
12439
12438
fi
12440
12439
12441
- else
12442
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing CRYPTO_new_ex_data" >&5
12443
- $as_echo_n "checking for library containing CRYPTO_new_ex_data... " >&6; }
12444
- if ${ac_cv_search_CRYPTO_new_ex_data+:} false; then :
12445
- $as_echo_n "(cached) " >&6
12446
- else
12447
- ac_func_search_save_LIBS=$LIBS
12448
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12449
- /* end confdefs.h. */
12450
-
12451
- /* Override any GCC internal prototype to avoid an error.
12452
- Use char because int might match the return type of a GCC
12453
- builtin and then its argument prototype would still apply. */
12454
- #ifdef __cplusplus
12455
- extern "C"
12456
- #endif
12457
- char CRYPTO_new_ex_data ();
12458
- int
12459
- main ()
12460
- {
12461
- return CRYPTO_new_ex_data ();
12462
- ;
12463
- return 0;
12464
- }
12465
- _ACEOF
12466
- for ac_lib in '' eay32 crypto; do
12467
- if test -z "$ac_lib"; then
12468
- ac_res="none required"
12469
- else
12470
- ac_res=-l$ac_lib
12471
- LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12472
- fi
12473
- if ac_fn_c_try_link "$LINENO"; then :
12474
- ac_cv_search_CRYPTO_new_ex_data=$ac_res
12475
- fi
12476
- rm -f core conftest.err conftest.$ac_objext \
12477
- conftest$ac_exeext
12478
- if ${ac_cv_search_CRYPTO_new_ex_data+:} false; then :
12479
- break
12480
- fi
12481
- done
12482
- if ${ac_cv_search_CRYPTO_new_ex_data+:} false; then :
12483
-
12484
- else
12485
- ac_cv_search_CRYPTO_new_ex_data=no
12486
- fi
12487
- rm conftest.$ac_ext
12488
- LIBS=$ac_func_search_save_LIBS
12489
- fi
12490
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_CRYPTO_new_ex_data" >&5
12491
- $as_echo "$ac_cv_search_CRYPTO_new_ex_data" >&6; }
12492
- ac_res=$ac_cv_search_CRYPTO_new_ex_data
12493
- if test "$ac_res" != no; then :
12494
- test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12495
-
12496
- else
12497
- as_fn_error $? "library 'eay32' or 'crypto' is required for OpenSSL" "$LINENO" 5
12498
- fi
12499
-
12500
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing SSL_new" >&5
12501
- $as_echo_n "checking for library containing SSL_new... " >&6; }
12502
- if ${ac_cv_search_SSL_new+:} false; then :
12503
- $as_echo_n "(cached) " >&6
12504
- else
12505
- ac_func_search_save_LIBS=$LIBS
12506
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12507
- /* end confdefs.h. */
12508
-
12509
- /* Override any GCC internal prototype to avoid an error.
12510
- Use char because int might match the return type of a GCC
12511
- builtin and then its argument prototype would still apply. */
12512
- #ifdef __cplusplus
12513
- extern "C"
12514
- #endif
12515
- char SSL_new ();
12516
- int
12517
- main ()
12518
- {
12519
- return SSL_new ();
12520
- ;
12521
- return 0;
12522
- }
12523
- _ACEOF
12524
- for ac_lib in '' ssleay32 ssl; do
12525
- if test -z "$ac_lib"; then
12526
- ac_res="none required"
12527
- else
12528
- ac_res=-l$ac_lib
12529
- LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12530
- fi
12531
- if ac_fn_c_try_link "$LINENO"; then :
12532
- ac_cv_search_SSL_new=$ac_res
12533
- fi
12534
- rm -f core conftest.err conftest.$ac_objext \
12535
- conftest$ac_exeext
12536
- if ${ac_cv_search_SSL_new+:} false; then :
12537
- break
12538
- fi
12539
- done
12540
- if ${ac_cv_search_SSL_new+:} false; then :
12541
-
12542
- else
12543
- ac_cv_search_SSL_new=no
12544
- fi
12545
- rm conftest.$ac_ext
12546
- LIBS=$ac_func_search_save_LIBS
12547
- fi
12548
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_SSL_new" >&5
12549
- $as_echo "$ac_cv_search_SSL_new" >&6; }
12550
- ac_res=$ac_cv_search_SSL_new
12551
- if test "$ac_res" != no; then :
12552
- test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12553
-
12554
- else
12555
- as_fn_error $? "library 'ssleay32' or 'ssl' is required for OpenSSL" "$LINENO" 5
12556
- fi
12557
-
12558
- fi
12559
12440
# Functions introduced in OpenSSL 1.1.1.
12560
12441
for ac_func in SSL_CTX_set_ciphersuites
12561
12442
do :
0 commit comments