diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2408 |
1 files changed, 153 insertions, 2255 deletions
@@ -2625,197 +2625,7 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |||
2625 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 2625 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2626 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 2626 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2627 | if test -n "$ac_tool_prefix"; then | 2627 | if test -n "$ac_tool_prefix"; then |
2628 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | 2628 | for ac_prog in cc gcc |
2629 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 | ||
2630 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | ||
2631 | $as_echo_n "checking for $ac_word... " >&6; } | ||
2632 | if ${ac_cv_prog_CC+:} false; then : | ||
2633 | $as_echo_n "(cached) " >&6 | ||
2634 | else | ||
2635 | if test -n "$CC"; then | ||
2636 | ac_cv_prog_CC="$CC" # Let the user override the test. | ||
2637 | else | ||
2638 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2639 | for as_dir in $PATH | ||
2640 | do | ||
2641 | IFS=$as_save_IFS | ||
2642 | test -z "$as_dir" && as_dir=. | ||
2643 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
2644 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
2645 | ac_cv_prog_CC="${ac_tool_prefix}gcc" | ||
2646 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
2647 | break 2 | ||
2648 | fi | ||
2649 | done | ||
2650 | done | ||
2651 | IFS=$as_save_IFS | ||
2652 | |||
2653 | fi | ||
2654 | fi | ||
2655 | CC=$ac_cv_prog_CC | ||
2656 | if test -n "$CC"; then | ||
2657 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | ||
2658 | $as_echo "$CC" >&6; } | ||
2659 | else | ||
2660 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
2661 | $as_echo "no" >&6; } | ||
2662 | fi | ||
2663 | |||
2664 | |||
2665 | fi | ||
2666 | if test -z "$ac_cv_prog_CC"; then | ||
2667 | ac_ct_CC=$CC | ||
2668 | # Extract the first word of "gcc", so it can be a program name with args. | ||
2669 | set dummy gcc; ac_word=$2 | ||
2670 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | ||
2671 | $as_echo_n "checking for $ac_word... " >&6; } | ||
2672 | if ${ac_cv_prog_ac_ct_CC+:} false; then : | ||
2673 | $as_echo_n "(cached) " >&6 | ||
2674 | else | ||
2675 | if test -n "$ac_ct_CC"; then | ||
2676 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | ||
2677 | else | ||
2678 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2679 | for as_dir in $PATH | ||
2680 | do | ||
2681 | IFS=$as_save_IFS | ||
2682 | test -z "$as_dir" && as_dir=. | ||
2683 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
2684 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
2685 | ac_cv_prog_ac_ct_CC="gcc" | ||
2686 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
2687 | break 2 | ||
2688 | fi | ||
2689 | done | ||
2690 | done | ||
2691 | IFS=$as_save_IFS | ||
2692 | |||
2693 | fi | ||
2694 | fi | ||
2695 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | ||
2696 | if test -n "$ac_ct_CC"; then | ||
2697 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | ||
2698 | $as_echo "$ac_ct_CC" >&6; } | ||
2699 | else | ||
2700 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
2701 | $as_echo "no" >&6; } | ||
2702 | fi | ||
2703 | |||
2704 | if test "x$ac_ct_CC" = x; then | ||
2705 | CC="" | ||
2706 | else | ||
2707 | case $cross_compiling:$ac_tool_warned in | ||
2708 | yes:) | ||
2709 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | ||
2710 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | ||
2711 | ac_tool_warned=yes ;; | ||
2712 | esac | ||
2713 | CC=$ac_ct_CC | ||
2714 | fi | ||
2715 | else | ||
2716 | CC="$ac_cv_prog_CC" | ||
2717 | fi | ||
2718 | |||
2719 | if test -z "$CC"; then | ||
2720 | if test -n "$ac_tool_prefix"; then | ||
2721 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | ||
2722 | set dummy ${ac_tool_prefix}cc; ac_word=$2 | ||
2723 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | ||
2724 | $as_echo_n "checking for $ac_word... " >&6; } | ||
2725 | if ${ac_cv_prog_CC+:} false; then : | ||
2726 | $as_echo_n "(cached) " >&6 | ||
2727 | else | ||
2728 | if test -n "$CC"; then | ||
2729 | ac_cv_prog_CC="$CC" # Let the user override the test. | ||
2730 | else | ||
2731 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2732 | for as_dir in $PATH | ||
2733 | do | ||
2734 | IFS=$as_save_IFS | ||
2735 | test -z "$as_dir" && as_dir=. | ||
2736 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
2737 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
2738 | ac_cv_prog_CC="${ac_tool_prefix}cc" | ||
2739 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
2740 | break 2 | ||
2741 | fi | ||
2742 | done | ||
2743 | done | ||
2744 | IFS=$as_save_IFS | ||
2745 | |||
2746 | fi | ||
2747 | fi | ||
2748 | CC=$ac_cv_prog_CC | ||
2749 | if test -n "$CC"; then | ||
2750 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | ||
2751 | $as_echo "$CC" >&6; } | ||
2752 | else | ||
2753 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
2754 | $as_echo "no" >&6; } | ||
2755 | fi | ||
2756 | |||
2757 | |||
2758 | fi | ||
2759 | fi | ||
2760 | if test -z "$CC"; then | ||
2761 | # Extract the first word of "cc", so it can be a program name with args. | ||
2762 | set dummy cc; ac_word=$2 | ||
2763 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | ||
2764 | $as_echo_n "checking for $ac_word... " >&6; } | ||
2765 | if ${ac_cv_prog_CC+:} false; then : | ||
2766 | $as_echo_n "(cached) " >&6 | ||
2767 | else | ||
2768 | if test -n "$CC"; then | ||
2769 | ac_cv_prog_CC="$CC" # Let the user override the test. | ||
2770 | else | ||
2771 | ac_prog_rejected=no | ||
2772 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2773 | for as_dir in $PATH | ||
2774 | do | ||
2775 | IFS=$as_save_IFS | ||
2776 | test -z "$as_dir" && as_dir=. | ||
2777 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
2778 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
2779 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | ||
2780 | ac_prog_rejected=yes | ||
2781 | continue | ||
2782 | fi | ||
2783 | ac_cv_prog_CC="cc" | ||
2784 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
2785 | break 2 | ||
2786 | fi | ||
2787 | done | ||
2788 | done | ||
2789 | IFS=$as_save_IFS | ||
2790 | |||
2791 | if test $ac_prog_rejected = yes; then | ||
2792 | # We found a bogon in the path, so make sure we never use it. | ||
2793 | set dummy $ac_cv_prog_CC | ||
2794 | shift | ||
2795 | if test $# != 0; then | ||
2796 | # We chose a different compiler from the bogus one. | ||
2797 | # However, it has the same basename, so the bogon will be chosen | ||
2798 | # first if we set CC to just the basename; use the full file name. | ||
2799 | shift | ||
2800 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" | ||
2801 | fi | ||
2802 | fi | ||
2803 | fi | ||
2804 | fi | ||
2805 | CC=$ac_cv_prog_CC | ||
2806 | if test -n "$CC"; then | ||
2807 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | ||
2808 | $as_echo "$CC" >&6; } | ||
2809 | else | ||
2810 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
2811 | $as_echo "no" >&6; } | ||
2812 | fi | ||
2813 | |||
2814 | |||
2815 | fi | ||
2816 | if test -z "$CC"; then | ||
2817 | if test -n "$ac_tool_prefix"; then | ||
2818 | for ac_prog in cl.exe | ||
2819 | do | 2629 | do |
2820 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 2630 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
2821 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 2631 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
@@ -2859,7 +2669,7 @@ fi | |||
2859 | fi | 2669 | fi |
2860 | if test -z "$CC"; then | 2670 | if test -z "$CC"; then |
2861 | ac_ct_CC=$CC | 2671 | ac_ct_CC=$CC |
2862 | for ac_prog in cl.exe | 2672 | for ac_prog in cc gcc |
2863 | do | 2673 | do |
2864 | # Extract the first word of "$ac_prog", so it can be a program name with args. | 2674 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
2865 | set dummy $ac_prog; ac_word=$2 | 2675 | set dummy $ac_prog; ac_word=$2 |
@@ -2914,8 +2724,6 @@ esac | |||
2914 | fi | 2724 | fi |
2915 | fi | 2725 | fi |
2916 | 2726 | ||
2917 | fi | ||
2918 | |||
2919 | 2727 | ||
2920 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 2728 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2921 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 2729 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
@@ -6735,10 +6543,11 @@ fi | |||
6735 | if test "${with_rpath+set}" = set; then : | 6543 | if test "${with_rpath+set}" = set; then : |
6736 | withval=$with_rpath; | 6544 | withval=$with_rpath; |
6737 | if test "x$withval" = "xno" ; then | 6545 | if test "x$withval" = "xno" ; then |
6738 | need_dash_r="" | 6546 | rpath_opt="" |
6739 | fi | 6547 | elif test "x$withval" = "xyes" ; then |
6740 | if test "x$withval" = "xyes" ; then | 6548 | rpath_opt="-R" |
6741 | need_dash_r=1 | 6549 | else |
6550 | rpath_opt="$withval" | ||
6742 | fi | 6551 | fi |
6743 | 6552 | ||
6744 | 6553 | ||
@@ -8059,7 +7868,7 @@ $as_echo "#define NEED_SETPGRP 1" >>confdefs.h | |||
8059 | *-*-netbsd*) | 7868 | *-*-netbsd*) |
8060 | check_for_libcrypt_before=1 | 7869 | check_for_libcrypt_before=1 |
8061 | if test "x$withval" != "xno" ; then | 7870 | if test "x$withval" != "xno" ; then |
8062 | need_dash_r=1 | 7871 | rpath_opt="-R" |
8063 | fi | 7872 | fi |
8064 | CPPFLAGS="$CPPFLAGS -D_OPENBSD_SOURCE" | 7873 | CPPFLAGS="$CPPFLAGS -D_OPENBSD_SOURCE" |
8065 | 7874 | ||
@@ -8153,7 +7962,7 @@ $as_echo "#define SYSLOG_R_SAFE_IN_SIGHAND 1" >>confdefs.h | |||
8153 | ;; | 7962 | ;; |
8154 | *-*-solaris*) | 7963 | *-*-solaris*) |
8155 | if test "x$withval" != "xno" ; then | 7964 | if test "x$withval" != "xno" ; then |
8156 | need_dash_r=1 | 7965 | rpath_opt="-R" |
8157 | fi | 7966 | fi |
8158 | $as_echo "#define PAM_SUN_CODEBASE 1" >>confdefs.h | 7967 | $as_echo "#define PAM_SUN_CODEBASE 1" >>confdefs.h |
8159 | 7968 | ||
@@ -9083,14 +8892,14 @@ if test "${with_zlib+set}" = set; then : | |||
9083 | as_fn_error $? "*** zlib is required ***" "$LINENO" 5 | 8892 | as_fn_error $? "*** zlib is required ***" "$LINENO" 5 |
9084 | elif test "x$withval" != "xyes"; then | 8893 | elif test "x$withval" != "xyes"; then |
9085 | if test -d "$withval/lib"; then | 8894 | if test -d "$withval/lib"; then |
9086 | if test -n "${need_dash_r}"; then | 8895 | if test -n "${rpath_opt}"; then |
9087 | LDFLAGS="-L${withval}/lib -R${withval}/lib ${LDFLAGS}" | 8896 | LDFLAGS="-L${withval}/lib ${rpath_opt}${withval}/lib ${LDFLAGS}" |
9088 | else | 8897 | else |
9089 | LDFLAGS="-L${withval}/lib ${LDFLAGS}" | 8898 | LDFLAGS="-L${withval}/lib ${LDFLAGS}" |
9090 | fi | 8899 | fi |
9091 | else | 8900 | else |
9092 | if test -n "${need_dash_r}"; then | 8901 | if test -n "${rpath_opt}"; then |
9093 | LDFLAGS="-L${withval} -R${withval} ${LDFLAGS}" | 8902 | LDFLAGS="-L${withval} ${rpath_opt}${withval} ${LDFLAGS}" |
9094 | else | 8903 | else |
9095 | LDFLAGS="-L${withval} ${LDFLAGS}" | 8904 | LDFLAGS="-L${withval} ${LDFLAGS}" |
9096 | fi | 8905 | fi |
@@ -9161,8 +8970,8 @@ else | |||
9161 | saved_CPPFLAGS="$CPPFLAGS" | 8970 | saved_CPPFLAGS="$CPPFLAGS" |
9162 | saved_LDFLAGS="$LDFLAGS" | 8971 | saved_LDFLAGS="$LDFLAGS" |
9163 | save_LIBS="$LIBS" | 8972 | save_LIBS="$LIBS" |
9164 | if test -n "${need_dash_r}"; then | 8973 | if test -n "${rpath_opt}"; then |
9165 | LDFLAGS="-L/usr/local/lib -R/usr/local/lib ${saved_LDFLAGS}" | 8974 | LDFLAGS="-L/usr/local/lib ${rpath_opt}/usr/local/lib ${saved_LDFLAGS}" |
9166 | else | 8975 | else |
9167 | LDFLAGS="-L/usr/local/lib ${saved_LDFLAGS}" | 8976 | LDFLAGS="-L/usr/local/lib ${saved_LDFLAGS}" |
9168 | fi | 8977 | fi |
@@ -10607,8 +10416,8 @@ $as_echo "no" >&6; } | |||
10607 | fi | 10416 | fi |
10608 | else | 10417 | else |
10609 | CPPFLAGS="$CPPFLAGS -I${withval}/include" | 10418 | CPPFLAGS="$CPPFLAGS -I${withval}/include" |
10610 | if test -n "${need_dash_r}"; then | 10419 | if test -n "${rpath_opt}"; then |
10611 | LDFLAGS="-L${withval}/lib -R${withval}/lib ${LDFLAGS}" | 10420 | LDFLAGS="-L${withval}/lib ${rpath_opt}${withval}/lib ${LDFLAGS}" |
10612 | else | 10421 | else |
10613 | LDFLAGS="-L${withval}/lib ${LDFLAGS}" | 10422 | LDFLAGS="-L${withval}/lib ${LDFLAGS}" |
10614 | fi | 10423 | fi |
@@ -11030,7 +10839,9 @@ for ac_func in \ | |||
11030 | errx \ | 10839 | errx \ |
11031 | explicit_bzero \ | 10840 | explicit_bzero \ |
11032 | fchmod \ | 10841 | fchmod \ |
10842 | fchmodat \ | ||
11033 | fchown \ | 10843 | fchown \ |
10844 | fchownat \ | ||
11034 | flock \ | 10845 | flock \ |
11035 | freeaddrinfo \ | 10846 | freeaddrinfo \ |
11036 | freezero \ | 10847 | freezero \ |
@@ -11123,6 +10934,7 @@ for ac_func in \ | |||
11123 | truncate \ | 10934 | truncate \ |
11124 | unsetenv \ | 10935 | unsetenv \ |
11125 | updwtmpx \ | 10936 | updwtmpx \ |
10937 | utimensat \ | ||
11126 | user_from_uid \ | 10938 | user_from_uid \ |
11127 | usleep \ | 10939 | usleep \ |
11128 | vasprintf \ | 10940 | vasprintf \ |
@@ -12742,20 +12554,20 @@ if test "${with_ssl_dir+set}" = set; then : | |||
12742 | ./*|../*) withval="`pwd`/$withval" | 12554 | ./*|../*) withval="`pwd`/$withval" |
12743 | esac | 12555 | esac |
12744 | if test -d "$withval/lib"; then | 12556 | if test -d "$withval/lib"; then |
12745 | if test -n "${need_dash_r}"; then | 12557 | if test -n "${rpath_opt}"; then |
12746 | LDFLAGS="-L${withval}/lib -R${withval}/lib ${LDFLAGS}" | 12558 | LDFLAGS="-L${withval}/lib ${rpath_opt}${withval}/lib ${LDFLAGS}" |
12747 | else | 12559 | else |
12748 | LDFLAGS="-L${withval}/lib ${LDFLAGS}" | 12560 | LDFLAGS="-L${withval}/lib ${LDFLAGS}" |
12749 | fi | 12561 | fi |
12750 | elif test -d "$withval/lib64"; then | 12562 | elif test -d "$withval/lib64"; then |
12751 | if test -n "${need_dash_r}"; then | 12563 | if test -n "${rpath_opt}"; then |
12752 | LDFLAGS="-L${withval}/lib64 -R${withval}/lib64 ${LDFLAGS}" | 12564 | LDFLAGS="-L${withval}/lib64 ${rpath_opt}${withval}/lib64 ${LDFLAGS}" |
12753 | else | 12565 | else |
12754 | LDFLAGS="-L${withval}/lib64 ${LDFLAGS}" | 12566 | LDFLAGS="-L${withval}/lib64 ${LDFLAGS}" |
12755 | fi | 12567 | fi |
12756 | else | 12568 | else |
12757 | if test -n "${need_dash_r}"; then | 12569 | if test -n "${rpath_opt}"; then |
12758 | LDFLAGS="-L${withval} -R${withval} ${LDFLAGS}" | 12570 | LDFLAGS="-L${withval} ${rpath_opt}${withval} ${LDFLAGS}" |
12759 | else | 12571 | else |
12760 | LDFLAGS="-L${withval} ${LDFLAGS}" | 12572 | LDFLAGS="-L${withval} ${LDFLAGS}" |
12761 | fi | 12573 | fi |
@@ -12821,17 +12633,12 @@ return RAND_add (); | |||
12821 | _ACEOF | 12633 | _ACEOF |
12822 | if ac_fn_c_try_link "$LINENO"; then : | 12634 | if ac_fn_c_try_link "$LINENO"; then : |
12823 | 12635 | ||
12824 | $as_echo "#define HAVE_OPENSSL 1" >>confdefs.h | ||
12825 | |||
12826 | else | 12636 | else |
12827 | 12637 | as_fn_error $? "*** working libcrypto not found, check config.log" "$LINENO" 5 | |
12828 | if test -n "${need_dash_r}"; then | 12638 | fi |
12829 | LDFLAGS="-L/usr/local/ssl/lib -R/usr/local/ssl/lib ${saved_LDFLAGS}" | 12639 | rm -f core conftest.err conftest.$ac_objext \ |
12830 | else | 12640 | conftest$ac_exeext conftest.$ac_ext |
12831 | LDFLAGS="-L/usr/local/ssl/lib ${saved_LDFLAGS}" | 12641 | ac_fn_c_check_header_mongrel "$LINENO" "openssl/opensslv.h" "ac_cv_header_openssl_opensslv_h" "$ac_includes_default" |
12832 | fi | ||
12833 | CPPFLAGS="-I/usr/local/ssl/include ${saved_CPPFLAGS}" | ||
12834 | ac_fn_c_check_header_mongrel "$LINENO" "openssl/opensslv.h" "ac_cv_header_openssl_opensslv_h" "$ac_includes_default" | ||
12835 | if test "x$ac_cv_header_openssl_opensslv_h" = xyes; then : | 12642 | if test "x$ac_cv_header_openssl_opensslv_h" = xyes; then : |
12836 | 12643 | ||
12837 | else | 12644 | else |
@@ -12839,40 +12646,6 @@ else | |||
12839 | fi | 12646 | fi |
12840 | 12647 | ||
12841 | 12648 | ||
12842 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
12843 | /* end confdefs.h. */ | ||
12844 | |||
12845 | /* Override any GCC internal prototype to avoid an error. | ||
12846 | Use char because int might match the return type of a GCC | ||
12847 | builtin and then its argument prototype would still apply. */ | ||
12848 | #ifdef __cplusplus | ||
12849 | extern "C" | ||
12850 | #endif | ||
12851 | char RAND_add (); | ||
12852 | int | ||
12853 | main () | ||
12854 | { | ||
12855 | return RAND_add (); | ||
12856 | ; | ||
12857 | return 0; | ||
12858 | } | ||
12859 | _ACEOF | ||
12860 | if ac_fn_c_try_link "$LINENO"; then : | ||
12861 | $as_echo "#define HAVE_OPENSSL 1" >>confdefs.h | ||
12862 | |||
12863 | else | ||
12864 | |||
12865 | as_fn_error $? "*** Can't find recent OpenSSL libcrypto (see config.log for details) ***" "$LINENO" 5 | ||
12866 | |||
12867 | |||
12868 | fi | ||
12869 | rm -f core conftest.err conftest.$ac_objext \ | ||
12870 | conftest$ac_exeext conftest.$ac_ext | ||
12871 | |||
12872 | |||
12873 | fi | ||
12874 | rm -f core conftest.err conftest.$ac_objext \ | ||
12875 | conftest$ac_exeext conftest.$ac_ext | ||
12876 | 12649 | ||
12877 | # Determine OpenSSL header version | 12650 | # Determine OpenSSL header version |
12878 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking OpenSSL header version" >&5 | 12651 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking OpenSSL header version" >&5 |
@@ -12933,6 +12706,20 @@ rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | |||
12933 | fi | 12706 | fi |
12934 | 12707 | ||
12935 | 12708 | ||
12709 | # Determining OpenSSL library version is version dependent. | ||
12710 | for ac_func in OpenSSL_version OpenSSL_version_num | ||
12711 | do : | ||
12712 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
12713 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | ||
12714 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | ||
12715 | cat >>confdefs.h <<_ACEOF | ||
12716 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
12717 | _ACEOF | ||
12718 | |||
12719 | fi | ||
12720 | done | ||
12721 | |||
12722 | |||
12936 | # Determine OpenSSL library version | 12723 | # Determine OpenSSL library version |
12937 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking OpenSSL library version" >&5 | 12724 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking OpenSSL library version" >&5 |
12938 | $as_echo_n "checking OpenSSL library version... " >&6; } | 12725 | $as_echo_n "checking OpenSSL library version... " >&6; } |
@@ -12962,9 +12749,18 @@ main () | |||
12962 | fd = fopen(DATA,"w"); | 12749 | fd = fopen(DATA,"w"); |
12963 | if(fd == NULL) | 12750 | if(fd == NULL) |
12964 | exit(1); | 12751 | exit(1); |
12965 | 12752 | #ifndef OPENSSL_VERSION | |
12966 | if ((rc = fprintf(fd, "%08lx (%s)\n", (unsigned long)SSLeay(), | 12753 | # define OPENSSL_VERSION SSLEAY_VERSION |
12967 | SSLeay_version(SSLEAY_VERSION))) < 0) | 12754 | #endif |
12755 | #ifndef HAVE_OPENSSL_VERSION | ||
12756 | # define OpenSSL_version SSLeay_version | ||
12757 | #endif | ||
12758 | #ifndef HAVE_OPENSSL_VERSION_NUM | ||
12759 | # define OpenSSL_version_num SSLeay | ||
12760 | #endif | ||
12761 | if ((rc = fprintf(fd, "%08lx (%s)\n", | ||
12762 | (unsigned long)OpenSSL_version_num(), | ||
12763 | OpenSSL_version(OPENSSL_VERSION))) < 0) | ||
12968 | exit(1); | 12764 | exit(1); |
12969 | 12765 | ||
12970 | exit(0); | 12766 | exit(0); |
@@ -12982,14 +12778,15 @@ if ac_fn_c_try_run "$LINENO"; then : | |||
12982 | as_fn_error $? "OpenSSL >= 1.0.1 required (have \"$ssl_library_ver\")" "$LINENO" 5 | 12778 | as_fn_error $? "OpenSSL >= 1.0.1 required (have \"$ssl_library_ver\")" "$LINENO" 5 |
12983 | ;; | 12779 | ;; |
12984 | 100*) ;; # 1.0.x | 12780 | 100*) ;; # 1.0.x |
12985 | 1010000123456*) | 12781 | 101000[0123456]*) |
12986 | # https://github.com/openssl/openssl/pull/4613 | 12782 | # https://github.com/openssl/openssl/pull/4613 |
12987 | as_fn_error $? "OpenSSL 1.1.x versions prior to 1.1.0g have a bug that breaks their use with OpenSSH (have \"$ssl_library_ver\")" "$LINENO" 5 | 12783 | as_fn_error $? "OpenSSL 1.1.x versions prior to 1.1.0g have a bug that breaks their use with OpenSSH (have \"$ssl_library_ver\")" "$LINENO" 5 |
12988 | ;; | 12784 | ;; |
12989 | 101*) ;; # 1.1.x | 12785 | 101*) ;; # 1.1.x |
12990 | 200*) ;; # LibreSSL | 12786 | 200*) ;; # LibreSSL |
12787 | 300*) ;; # OpenSSL development branch. | ||
12991 | *) | 12788 | *) |
12992 | as_fn_error $? "OpenSSL > 1.1.x is not yet supported (have \"$ssl_library_ver\")" "$LINENO" 5 | 12789 | as_fn_error $? "Unknown/unsupported OpenSSL version (\"$ssl_library_ver\")" "$LINENO" 5 |
12993 | ;; | 12790 | ;; |
12994 | esac | 12791 | esac |
12995 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssl_library_ver" >&5 | 12792 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssl_library_ver" >&5 |
@@ -13028,7 +12825,10 @@ int | |||
13028 | main () | 12825 | main () |
13029 | { | 12826 | { |
13030 | 12827 | ||
13031 | exit(SSLeay() == OPENSSL_VERSION_NUMBER ? 0 : 1); | 12828 | #ifndef HAVE_OPENSSL_VERSION_NUM |
12829 | # define OpenSSL_version_num SSLeay | ||
12830 | #endif | ||
12831 | exit(OpenSSL_version_num() == OPENSSL_VERSION_NUMBER ? 0 : 1); | ||
13032 | 12832 | ||
13033 | ; | 12833 | ; |
13034 | return 0; | 12834 | return 0; |
@@ -13069,11 +12869,11 @@ fi | |||
13069 | $as_echo_n "checking if programs using OpenSSL functions will link... " >&6; } | 12869 | $as_echo_n "checking if programs using OpenSSL functions will link... " >&6; } |
13070 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 12870 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13071 | /* end confdefs.h. */ | 12871 | /* end confdefs.h. */ |
13072 | #include <openssl/evp.h> | 12872 | #include <openssl/err.h> |
13073 | int | 12873 | int |
13074 | main () | 12874 | main () |
13075 | { | 12875 | { |
13076 | SSLeay_add_all_algorithms(); | 12876 | ERR_load_crypto_strings(); |
13077 | ; | 12877 | ; |
13078 | return 0; | 12878 | return 0; |
13079 | } | 12879 | } |
@@ -13093,11 +12893,11 @@ $as_echo "no" >&6; } | |||
13093 | $as_echo_n "checking if programs using OpenSSL need -ldl... " >&6; } | 12893 | $as_echo_n "checking if programs using OpenSSL need -ldl... " >&6; } |
13094 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 12894 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13095 | /* end confdefs.h. */ | 12895 | /* end confdefs.h. */ |
13096 | #include <openssl/evp.h> | 12896 | #include <openssl/err.h> |
13097 | int | 12897 | int |
13098 | main () | 12898 | main () |
13099 | { | 12899 | { |
13100 | SSLeay_add_all_algorithms(); | 12900 | ERR_load_crypto_strings(); |
13101 | ; | 12901 | ; |
13102 | return 0; | 12902 | return 0; |
13103 | } | 12903 | } |
@@ -13126,11 +12926,12 @@ rm -f core conftest.err conftest.$ac_objext \ | |||
13126 | for ac_func in \ | 12926 | for ac_func in \ |
13127 | BN_is_prime_ex \ | 12927 | BN_is_prime_ex \ |
13128 | DSA_generate_parameters_ex \ | 12928 | DSA_generate_parameters_ex \ |
13129 | EVP_DigestInit_ex \ | 12929 | EVP_CIPHER_CTX_ctrl \ |
13130 | EVP_DigestFinal_ex \ | 12930 | EVP_DigestFinal_ex \ |
13131 | EVP_MD_CTX_init \ | 12931 | EVP_DigestInit_ex \ |
13132 | EVP_MD_CTX_cleanup \ | 12932 | EVP_MD_CTX_cleanup \ |
13133 | EVP_MD_CTX_copy_ex \ | 12933 | EVP_MD_CTX_copy_ex \ |
12934 | EVP_MD_CTX_init \ | ||
13134 | HMAC_CTX_init \ | 12935 | HMAC_CTX_init \ |
13135 | RSA_generate_key_ex \ | 12936 | RSA_generate_key_ex \ |
13136 | RSA_get_default_method \ | 12937 | RSA_get_default_method \ |
@@ -13147,6 +12948,75 @@ fi | |||
13147 | done | 12948 | done |
13148 | 12949 | ||
13149 | 12950 | ||
12951 | # OpenSSL_add_all_algorithms may be a macro. | ||
12952 | ac_fn_c_check_func "$LINENO" "OpenSSL_add_all_algorithms" "ac_cv_func_OpenSSL_add_all_algorithms" | ||
12953 | if test "x$ac_cv_func_OpenSSL_add_all_algorithms" = xyes; then : | ||
12954 | |||
12955 | $as_echo "#define HAVE_OPENSSL_ADD_ALL_ALGORITHMS 1" >>confdefs.h | ||
12956 | |||
12957 | else | ||
12958 | ac_fn_c_check_decl "$LINENO" "OpenSSL_add_all_algorithms" "ac_cv_have_decl_OpenSSL_add_all_algorithms" "#include <openssl/evp.h> | ||
12959 | |||
12960 | " | ||
12961 | if test "x$ac_cv_have_decl_OpenSSL_add_all_algorithms" = xyes; then : | ||
12962 | |||
12963 | $as_echo "#define HAVE_OPENSSL_ADD_ALL_ALGORITHMS 1" >>confdefs.h | ||
12964 | |||
12965 | fi | ||
12966 | |||
12967 | |||
12968 | fi | ||
12969 | |||
12970 | |||
12971 | # LibreSSL/OpenSSL 1.1x API | ||
12972 | for ac_func in \ | ||
12973 | OPENSSL_init_crypto \ | ||
12974 | DH_get0_key \ | ||
12975 | DH_get0_pqg \ | ||
12976 | DH_set0_key \ | ||
12977 | DH_set_length \ | ||
12978 | DH_set0_pqg \ | ||
12979 | DSA_get0_key \ | ||
12980 | DSA_get0_pqg \ | ||
12981 | DSA_set0_key \ | ||
12982 | DSA_set0_pqg \ | ||
12983 | DSA_SIG_get0 \ | ||
12984 | DSA_SIG_set0 \ | ||
12985 | ECDSA_SIG_get0 \ | ||
12986 | ECDSA_SIG_set0 \ | ||
12987 | EVP_CIPHER_CTX_iv \ | ||
12988 | EVP_CIPHER_CTX_iv_noconst \ | ||
12989 | EVP_CIPHER_CTX_get_iv \ | ||
12990 | EVP_CIPHER_CTX_set_iv \ | ||
12991 | RSA_get0_crt_params \ | ||
12992 | RSA_get0_factors \ | ||
12993 | RSA_get0_key \ | ||
12994 | RSA_set0_crt_params \ | ||
12995 | RSA_set0_factors \ | ||
12996 | RSA_set0_key \ | ||
12997 | RSA_meth_free \ | ||
12998 | RSA_meth_dup \ | ||
12999 | RSA_meth_set1_name \ | ||
13000 | RSA_meth_get_finish \ | ||
13001 | RSA_meth_set_priv_enc \ | ||
13002 | RSA_meth_set_priv_dec \ | ||
13003 | RSA_meth_set_finish \ | ||
13004 | EVP_PKEY_get0_RSA \ | ||
13005 | EVP_MD_CTX_new \ | ||
13006 | EVP_MD_CTX_free \ | ||
13007 | |||
13008 | do : | ||
13009 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
13010 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | ||
13011 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | ||
13012 | cat >>confdefs.h <<_ACEOF | ||
13013 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
13014 | _ACEOF | ||
13015 | |||
13016 | fi | ||
13017 | done | ||
13018 | |||
13019 | |||
13150 | if test "x$openssl_engine" = "xyes" ; then | 13020 | if test "x$openssl_engine" = "xyes" ; then |
13151 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL ENGINE support" >&5 | 13021 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL ENGINE support" >&5 |
13152 | $as_echo_n "checking for OpenSSL ENGINE support... " >&6; } | 13022 | $as_echo_n "checking for OpenSSL ENGINE support... " >&6; } |
@@ -13302,1989 +13172,6 @@ fi | |||
13302 | rm -f core conftest.err conftest.$ac_objext \ | 13172 | rm -f core conftest.err conftest.$ac_objext \ |
13303 | conftest$ac_exeext conftest.$ac_ext | 13173 | conftest$ac_exeext conftest.$ac_ext |
13304 | 13174 | ||
13305 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing EVP_CIPHER_CTX_ctrl" >&5 | ||
13306 | $as_echo_n "checking for library containing EVP_CIPHER_CTX_ctrl... " >&6; } | ||
13307 | if ${ac_cv_search_EVP_CIPHER_CTX_ctrl+:} false; then : | ||
13308 | $as_echo_n "(cached) " >&6 | ||
13309 | else | ||
13310 | ac_func_search_save_LIBS=$LIBS | ||
13311 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
13312 | /* end confdefs.h. */ | ||
13313 | |||
13314 | /* Override any GCC internal prototype to avoid an error. | ||
13315 | Use char because int might match the return type of a GCC | ||
13316 | builtin and then its argument prototype would still apply. */ | ||
13317 | #ifdef __cplusplus | ||
13318 | extern "C" | ||
13319 | #endif | ||
13320 | char EVP_CIPHER_CTX_ctrl (); | ||
13321 | int | ||
13322 | main () | ||
13323 | { | ||
13324 | return EVP_CIPHER_CTX_ctrl (); | ||
13325 | ; | ||
13326 | return 0; | ||
13327 | } | ||
13328 | _ACEOF | ||
13329 | for ac_lib in '' crypto; do | ||
13330 | if test -z "$ac_lib"; then | ||
13331 | ac_res="none required" | ||
13332 | else | ||
13333 | ac_res=-l$ac_lib | ||
13334 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
13335 | fi | ||
13336 | if ac_fn_c_try_link "$LINENO"; then : | ||
13337 | ac_cv_search_EVP_CIPHER_CTX_ctrl=$ac_res | ||
13338 | fi | ||
13339 | rm -f core conftest.err conftest.$ac_objext \ | ||
13340 | conftest$ac_exeext | ||
13341 | if ${ac_cv_search_EVP_CIPHER_CTX_ctrl+:} false; then : | ||
13342 | break | ||
13343 | fi | ||
13344 | done | ||
13345 | if ${ac_cv_search_EVP_CIPHER_CTX_ctrl+:} false; then : | ||
13346 | |||
13347 | else | ||
13348 | ac_cv_search_EVP_CIPHER_CTX_ctrl=no | ||
13349 | fi | ||
13350 | rm conftest.$ac_ext | ||
13351 | LIBS=$ac_func_search_save_LIBS | ||
13352 | fi | ||
13353 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_EVP_CIPHER_CTX_ctrl" >&5 | ||
13354 | $as_echo "$ac_cv_search_EVP_CIPHER_CTX_ctrl" >&6; } | ||
13355 | ac_res=$ac_cv_search_EVP_CIPHER_CTX_ctrl | ||
13356 | if test "$ac_res" != no; then : | ||
13357 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | ||
13358 | |||
13359 | $as_echo "#define HAVE_EVP_CIPHER_CTX_CTRL 1" >>confdefs.h | ||
13360 | |||
13361 | fi | ||
13362 | |||
13363 | |||
13364 | # LibreSSL/OpenSSL 1.1x API | ||
13365 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing DH_get0_key" >&5 | ||
13366 | $as_echo_n "checking for library containing DH_get0_key... " >&6; } | ||
13367 | if ${ac_cv_search_DH_get0_key+:} false; then : | ||
13368 | $as_echo_n "(cached) " >&6 | ||
13369 | else | ||
13370 | ac_func_search_save_LIBS=$LIBS | ||
13371 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
13372 | /* end confdefs.h. */ | ||
13373 | |||
13374 | /* Override any GCC internal prototype to avoid an error. | ||
13375 | Use char because int might match the return type of a GCC | ||
13376 | builtin and then its argument prototype would still apply. */ | ||
13377 | #ifdef __cplusplus | ||
13378 | extern "C" | ||
13379 | #endif | ||
13380 | char DH_get0_key (); | ||
13381 | int | ||
13382 | main () | ||
13383 | { | ||
13384 | return DH_get0_key (); | ||
13385 | ; | ||
13386 | return 0; | ||
13387 | } | ||
13388 | _ACEOF | ||
13389 | for ac_lib in '' crypto; do | ||
13390 | if test -z "$ac_lib"; then | ||
13391 | ac_res="none required" | ||
13392 | else | ||
13393 | ac_res=-l$ac_lib | ||
13394 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
13395 | fi | ||
13396 | if ac_fn_c_try_link "$LINENO"; then : | ||
13397 | ac_cv_search_DH_get0_key=$ac_res | ||
13398 | fi | ||
13399 | rm -f core conftest.err conftest.$ac_objext \ | ||
13400 | conftest$ac_exeext | ||
13401 | if ${ac_cv_search_DH_get0_key+:} false; then : | ||
13402 | break | ||
13403 | fi | ||
13404 | done | ||
13405 | if ${ac_cv_search_DH_get0_key+:} false; then : | ||
13406 | |||
13407 | else | ||
13408 | ac_cv_search_DH_get0_key=no | ||
13409 | fi | ||
13410 | rm conftest.$ac_ext | ||
13411 | LIBS=$ac_func_search_save_LIBS | ||
13412 | fi | ||
13413 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_DH_get0_key" >&5 | ||
13414 | $as_echo "$ac_cv_search_DH_get0_key" >&6; } | ||
13415 | ac_res=$ac_cv_search_DH_get0_key | ||
13416 | if test "$ac_res" != no; then : | ||
13417 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | ||
13418 | |||
13419 | $as_echo "#define HAVE_DH_GET0_KEY 1" >>confdefs.h | ||
13420 | |||
13421 | fi | ||
13422 | |||
13423 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing DH_get0_pqg" >&5 | ||
13424 | $as_echo_n "checking for library containing DH_get0_pqg... " >&6; } | ||
13425 | if ${ac_cv_search_DH_get0_pqg+:} false; then : | ||
13426 | $as_echo_n "(cached) " >&6 | ||
13427 | else | ||
13428 | ac_func_search_save_LIBS=$LIBS | ||
13429 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
13430 | /* end confdefs.h. */ | ||
13431 | |||
13432 | /* Override any GCC internal prototype to avoid an error. | ||
13433 | Use char because int might match the return type of a GCC | ||
13434 | builtin and then its argument prototype would still apply. */ | ||
13435 | #ifdef __cplusplus | ||
13436 | extern "C" | ||
13437 | #endif | ||
13438 | char DH_get0_pqg (); | ||
13439 | int | ||
13440 | main () | ||
13441 | { | ||
13442 | return DH_get0_pqg (); | ||
13443 | ; | ||
13444 | return 0; | ||
13445 | } | ||
13446 | _ACEOF | ||
13447 | for ac_lib in '' crypto; do | ||
13448 | if test -z "$ac_lib"; then | ||
13449 | ac_res="none required" | ||
13450 | else | ||
13451 | ac_res=-l$ac_lib | ||
13452 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
13453 | fi | ||
13454 | if ac_fn_c_try_link "$LINENO"; then : | ||
13455 | ac_cv_search_DH_get0_pqg=$ac_res | ||
13456 | fi | ||
13457 | rm -f core conftest.err conftest.$ac_objext \ | ||
13458 | conftest$ac_exeext | ||
13459 | if ${ac_cv_search_DH_get0_pqg+:} false; then : | ||
13460 | break | ||
13461 | fi | ||
13462 | done | ||
13463 | if ${ac_cv_search_DH_get0_pqg+:} false; then : | ||
13464 | |||
13465 | else | ||
13466 | ac_cv_search_DH_get0_pqg=no | ||
13467 | fi | ||
13468 | rm conftest.$ac_ext | ||
13469 | LIBS=$ac_func_search_save_LIBS | ||
13470 | fi | ||
13471 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_DH_get0_pqg" >&5 | ||
13472 | $as_echo "$ac_cv_search_DH_get0_pqg" >&6; } | ||
13473 | ac_res=$ac_cv_search_DH_get0_pqg | ||
13474 | if test "$ac_res" != no; then : | ||
13475 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | ||
13476 | |||
13477 | $as_echo "#define HAVE_DH_GET0_PQG 1" >>confdefs.h | ||
13478 | |||
13479 | fi | ||
13480 | |||
13481 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing DH_set0_key" >&5 | ||
13482 | $as_echo_n "checking for library containing DH_set0_key... " >&6; } | ||
13483 | if ${ac_cv_search_DH_set0_key+:} false; then : | ||
13484 | $as_echo_n "(cached) " >&6 | ||
13485 | else | ||
13486 | ac_func_search_save_LIBS=$LIBS | ||
13487 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
13488 | /* end confdefs.h. */ | ||
13489 | |||
13490 | /* Override any GCC internal prototype to avoid an error. | ||
13491 | Use char because int might match the return type of a GCC | ||
13492 | builtin and then its argument prototype would still apply. */ | ||
13493 | #ifdef __cplusplus | ||
13494 | extern "C" | ||
13495 | #endif | ||
13496 | char DH_set0_key (); | ||
13497 | int | ||
13498 | main () | ||
13499 | { | ||
13500 | return DH_set0_key (); | ||
13501 | ; | ||
13502 | return 0; | ||
13503 | } | ||
13504 | _ACEOF | ||
13505 | for ac_lib in '' crypto; do | ||
13506 | if test -z "$ac_lib"; then | ||
13507 | ac_res="none required" | ||
13508 | else | ||
13509 | ac_res=-l$ac_lib | ||
13510 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
13511 | fi | ||
13512 | if ac_fn_c_try_link "$LINENO"; then : | ||
13513 | ac_cv_search_DH_set0_key=$ac_res | ||
13514 | fi | ||
13515 | rm -f core conftest.err conftest.$ac_objext \ | ||
13516 | conftest$ac_exeext | ||
13517 | if ${ac_cv_search_DH_set0_key+:} false; then : | ||
13518 | break | ||
13519 | fi | ||
13520 | done | ||
13521 | if ${ac_cv_search_DH_set0_key+:} false; then : | ||
13522 | |||
13523 | else | ||
13524 | ac_cv_search_DH_set0_key=no | ||
13525 | fi | ||
13526 | rm conftest.$ac_ext | ||
13527 | LIBS=$ac_func_search_save_LIBS | ||
13528 | fi | ||
13529 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_DH_set0_key" >&5 | ||
13530 | $as_echo "$ac_cv_search_DH_set0_key" >&6; } | ||
13531 | ac_res=$ac_cv_search_DH_set0_key | ||
13532 | if test "$ac_res" != no; then : | ||
13533 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | ||
13534 | |||
13535 | $as_echo "#define HAVE_DH_SET0_KEY 1" >>confdefs.h | ||
13536 | |||
13537 | fi | ||
13538 | |||
13539 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing DH_set_length" >&5 | ||
13540 | $as_echo_n "checking for library containing DH_set_length... " >&6; } | ||
13541 | if ${ac_cv_search_DH_set_length+:} false; then : | ||
13542 | $as_echo_n "(cached) " >&6 | ||
13543 | else | ||
13544 | ac_func_search_save_LIBS=$LIBS | ||
13545 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
13546 | /* end confdefs.h. */ | ||
13547 | |||
13548 | /* Override any GCC internal prototype to avoid an error. | ||
13549 | Use char because int might match the return type of a GCC | ||
13550 | builtin and then its argument prototype would still apply. */ | ||
13551 | #ifdef __cplusplus | ||
13552 | extern "C" | ||
13553 | #endif | ||
13554 | char DH_set_length (); | ||
13555 | int | ||
13556 | main () | ||
13557 | { | ||
13558 | return DH_set_length (); | ||
13559 | ; | ||
13560 | return 0; | ||
13561 | } | ||
13562 | _ACEOF | ||
13563 | for ac_lib in '' crypto; do | ||
13564 | if test -z "$ac_lib"; then | ||
13565 | ac_res="none required" | ||
13566 | else | ||
13567 | ac_res=-l$ac_lib | ||
13568 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
13569 | fi | ||
13570 | if ac_fn_c_try_link "$LINENO"; then : | ||
13571 | ac_cv_search_DH_set_length=$ac_res | ||
13572 | fi | ||
13573 | rm -f core conftest.err conftest.$ac_objext \ | ||
13574 | conftest$ac_exeext | ||
13575 | if ${ac_cv_search_DH_set_length+:} false; then : | ||
13576 | break | ||
13577 | fi | ||
13578 | done | ||
13579 | if ${ac_cv_search_DH_set_length+:} false; then : | ||
13580 | |||
13581 | else | ||
13582 | ac_cv_search_DH_set_length=no | ||
13583 | fi | ||
13584 | rm conftest.$ac_ext | ||
13585 | LIBS=$ac_func_search_save_LIBS | ||
13586 | fi | ||
13587 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_DH_set_length" >&5 | ||
13588 | $as_echo "$ac_cv_search_DH_set_length" >&6; } | ||
13589 | ac_res=$ac_cv_search_DH_set_length | ||
13590 | if test "$ac_res" != no; then : | ||
13591 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | ||
13592 | |||
13593 | $as_echo "#define HAVE_DH_SET_LENGTH 1" >>confdefs.h | ||
13594 | |||
13595 | fi | ||
13596 | |||
13597 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing DH_set0_pqg" >&5 | ||
13598 | $as_echo_n "checking for library containing DH_set0_pqg... " >&6; } | ||
13599 | if ${ac_cv_search_DH_set0_pqg+:} false; then : | ||
13600 | $as_echo_n "(cached) " >&6 | ||
13601 | else | ||
13602 | ac_func_search_save_LIBS=$LIBS | ||
13603 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
13604 | /* end confdefs.h. */ | ||
13605 | |||
13606 | /* Override any GCC internal prototype to avoid an error. | ||
13607 | Use char because int might match the return type of a GCC | ||
13608 | builtin and then its argument prototype would still apply. */ | ||
13609 | #ifdef __cplusplus | ||
13610 | extern "C" | ||
13611 | #endif | ||
13612 | char DH_set0_pqg (); | ||
13613 | int | ||
13614 | main () | ||
13615 | { | ||
13616 | return DH_set0_pqg (); | ||
13617 | ; | ||
13618 | return 0; | ||
13619 | } | ||
13620 | _ACEOF | ||
13621 | for ac_lib in '' crypto; do | ||
13622 | if test -z "$ac_lib"; then | ||
13623 | ac_res="none required" | ||
13624 | else | ||
13625 | ac_res=-l$ac_lib | ||
13626 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
13627 | fi | ||
13628 | if ac_fn_c_try_link "$LINENO"; then : | ||
13629 | ac_cv_search_DH_set0_pqg=$ac_res | ||
13630 | fi | ||
13631 | rm -f core conftest.err conftest.$ac_objext \ | ||
13632 | conftest$ac_exeext | ||
13633 | if ${ac_cv_search_DH_set0_pqg+:} false; then : | ||
13634 | break | ||
13635 | fi | ||
13636 | done | ||
13637 | if ${ac_cv_search_DH_set0_pqg+:} false; then : | ||
13638 | |||
13639 | else | ||
13640 | ac_cv_search_DH_set0_pqg=no | ||
13641 | fi | ||
13642 | rm conftest.$ac_ext | ||
13643 | LIBS=$ac_func_search_save_LIBS | ||
13644 | fi | ||
13645 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_DH_set0_pqg" >&5 | ||
13646 | $as_echo "$ac_cv_search_DH_set0_pqg" >&6; } | ||
13647 | ac_res=$ac_cv_search_DH_set0_pqg | ||
13648 | if test "$ac_res" != no; then : | ||
13649 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | ||
13650 | |||
13651 | $as_echo "#define HAVE_DH_SET0_PQG 1" >>confdefs.h | ||
13652 | |||
13653 | fi | ||
13654 | |||
13655 | |||
13656 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing DSA_get0_key" >&5 | ||
13657 | $as_echo_n "checking for library containing DSA_get0_key... " >&6; } | ||
13658 | if ${ac_cv_search_DSA_get0_key+:} false; then : | ||
13659 | $as_echo_n "(cached) " >&6 | ||
13660 | else | ||
13661 | ac_func_search_save_LIBS=$LIBS | ||
13662 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
13663 | /* end confdefs.h. */ | ||
13664 | |||
13665 | /* Override any GCC internal prototype to avoid an error. | ||
13666 | Use char because int might match the return type of a GCC | ||
13667 | builtin and then its argument prototype would still apply. */ | ||
13668 | #ifdef __cplusplus | ||
13669 | extern "C" | ||
13670 | #endif | ||
13671 | char DSA_get0_key (); | ||
13672 | int | ||
13673 | main () | ||
13674 | { | ||
13675 | return DSA_get0_key (); | ||
13676 | ; | ||
13677 | return 0; | ||
13678 | } | ||
13679 | _ACEOF | ||
13680 | for ac_lib in '' crypto; do | ||
13681 | if test -z "$ac_lib"; then | ||
13682 | ac_res="none required" | ||
13683 | else | ||
13684 | ac_res=-l$ac_lib | ||
13685 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
13686 | fi | ||
13687 | if ac_fn_c_try_link "$LINENO"; then : | ||
13688 | ac_cv_search_DSA_get0_key=$ac_res | ||
13689 | fi | ||
13690 | rm -f core conftest.err conftest.$ac_objext \ | ||
13691 | conftest$ac_exeext | ||
13692 | if ${ac_cv_search_DSA_get0_key+:} false; then : | ||
13693 | break | ||
13694 | fi | ||
13695 | done | ||
13696 | if ${ac_cv_search_DSA_get0_key+:} false; then : | ||
13697 | |||
13698 | else | ||
13699 | ac_cv_search_DSA_get0_key=no | ||
13700 | fi | ||
13701 | rm conftest.$ac_ext | ||
13702 | LIBS=$ac_func_search_save_LIBS | ||
13703 | fi | ||
13704 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_DSA_get0_key" >&5 | ||
13705 | $as_echo "$ac_cv_search_DSA_get0_key" >&6; } | ||
13706 | ac_res=$ac_cv_search_DSA_get0_key | ||
13707 | if test "$ac_res" != no; then : | ||
13708 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | ||
13709 | |||
13710 | $as_echo "#define HAVE_DSA_GET0_KEY 1" >>confdefs.h | ||
13711 | |||
13712 | fi | ||
13713 | |||
13714 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing DSA_get0_pqg" >&5 | ||
13715 | $as_echo_n "checking for library containing DSA_get0_pqg... " >&6; } | ||
13716 | if ${ac_cv_search_DSA_get0_pqg+:} false; then : | ||
13717 | $as_echo_n "(cached) " >&6 | ||
13718 | else | ||
13719 | ac_func_search_save_LIBS=$LIBS | ||
13720 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
13721 | /* end confdefs.h. */ | ||
13722 | |||
13723 | /* Override any GCC internal prototype to avoid an error. | ||
13724 | Use char because int might match the return type of a GCC | ||
13725 | builtin and then its argument prototype would still apply. */ | ||
13726 | #ifdef __cplusplus | ||
13727 | extern "C" | ||
13728 | #endif | ||
13729 | char DSA_get0_pqg (); | ||
13730 | int | ||
13731 | main () | ||
13732 | { | ||
13733 | return DSA_get0_pqg (); | ||
13734 | ; | ||
13735 | return 0; | ||
13736 | } | ||
13737 | _ACEOF | ||
13738 | for ac_lib in '' crypto; do | ||
13739 | if test -z "$ac_lib"; then | ||
13740 | ac_res="none required" | ||
13741 | else | ||
13742 | ac_res=-l$ac_lib | ||
13743 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
13744 | fi | ||
13745 | if ac_fn_c_try_link "$LINENO"; then : | ||
13746 | ac_cv_search_DSA_get0_pqg=$ac_res | ||
13747 | fi | ||
13748 | rm -f core conftest.err conftest.$ac_objext \ | ||
13749 | conftest$ac_exeext | ||
13750 | if ${ac_cv_search_DSA_get0_pqg+:} false; then : | ||
13751 | break | ||
13752 | fi | ||
13753 | done | ||
13754 | if ${ac_cv_search_DSA_get0_pqg+:} false; then : | ||
13755 | |||
13756 | else | ||
13757 | ac_cv_search_DSA_get0_pqg=no | ||
13758 | fi | ||
13759 | rm conftest.$ac_ext | ||
13760 | LIBS=$ac_func_search_save_LIBS | ||
13761 | fi | ||
13762 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_DSA_get0_pqg" >&5 | ||
13763 | $as_echo "$ac_cv_search_DSA_get0_pqg" >&6; } | ||
13764 | ac_res=$ac_cv_search_DSA_get0_pqg | ||
13765 | if test "$ac_res" != no; then : | ||
13766 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | ||
13767 | |||
13768 | $as_echo "#define HAVE_DSA_GET0_PQG 1" >>confdefs.h | ||
13769 | |||
13770 | fi | ||
13771 | |||
13772 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing DSA_set0_key" >&5 | ||
13773 | $as_echo_n "checking for library containing DSA_set0_key... " >&6; } | ||
13774 | if ${ac_cv_search_DSA_set0_key+:} false; then : | ||
13775 | $as_echo_n "(cached) " >&6 | ||
13776 | else | ||
13777 | ac_func_search_save_LIBS=$LIBS | ||
13778 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
13779 | /* end confdefs.h. */ | ||
13780 | |||
13781 | /* Override any GCC internal prototype to avoid an error. | ||
13782 | Use char because int might match the return type of a GCC | ||
13783 | builtin and then its argument prototype would still apply. */ | ||
13784 | #ifdef __cplusplus | ||
13785 | extern "C" | ||
13786 | #endif | ||
13787 | char DSA_set0_key (); | ||
13788 | int | ||
13789 | main () | ||
13790 | { | ||
13791 | return DSA_set0_key (); | ||
13792 | ; | ||
13793 | return 0; | ||
13794 | } | ||
13795 | _ACEOF | ||
13796 | for ac_lib in '' crypto; do | ||
13797 | if test -z "$ac_lib"; then | ||
13798 | ac_res="none required" | ||
13799 | else | ||
13800 | ac_res=-l$ac_lib | ||
13801 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
13802 | fi | ||
13803 | if ac_fn_c_try_link "$LINENO"; then : | ||
13804 | ac_cv_search_DSA_set0_key=$ac_res | ||
13805 | fi | ||
13806 | rm -f core conftest.err conftest.$ac_objext \ | ||
13807 | conftest$ac_exeext | ||
13808 | if ${ac_cv_search_DSA_set0_key+:} false; then : | ||
13809 | break | ||
13810 | fi | ||
13811 | done | ||
13812 | if ${ac_cv_search_DSA_set0_key+:} false; then : | ||
13813 | |||
13814 | else | ||
13815 | ac_cv_search_DSA_set0_key=no | ||
13816 | fi | ||
13817 | rm conftest.$ac_ext | ||
13818 | LIBS=$ac_func_search_save_LIBS | ||
13819 | fi | ||
13820 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_DSA_set0_key" >&5 | ||
13821 | $as_echo "$ac_cv_search_DSA_set0_key" >&6; } | ||
13822 | ac_res=$ac_cv_search_DSA_set0_key | ||
13823 | if test "$ac_res" != no; then : | ||
13824 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | ||
13825 | |||
13826 | $as_echo "#define HAVE_DSA_SET0_KEY 1" >>confdefs.h | ||
13827 | |||
13828 | fi | ||
13829 | |||
13830 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing DSA_set0_pqg" >&5 | ||
13831 | $as_echo_n "checking for library containing DSA_set0_pqg... " >&6; } | ||
13832 | if ${ac_cv_search_DSA_set0_pqg+:} false; then : | ||
13833 | $as_echo_n "(cached) " >&6 | ||
13834 | else | ||
13835 | ac_func_search_save_LIBS=$LIBS | ||
13836 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
13837 | /* end confdefs.h. */ | ||
13838 | |||
13839 | /* Override any GCC internal prototype to avoid an error. | ||
13840 | Use char because int might match the return type of a GCC | ||
13841 | builtin and then its argument prototype would still apply. */ | ||
13842 | #ifdef __cplusplus | ||
13843 | extern "C" | ||
13844 | #endif | ||
13845 | char DSA_set0_pqg (); | ||
13846 | int | ||
13847 | main () | ||
13848 | { | ||
13849 | return DSA_set0_pqg (); | ||
13850 | ; | ||
13851 | return 0; | ||
13852 | } | ||
13853 | _ACEOF | ||
13854 | for ac_lib in '' crypto; do | ||
13855 | if test -z "$ac_lib"; then | ||
13856 | ac_res="none required" | ||
13857 | else | ||
13858 | ac_res=-l$ac_lib | ||
13859 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
13860 | fi | ||
13861 | if ac_fn_c_try_link "$LINENO"; then : | ||
13862 | ac_cv_search_DSA_set0_pqg=$ac_res | ||
13863 | fi | ||
13864 | rm -f core conftest.err conftest.$ac_objext \ | ||
13865 | conftest$ac_exeext | ||
13866 | if ${ac_cv_search_DSA_set0_pqg+:} false; then : | ||
13867 | break | ||
13868 | fi | ||
13869 | done | ||
13870 | if ${ac_cv_search_DSA_set0_pqg+:} false; then : | ||
13871 | |||
13872 | else | ||
13873 | ac_cv_search_DSA_set0_pqg=no | ||
13874 | fi | ||
13875 | rm conftest.$ac_ext | ||
13876 | LIBS=$ac_func_search_save_LIBS | ||
13877 | fi | ||
13878 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_DSA_set0_pqg" >&5 | ||
13879 | $as_echo "$ac_cv_search_DSA_set0_pqg" >&6; } | ||
13880 | ac_res=$ac_cv_search_DSA_set0_pqg | ||
13881 | if test "$ac_res" != no; then : | ||
13882 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | ||
13883 | |||
13884 | $as_echo "#define HAVE_DSA_SET0_PQG 1" >>confdefs.h | ||
13885 | |||
13886 | fi | ||
13887 | |||
13888 | |||
13889 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing DSA_SIG_get0" >&5 | ||
13890 | $as_echo_n "checking for library containing DSA_SIG_get0... " >&6; } | ||
13891 | if ${ac_cv_search_DSA_SIG_get0+:} false; then : | ||
13892 | $as_echo_n "(cached) " >&6 | ||
13893 | else | ||
13894 | ac_func_search_save_LIBS=$LIBS | ||
13895 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
13896 | /* end confdefs.h. */ | ||
13897 | |||
13898 | /* Override any GCC internal prototype to avoid an error. | ||
13899 | Use char because int might match the return type of a GCC | ||
13900 | builtin and then its argument prototype would still apply. */ | ||
13901 | #ifdef __cplusplus | ||
13902 | extern "C" | ||
13903 | #endif | ||
13904 | char DSA_SIG_get0 (); | ||
13905 | int | ||
13906 | main () | ||
13907 | { | ||
13908 | return DSA_SIG_get0 (); | ||
13909 | ; | ||
13910 | return 0; | ||
13911 | } | ||
13912 | _ACEOF | ||
13913 | for ac_lib in '' crypto; do | ||
13914 | if test -z "$ac_lib"; then | ||
13915 | ac_res="none required" | ||
13916 | else | ||
13917 | ac_res=-l$ac_lib | ||
13918 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
13919 | fi | ||
13920 | if ac_fn_c_try_link "$LINENO"; then : | ||
13921 | ac_cv_search_DSA_SIG_get0=$ac_res | ||
13922 | fi | ||
13923 | rm -f core conftest.err conftest.$ac_objext \ | ||
13924 | conftest$ac_exeext | ||
13925 | if ${ac_cv_search_DSA_SIG_get0+:} false; then : | ||
13926 | break | ||
13927 | fi | ||
13928 | done | ||
13929 | if ${ac_cv_search_DSA_SIG_get0+:} false; then : | ||
13930 | |||
13931 | else | ||
13932 | ac_cv_search_DSA_SIG_get0=no | ||
13933 | fi | ||
13934 | rm conftest.$ac_ext | ||
13935 | LIBS=$ac_func_search_save_LIBS | ||
13936 | fi | ||
13937 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_DSA_SIG_get0" >&5 | ||
13938 | $as_echo "$ac_cv_search_DSA_SIG_get0" >&6; } | ||
13939 | ac_res=$ac_cv_search_DSA_SIG_get0 | ||
13940 | if test "$ac_res" != no; then : | ||
13941 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | ||
13942 | |||
13943 | $as_echo "#define HAVE_DSA_SIG_GET0 1" >>confdefs.h | ||
13944 | |||
13945 | fi | ||
13946 | |||
13947 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing DSA_SIG_set0" >&5 | ||
13948 | $as_echo_n "checking for library containing DSA_SIG_set0... " >&6; } | ||
13949 | if ${ac_cv_search_DSA_SIG_set0+:} false; then : | ||
13950 | $as_echo_n "(cached) " >&6 | ||
13951 | else | ||
13952 | ac_func_search_save_LIBS=$LIBS | ||
13953 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
13954 | /* end confdefs.h. */ | ||
13955 | |||
13956 | /* Override any GCC internal prototype to avoid an error. | ||
13957 | Use char because int might match the return type of a GCC | ||
13958 | builtin and then its argument prototype would still apply. */ | ||
13959 | #ifdef __cplusplus | ||
13960 | extern "C" | ||
13961 | #endif | ||
13962 | char DSA_SIG_set0 (); | ||
13963 | int | ||
13964 | main () | ||
13965 | { | ||
13966 | return DSA_SIG_set0 (); | ||
13967 | ; | ||
13968 | return 0; | ||
13969 | } | ||
13970 | _ACEOF | ||
13971 | for ac_lib in '' crypto; do | ||
13972 | if test -z "$ac_lib"; then | ||
13973 | ac_res="none required" | ||
13974 | else | ||
13975 | ac_res=-l$ac_lib | ||
13976 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
13977 | fi | ||
13978 | if ac_fn_c_try_link "$LINENO"; then : | ||
13979 | ac_cv_search_DSA_SIG_set0=$ac_res | ||
13980 | fi | ||
13981 | rm -f core conftest.err conftest.$ac_objext \ | ||
13982 | conftest$ac_exeext | ||
13983 | if ${ac_cv_search_DSA_SIG_set0+:} false; then : | ||
13984 | break | ||
13985 | fi | ||
13986 | done | ||
13987 | if ${ac_cv_search_DSA_SIG_set0+:} false; then : | ||
13988 | |||
13989 | else | ||
13990 | ac_cv_search_DSA_SIG_set0=no | ||
13991 | fi | ||
13992 | rm conftest.$ac_ext | ||
13993 | LIBS=$ac_func_search_save_LIBS | ||
13994 | fi | ||
13995 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_DSA_SIG_set0" >&5 | ||
13996 | $as_echo "$ac_cv_search_DSA_SIG_set0" >&6; } | ||
13997 | ac_res=$ac_cv_search_DSA_SIG_set0 | ||
13998 | if test "$ac_res" != no; then : | ||
13999 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | ||
14000 | |||
14001 | $as_echo "#define HAVE_DSA_SIG_SET0 1" >>confdefs.h | ||
14002 | |||
14003 | fi | ||
14004 | |||
14005 | |||
14006 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ECDSA_SIG_get0" >&5 | ||
14007 | $as_echo_n "checking for library containing ECDSA_SIG_get0... " >&6; } | ||
14008 | if ${ac_cv_search_ECDSA_SIG_get0+:} false; then : | ||
14009 | $as_echo_n "(cached) " >&6 | ||
14010 | else | ||
14011 | ac_func_search_save_LIBS=$LIBS | ||
14012 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
14013 | /* end confdefs.h. */ | ||
14014 | |||
14015 | /* Override any GCC internal prototype to avoid an error. | ||
14016 | Use char because int might match the return type of a GCC | ||
14017 | builtin and then its argument prototype would still apply. */ | ||
14018 | #ifdef __cplusplus | ||
14019 | extern "C" | ||
14020 | #endif | ||
14021 | char ECDSA_SIG_get0 (); | ||
14022 | int | ||
14023 | main () | ||
14024 | { | ||
14025 | return ECDSA_SIG_get0 (); | ||
14026 | ; | ||
14027 | return 0; | ||
14028 | } | ||
14029 | _ACEOF | ||
14030 | for ac_lib in '' crypto; do | ||
14031 | if test -z "$ac_lib"; then | ||
14032 | ac_res="none required" | ||
14033 | else | ||
14034 | ac_res=-l$ac_lib | ||
14035 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
14036 | fi | ||
14037 | if ac_fn_c_try_link "$LINENO"; then : | ||
14038 | ac_cv_search_ECDSA_SIG_get0=$ac_res | ||
14039 | fi | ||
14040 | rm -f core conftest.err conftest.$ac_objext \ | ||
14041 | conftest$ac_exeext | ||
14042 | if ${ac_cv_search_ECDSA_SIG_get0+:} false; then : | ||
14043 | break | ||
14044 | fi | ||
14045 | done | ||
14046 | if ${ac_cv_search_ECDSA_SIG_get0+:} false; then : | ||
14047 | |||
14048 | else | ||
14049 | ac_cv_search_ECDSA_SIG_get0=no | ||
14050 | fi | ||
14051 | rm conftest.$ac_ext | ||
14052 | LIBS=$ac_func_search_save_LIBS | ||
14053 | fi | ||
14054 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ECDSA_SIG_get0" >&5 | ||
14055 | $as_echo "$ac_cv_search_ECDSA_SIG_get0" >&6; } | ||
14056 | ac_res=$ac_cv_search_ECDSA_SIG_get0 | ||
14057 | if test "$ac_res" != no; then : | ||
14058 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | ||
14059 | |||
14060 | $as_echo "#define HAVE_ECDSA_SIG_GET0 1" >>confdefs.h | ||
14061 | |||
14062 | fi | ||
14063 | |||
14064 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ECDSA_SIG_set0" >&5 | ||
14065 | $as_echo_n "checking for library containing ECDSA_SIG_set0... " >&6; } | ||
14066 | if ${ac_cv_search_ECDSA_SIG_set0+:} false; then : | ||
14067 | $as_echo_n "(cached) " >&6 | ||
14068 | else | ||
14069 | ac_func_search_save_LIBS=$LIBS | ||
14070 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
14071 | /* end confdefs.h. */ | ||
14072 | |||
14073 | /* Override any GCC internal prototype to avoid an error. | ||
14074 | Use char because int might match the return type of a GCC | ||
14075 | builtin and then its argument prototype would still apply. */ | ||
14076 | #ifdef __cplusplus | ||
14077 | extern "C" | ||
14078 | #endif | ||
14079 | char ECDSA_SIG_set0 (); | ||
14080 | int | ||
14081 | main () | ||
14082 | { | ||
14083 | return ECDSA_SIG_set0 (); | ||
14084 | ; | ||
14085 | return 0; | ||
14086 | } | ||
14087 | _ACEOF | ||
14088 | for ac_lib in '' crypto; do | ||
14089 | if test -z "$ac_lib"; then | ||
14090 | ac_res="none required" | ||
14091 | else | ||
14092 | ac_res=-l$ac_lib | ||
14093 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
14094 | fi | ||
14095 | if ac_fn_c_try_link "$LINENO"; then : | ||
14096 | ac_cv_search_ECDSA_SIG_set0=$ac_res | ||
14097 | fi | ||
14098 | rm -f core conftest.err conftest.$ac_objext \ | ||
14099 | conftest$ac_exeext | ||
14100 | if ${ac_cv_search_ECDSA_SIG_set0+:} false; then : | ||
14101 | break | ||
14102 | fi | ||
14103 | done | ||
14104 | if ${ac_cv_search_ECDSA_SIG_set0+:} false; then : | ||
14105 | |||
14106 | else | ||
14107 | ac_cv_search_ECDSA_SIG_set0=no | ||
14108 | fi | ||
14109 | rm conftest.$ac_ext | ||
14110 | LIBS=$ac_func_search_save_LIBS | ||
14111 | fi | ||
14112 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ECDSA_SIG_set0" >&5 | ||
14113 | $as_echo "$ac_cv_search_ECDSA_SIG_set0" >&6; } | ||
14114 | ac_res=$ac_cv_search_ECDSA_SIG_set0 | ||
14115 | if test "$ac_res" != no; then : | ||
14116 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | ||
14117 | |||
14118 | $as_echo "#define HAVE_ECDSA_SIG_SET0 1" >>confdefs.h | ||
14119 | |||
14120 | fi | ||
14121 | |||
14122 | |||
14123 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing EVP_CIPHER_CTX_iv" >&5 | ||
14124 | $as_echo_n "checking for library containing EVP_CIPHER_CTX_iv... " >&6; } | ||
14125 | if ${ac_cv_search_EVP_CIPHER_CTX_iv+:} false; then : | ||
14126 | $as_echo_n "(cached) " >&6 | ||
14127 | else | ||
14128 | ac_func_search_save_LIBS=$LIBS | ||
14129 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
14130 | /* end confdefs.h. */ | ||
14131 | |||
14132 | /* Override any GCC internal prototype to avoid an error. | ||
14133 | Use char because int might match the return type of a GCC | ||
14134 | builtin and then its argument prototype would still apply. */ | ||
14135 | #ifdef __cplusplus | ||
14136 | extern "C" | ||
14137 | #endif | ||
14138 | char EVP_CIPHER_CTX_iv (); | ||
14139 | int | ||
14140 | main () | ||
14141 | { | ||
14142 | return EVP_CIPHER_CTX_iv (); | ||
14143 | ; | ||
14144 | return 0; | ||
14145 | } | ||
14146 | _ACEOF | ||
14147 | for ac_lib in '' crypto; do | ||
14148 | if test -z "$ac_lib"; then | ||
14149 | ac_res="none required" | ||
14150 | else | ||
14151 | ac_res=-l$ac_lib | ||
14152 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
14153 | fi | ||
14154 | if ac_fn_c_try_link "$LINENO"; then : | ||
14155 | ac_cv_search_EVP_CIPHER_CTX_iv=$ac_res | ||
14156 | fi | ||
14157 | rm -f core conftest.err conftest.$ac_objext \ | ||
14158 | conftest$ac_exeext | ||
14159 | if ${ac_cv_search_EVP_CIPHER_CTX_iv+:} false; then : | ||
14160 | break | ||
14161 | fi | ||
14162 | done | ||
14163 | if ${ac_cv_search_EVP_CIPHER_CTX_iv+:} false; then : | ||
14164 | |||
14165 | else | ||
14166 | ac_cv_search_EVP_CIPHER_CTX_iv=no | ||
14167 | fi | ||
14168 | rm conftest.$ac_ext | ||
14169 | LIBS=$ac_func_search_save_LIBS | ||
14170 | fi | ||
14171 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_EVP_CIPHER_CTX_iv" >&5 | ||
14172 | $as_echo "$ac_cv_search_EVP_CIPHER_CTX_iv" >&6; } | ||
14173 | ac_res=$ac_cv_search_EVP_CIPHER_CTX_iv | ||
14174 | if test "$ac_res" != no; then : | ||
14175 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | ||
14176 | |||
14177 | $as_echo "#define HAVE_EVP_CIPHER_CTX_IV 1" >>confdefs.h | ||
14178 | |||
14179 | fi | ||
14180 | |||
14181 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing EVP_CIPHER_CTX_iv_noconst" >&5 | ||
14182 | $as_echo_n "checking for library containing EVP_CIPHER_CTX_iv_noconst... " >&6; } | ||
14183 | if ${ac_cv_search_EVP_CIPHER_CTX_iv_noconst+:} false; then : | ||
14184 | $as_echo_n "(cached) " >&6 | ||
14185 | else | ||
14186 | ac_func_search_save_LIBS=$LIBS | ||
14187 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
14188 | /* end confdefs.h. */ | ||
14189 | |||
14190 | /* Override any GCC internal prototype to avoid an error. | ||
14191 | Use char because int might match the return type of a GCC | ||
14192 | builtin and then its argument prototype would still apply. */ | ||
14193 | #ifdef __cplusplus | ||
14194 | extern "C" | ||
14195 | #endif | ||
14196 | char EVP_CIPHER_CTX_iv_noconst (); | ||
14197 | int | ||
14198 | main () | ||
14199 | { | ||
14200 | return EVP_CIPHER_CTX_iv_noconst (); | ||
14201 | ; | ||
14202 | return 0; | ||
14203 | } | ||
14204 | _ACEOF | ||
14205 | for ac_lib in '' crypto; do | ||
14206 | if test -z "$ac_lib"; then | ||
14207 | ac_res="none required" | ||
14208 | else | ||
14209 | ac_res=-l$ac_lib | ||
14210 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
14211 | fi | ||
14212 | if ac_fn_c_try_link "$LINENO"; then : | ||
14213 | ac_cv_search_EVP_CIPHER_CTX_iv_noconst=$ac_res | ||
14214 | fi | ||
14215 | rm -f core conftest.err conftest.$ac_objext \ | ||
14216 | conftest$ac_exeext | ||
14217 | if ${ac_cv_search_EVP_CIPHER_CTX_iv_noconst+:} false; then : | ||
14218 | break | ||
14219 | fi | ||
14220 | done | ||
14221 | if ${ac_cv_search_EVP_CIPHER_CTX_iv_noconst+:} false; then : | ||
14222 | |||
14223 | else | ||
14224 | ac_cv_search_EVP_CIPHER_CTX_iv_noconst=no | ||
14225 | fi | ||
14226 | rm conftest.$ac_ext | ||
14227 | LIBS=$ac_func_search_save_LIBS | ||
14228 | fi | ||
14229 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_EVP_CIPHER_CTX_iv_noconst" >&5 | ||
14230 | $as_echo "$ac_cv_search_EVP_CIPHER_CTX_iv_noconst" >&6; } | ||
14231 | ac_res=$ac_cv_search_EVP_CIPHER_CTX_iv_noconst | ||
14232 | if test "$ac_res" != no; then : | ||
14233 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | ||
14234 | |||
14235 | $as_echo "#define HAVE_EVP_CIPHER_CTX_IV_NOCONST 1" >>confdefs.h | ||
14236 | |||
14237 | fi | ||
14238 | |||
14239 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing EVP_CIPHER_CTX_get_iv" >&5 | ||
14240 | $as_echo_n "checking for library containing EVP_CIPHER_CTX_get_iv... " >&6; } | ||
14241 | if ${ac_cv_search_EVP_CIPHER_CTX_get_iv+:} false; then : | ||
14242 | $as_echo_n "(cached) " >&6 | ||
14243 | else | ||
14244 | ac_func_search_save_LIBS=$LIBS | ||
14245 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
14246 | /* end confdefs.h. */ | ||
14247 | |||
14248 | /* Override any GCC internal prototype to avoid an error. | ||
14249 | Use char because int might match the return type of a GCC | ||
14250 | builtin and then its argument prototype would still apply. */ | ||
14251 | #ifdef __cplusplus | ||
14252 | extern "C" | ||
14253 | #endif | ||
14254 | char EVP_CIPHER_CTX_get_iv (); | ||
14255 | int | ||
14256 | main () | ||
14257 | { | ||
14258 | return EVP_CIPHER_CTX_get_iv (); | ||
14259 | ; | ||
14260 | return 0; | ||
14261 | } | ||
14262 | _ACEOF | ||
14263 | for ac_lib in '' crypto; do | ||
14264 | if test -z "$ac_lib"; then | ||
14265 | ac_res="none required" | ||
14266 | else | ||
14267 | ac_res=-l$ac_lib | ||
14268 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
14269 | fi | ||
14270 | if ac_fn_c_try_link "$LINENO"; then : | ||
14271 | ac_cv_search_EVP_CIPHER_CTX_get_iv=$ac_res | ||
14272 | fi | ||
14273 | rm -f core conftest.err conftest.$ac_objext \ | ||
14274 | conftest$ac_exeext | ||
14275 | if ${ac_cv_search_EVP_CIPHER_CTX_get_iv+:} false; then : | ||
14276 | break | ||
14277 | fi | ||
14278 | done | ||
14279 | if ${ac_cv_search_EVP_CIPHER_CTX_get_iv+:} false; then : | ||
14280 | |||
14281 | else | ||
14282 | ac_cv_search_EVP_CIPHER_CTX_get_iv=no | ||
14283 | fi | ||
14284 | rm conftest.$ac_ext | ||
14285 | LIBS=$ac_func_search_save_LIBS | ||
14286 | fi | ||
14287 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_EVP_CIPHER_CTX_get_iv" >&5 | ||
14288 | $as_echo "$ac_cv_search_EVP_CIPHER_CTX_get_iv" >&6; } | ||
14289 | ac_res=$ac_cv_search_EVP_CIPHER_CTX_get_iv | ||
14290 | if test "$ac_res" != no; then : | ||
14291 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | ||
14292 | |||
14293 | $as_echo "#define HAVE_EVP_CIPHER_CTX_GET_IV 1" >>confdefs.h | ||
14294 | |||
14295 | fi | ||
14296 | |||
14297 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing EVP_CIPHER_CTX_set_iv" >&5 | ||
14298 | $as_echo_n "checking for library containing EVP_CIPHER_CTX_set_iv... " >&6; } | ||
14299 | if ${ac_cv_search_EVP_CIPHER_CTX_set_iv+:} false; then : | ||
14300 | $as_echo_n "(cached) " >&6 | ||
14301 | else | ||
14302 | ac_func_search_save_LIBS=$LIBS | ||
14303 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
14304 | /* end confdefs.h. */ | ||
14305 | |||
14306 | /* Override any GCC internal prototype to avoid an error. | ||
14307 | Use char because int might match the return type of a GCC | ||
14308 | builtin and then its argument prototype would still apply. */ | ||
14309 | #ifdef __cplusplus | ||
14310 | extern "C" | ||
14311 | #endif | ||
14312 | char EVP_CIPHER_CTX_set_iv (); | ||
14313 | int | ||
14314 | main () | ||
14315 | { | ||
14316 | return EVP_CIPHER_CTX_set_iv (); | ||
14317 | ; | ||
14318 | return 0; | ||
14319 | } | ||
14320 | _ACEOF | ||
14321 | for ac_lib in '' crypto; do | ||
14322 | if test -z "$ac_lib"; then | ||
14323 | ac_res="none required" | ||
14324 | else | ||
14325 | ac_res=-l$ac_lib | ||
14326 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
14327 | fi | ||
14328 | if ac_fn_c_try_link "$LINENO"; then : | ||
14329 | ac_cv_search_EVP_CIPHER_CTX_set_iv=$ac_res | ||
14330 | fi | ||
14331 | rm -f core conftest.err conftest.$ac_objext \ | ||
14332 | conftest$ac_exeext | ||
14333 | if ${ac_cv_search_EVP_CIPHER_CTX_set_iv+:} false; then : | ||
14334 | break | ||
14335 | fi | ||
14336 | done | ||
14337 | if ${ac_cv_search_EVP_CIPHER_CTX_set_iv+:} false; then : | ||
14338 | |||
14339 | else | ||
14340 | ac_cv_search_EVP_CIPHER_CTX_set_iv=no | ||
14341 | fi | ||
14342 | rm conftest.$ac_ext | ||
14343 | LIBS=$ac_func_search_save_LIBS | ||
14344 | fi | ||
14345 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_EVP_CIPHER_CTX_set_iv" >&5 | ||
14346 | $as_echo "$ac_cv_search_EVP_CIPHER_CTX_set_iv" >&6; } | ||
14347 | ac_res=$ac_cv_search_EVP_CIPHER_CTX_set_iv | ||
14348 | if test "$ac_res" != no; then : | ||
14349 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | ||
14350 | |||
14351 | $as_echo "#define HAVE_EVP_CIPHER_CTX_GET_IV 1" >>confdefs.h | ||
14352 | |||
14353 | fi | ||
14354 | |||
14355 | |||
14356 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing RSA_get0_crt_params" >&5 | ||
14357 | $as_echo_n "checking for library containing RSA_get0_crt_params... " >&6; } | ||
14358 | if ${ac_cv_search_RSA_get0_crt_params+:} false; then : | ||
14359 | $as_echo_n "(cached) " >&6 | ||
14360 | else | ||
14361 | ac_func_search_save_LIBS=$LIBS | ||
14362 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
14363 | /* end confdefs.h. */ | ||
14364 | |||
14365 | /* Override any GCC internal prototype to avoid an error. | ||
14366 | Use char because int might match the return type of a GCC | ||
14367 | builtin and then its argument prototype would still apply. */ | ||
14368 | #ifdef __cplusplus | ||
14369 | extern "C" | ||
14370 | #endif | ||
14371 | char RSA_get0_crt_params (); | ||
14372 | int | ||
14373 | main () | ||
14374 | { | ||
14375 | return RSA_get0_crt_params (); | ||
14376 | ; | ||
14377 | return 0; | ||
14378 | } | ||
14379 | _ACEOF | ||
14380 | for ac_lib in '' crypto; do | ||
14381 | if test -z "$ac_lib"; then | ||
14382 | ac_res="none required" | ||
14383 | else | ||
14384 | ac_res=-l$ac_lib | ||
14385 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
14386 | fi | ||
14387 | if ac_fn_c_try_link "$LINENO"; then : | ||
14388 | ac_cv_search_RSA_get0_crt_params=$ac_res | ||
14389 | fi | ||
14390 | rm -f core conftest.err conftest.$ac_objext \ | ||
14391 | conftest$ac_exeext | ||
14392 | if ${ac_cv_search_RSA_get0_crt_params+:} false; then : | ||
14393 | break | ||
14394 | fi | ||
14395 | done | ||
14396 | if ${ac_cv_search_RSA_get0_crt_params+:} false; then : | ||
14397 | |||
14398 | else | ||
14399 | ac_cv_search_RSA_get0_crt_params=no | ||
14400 | fi | ||
14401 | rm conftest.$ac_ext | ||
14402 | LIBS=$ac_func_search_save_LIBS | ||
14403 | fi | ||
14404 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_RSA_get0_crt_params" >&5 | ||
14405 | $as_echo "$ac_cv_search_RSA_get0_crt_params" >&6; } | ||
14406 | ac_res=$ac_cv_search_RSA_get0_crt_params | ||
14407 | if test "$ac_res" != no; then : | ||
14408 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | ||
14409 | |||
14410 | $as_echo "#define HAVE_RSA_GET0_CRT_PARAMS 1" >>confdefs.h | ||
14411 | |||
14412 | fi | ||
14413 | |||
14414 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing RSA_get0_factors" >&5 | ||
14415 | $as_echo_n "checking for library containing RSA_get0_factors... " >&6; } | ||
14416 | if ${ac_cv_search_RSA_get0_factors+:} false; then : | ||
14417 | $as_echo_n "(cached) " >&6 | ||
14418 | else | ||
14419 | ac_func_search_save_LIBS=$LIBS | ||
14420 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
14421 | /* end confdefs.h. */ | ||
14422 | |||
14423 | /* Override any GCC internal prototype to avoid an error. | ||
14424 | Use char because int might match the return type of a GCC | ||
14425 | builtin and then its argument prototype would still apply. */ | ||
14426 | #ifdef __cplusplus | ||
14427 | extern "C" | ||
14428 | #endif | ||
14429 | char RSA_get0_factors (); | ||
14430 | int | ||
14431 | main () | ||
14432 | { | ||
14433 | return RSA_get0_factors (); | ||
14434 | ; | ||
14435 | return 0; | ||
14436 | } | ||
14437 | _ACEOF | ||
14438 | for ac_lib in '' crypto; do | ||
14439 | if test -z "$ac_lib"; then | ||
14440 | ac_res="none required" | ||
14441 | else | ||
14442 | ac_res=-l$ac_lib | ||
14443 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
14444 | fi | ||
14445 | if ac_fn_c_try_link "$LINENO"; then : | ||
14446 | ac_cv_search_RSA_get0_factors=$ac_res | ||
14447 | fi | ||
14448 | rm -f core conftest.err conftest.$ac_objext \ | ||
14449 | conftest$ac_exeext | ||
14450 | if ${ac_cv_search_RSA_get0_factors+:} false; then : | ||
14451 | break | ||
14452 | fi | ||
14453 | done | ||
14454 | if ${ac_cv_search_RSA_get0_factors+:} false; then : | ||
14455 | |||
14456 | else | ||
14457 | ac_cv_search_RSA_get0_factors=no | ||
14458 | fi | ||
14459 | rm conftest.$ac_ext | ||
14460 | LIBS=$ac_func_search_save_LIBS | ||
14461 | fi | ||
14462 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_RSA_get0_factors" >&5 | ||
14463 | $as_echo "$ac_cv_search_RSA_get0_factors" >&6; } | ||
14464 | ac_res=$ac_cv_search_RSA_get0_factors | ||
14465 | if test "$ac_res" != no; then : | ||
14466 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | ||
14467 | |||
14468 | $as_echo "#define HAVE_RSA_GET0_FACTORS 1" >>confdefs.h | ||
14469 | |||
14470 | fi | ||
14471 | |||
14472 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing RSA_get0_key" >&5 | ||
14473 | $as_echo_n "checking for library containing RSA_get0_key... " >&6; } | ||
14474 | if ${ac_cv_search_RSA_get0_key+:} false; then : | ||
14475 | $as_echo_n "(cached) " >&6 | ||
14476 | else | ||
14477 | ac_func_search_save_LIBS=$LIBS | ||
14478 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
14479 | /* end confdefs.h. */ | ||
14480 | |||
14481 | /* Override any GCC internal prototype to avoid an error. | ||
14482 | Use char because int might match the return type of a GCC | ||
14483 | builtin and then its argument prototype would still apply. */ | ||
14484 | #ifdef __cplusplus | ||
14485 | extern "C" | ||
14486 | #endif | ||
14487 | char RSA_get0_key (); | ||
14488 | int | ||
14489 | main () | ||
14490 | { | ||
14491 | return RSA_get0_key (); | ||
14492 | ; | ||
14493 | return 0; | ||
14494 | } | ||
14495 | _ACEOF | ||
14496 | for ac_lib in '' crypto; do | ||
14497 | if test -z "$ac_lib"; then | ||
14498 | ac_res="none required" | ||
14499 | else | ||
14500 | ac_res=-l$ac_lib | ||
14501 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
14502 | fi | ||
14503 | if ac_fn_c_try_link "$LINENO"; then : | ||
14504 | ac_cv_search_RSA_get0_key=$ac_res | ||
14505 | fi | ||
14506 | rm -f core conftest.err conftest.$ac_objext \ | ||
14507 | conftest$ac_exeext | ||
14508 | if ${ac_cv_search_RSA_get0_key+:} false; then : | ||
14509 | break | ||
14510 | fi | ||
14511 | done | ||
14512 | if ${ac_cv_search_RSA_get0_key+:} false; then : | ||
14513 | |||
14514 | else | ||
14515 | ac_cv_search_RSA_get0_key=no | ||
14516 | fi | ||
14517 | rm conftest.$ac_ext | ||
14518 | LIBS=$ac_func_search_save_LIBS | ||
14519 | fi | ||
14520 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_RSA_get0_key" >&5 | ||
14521 | $as_echo "$ac_cv_search_RSA_get0_key" >&6; } | ||
14522 | ac_res=$ac_cv_search_RSA_get0_key | ||
14523 | if test "$ac_res" != no; then : | ||
14524 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | ||
14525 | |||
14526 | $as_echo "#define HAVE_RSA_GET0_KEY 1" >>confdefs.h | ||
14527 | |||
14528 | fi | ||
14529 | |||
14530 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing RSA_set0_crt_params" >&5 | ||
14531 | $as_echo_n "checking for library containing RSA_set0_crt_params... " >&6; } | ||
14532 | if ${ac_cv_search_RSA_set0_crt_params+:} false; then : | ||
14533 | $as_echo_n "(cached) " >&6 | ||
14534 | else | ||
14535 | ac_func_search_save_LIBS=$LIBS | ||
14536 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
14537 | /* end confdefs.h. */ | ||
14538 | |||
14539 | /* Override any GCC internal prototype to avoid an error. | ||
14540 | Use char because int might match the return type of a GCC | ||
14541 | builtin and then its argument prototype would still apply. */ | ||
14542 | #ifdef __cplusplus | ||
14543 | extern "C" | ||
14544 | #endif | ||
14545 | char RSA_set0_crt_params (); | ||
14546 | int | ||
14547 | main () | ||
14548 | { | ||
14549 | return RSA_set0_crt_params (); | ||
14550 | ; | ||
14551 | return 0; | ||
14552 | } | ||
14553 | _ACEOF | ||
14554 | for ac_lib in '' crypto; do | ||
14555 | if test -z "$ac_lib"; then | ||
14556 | ac_res="none required" | ||
14557 | else | ||
14558 | ac_res=-l$ac_lib | ||
14559 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
14560 | fi | ||
14561 | if ac_fn_c_try_link "$LINENO"; then : | ||
14562 | ac_cv_search_RSA_set0_crt_params=$ac_res | ||
14563 | fi | ||
14564 | rm -f core conftest.err conftest.$ac_objext \ | ||
14565 | conftest$ac_exeext | ||
14566 | if ${ac_cv_search_RSA_set0_crt_params+:} false; then : | ||
14567 | break | ||
14568 | fi | ||
14569 | done | ||
14570 | if ${ac_cv_search_RSA_set0_crt_params+:} false; then : | ||
14571 | |||
14572 | else | ||
14573 | ac_cv_search_RSA_set0_crt_params=no | ||
14574 | fi | ||
14575 | rm conftest.$ac_ext | ||
14576 | LIBS=$ac_func_search_save_LIBS | ||
14577 | fi | ||
14578 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_RSA_set0_crt_params" >&5 | ||
14579 | $as_echo "$ac_cv_search_RSA_set0_crt_params" >&6; } | ||
14580 | ac_res=$ac_cv_search_RSA_set0_crt_params | ||
14581 | if test "$ac_res" != no; then : | ||
14582 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | ||
14583 | |||
14584 | $as_echo "#define HAVE_RSA_SET0_CRT_PARAMS 1" >>confdefs.h | ||
14585 | |||
14586 | fi | ||
14587 | |||
14588 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing RSA_set0_factors" >&5 | ||
14589 | $as_echo_n "checking for library containing RSA_set0_factors... " >&6; } | ||
14590 | if ${ac_cv_search_RSA_set0_factors+:} false; then : | ||
14591 | $as_echo_n "(cached) " >&6 | ||
14592 | else | ||
14593 | ac_func_search_save_LIBS=$LIBS | ||
14594 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
14595 | /* end confdefs.h. */ | ||
14596 | |||
14597 | /* Override any GCC internal prototype to avoid an error. | ||
14598 | Use char because int might match the return type of a GCC | ||
14599 | builtin and then its argument prototype would still apply. */ | ||
14600 | #ifdef __cplusplus | ||
14601 | extern "C" | ||
14602 | #endif | ||
14603 | char RSA_set0_factors (); | ||
14604 | int | ||
14605 | main () | ||
14606 | { | ||
14607 | return RSA_set0_factors (); | ||
14608 | ; | ||
14609 | return 0; | ||
14610 | } | ||
14611 | _ACEOF | ||
14612 | for ac_lib in '' crypto; do | ||
14613 | if test -z "$ac_lib"; then | ||
14614 | ac_res="none required" | ||
14615 | else | ||
14616 | ac_res=-l$ac_lib | ||
14617 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
14618 | fi | ||
14619 | if ac_fn_c_try_link "$LINENO"; then : | ||
14620 | ac_cv_search_RSA_set0_factors=$ac_res | ||
14621 | fi | ||
14622 | rm -f core conftest.err conftest.$ac_objext \ | ||
14623 | conftest$ac_exeext | ||
14624 | if ${ac_cv_search_RSA_set0_factors+:} false; then : | ||
14625 | break | ||
14626 | fi | ||
14627 | done | ||
14628 | if ${ac_cv_search_RSA_set0_factors+:} false; then : | ||
14629 | |||
14630 | else | ||
14631 | ac_cv_search_RSA_set0_factors=no | ||
14632 | fi | ||
14633 | rm conftest.$ac_ext | ||
14634 | LIBS=$ac_func_search_save_LIBS | ||
14635 | fi | ||
14636 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_RSA_set0_factors" >&5 | ||
14637 | $as_echo "$ac_cv_search_RSA_set0_factors" >&6; } | ||
14638 | ac_res=$ac_cv_search_RSA_set0_factors | ||
14639 | if test "$ac_res" != no; then : | ||
14640 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | ||
14641 | |||
14642 | $as_echo "#define HAVE_RSA_SET0_FACTORS 1" >>confdefs.h | ||
14643 | |||
14644 | fi | ||
14645 | |||
14646 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing RSA_set0_key" >&5 | ||
14647 | $as_echo_n "checking for library containing RSA_set0_key... " >&6; } | ||
14648 | if ${ac_cv_search_RSA_set0_key+:} false; then : | ||
14649 | $as_echo_n "(cached) " >&6 | ||
14650 | else | ||
14651 | ac_func_search_save_LIBS=$LIBS | ||
14652 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
14653 | /* end confdefs.h. */ | ||
14654 | |||
14655 | /* Override any GCC internal prototype to avoid an error. | ||
14656 | Use char because int might match the return type of a GCC | ||
14657 | builtin and then its argument prototype would still apply. */ | ||
14658 | #ifdef __cplusplus | ||
14659 | extern "C" | ||
14660 | #endif | ||
14661 | char RSA_set0_key (); | ||
14662 | int | ||
14663 | main () | ||
14664 | { | ||
14665 | return RSA_set0_key (); | ||
14666 | ; | ||
14667 | return 0; | ||
14668 | } | ||
14669 | _ACEOF | ||
14670 | for ac_lib in '' crypto; do | ||
14671 | if test -z "$ac_lib"; then | ||
14672 | ac_res="none required" | ||
14673 | else | ||
14674 | ac_res=-l$ac_lib | ||
14675 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
14676 | fi | ||
14677 | if ac_fn_c_try_link "$LINENO"; then : | ||
14678 | ac_cv_search_RSA_set0_key=$ac_res | ||
14679 | fi | ||
14680 | rm -f core conftest.err conftest.$ac_objext \ | ||
14681 | conftest$ac_exeext | ||
14682 | if ${ac_cv_search_RSA_set0_key+:} false; then : | ||
14683 | break | ||
14684 | fi | ||
14685 | done | ||
14686 | if ${ac_cv_search_RSA_set0_key+:} false; then : | ||
14687 | |||
14688 | else | ||
14689 | ac_cv_search_RSA_set0_key=no | ||
14690 | fi | ||
14691 | rm conftest.$ac_ext | ||
14692 | LIBS=$ac_func_search_save_LIBS | ||
14693 | fi | ||
14694 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_RSA_set0_key" >&5 | ||
14695 | $as_echo "$ac_cv_search_RSA_set0_key" >&6; } | ||
14696 | ac_res=$ac_cv_search_RSA_set0_key | ||
14697 | if test "$ac_res" != no; then : | ||
14698 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | ||
14699 | |||
14700 | $as_echo "#define HAVE_RSA_SET0_KEY 1" >>confdefs.h | ||
14701 | |||
14702 | fi | ||
14703 | |||
14704 | |||
14705 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing RSA_meth_free" >&5 | ||
14706 | $as_echo_n "checking for library containing RSA_meth_free... " >&6; } | ||
14707 | if ${ac_cv_search_RSA_meth_free+:} false; then : | ||
14708 | $as_echo_n "(cached) " >&6 | ||
14709 | else | ||
14710 | ac_func_search_save_LIBS=$LIBS | ||
14711 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
14712 | /* end confdefs.h. */ | ||
14713 | |||
14714 | /* Override any GCC internal prototype to avoid an error. | ||
14715 | Use char because int might match the return type of a GCC | ||
14716 | builtin and then its argument prototype would still apply. */ | ||
14717 | #ifdef __cplusplus | ||
14718 | extern "C" | ||
14719 | #endif | ||
14720 | char RSA_meth_free (); | ||
14721 | int | ||
14722 | main () | ||
14723 | { | ||
14724 | return RSA_meth_free (); | ||
14725 | ; | ||
14726 | return 0; | ||
14727 | } | ||
14728 | _ACEOF | ||
14729 | for ac_lib in '' crypto; do | ||
14730 | if test -z "$ac_lib"; then | ||
14731 | ac_res="none required" | ||
14732 | else | ||
14733 | ac_res=-l$ac_lib | ||
14734 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
14735 | fi | ||
14736 | if ac_fn_c_try_link "$LINENO"; then : | ||
14737 | ac_cv_search_RSA_meth_free=$ac_res | ||
14738 | fi | ||
14739 | rm -f core conftest.err conftest.$ac_objext \ | ||
14740 | conftest$ac_exeext | ||
14741 | if ${ac_cv_search_RSA_meth_free+:} false; then : | ||
14742 | break | ||
14743 | fi | ||
14744 | done | ||
14745 | if ${ac_cv_search_RSA_meth_free+:} false; then : | ||
14746 | |||
14747 | else | ||
14748 | ac_cv_search_RSA_meth_free=no | ||
14749 | fi | ||
14750 | rm conftest.$ac_ext | ||
14751 | LIBS=$ac_func_search_save_LIBS | ||
14752 | fi | ||
14753 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_RSA_meth_free" >&5 | ||
14754 | $as_echo "$ac_cv_search_RSA_meth_free" >&6; } | ||
14755 | ac_res=$ac_cv_search_RSA_meth_free | ||
14756 | if test "$ac_res" != no; then : | ||
14757 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | ||
14758 | |||
14759 | $as_echo "#define HAVE_RSA_METH_FREE 1" >>confdefs.h | ||
14760 | |||
14761 | fi | ||
14762 | |||
14763 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing RSA_meth_dup" >&5 | ||
14764 | $as_echo_n "checking for library containing RSA_meth_dup... " >&6; } | ||
14765 | if ${ac_cv_search_RSA_meth_dup+:} false; then : | ||
14766 | $as_echo_n "(cached) " >&6 | ||
14767 | else | ||
14768 | ac_func_search_save_LIBS=$LIBS | ||
14769 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
14770 | /* end confdefs.h. */ | ||
14771 | |||
14772 | /* Override any GCC internal prototype to avoid an error. | ||
14773 | Use char because int might match the return type of a GCC | ||
14774 | builtin and then its argument prototype would still apply. */ | ||
14775 | #ifdef __cplusplus | ||
14776 | extern "C" | ||
14777 | #endif | ||
14778 | char RSA_meth_dup (); | ||
14779 | int | ||
14780 | main () | ||
14781 | { | ||
14782 | return RSA_meth_dup (); | ||
14783 | ; | ||
14784 | return 0; | ||
14785 | } | ||
14786 | _ACEOF | ||
14787 | for ac_lib in '' crypto; do | ||
14788 | if test -z "$ac_lib"; then | ||
14789 | ac_res="none required" | ||
14790 | else | ||
14791 | ac_res=-l$ac_lib | ||
14792 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
14793 | fi | ||
14794 | if ac_fn_c_try_link "$LINENO"; then : | ||
14795 | ac_cv_search_RSA_meth_dup=$ac_res | ||
14796 | fi | ||
14797 | rm -f core conftest.err conftest.$ac_objext \ | ||
14798 | conftest$ac_exeext | ||
14799 | if ${ac_cv_search_RSA_meth_dup+:} false; then : | ||
14800 | break | ||
14801 | fi | ||
14802 | done | ||
14803 | if ${ac_cv_search_RSA_meth_dup+:} false; then : | ||
14804 | |||
14805 | else | ||
14806 | ac_cv_search_RSA_meth_dup=no | ||
14807 | fi | ||
14808 | rm conftest.$ac_ext | ||
14809 | LIBS=$ac_func_search_save_LIBS | ||
14810 | fi | ||
14811 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_RSA_meth_dup" >&5 | ||
14812 | $as_echo "$ac_cv_search_RSA_meth_dup" >&6; } | ||
14813 | ac_res=$ac_cv_search_RSA_meth_dup | ||
14814 | if test "$ac_res" != no; then : | ||
14815 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | ||
14816 | |||
14817 | $as_echo "#define HAVE_RSA_METH_DUP 1" >>confdefs.h | ||
14818 | |||
14819 | fi | ||
14820 | |||
14821 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing RSA_meth_set1_name" >&5 | ||
14822 | $as_echo_n "checking for library containing RSA_meth_set1_name... " >&6; } | ||
14823 | if ${ac_cv_search_RSA_meth_set1_name+:} false; then : | ||
14824 | $as_echo_n "(cached) " >&6 | ||
14825 | else | ||
14826 | ac_func_search_save_LIBS=$LIBS | ||
14827 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
14828 | /* end confdefs.h. */ | ||
14829 | |||
14830 | /* Override any GCC internal prototype to avoid an error. | ||
14831 | Use char because int might match the return type of a GCC | ||
14832 | builtin and then its argument prototype would still apply. */ | ||
14833 | #ifdef __cplusplus | ||
14834 | extern "C" | ||
14835 | #endif | ||
14836 | char RSA_meth_set1_name (); | ||
14837 | int | ||
14838 | main () | ||
14839 | { | ||
14840 | return RSA_meth_set1_name (); | ||
14841 | ; | ||
14842 | return 0; | ||
14843 | } | ||
14844 | _ACEOF | ||
14845 | for ac_lib in '' crypto; do | ||
14846 | if test -z "$ac_lib"; then | ||
14847 | ac_res="none required" | ||
14848 | else | ||
14849 | ac_res=-l$ac_lib | ||
14850 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
14851 | fi | ||
14852 | if ac_fn_c_try_link "$LINENO"; then : | ||
14853 | ac_cv_search_RSA_meth_set1_name=$ac_res | ||
14854 | fi | ||
14855 | rm -f core conftest.err conftest.$ac_objext \ | ||
14856 | conftest$ac_exeext | ||
14857 | if ${ac_cv_search_RSA_meth_set1_name+:} false; then : | ||
14858 | break | ||
14859 | fi | ||
14860 | done | ||
14861 | if ${ac_cv_search_RSA_meth_set1_name+:} false; then : | ||
14862 | |||
14863 | else | ||
14864 | ac_cv_search_RSA_meth_set1_name=no | ||
14865 | fi | ||
14866 | rm conftest.$ac_ext | ||
14867 | LIBS=$ac_func_search_save_LIBS | ||
14868 | fi | ||
14869 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_RSA_meth_set1_name" >&5 | ||
14870 | $as_echo "$ac_cv_search_RSA_meth_set1_name" >&6; } | ||
14871 | ac_res=$ac_cv_search_RSA_meth_set1_name | ||
14872 | if test "$ac_res" != no; then : | ||
14873 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | ||
14874 | |||
14875 | $as_echo "#define HAVE_RSA_METH_SET1_NAME 1" >>confdefs.h | ||
14876 | |||
14877 | fi | ||
14878 | |||
14879 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing RSA_meth_get_finish" >&5 | ||
14880 | $as_echo_n "checking for library containing RSA_meth_get_finish... " >&6; } | ||
14881 | if ${ac_cv_search_RSA_meth_get_finish+:} false; then : | ||
14882 | $as_echo_n "(cached) " >&6 | ||
14883 | else | ||
14884 | ac_func_search_save_LIBS=$LIBS | ||
14885 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
14886 | /* end confdefs.h. */ | ||
14887 | |||
14888 | /* Override any GCC internal prototype to avoid an error. | ||
14889 | Use char because int might match the return type of a GCC | ||
14890 | builtin and then its argument prototype would still apply. */ | ||
14891 | #ifdef __cplusplus | ||
14892 | extern "C" | ||
14893 | #endif | ||
14894 | char RSA_meth_get_finish (); | ||
14895 | int | ||
14896 | main () | ||
14897 | { | ||
14898 | return RSA_meth_get_finish (); | ||
14899 | ; | ||
14900 | return 0; | ||
14901 | } | ||
14902 | _ACEOF | ||
14903 | for ac_lib in '' crypto; do | ||
14904 | if test -z "$ac_lib"; then | ||
14905 | ac_res="none required" | ||
14906 | else | ||
14907 | ac_res=-l$ac_lib | ||
14908 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
14909 | fi | ||
14910 | if ac_fn_c_try_link "$LINENO"; then : | ||
14911 | ac_cv_search_RSA_meth_get_finish=$ac_res | ||
14912 | fi | ||
14913 | rm -f core conftest.err conftest.$ac_objext \ | ||
14914 | conftest$ac_exeext | ||
14915 | if ${ac_cv_search_RSA_meth_get_finish+:} false; then : | ||
14916 | break | ||
14917 | fi | ||
14918 | done | ||
14919 | if ${ac_cv_search_RSA_meth_get_finish+:} false; then : | ||
14920 | |||
14921 | else | ||
14922 | ac_cv_search_RSA_meth_get_finish=no | ||
14923 | fi | ||
14924 | rm conftest.$ac_ext | ||
14925 | LIBS=$ac_func_search_save_LIBS | ||
14926 | fi | ||
14927 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_RSA_meth_get_finish" >&5 | ||
14928 | $as_echo "$ac_cv_search_RSA_meth_get_finish" >&6; } | ||
14929 | ac_res=$ac_cv_search_RSA_meth_get_finish | ||
14930 | if test "$ac_res" != no; then : | ||
14931 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | ||
14932 | |||
14933 | $as_echo "#define HAVE_RSA_METH_GET_FINISH 1" >>confdefs.h | ||
14934 | |||
14935 | fi | ||
14936 | |||
14937 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing RSA_meth_set_priv_enc" >&5 | ||
14938 | $as_echo_n "checking for library containing RSA_meth_set_priv_enc... " >&6; } | ||
14939 | if ${ac_cv_search_RSA_meth_set_priv_enc+:} false; then : | ||
14940 | $as_echo_n "(cached) " >&6 | ||
14941 | else | ||
14942 | ac_func_search_save_LIBS=$LIBS | ||
14943 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
14944 | /* end confdefs.h. */ | ||
14945 | |||
14946 | /* Override any GCC internal prototype to avoid an error. | ||
14947 | Use char because int might match the return type of a GCC | ||
14948 | builtin and then its argument prototype would still apply. */ | ||
14949 | #ifdef __cplusplus | ||
14950 | extern "C" | ||
14951 | #endif | ||
14952 | char RSA_meth_set_priv_enc (); | ||
14953 | int | ||
14954 | main () | ||
14955 | { | ||
14956 | return RSA_meth_set_priv_enc (); | ||
14957 | ; | ||
14958 | return 0; | ||
14959 | } | ||
14960 | _ACEOF | ||
14961 | for ac_lib in '' crypto; do | ||
14962 | if test -z "$ac_lib"; then | ||
14963 | ac_res="none required" | ||
14964 | else | ||
14965 | ac_res=-l$ac_lib | ||
14966 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
14967 | fi | ||
14968 | if ac_fn_c_try_link "$LINENO"; then : | ||
14969 | ac_cv_search_RSA_meth_set_priv_enc=$ac_res | ||
14970 | fi | ||
14971 | rm -f core conftest.err conftest.$ac_objext \ | ||
14972 | conftest$ac_exeext | ||
14973 | if ${ac_cv_search_RSA_meth_set_priv_enc+:} false; then : | ||
14974 | break | ||
14975 | fi | ||
14976 | done | ||
14977 | if ${ac_cv_search_RSA_meth_set_priv_enc+:} false; then : | ||
14978 | |||
14979 | else | ||
14980 | ac_cv_search_RSA_meth_set_priv_enc=no | ||
14981 | fi | ||
14982 | rm conftest.$ac_ext | ||
14983 | LIBS=$ac_func_search_save_LIBS | ||
14984 | fi | ||
14985 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_RSA_meth_set_priv_enc" >&5 | ||
14986 | $as_echo "$ac_cv_search_RSA_meth_set_priv_enc" >&6; } | ||
14987 | ac_res=$ac_cv_search_RSA_meth_set_priv_enc | ||
14988 | if test "$ac_res" != no; then : | ||
14989 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | ||
14990 | |||
14991 | $as_echo "#define HAVE_RSA_METH_SET_PRIV_ENC 1" >>confdefs.h | ||
14992 | |||
14993 | fi | ||
14994 | |||
14995 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing RSA_meth_set_priv_dec" >&5 | ||
14996 | $as_echo_n "checking for library containing RSA_meth_set_priv_dec... " >&6; } | ||
14997 | if ${ac_cv_search_RSA_meth_set_priv_dec+:} false; then : | ||
14998 | $as_echo_n "(cached) " >&6 | ||
14999 | else | ||
15000 | ac_func_search_save_LIBS=$LIBS | ||
15001 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
15002 | /* end confdefs.h. */ | ||
15003 | |||
15004 | /* Override any GCC internal prototype to avoid an error. | ||
15005 | Use char because int might match the return type of a GCC | ||
15006 | builtin and then its argument prototype would still apply. */ | ||
15007 | #ifdef __cplusplus | ||
15008 | extern "C" | ||
15009 | #endif | ||
15010 | char RSA_meth_set_priv_dec (); | ||
15011 | int | ||
15012 | main () | ||
15013 | { | ||
15014 | return RSA_meth_set_priv_dec (); | ||
15015 | ; | ||
15016 | return 0; | ||
15017 | } | ||
15018 | _ACEOF | ||
15019 | for ac_lib in '' crypto; do | ||
15020 | if test -z "$ac_lib"; then | ||
15021 | ac_res="none required" | ||
15022 | else | ||
15023 | ac_res=-l$ac_lib | ||
15024 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
15025 | fi | ||
15026 | if ac_fn_c_try_link "$LINENO"; then : | ||
15027 | ac_cv_search_RSA_meth_set_priv_dec=$ac_res | ||
15028 | fi | ||
15029 | rm -f core conftest.err conftest.$ac_objext \ | ||
15030 | conftest$ac_exeext | ||
15031 | if ${ac_cv_search_RSA_meth_set_priv_dec+:} false; then : | ||
15032 | break | ||
15033 | fi | ||
15034 | done | ||
15035 | if ${ac_cv_search_RSA_meth_set_priv_dec+:} false; then : | ||
15036 | |||
15037 | else | ||
15038 | ac_cv_search_RSA_meth_set_priv_dec=no | ||
15039 | fi | ||
15040 | rm conftest.$ac_ext | ||
15041 | LIBS=$ac_func_search_save_LIBS | ||
15042 | fi | ||
15043 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_RSA_meth_set_priv_dec" >&5 | ||
15044 | $as_echo "$ac_cv_search_RSA_meth_set_priv_dec" >&6; } | ||
15045 | ac_res=$ac_cv_search_RSA_meth_set_priv_dec | ||
15046 | if test "$ac_res" != no; then : | ||
15047 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | ||
15048 | |||
15049 | $as_echo "#define HAVE_RSA_METH_SET_PRIV_DEC 1" >>confdefs.h | ||
15050 | |||
15051 | fi | ||
15052 | |||
15053 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing RSA_meth_set_finish" >&5 | ||
15054 | $as_echo_n "checking for library containing RSA_meth_set_finish... " >&6; } | ||
15055 | if ${ac_cv_search_RSA_meth_set_finish+:} false; then : | ||
15056 | $as_echo_n "(cached) " >&6 | ||
15057 | else | ||
15058 | ac_func_search_save_LIBS=$LIBS | ||
15059 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
15060 | /* end confdefs.h. */ | ||
15061 | |||
15062 | /* Override any GCC internal prototype to avoid an error. | ||
15063 | Use char because int might match the return type of a GCC | ||
15064 | builtin and then its argument prototype would still apply. */ | ||
15065 | #ifdef __cplusplus | ||
15066 | extern "C" | ||
15067 | #endif | ||
15068 | char RSA_meth_set_finish (); | ||
15069 | int | ||
15070 | main () | ||
15071 | { | ||
15072 | return RSA_meth_set_finish (); | ||
15073 | ; | ||
15074 | return 0; | ||
15075 | } | ||
15076 | _ACEOF | ||
15077 | for ac_lib in '' crypto; do | ||
15078 | if test -z "$ac_lib"; then | ||
15079 | ac_res="none required" | ||
15080 | else | ||
15081 | ac_res=-l$ac_lib | ||
15082 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
15083 | fi | ||
15084 | if ac_fn_c_try_link "$LINENO"; then : | ||
15085 | ac_cv_search_RSA_meth_set_finish=$ac_res | ||
15086 | fi | ||
15087 | rm -f core conftest.err conftest.$ac_objext \ | ||
15088 | conftest$ac_exeext | ||
15089 | if ${ac_cv_search_RSA_meth_set_finish+:} false; then : | ||
15090 | break | ||
15091 | fi | ||
15092 | done | ||
15093 | if ${ac_cv_search_RSA_meth_set_finish+:} false; then : | ||
15094 | |||
15095 | else | ||
15096 | ac_cv_search_RSA_meth_set_finish=no | ||
15097 | fi | ||
15098 | rm conftest.$ac_ext | ||
15099 | LIBS=$ac_func_search_save_LIBS | ||
15100 | fi | ||
15101 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_RSA_meth_set_finish" >&5 | ||
15102 | $as_echo "$ac_cv_search_RSA_meth_set_finish" >&6; } | ||
15103 | ac_res=$ac_cv_search_RSA_meth_set_finish | ||
15104 | if test "$ac_res" != no; then : | ||
15105 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | ||
15106 | |||
15107 | $as_echo "#define HAVE_RSA_METH_SET_FINISH 1" >>confdefs.h | ||
15108 | |||
15109 | fi | ||
15110 | |||
15111 | |||
15112 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing EVP_PKEY_get0_RSA" >&5 | ||
15113 | $as_echo_n "checking for library containing EVP_PKEY_get0_RSA... " >&6; } | ||
15114 | if ${ac_cv_search_EVP_PKEY_get0_RSA+:} false; then : | ||
15115 | $as_echo_n "(cached) " >&6 | ||
15116 | else | ||
15117 | ac_func_search_save_LIBS=$LIBS | ||
15118 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
15119 | /* end confdefs.h. */ | ||
15120 | |||
15121 | /* Override any GCC internal prototype to avoid an error. | ||
15122 | Use char because int might match the return type of a GCC | ||
15123 | builtin and then its argument prototype would still apply. */ | ||
15124 | #ifdef __cplusplus | ||
15125 | extern "C" | ||
15126 | #endif | ||
15127 | char EVP_PKEY_get0_RSA (); | ||
15128 | int | ||
15129 | main () | ||
15130 | { | ||
15131 | return EVP_PKEY_get0_RSA (); | ||
15132 | ; | ||
15133 | return 0; | ||
15134 | } | ||
15135 | _ACEOF | ||
15136 | for ac_lib in '' crypto; do | ||
15137 | if test -z "$ac_lib"; then | ||
15138 | ac_res="none required" | ||
15139 | else | ||
15140 | ac_res=-l$ac_lib | ||
15141 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
15142 | fi | ||
15143 | if ac_fn_c_try_link "$LINENO"; then : | ||
15144 | ac_cv_search_EVP_PKEY_get0_RSA=$ac_res | ||
15145 | fi | ||
15146 | rm -f core conftest.err conftest.$ac_objext \ | ||
15147 | conftest$ac_exeext | ||
15148 | if ${ac_cv_search_EVP_PKEY_get0_RSA+:} false; then : | ||
15149 | break | ||
15150 | fi | ||
15151 | done | ||
15152 | if ${ac_cv_search_EVP_PKEY_get0_RSA+:} false; then : | ||
15153 | |||
15154 | else | ||
15155 | ac_cv_search_EVP_PKEY_get0_RSA=no | ||
15156 | fi | ||
15157 | rm conftest.$ac_ext | ||
15158 | LIBS=$ac_func_search_save_LIBS | ||
15159 | fi | ||
15160 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_EVP_PKEY_get0_RSA" >&5 | ||
15161 | $as_echo "$ac_cv_search_EVP_PKEY_get0_RSA" >&6; } | ||
15162 | ac_res=$ac_cv_search_EVP_PKEY_get0_RSA | ||
15163 | if test "$ac_res" != no; then : | ||
15164 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | ||
15165 | |||
15166 | $as_echo "#define HAVE_EVP_PKEY_GET0_RSA 1" >>confdefs.h | ||
15167 | |||
15168 | fi | ||
15169 | |||
15170 | |||
15171 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing EVP_MD_CTX_new" >&5 | ||
15172 | $as_echo_n "checking for library containing EVP_MD_CTX_new... " >&6; } | ||
15173 | if ${ac_cv_search_EVP_MD_CTX_new+:} false; then : | ||
15174 | $as_echo_n "(cached) " >&6 | ||
15175 | else | ||
15176 | ac_func_search_save_LIBS=$LIBS | ||
15177 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
15178 | /* end confdefs.h. */ | ||
15179 | |||
15180 | /* Override any GCC internal prototype to avoid an error. | ||
15181 | Use char because int might match the return type of a GCC | ||
15182 | builtin and then its argument prototype would still apply. */ | ||
15183 | #ifdef __cplusplus | ||
15184 | extern "C" | ||
15185 | #endif | ||
15186 | char EVP_MD_CTX_new (); | ||
15187 | int | ||
15188 | main () | ||
15189 | { | ||
15190 | return EVP_MD_CTX_new (); | ||
15191 | ; | ||
15192 | return 0; | ||
15193 | } | ||
15194 | _ACEOF | ||
15195 | for ac_lib in '' crypto; do | ||
15196 | if test -z "$ac_lib"; then | ||
15197 | ac_res="none required" | ||
15198 | else | ||
15199 | ac_res=-l$ac_lib | ||
15200 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
15201 | fi | ||
15202 | if ac_fn_c_try_link "$LINENO"; then : | ||
15203 | ac_cv_search_EVP_MD_CTX_new=$ac_res | ||
15204 | fi | ||
15205 | rm -f core conftest.err conftest.$ac_objext \ | ||
15206 | conftest$ac_exeext | ||
15207 | if ${ac_cv_search_EVP_MD_CTX_new+:} false; then : | ||
15208 | break | ||
15209 | fi | ||
15210 | done | ||
15211 | if ${ac_cv_search_EVP_MD_CTX_new+:} false; then : | ||
15212 | |||
15213 | else | ||
15214 | ac_cv_search_EVP_MD_CTX_new=no | ||
15215 | fi | ||
15216 | rm conftest.$ac_ext | ||
15217 | LIBS=$ac_func_search_save_LIBS | ||
15218 | fi | ||
15219 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_EVP_MD_CTX_new" >&5 | ||
15220 | $as_echo "$ac_cv_search_EVP_MD_CTX_new" >&6; } | ||
15221 | ac_res=$ac_cv_search_EVP_MD_CTX_new | ||
15222 | if test "$ac_res" != no; then : | ||
15223 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | ||
15224 | |||
15225 | $as_echo "#define HAVE_EVP_MD_CTX_NEW 1" >>confdefs.h | ||
15226 | |||
15227 | fi | ||
15228 | |||
15229 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing EVP_MD_CTX_free" >&5 | ||
15230 | $as_echo_n "checking for library containing EVP_MD_CTX_free... " >&6; } | ||
15231 | if ${ac_cv_search_EVP_MD_CTX_free+:} false; then : | ||
15232 | $as_echo_n "(cached) " >&6 | ||
15233 | else | ||
15234 | ac_func_search_save_LIBS=$LIBS | ||
15235 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
15236 | /* end confdefs.h. */ | ||
15237 | |||
15238 | /* Override any GCC internal prototype to avoid an error. | ||
15239 | Use char because int might match the return type of a GCC | ||
15240 | builtin and then its argument prototype would still apply. */ | ||
15241 | #ifdef __cplusplus | ||
15242 | extern "C" | ||
15243 | #endif | ||
15244 | char EVP_MD_CTX_free (); | ||
15245 | int | ||
15246 | main () | ||
15247 | { | ||
15248 | return EVP_MD_CTX_free (); | ||
15249 | ; | ||
15250 | return 0; | ||
15251 | } | ||
15252 | _ACEOF | ||
15253 | for ac_lib in '' crypto; do | ||
15254 | if test -z "$ac_lib"; then | ||
15255 | ac_res="none required" | ||
15256 | else | ||
15257 | ac_res=-l$ac_lib | ||
15258 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
15259 | fi | ||
15260 | if ac_fn_c_try_link "$LINENO"; then : | ||
15261 | ac_cv_search_EVP_MD_CTX_free=$ac_res | ||
15262 | fi | ||
15263 | rm -f core conftest.err conftest.$ac_objext \ | ||
15264 | conftest$ac_exeext | ||
15265 | if ${ac_cv_search_EVP_MD_CTX_free+:} false; then : | ||
15266 | break | ||
15267 | fi | ||
15268 | done | ||
15269 | if ${ac_cv_search_EVP_MD_CTX_free+:} false; then : | ||
15270 | |||
15271 | else | ||
15272 | ac_cv_search_EVP_MD_CTX_free=no | ||
15273 | fi | ||
15274 | rm conftest.$ac_ext | ||
15275 | LIBS=$ac_func_search_save_LIBS | ||
15276 | fi | ||
15277 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_EVP_MD_CTX_free" >&5 | ||
15278 | $as_echo "$ac_cv_search_EVP_MD_CTX_free" >&6; } | ||
15279 | ac_res=$ac_cv_search_EVP_MD_CTX_free | ||
15280 | if test "$ac_res" != no; then : | ||
15281 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | ||
15282 | |||
15283 | $as_echo "#define HAVE_EVP_MD_CTX_FREE 1" >>confdefs.h | ||
15284 | |||
15285 | fi | ||
15286 | |||
15287 | |||
15288 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if EVP_DigestUpdate returns an int" >&5 | 13175 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if EVP_DigestUpdate returns an int" >&5 |
15289 | $as_echo_n "checking if EVP_DigestUpdate returns an int... " >&6; } | 13176 | $as_echo_n "checking if EVP_DigestUpdate returns an int... " >&6; } |
15290 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13177 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
@@ -15626,6 +13513,17 @@ rm -f core conftest.err conftest.$ac_objext \ | |||
15626 | 13513 | ||
15627 | $as_echo "#define OPENSSL_HAS_ECC 1" >>confdefs.h | 13514 | $as_echo "#define OPENSSL_HAS_ECC 1" >>confdefs.h |
15628 | 13515 | ||
13516 | for ac_func in EC_KEY_METHOD_new | ||
13517 | do : | ||
13518 | ac_fn_c_check_func "$LINENO" "EC_KEY_METHOD_new" "ac_cv_func_EC_KEY_METHOD_new" | ||
13519 | if test "x$ac_cv_func_EC_KEY_METHOD_new" = xyes; then : | ||
13520 | cat >>confdefs.h <<_ACEOF | ||
13521 | #define HAVE_EC_KEY_METHOD_NEW 1 | ||
13522 | _ACEOF | ||
13523 | |||
13524 | fi | ||
13525 | done | ||
13526 | |||
15629 | fi | 13527 | fi |
15630 | if test x$enable_nistp256 = x1; then | 13528 | if test x$enable_nistp256 = x1; then |
15631 | 13529 | ||
@@ -20190,8 +18088,8 @@ fi | |||
20190 | 18088 | ||
20191 | 18089 | ||
20192 | fi | 18090 | fi |
20193 | if test ! -z "$need_dash_r" ; then | 18091 | if test -n "${rpath_opt}" ; then |
20194 | LDFLAGS="$LDFLAGS -R${KRB5ROOT}/lib" | 18092 | LDFLAGS="$LDFLAGS ${rpath_opt}${KRB5ROOT}/lib" |
20195 | fi | 18093 | fi |
20196 | if test ! -z "$blibpath" ; then | 18094 | if test ! -z "$blibpath" ; then |
20197 | blibpath="$blibpath:${KRB5ROOT}/lib" | 18095 | blibpath="$blibpath:${KRB5ROOT}/lib" |