| @@ -1,15 +1,15 @@ | | | @@ -1,15 +1,15 @@ |
1 | #! /bin/sh | | 1 | #! /bin/sh |
2 | # From configure.ac Revision. | | 2 | # From configure.ac Revision: 1.12 . |
3 | # Guess values for system-dependent variables and create Makefiles. | | 3 | # Guess values for system-dependent variables and create Makefiles. |
4 | # Generated by GNU Autoconf 2.63 for netpgp 20090525. | | 4 | # Generated by GNU Autoconf 2.63 for netpgp 20090525. |
5 | # | | 5 | # |
6 | # Report bugs to <Alistair Crooks <agc@netbsd.org> c0596823>. | | 6 | # Report bugs to <Alistair Crooks <agc@netbsd.org> c0596823>. |
7 | # | | 7 | # |
8 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | | 8 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
9 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. | | 9 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
10 | # This configure script is free software; the Free Software Foundation | | 10 | # This configure script is free software; the Free Software Foundation |
11 | # gives unlimited permission to copy, distribute and modify it. | | 11 | # gives unlimited permission to copy, distribute and modify it. |
12 | ## --------------------- ## | | 12 | ## --------------------- ## |
13 | ## M4sh Initialization. ## | | 13 | ## M4sh Initialization. ## |
14 | ## --------------------- ## | | 14 | ## --------------------- ## |
15 | | | 15 | |
| @@ -20609,27 +20609,31 @@ as_val=`eval 'as_val=${'$as_ac_Header'} | | | @@ -20609,27 +20609,31 @@ as_val=`eval 'as_val=${'$as_ac_Header'} |
20609 | cat >>confdefs.h <<_ACEOF | | 20609 | cat >>confdefs.h <<_ACEOF |
20610 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | | 20610 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
20611 | _ACEOF | | 20611 | _ACEOF |
20612 | | | 20612 | |
20613 | fi | | 20613 | fi |
20614 | | | 20614 | |
20615 | done | | 20615 | done |
20616 | | | 20616 | |
20617 | | | 20617 | |
20618 | | | 20618 | |
20619 | | | 20619 | |
20620 | | | 20620 | |
20621 | | | 20621 | |
20622 | for ac_header in bzlib.h dmalloc.h direct.h errno.h fcntl.h | | 20622 | |
| | | 20623 | |
| | | 20624 | |
| | | 20625 | for ac_header in dmalloc.h direct.h errno.h fcntl.h \ |
| | | 20626 | inttypes.h limits.h malloc.h zlib.h |
20623 | do | | 20627 | do |
20624 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | | 20628 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
20625 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | | 20629 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
20626 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | | 20630 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
20627 | $as_echo_n "checking for $ac_header... " >&6; } | | 20631 | $as_echo_n "checking for $ac_header... " >&6; } |
20628 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | | 20632 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
20629 | $as_echo_n "(cached) " >&6 | | 20633 | $as_echo_n "(cached) " >&6 |
20630 | fi | | 20634 | fi |
20631 | ac_res=`eval 'as_val=${'$as_ac_Header'} | | 20635 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
20632 | $as_echo "$as_val"'` | | 20636 | $as_echo "$as_val"'` |
20633 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | | 20637 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
20634 | $as_echo "$ac_res" >&6; } | | 20638 | $as_echo "$ac_res" >&6; } |
20635 | else | | 20639 | else |
| @@ -20763,27 +20767,39 @@ as_val=`eval 'as_val=${'$as_ac_Header'} | | | @@ -20763,27 +20767,39 @@ as_val=`eval 'as_val=${'$as_ac_Header'} |
20763 | if test "x$as_val" = x""yes; then | | 20767 | if test "x$as_val" = x""yes; then |
20764 | cat >>confdefs.h <<_ACEOF | | 20768 | cat >>confdefs.h <<_ACEOF |
20765 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | | 20769 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
20766 | _ACEOF | | 20770 | _ACEOF |
20767 | | | 20771 | |
20768 | fi | | 20772 | fi |
20769 | | | 20773 | |
20770 | done | | 20774 | done |
20771 | | | 20775 | |
20772 | | | 20776 | |
20773 | | | 20777 | |
20774 | | | 20778 | |
20775 | | | 20779 | |
20776 | for ac_header in inttypes.h limits.h malloc.h zlib.h | | 20780 | |
| | | 20781 | |
| | | 20782 | |
| | | 20783 | |
| | | 20784 | |
| | | 20785 | |
| | | 20786 | |
| | | 20787 | |
| | | 20788 | |
| | | 20789 | for ac_header in openssl/aes.h openssl/bn.h openssl/cast.h openssl/des.h \ |
| | | 20790 | openssl/dsa.h openssl/err.h openssl/idea.h openssl/md5.h \ |
| | | 20791 | openssl/rand.h openssl/rsa.h openssl/sha.h openssl/err.h \ |
| | | 20792 | openssl/sha.h |
20777 | do | | 20793 | do |
20778 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | | 20794 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
20779 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | | 20795 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
20780 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | | 20796 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
20781 | $as_echo_n "checking for $ac_header... " >&6; } | | 20797 | $as_echo_n "checking for $ac_header... " >&6; } |
20782 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | | 20798 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
20783 | $as_echo_n "(cached) " >&6 | | 20799 | $as_echo_n "(cached) " >&6 |
20784 | fi | | 20800 | fi |
20785 | ac_res=`eval 'as_val=${'$as_ac_Header'} | | 20801 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
20786 | $as_echo "$as_val"'` | | 20802 | $as_echo "$as_val"'` |
20787 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | | 20803 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
20788 | $as_echo "$ac_res" >&6; } | | 20804 | $as_echo "$ac_res" >&6; } |
20789 | else | | 20805 | else |
| @@ -20919,37 +20935,28 @@ as_val=`eval 'as_val=${'$as_ac_Header'} | | | @@ -20919,37 +20935,28 @@ as_val=`eval 'as_val=${'$as_ac_Header'} |
20919 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | | 20935 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
20920 | _ACEOF | | 20936 | _ACEOF |
20921 | | | 20937 | |
20922 | fi | | 20938 | fi |
20923 | | | 20939 | |
20924 | done | | 20940 | done |
20925 | | | 20941 | |
20926 | | | 20942 | |
20927 | | | 20943 | |
20928 | | | 20944 | |
20929 | | | 20945 | |
20930 | | | 20946 | |
20931 | | | 20947 | |
20932 | | | 20948 | for ac_header in sys/cdefs.h sys/file.h sys/mman.h sys/param.h \ |
20933 | | | 20949 | sys/resource.h sys/uio.h |
20934 | | | | |
20935 | | | | |
20936 | | | | |
20937 | | | | |
20938 | | | | |
20939 | for ac_header in openssl/aes.h openssl/bn.h openssl/cast.h openssl/des.h \ | | | |
20940 | openssl/dsa.h openssl/err.h openssl/idea.h openssl/md5.h \ | | | |
20941 | openssl/rand.h openssl/rsa.h openssl/sha.h openssl/err.h \ | | | |
20942 | openssl/sha.h | | | |
20943 | do | | 20950 | do |
20944 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | | 20951 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
20945 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | | 20952 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
20946 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | | 20953 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
20947 | $as_echo_n "checking for $ac_header... " >&6; } | | 20954 | $as_echo_n "checking for $ac_header... " >&6; } |
20948 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | | 20955 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
20949 | $as_echo_n "(cached) " >&6 | | 20956 | $as_echo_n "(cached) " >&6 |
20950 | fi | | 20957 | fi |
20951 | ac_res=`eval 'as_val=${'$as_ac_Header'} | | 20958 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
20952 | $as_echo "$as_val"'` | | 20959 | $as_echo "$as_val"'` |
20953 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | | 20960 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
20954 | $as_echo "$ac_res" >&6; } | | 20961 | $as_echo "$ac_res" >&6; } |
20955 | else | | 20962 | else |
| @@ -21081,32 +21088,27 @@ fi | | | @@ -21081,32 +21088,27 @@ fi |
21081 | as_val=`eval 'as_val=${'$as_ac_Header'} | | 21088 | as_val=`eval 'as_val=${'$as_ac_Header'} |
21082 | $as_echo "$as_val"'` | | 21089 | $as_echo "$as_val"'` |
21083 | if test "x$as_val" = x""yes; then | | 21090 | if test "x$as_val" = x""yes; then |
21084 | cat >>confdefs.h <<_ACEOF | | 21091 | cat >>confdefs.h <<_ACEOF |
21085 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | | 21092 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
21086 | _ACEOF | | 21093 | _ACEOF |
21087 | | | 21094 | |
21088 | fi | | 21095 | fi |
21089 | | | 21096 | |
21090 | done | | 21097 | done |
21091 | | | 21098 | |
21092 | | | 21099 | |
21093 | | | 21100 | |
21094 | | | 21101 | for ac_header in bzlib.h |
21095 | | | | |
21096 | | | | |
21097 | | | | |
21098 | for ac_header in sys/cdefs.h sys/file.h sys/mman.h sys/param.h \ | | | |
21099 | sys/resource.h sys/uio.h | | | |
21100 | do | | 21102 | do |
21101 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | | 21103 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
21102 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | | 21104 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
21103 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 | | 21105 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 |
21104 | $as_echo_n "checking for $ac_header... " >&6; } | | 21106 | $as_echo_n "checking for $ac_header... " >&6; } |
21105 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | | 21107 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
21106 | $as_echo_n "(cached) " >&6 | | 21108 | $as_echo_n "(cached) " >&6 |
21107 | fi | | 21109 | fi |
21108 | ac_res=`eval 'as_val=${'$as_ac_Header'} | | 21110 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
21109 | $as_echo "$as_val"'` | | 21111 | $as_echo "$as_val"'` |
21110 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | | 21112 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
21111 | $as_echo "$ac_res" >&6; } | | 21113 | $as_echo "$ac_res" >&6; } |
21112 | else | | 21114 | else |
| @@ -21232,109 +21234,297 @@ fi | | | @@ -21232,109 +21234,297 @@ fi |
21232 | ac_res=`eval 'as_val=${'$as_ac_Header'} | | 21234 | ac_res=`eval 'as_val=${'$as_ac_Header'} |
21233 | $as_echo "$as_val"'` | | 21235 | $as_echo "$as_val"'` |
21234 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 | | 21236 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 |
21235 | $as_echo "$ac_res" >&6; } | | 21237 | $as_echo "$ac_res" >&6; } |
21236 | | | 21238 | |
21237 | fi | | 21239 | fi |
21238 | as_val=`eval 'as_val=${'$as_ac_Header'} | | 21240 | as_val=`eval 'as_val=${'$as_ac_Header'} |
21239 | $as_echo "$as_val"'` | | 21241 | $as_echo "$as_val"'` |
21240 | if test "x$as_val" = x""yes; then | | 21242 | if test "x$as_val" = x""yes; then |
21241 | cat >>confdefs.h <<_ACEOF | | 21243 | cat >>confdefs.h <<_ACEOF |
21242 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | | 21244 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
21243 | _ACEOF | | 21245 | _ACEOF |
21244 | | | 21246 | |
| | | 21247 | else |
| | | 21248 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
| | | 21249 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| | | 21250 | { { $as_echo "$as_me:$LINENO: error: missing <bzlib.h>; is bzip2 installed? |
| | | 21251 | See \`config.log' for more details." >&5 |
| | | 21252 | $as_echo "$as_me: error: missing <bzlib.h>; is bzip2 installed? |
| | | 21253 | See \`config.log' for more details." >&2;} |
| | | 21254 | { (exit 1); exit 1; }; }; } |
21245 | fi | | 21255 | fi |
21246 | | | 21256 | |
21247 | done | | 21257 | done |
21248 | | | 21258 | |
21249 | | | 21259 | |
21250 | # Checks for typedefs, structures, and compiler characteristics. | | 21260 | # Checks for typedefs, structures, and compiler characteristics. |
21251 | # | | 21261 | # |
21252 | | | 21262 | |
21253 | { $as_echo "$as_me:$LINENO: checking for uint8_t" >&5 | | 21263 | { $as_echo "$as_me:$LINENO: checking for long long int" >&5 |
21254 | $as_echo_n "checking for uint8_t... " >&6; } | | 21264 | $as_echo_n "checking for long long int... " >&6; } |
21255 | if test "${ac_cv_c_uint8_t+set}" = set; then | | 21265 | if test "${ac_cv_type_long_long_int+set}" = set; then |
21256 | $as_echo_n "(cached) " >&6 | | 21266 | $as_echo_n "(cached) " >&6 |
21257 | else | | 21267 | else |
21258 | ac_cv_c_uint8_t=no | | 21268 | cat >conftest.$ac_ext <<_ACEOF |
21259 | for ac_type in 'uint8_t' 'unsigned int' 'unsigned long int' \ | | 21269 | |
21260 | 'unsigned long long int' 'unsigned short int' 'unsigned char'; do | | 21270 | /* confdefs.h. */ |
21261 | cat >conftest.$ac_ext <<_ACEOF | | 21271 | _ACEOF |
| | | 21272 | cat confdefs.h >>conftest.$ac_ext |
| | | 21273 | cat >>conftest.$ac_ext <<_ACEOF |
| | | 21274 | /* end confdefs.h. */ |
| | | 21275 | /* For now, do not test the preprocessor; as of 2007 there are too many |
| | | 21276 | implementations with broken preprocessors. Perhaps this can |
| | | 21277 | be revisited in 2012. In the meantime, code should not expect |
| | | 21278 | #if to work with literals wider than 32 bits. */ |
| | | 21279 | /* Test literals. */ |
| | | 21280 | long long int ll = 9223372036854775807ll; |
| | | 21281 | long long int nll = -9223372036854775807LL; |
| | | 21282 | unsigned long long int ull = 18446744073709551615ULL; |
| | | 21283 | /* Test constant expressions. */ |
| | | 21284 | typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll) |
| | | 21285 | ? 1 : -1)]; |
| | | 21286 | typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1 |
| | | 21287 | ? 1 : -1)]; |
| | | 21288 | int i = 63; |
| | | 21289 | int |
| | | 21290 | main () |
| | | 21291 | { |
| | | 21292 | /* Test availability of runtime routines for shift and division. */ |
| | | 21293 | long long int llmax = 9223372036854775807ll; |
| | | 21294 | unsigned long long int ullmax = 18446744073709551615ull; |
| | | 21295 | return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i) |
| | | 21296 | | (llmax / ll) | (llmax % ll) |
| | | 21297 | | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) |
| | | 21298 | | (ullmax / ull) | (ullmax % ull)); |
| | | 21299 | ; |
| | | 21300 | return 0; |
| | | 21301 | } |
| | | 21302 | |
| | | 21303 | _ACEOF |
| | | 21304 | rm -f conftest.$ac_objext conftest$ac_exeext |
| | | 21305 | if { (ac_try="$ac_link" |
| | | 21306 | case "(($ac_try" in |
| | | 21307 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 21308 | *) ac_try_echo=$ac_try;; |
| | | 21309 | esac |
| | | 21310 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 21311 | $as_echo "$ac_try_echo") >&5 |
| | | 21312 | (eval "$ac_link") 2>conftest.er1 |
| | | 21313 | ac_status=$? |
| | | 21314 | grep -v '^ *+' conftest.er1 >conftest.err |
| | | 21315 | rm -f conftest.er1 |
| | | 21316 | cat conftest.err >&5 |
| | | 21317 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 21318 | (exit $ac_status); } && { |
| | | 21319 | test -z "$ac_c_werror_flag" || |
| | | 21320 | test ! -s conftest.err |
| | | 21321 | } && test -s conftest$ac_exeext && { |
| | | 21322 | test "$cross_compiling" = yes || |
| | | 21323 | $as_test_x conftest$ac_exeext |
| | | 21324 | }; then |
| | | 21325 | if test "$cross_compiling" = yes; then |
| | | 21326 | ac_cv_type_long_long_int=yes |
| | | 21327 | else |
| | | 21328 | cat >conftest.$ac_ext <<_ACEOF |
21262 | /* confdefs.h. */ | | 21329 | /* confdefs.h. */ |
21263 | _ACEOF | | 21330 | _ACEOF |
21264 | cat confdefs.h >>conftest.$ac_ext | | 21331 | cat confdefs.h >>conftest.$ac_ext |
21265 | cat >>conftest.$ac_ext <<_ACEOF | | 21332 | cat >>conftest.$ac_ext <<_ACEOF |
21266 | /* end confdefs.h. */ | | 21333 | /* end confdefs.h. */ |
21267 | $ac_includes_default | | 21334 | #include <limits.h> |
| | | 21335 | #ifndef LLONG_MAX |
| | | 21336 | # define HALF \ |
| | | 21337 | (1LL << (sizeof (long long int) * CHAR_BIT - 2)) |
| | | 21338 | # define LLONG_MAX (HALF - 1 + HALF) |
| | | 21339 | #endif |
21268 | int | | 21340 | int |
21269 | main () | | 21341 | main () |
21270 | { | | 21342 | { |
21271 | static int test_array [1 - 2 * !(($ac_type) -1 >> (8 - 1) == 1)]; | | 21343 | long long int n = 1; |
21272 | test_array [0] = 0 | | 21344 | int i; |
| | | 21345 | for (i = 0; ; i++) |
| | | 21346 | { |
| | | 21347 | long long int m = n << i; |
| | | 21348 | if (m >> i != n) |
| | | 21349 | return 1; |
| | | 21350 | if (LLONG_MAX / 2 < m) |
| | | 21351 | break; |
| | | 21352 | } |
| | | 21353 | return 0; |
| | | 21354 | ; |
| | | 21355 | return 0; |
| | | 21356 | } |
| | | 21357 | _ACEOF |
| | | 21358 | rm -f conftest$ac_exeext |
| | | 21359 | if { (ac_try="$ac_link" |
| | | 21360 | case "(($ac_try" in |
| | | 21361 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 21362 | *) ac_try_echo=$ac_try;; |
| | | 21363 | esac |
| | | 21364 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 21365 | $as_echo "$ac_try_echo") >&5 |
| | | 21366 | (eval "$ac_link") 2>&5 |
| | | 21367 | ac_status=$? |
| | | 21368 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 21369 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
| | | 21370 | { (case "(($ac_try" in |
| | | 21371 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 21372 | *) ac_try_echo=$ac_try;; |
| | | 21373 | esac |
| | | 21374 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 21375 | $as_echo "$ac_try_echo") >&5 |
| | | 21376 | (eval "$ac_try") 2>&5 |
| | | 21377 | ac_status=$? |
| | | 21378 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 21379 | (exit $ac_status); }; }; then |
| | | 21380 | ac_cv_type_long_long_int=yes |
| | | 21381 | else |
| | | 21382 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
| | | 21383 | $as_echo "$as_me: failed program was:" >&5 |
| | | 21384 | sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 21385 | |
| | | 21386 | ( exit $ac_status ) |
| | | 21387 | ac_cv_type_long_long_int=no |
| | | 21388 | fi |
| | | 21389 | rm -rf conftest.dSYM |
| | | 21390 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
| | | 21391 | fi |
| | | 21392 | |
| | | 21393 | |
| | | 21394 | else |
| | | 21395 | $as_echo "$as_me: failed program was:" >&5 |
| | | 21396 | sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 21397 | |
| | | 21398 | ac_cv_type_long_long_int=no |
| | | 21399 | fi |
21273 | | | 21400 | |
| | | 21401 | rm -rf conftest.dSYM |
| | | 21402 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
| | | 21403 | conftest$ac_exeext conftest.$ac_ext |
| | | 21404 | fi |
| | | 21405 | { $as_echo "$as_me:$LINENO: result: $ac_cv_type_long_long_int" >&5 |
| | | 21406 | $as_echo "$ac_cv_type_long_long_int" >&6; } |
| | | 21407 | if test $ac_cv_type_long_long_int = yes; then |
| | | 21408 | |
| | | 21409 | cat >>confdefs.h <<\_ACEOF |
| | | 21410 | #define HAVE_LONG_LONG_INT 1 |
| | | 21411 | _ACEOF |
| | | 21412 | |
| | | 21413 | fi |
| | | 21414 | |
| | | 21415 | { $as_echo "$as_me:$LINENO: checking for size_t" >&5 |
| | | 21416 | $as_echo_n "checking for size_t... " >&6; } |
| | | 21417 | if test "${ac_cv_type_size_t+set}" = set; then |
| | | 21418 | $as_echo_n "(cached) " >&6 |
| | | 21419 | else |
| | | 21420 | ac_cv_type_size_t=no |
| | | 21421 | cat >conftest.$ac_ext <<_ACEOF |
| | | 21422 | /* confdefs.h. */ |
| | | 21423 | _ACEOF |
| | | 21424 | cat confdefs.h >>conftest.$ac_ext |
| | | 21425 | cat >>conftest.$ac_ext <<_ACEOF |
| | | 21426 | /* end confdefs.h. */ |
| | | 21427 | $ac_includes_default |
| | | 21428 | int |
| | | 21429 | main () |
| | | 21430 | { |
| | | 21431 | if (sizeof (size_t)) |
| | | 21432 | return 0; |
21274 | ; | | 21433 | ; |
21275 | return 0; | | 21434 | return 0; |
21276 | } | | 21435 | } |
21277 | _ACEOF | | 21436 | _ACEOF |
21278 | rm -f conftest.$ac_objext | | 21437 | rm -f conftest.$ac_objext |
21279 | if { (ac_try="$ac_compile" | | 21438 | if { (ac_try="$ac_compile" |
21280 | case "(($ac_try" in | | 21439 | case "(($ac_try" in |
21281 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | | 21440 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
21282 | *) ac_try_echo=$ac_try;; | | 21441 | *) ac_try_echo=$ac_try;; |
21283 | esac | | 21442 | esac |
21284 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | | 21443 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
21285 | $as_echo "$ac_try_echo") >&5 | | 21444 | $as_echo "$ac_try_echo") >&5 |
21286 | (eval "$ac_compile") 2>conftest.er1 | | 21445 | (eval "$ac_compile") 2>conftest.er1 |
21287 | ac_status=$? | | 21446 | ac_status=$? |
21288 | grep -v '^ *+' conftest.er1 >conftest.err | | 21447 | grep -v '^ *+' conftest.er1 >conftest.err |
21289 | rm -f conftest.er1 | | 21448 | rm -f conftest.er1 |
21290 | cat conftest.err >&5 | | 21449 | cat conftest.err >&5 |
21291 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | 21450 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21292 | (exit $ac_status); } && { | | 21451 | (exit $ac_status); } && { |
21293 | test -z "$ac_c_werror_flag" || | | 21452 | test -z "$ac_c_werror_flag" || |
21294 | test ! -s conftest.err | | 21453 | test ! -s conftest.err |
21295 | } && test -s conftest.$ac_objext; then | | 21454 | } && test -s conftest.$ac_objext; then |
21296 | case $ac_type in | | 21455 | cat >conftest.$ac_ext <<_ACEOF |
21297 | uint8_t) ac_cv_c_uint8_t=yes ;; | | 21456 | /* confdefs.h. */ |
21298 | *) ac_cv_c_uint8_t=$ac_type ;; | | 21457 | _ACEOF |
| | | 21458 | cat confdefs.h >>conftest.$ac_ext |
| | | 21459 | cat >>conftest.$ac_ext <<_ACEOF |
| | | 21460 | /* end confdefs.h. */ |
| | | 21461 | $ac_includes_default |
| | | 21462 | int |
| | | 21463 | main () |
| | | 21464 | { |
| | | 21465 | if (sizeof ((size_t))) |
| | | 21466 | return 0; |
| | | 21467 | ; |
| | | 21468 | return 0; |
| | | 21469 | } |
| | | 21470 | _ACEOF |
| | | 21471 | rm -f conftest.$ac_objext |
| | | 21472 | if { (ac_try="$ac_compile" |
| | | 21473 | case "(($ac_try" in |
| | | 21474 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 21475 | *) ac_try_echo=$ac_try;; |
21299 | esac | | 21476 | esac |
| | | 21477 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 21478 | $as_echo "$ac_try_echo") >&5 |
| | | 21479 | (eval "$ac_compile") 2>conftest.er1 |
| | | 21480 | ac_status=$? |
| | | 21481 | grep -v '^ *+' conftest.er1 >conftest.err |
| | | 21482 | rm -f conftest.er1 |
| | | 21483 | cat conftest.err >&5 |
| | | 21484 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 21485 | (exit $ac_status); } && { |
| | | 21486 | test -z "$ac_c_werror_flag" || |
| | | 21487 | test ! -s conftest.err |
| | | 21488 | } && test -s conftest.$ac_objext; then |
| | | 21489 | : |
| | | 21490 | else |
| | | 21491 | $as_echo "$as_me: failed program was:" >&5 |
| | | 21492 | sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 21493 | |
| | | 21494 | ac_cv_type_size_t=yes |
| | | 21495 | fi |
21300 | | | 21496 | |
| | | 21497 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
21301 | else | | 21498 | else |
21302 | $as_echo "$as_me: failed program was:" >&5 | | 21499 | $as_echo "$as_me: failed program was:" >&5 |
21303 | sed 's/^/| /' conftest.$ac_ext >&5 | | 21500 | sed 's/^/| /' conftest.$ac_ext >&5 |
21304 | | | 21501 | |
21305 | | | 21502 | |
21306 | fi | | 21503 | fi |
21307 | | | 21504 | |
21308 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | | 21505 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
21309 | test "$ac_cv_c_uint8_t" != no && break | | | |
21310 | done | | | |
21311 | fi | | 21506 | fi |
21312 | { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint8_t" >&5 | | 21507 | { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 |
21313 | $as_echo "$ac_cv_c_uint8_t" >&6; } | | 21508 | $as_echo "$ac_cv_type_size_t" >&6; } |
21314 | case $ac_cv_c_uint8_t in #( | | 21509 | if test "x$ac_cv_type_size_t" = x""yes; then |
21315 | no|yes) ;; #( | | 21510 | : |
21316 | *) | | 21511 | else |
21317 | | | | |
21318 | cat >>confdefs.h <<\_ACEOF | | | |
21319 | #define _UINT8_T 1 | | | |
21320 | _ACEOF | | | |
21321 | | | | |
21322 | | | 21512 | |
21323 | cat >>confdefs.h <<_ACEOF | | 21513 | cat >>confdefs.h <<_ACEOF |
21324 | #define uint8_t $ac_cv_c_uint8_t | | 21514 | #define size_t unsigned int |
21325 | _ACEOF | | 21515 | _ACEOF |
21326 | ;; | | 21516 | |
21327 | esac | | 21517 | fi |
21328 | | | 21518 | |
21329 | | | 21519 | |
21330 | { $as_echo "$as_me:$LINENO: checking for uint16_t" >&5 | | 21520 | { $as_echo "$as_me:$LINENO: checking for uint16_t" >&5 |
21331 | $as_echo_n "checking for uint16_t... " >&6; } | | 21521 | $as_echo_n "checking for uint16_t... " >&6; } |
21332 | if test "${ac_cv_c_uint16_t+set}" = set; then | | 21522 | if test "${ac_cv_c_uint16_t+set}" = set; then |
21333 | $as_echo_n "(cached) " >&6 | | 21523 | $as_echo_n "(cached) " >&6 |
21334 | else | | 21524 | else |
21335 | ac_cv_c_uint16_t=no | | 21525 | ac_cv_c_uint16_t=no |
21336 | for ac_type in 'uint16_t' 'unsigned int' 'unsigned long int' \ | | 21526 | for ac_type in 'uint16_t' 'unsigned int' 'unsigned long int' \ |
21337 | 'unsigned long long int' 'unsigned short int' 'unsigned char'; do | | 21527 | 'unsigned long long int' 'unsigned short int' 'unsigned char'; do |
21338 | cat >conftest.$ac_ext <<_ACEOF | | 21528 | cat >conftest.$ac_ext <<_ACEOF |
21339 | /* confdefs.h. */ | | 21529 | /* confdefs.h. */ |
21340 | _ACEOF | | 21530 | _ACEOF |
| @@ -21544,40 +21734,120 @@ $as_echo "$ac_cv_c_uint64_t" >&6; } | | | @@ -21544,40 +21734,120 @@ $as_echo "$ac_cv_c_uint64_t" >&6; } |
21544 | | | 21734 | |
21545 | cat >>confdefs.h <<\_ACEOF | | 21735 | cat >>confdefs.h <<\_ACEOF |
21546 | #define _UINT64_T 1 | | 21736 | #define _UINT64_T 1 |
21547 | _ACEOF | | 21737 | _ACEOF |
21548 | | | 21738 | |
21549 | | | 21739 | |
21550 | cat >>confdefs.h <<_ACEOF | | 21740 | cat >>confdefs.h <<_ACEOF |
21551 | #define uint64_t $ac_cv_c_uint64_t | | 21741 | #define uint64_t $ac_cv_c_uint64_t |
21552 | _ACEOF | | 21742 | _ACEOF |
21553 | ;; | | 21743 | ;; |
21554 | esac | | 21744 | esac |
21555 | | | 21745 | |
21556 | | | 21746 | |
| | | 21747 | { $as_echo "$as_me:$LINENO: checking for uint8_t" >&5 |
| | | 21748 | $as_echo_n "checking for uint8_t... " >&6; } |
| | | 21749 | if test "${ac_cv_c_uint8_t+set}" = set; then |
| | | 21750 | $as_echo_n "(cached) " >&6 |
| | | 21751 | else |
| | | 21752 | ac_cv_c_uint8_t=no |
| | | 21753 | for ac_type in 'uint8_t' 'unsigned int' 'unsigned long int' \ |
| | | 21754 | 'unsigned long long int' 'unsigned short int' 'unsigned char'; do |
| | | 21755 | cat >conftest.$ac_ext <<_ACEOF |
| | | 21756 | /* confdefs.h. */ |
| | | 21757 | _ACEOF |
| | | 21758 | cat confdefs.h >>conftest.$ac_ext |
| | | 21759 | cat >>conftest.$ac_ext <<_ACEOF |
| | | 21760 | /* end confdefs.h. */ |
| | | 21761 | $ac_includes_default |
| | | 21762 | int |
| | | 21763 | main () |
| | | 21764 | { |
| | | 21765 | static int test_array [1 - 2 * !(($ac_type) -1 >> (8 - 1) == 1)]; |
| | | 21766 | test_array [0] = 0 |
| | | 21767 | |
| | | 21768 | ; |
| | | 21769 | return 0; |
| | | 21770 | } |
| | | 21771 | _ACEOF |
| | | 21772 | rm -f conftest.$ac_objext |
| | | 21773 | if { (ac_try="$ac_compile" |
| | | 21774 | case "(($ac_try" in |
| | | 21775 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| | | 21776 | *) ac_try_echo=$ac_try;; |
| | | 21777 | esac |
| | | 21778 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
| | | 21779 | $as_echo "$ac_try_echo") >&5 |
| | | 21780 | (eval "$ac_compile") 2>conftest.er1 |
| | | 21781 | ac_status=$? |
| | | 21782 | grep -v '^ *+' conftest.er1 >conftest.err |
| | | 21783 | rm -f conftest.er1 |
| | | 21784 | cat conftest.err >&5 |
| | | 21785 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| | | 21786 | (exit $ac_status); } && { |
| | | 21787 | test -z "$ac_c_werror_flag" || |
| | | 21788 | test ! -s conftest.err |
| | | 21789 | } && test -s conftest.$ac_objext; then |
| | | 21790 | case $ac_type in |
| | | 21791 | uint8_t) ac_cv_c_uint8_t=yes ;; |
| | | 21792 | *) ac_cv_c_uint8_t=$ac_type ;; |
| | | 21793 | esac |
| | | 21794 | |
| | | 21795 | else |
| | | 21796 | $as_echo "$as_me: failed program was:" >&5 |
| | | 21797 | sed 's/^/| /' conftest.$ac_ext >&5 |
| | | 21798 | |
| | | 21799 | |
| | | 21800 | fi |
| | | 21801 | |
| | | 21802 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| | | 21803 | test "$ac_cv_c_uint8_t" != no && break |
| | | 21804 | done |
| | | 21805 | fi |
| | | 21806 | { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint8_t" >&5 |
| | | 21807 | $as_echo "$ac_cv_c_uint8_t" >&6; } |
| | | 21808 | case $ac_cv_c_uint8_t in #( |
| | | 21809 | no|yes) ;; #( |
| | | 21810 | *) |
| | | 21811 | |
| | | 21812 | cat >>confdefs.h <<\_ACEOF |
| | | 21813 | #define _UINT8_T 1 |
| | | 21814 | _ACEOF |
| | | 21815 | |
| | | 21816 | |
| | | 21817 | cat >>confdefs.h <<_ACEOF |
| | | 21818 | #define uint8_t $ac_cv_c_uint8_t |
| | | 21819 | _ACEOF |
| | | 21820 | ;; |
| | | 21821 | esac |
| | | 21822 | |
| | | 21823 | |
21557 | { $as_echo "$as_me:$LINENO: checking for SHA256_CTX" >&5 | | 21824 | { $as_echo "$as_me:$LINENO: checking for SHA256_CTX" >&5 |
21558 | $as_echo_n "checking for SHA256_CTX... " >&6; } | | 21825 | $as_echo_n "checking for SHA256_CTX... " >&6; } |
21559 | if test "${ac_cv_type_SHA256_CTX+set}" = set; then | | 21826 | if test "${ac_cv_type_SHA256_CTX+set}" = set; then |
21560 | $as_echo_n "(cached) " >&6 | | 21827 | $as_echo_n "(cached) " >&6 |
21561 | else | | 21828 | else |
21562 | ac_cv_type_SHA256_CTX=no | | 21829 | ac_cv_type_SHA256_CTX=no |
21563 | cat >conftest.$ac_ext <<_ACEOF | | 21830 | cat >conftest.$ac_ext <<_ACEOF |
21564 | /* confdefs.h. */ | | 21831 | /* confdefs.h. */ |
21565 | _ACEOF | | 21832 | _ACEOF |
21566 | cat confdefs.h >>conftest.$ac_ext | | 21833 | cat confdefs.h >>conftest.$ac_ext |
21567 | cat >>conftest.$ac_ext <<_ACEOF | | 21834 | cat >>conftest.$ac_ext <<_ACEOF |
21568 | /* end confdefs.h. */ | | 21835 | /* end confdefs.h. */ |
| | | 21836 | |
| | | 21837 | #include <sys/types.h> |
21569 | #include <openssl/sha.h> | | 21838 | #include <openssl/sha.h> |
21570 | | | 21839 | |
| | | 21840 | |
21571 | int | | 21841 | int |
21572 | main () | | 21842 | main () |
21573 | { | | 21843 | { |
21574 | if (sizeof (SHA256_CTX)) | | 21844 | if (sizeof (SHA256_CTX)) |
21575 | return 0; | | 21845 | return 0; |
21576 | ; | | 21846 | ; |
21577 | return 0; | | 21847 | return 0; |
21578 | } | | 21848 | } |
21579 | _ACEOF | | 21849 | _ACEOF |
21580 | rm -f conftest.$ac_objext | | 21850 | rm -f conftest.$ac_objext |
21581 | if { (ac_try="$ac_compile" | | 21851 | if { (ac_try="$ac_compile" |
21582 | case "(($ac_try" in | | 21852 | case "(($ac_try" in |
21583 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | | 21853 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| @@ -21591,28 +21861,31 @@ $as_echo "$ac_try_echo") >&5 | | | @@ -21591,28 +21861,31 @@ $as_echo "$ac_try_echo") >&5 |
21591 | rm -f conftest.er1 | | 21861 | rm -f conftest.er1 |
21592 | cat conftest.err >&5 | | 21862 | cat conftest.err >&5 |
21593 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | | 21863 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21594 | (exit $ac_status); } && { | | 21864 | (exit $ac_status); } && { |
21595 | test -z "$ac_c_werror_flag" || | | 21865 | test -z "$ac_c_werror_flag" || |
21596 | test ! -s conftest.err | | 21866 | test ! -s conftest.err |
21597 | } && test -s conftest.$ac_objext; then | | 21867 | } && test -s conftest.$ac_objext; then |
21598 | cat >conftest.$ac_ext <<_ACEOF | | 21868 | cat >conftest.$ac_ext <<_ACEOF |
21599 | /* confdefs.h. */ | | 21869 | /* confdefs.h. */ |
21600 | _ACEOF | | 21870 | _ACEOF |
21601 | cat confdefs.h >>conftest.$ac_ext | | 21871 | cat confdefs.h >>conftest.$ac_ext |
21602 | cat >>conftest.$ac_ext <<_ACEOF | | 21872 | cat >>conftest.$ac_ext <<_ACEOF |
21603 | /* end confdefs.h. */ | | 21873 | /* end confdefs.h. */ |
| | | 21874 | |
| | | 21875 | #include <sys/types.h> |
21604 | #include <openssl/sha.h> | | 21876 | #include <openssl/sha.h> |
21605 | | | 21877 | |
| | | 21878 | |
21606 | int | | 21879 | int |
21607 | main () | | 21880 | main () |
21608 | { | | 21881 | { |
21609 | if (sizeof ((SHA256_CTX))) | | 21882 | if (sizeof ((SHA256_CTX))) |
21610 | return 0; | | 21883 | return 0; |
21611 | ; | | 21884 | ; |
21612 | return 0; | | 21885 | return 0; |
21613 | } | | 21886 | } |
21614 | _ACEOF | | 21887 | _ACEOF |
21615 | rm -f conftest.$ac_objext | | 21888 | rm -f conftest.$ac_objext |
21616 | if { (ac_try="$ac_compile" | | 21889 | if { (ac_try="$ac_compile" |
21617 | case "(($ac_try" in | | 21890 | case "(($ac_try" in |
21618 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | | 21891 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |