Tue May 26 05:03:57 2009 UTC ()
regen from configure.ac 1.13


(lukem)
diff -r1.12 -r1.13 src/crypto/external/bsd/netpgp/dist/configure
diff -r1.7 -r1.8 src/crypto/external/bsd/netpgp/dist/src/lib/config.h.in

cvs diff -r1.12 -r1.13 src/crypto/external/bsd/netpgp/dist/configure (expand / switch to unified diff)

--- src/crypto/external/bsd/netpgp/dist/configure 2009/05/26 04:27:29 1.12
+++ src/crypto/external/bsd/netpgp/dist/configure 2009/05/26 05:03:57 1.13
@@ -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
20613fi 20613fi
20614 20614
20615done 20615done
20616 20616
20617 20617
20618 20618
20619 20619
20620 20620
20621 20621
20622for ac_header in bzlib.h dmalloc.h direct.h errno.h fcntl.h 20622
 20623
 20624
 20625for ac_header in dmalloc.h direct.h errno.h fcntl.h \
 20626 inttypes.h limits.h malloc.h zlib.h
20623do 20627do
20624as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 20628as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20625if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 20629if { 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; }
20628if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 20632if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20629 $as_echo_n "(cached) " >&6 20633 $as_echo_n "(cached) " >&6
20630fi 20634fi
20631ac_res=`eval 'as_val=${'$as_ac_Header'} 20635ac_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; }
20635else 20639else
@@ -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
20768fi 20772fi
20769 20773
20770done 20774done
20771 20775
20772 20776
20773 20777
20774 20778
20775 20779
20776for ac_header in inttypes.h limits.h malloc.h zlib.h 20780
 20781
 20782
 20783
 20784
 20785
 20786
 20787
 20788
 20789for 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
20777do 20793do
20778as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 20794as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20779if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 20795if { 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; }
20782if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 20798if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20783 $as_echo_n "(cached) " >&6 20799 $as_echo_n "(cached) " >&6
20784fi 20800fi
20785ac_res=`eval 'as_val=${'$as_ac_Header'} 20801ac_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; }
20789else 20805else
@@ -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
20922fi 20938fi
20923 20939
20924done 20940done
20925 20941
20926 20942
20927 20943
20928 20944
20929 20945
20930 20946
20931 20947
20932 20948for 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 
20939for 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 
20943do 20950do
20944as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 20951as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20945if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 20952if { 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; }
20948if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 20955if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20949 $as_echo_n "(cached) " >&6 20956 $as_echo_n "(cached) " >&6
20950fi 20957fi
20951ac_res=`eval 'as_val=${'$as_ac_Header'} 20958ac_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; }
20955else 20962else
@@ -21081,32 +21088,27 @@ fi @@ -21081,32 +21088,27 @@ fi
21081as_val=`eval 'as_val=${'$as_ac_Header'} 21088as_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
21088fi 21095fi
21089 21096
21090done 21097done
21091 21098
21092 21099
21093 21100
21094 21101for ac_header in bzlib.h
21095 
21096 
21097 
21098for ac_header in sys/cdefs.h sys/file.h sys/mman.h sys/param.h \ 
21099 sys/resource.h sys/uio.h 
21100do 21102do
21101as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 21103as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21102if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 21104if { 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; }
21105if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 21107if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21106 $as_echo_n "(cached) " >&6 21108 $as_echo_n "(cached) " >&6
21107fi 21109fi
21108ac_res=`eval 'as_val=${'$as_ac_Header'} 21110ac_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; }
21112else 21114else
@@ -21232,109 +21234,297 @@ fi @@ -21232,109 +21234,297 @@ fi
21232ac_res=`eval 'as_val=${'$as_ac_Header'} 21234ac_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
21237fi 21239fi
21238as_val=`eval 'as_val=${'$as_ac_Header'} 21240as_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
 21247else
 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?
 21251See \`config.log' for more details." >&5
 21252$as_echo "$as_me: error: missing <bzlib.h>; is bzip2 installed?
 21253See \`config.log' for more details." >&2;}
 21254 { (exit 1); exit 1; }; }; }
21245fi 21255fi
21246 21256
21247done 21257done
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; }
21255if test "${ac_cv_c_uint8_t+set}" = set; then 21265if test "${ac_cv_type_long_long_int+set}" = set; then
21256 $as_echo_n "(cached) " >&6 21266 $as_echo_n "(cached) " >&6
21257else 21267else
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
 21272cat confdefs.h >>conftest.$ac_ext
 21273cat >>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;
 21289int
 21290main ()
 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
 21304rm -f conftest.$ac_objext conftest$ac_exeext
 21305if { (ac_try="$ac_link"
 21306case "(($ac_try" in
 21307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 21308 *) ac_try_echo=$ac_try;;
 21309esac
 21310eval 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
 21327else
 21328 cat >conftest.$ac_ext <<_ACEOF
21262/* confdefs.h. */ 21329/* confdefs.h. */
21263_ACEOF 21330_ACEOF
21264cat confdefs.h >>conftest.$ac_ext 21331cat confdefs.h >>conftest.$ac_ext
21265cat >>conftest.$ac_ext <<_ACEOF 21332cat >>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
21268int 21340int
21269main () 21341main ()
21270{ 21342{
21271static int test_array [1 - 2 * !(($ac_type) -1 >> (8 - 1) == 1)]; 21343long long int n = 1;
21272test_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
 21358rm -f conftest$ac_exeext
 21359if { (ac_try="$ac_link"
 21360case "(($ac_try" in
 21361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 21362 *) ac_try_echo=$ac_try;;
 21363esac
 21364eval 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;;
 21373esac
 21374eval 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
 21381else
 21382 $as_echo "$as_me: program exited with status $ac_status" >&5
 21383$as_echo "$as_me: failed program was:" >&5
 21384sed 's/^/| /' conftest.$ac_ext >&5
 21385
 21386( exit $ac_status )
 21387ac_cv_type_long_long_int=no
 21388fi
 21389rm -rf conftest.dSYM
 21390rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 21391fi
 21392
 21393
 21394else
 21395 $as_echo "$as_me: failed program was:" >&5
 21396sed 's/^/| /' conftest.$ac_ext >&5
 21397
 21398 ac_cv_type_long_long_int=no
 21399fi
21273 21400
 21401rm -rf conftest.dSYM
 21402rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 21403 conftest$ac_exeext conftest.$ac_ext
 21404fi
 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
 21409cat >>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; }
 21417if test "${ac_cv_type_size_t+set}" = set; then
 21418 $as_echo_n "(cached) " >&6
 21419else
 21420 ac_cv_type_size_t=no
 21421cat >conftest.$ac_ext <<_ACEOF
 21422/* confdefs.h. */
 21423_ACEOF
 21424cat confdefs.h >>conftest.$ac_ext
 21425cat >>conftest.$ac_ext <<_ACEOF
 21426/* end confdefs.h. */
 21427$ac_includes_default
 21428int
 21429main ()
 21430{
 21431if (sizeof (size_t))
 21432 return 0;
21274 ; 21433 ;
21275 return 0; 21434 return 0;
21276} 21435}
21277_ACEOF 21436_ACEOF
21278rm -f conftest.$ac_objext 21437rm -f conftest.$ac_objext
21279if { (ac_try="$ac_compile" 21438if { (ac_try="$ac_compile"
21280case "(($ac_try" in 21439case "(($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;;
21283esac 21442esac
21284eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 21443eval 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
 21458cat confdefs.h >>conftest.$ac_ext
 21459cat >>conftest.$ac_ext <<_ACEOF
 21460/* end confdefs.h. */
 21461$ac_includes_default
 21462int
 21463main ()
 21464{
 21465if (sizeof ((size_t)))
 21466 return 0;
 21467 ;
 21468 return 0;
 21469}
 21470_ACEOF
 21471rm -f conftest.$ac_objext
 21472if { (ac_try="$ac_compile"
 21473case "(($ac_try" in
 21474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 21475 *) ac_try_echo=$ac_try;;
21299esac 21476esac
 21477eval 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 :
 21490else
 21491 $as_echo "$as_me: failed program was:" >&5
 21492sed 's/^/| /' conftest.$ac_ext >&5
 21493
 21494 ac_cv_type_size_t=yes
 21495fi
21300 21496
 21497rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21301else 21498else
21302 $as_echo "$as_me: failed program was:" >&5 21499 $as_echo "$as_me: failed program was:" >&5
21303sed 's/^/| /' conftest.$ac_ext >&5 21500sed 's/^/| /' conftest.$ac_ext >&5
21304 21501
21305 21502
21306fi 21503fi
21307 21504
21308rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21505rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21309 test "$ac_cv_c_uint8_t" != no && break 
21310 done 
21311fi 21506fi
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 #( 21509if test "x$ac_cv_type_size_t" = x""yes; then
21315 no|yes) ;; #( 21510 :
21316 *) 21511else
21317 
21318cat >>confdefs.h <<\_ACEOF 
21319#define _UINT8_T 1 
21320_ACEOF 
21321 
21322 21512
21323cat >>confdefs.h <<_ACEOF 21513cat >>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 21517fi
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; }
21332if test "${ac_cv_c_uint16_t+set}" = set; then 21522if test "${ac_cv_c_uint16_t+set}" = set; then
21333 $as_echo_n "(cached) " >&6 21523 $as_echo_n "(cached) " >&6
21334else 21524else
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
21545cat >>confdefs.h <<\_ACEOF 21735cat >>confdefs.h <<\_ACEOF
21546#define _UINT64_T 1 21736#define _UINT64_T 1
21547_ACEOF 21737_ACEOF
21548 21738
21549 21739
21550cat >>confdefs.h <<_ACEOF 21740cat >>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; }
 21749if test "${ac_cv_c_uint8_t+set}" = set; then
 21750 $as_echo_n "(cached) " >&6
 21751else
 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
 21758cat confdefs.h >>conftest.$ac_ext
 21759cat >>conftest.$ac_ext <<_ACEOF
 21760/* end confdefs.h. */
 21761$ac_includes_default
 21762int
 21763main ()
 21764{
 21765static int test_array [1 - 2 * !(($ac_type) -1 >> (8 - 1) == 1)];
 21766test_array [0] = 0
 21767
 21768 ;
 21769 return 0;
 21770}
 21771_ACEOF
 21772rm -f conftest.$ac_objext
 21773if { (ac_try="$ac_compile"
 21774case "(($ac_try" in
 21775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 21776 *) ac_try_echo=$ac_try;;
 21777esac
 21778eval 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 ;;
 21793esac
 21794
 21795else
 21796 $as_echo "$as_me: failed program was:" >&5
 21797sed 's/^/| /' conftest.$ac_ext >&5
 21798
 21799
 21800fi
 21801
 21802rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 21803 test "$ac_cv_c_uint8_t" != no && break
 21804 done
 21805fi
 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
 21812cat >>confdefs.h <<\_ACEOF
 21813#define _UINT8_T 1
 21814_ACEOF
 21815
 21816
 21817cat >>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; }
21559if test "${ac_cv_type_SHA256_CTX+set}" = set; then 21826if test "${ac_cv_type_SHA256_CTX+set}" = set; then
21560 $as_echo_n "(cached) " >&6 21827 $as_echo_n "(cached) " >&6
21561else 21828else
21562 ac_cv_type_SHA256_CTX=no 21829 ac_cv_type_SHA256_CTX=no
21563cat >conftest.$ac_ext <<_ACEOF 21830cat >conftest.$ac_ext <<_ACEOF
21564/* confdefs.h. */ 21831/* confdefs.h. */
21565_ACEOF 21832_ACEOF
21566cat confdefs.h >>conftest.$ac_ext 21833cat confdefs.h >>conftest.$ac_ext
21567cat >>conftest.$ac_ext <<_ACEOF 21834cat >>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
21571int 21841int
21572main () 21842main ()
21573{ 21843{
21574if (sizeof (SHA256_CTX)) 21844if (sizeof (SHA256_CTX))
21575 return 0; 21845 return 0;
21576 ; 21846 ;
21577 return 0; 21847 return 0;
21578} 21848}
21579_ACEOF 21849_ACEOF
21580rm -f conftest.$ac_objext 21850rm -f conftest.$ac_objext
21581if { (ac_try="$ac_compile" 21851if { (ac_try="$ac_compile"
21582case "(($ac_try" in 21852case "(($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
21601cat confdefs.h >>conftest.$ac_ext 21871cat confdefs.h >>conftest.$ac_ext
21602cat >>conftest.$ac_ext <<_ACEOF 21872cat >>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
21606int 21879int
21607main () 21880main ()
21608{ 21881{
21609if (sizeof ((SHA256_CTX))) 21882if (sizeof ((SHA256_CTX)))
21610 return 0; 21883 return 0;
21611 ; 21884 ;
21612 return 0; 21885 return 0;
21613} 21886}
21614_ACEOF 21887_ACEOF
21615rm -f conftest.$ac_objext 21888rm -f conftest.$ac_objext
21616if { (ac_try="$ac_compile" 21889if { (ac_try="$ac_compile"
21617case "(($ac_try" in 21890case "(($ac_try" in
21618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;

cvs diff -r1.7 -r1.8 src/crypto/external/bsd/netpgp/dist/src/lib/config.h.in (expand / switch to unified diff)

--- src/crypto/external/bsd/netpgp/dist/src/lib/config.h.in 2009/05/26 04:27:29 1.7
+++ src/crypto/external/bsd/netpgp/dist/src/lib/config.h.in 2009/05/26 05:03:57 1.8
@@ -17,26 +17,29 @@ @@ -17,26 +17,29 @@
17 17
18/* Define to 1 if you have the <errno.h> header file. */ 18/* Define to 1 if you have the <errno.h> header file. */
19#undef HAVE_ERRNO_H 19#undef HAVE_ERRNO_H
20 20
21/* Define to 1 if you have the <fcntl.h> header file. */ 21/* Define to 1 if you have the <fcntl.h> header file. */
22#undef HAVE_FCNTL_H 22#undef HAVE_FCNTL_H
23 23
24/* Define to 1 if you have the <inttypes.h> header file. */ 24/* Define to 1 if you have the <inttypes.h> header file. */
25#undef HAVE_INTTYPES_H 25#undef HAVE_INTTYPES_H
26 26
27/* Define to 1 if you have the <limits.h> header file. */ 27/* Define to 1 if you have the <limits.h> header file. */
28#undef HAVE_LIMITS_H 28#undef HAVE_LIMITS_H
29 29
 30/* Define to 1 if the system has the type `long long int'. */
 31#undef HAVE_LONG_LONG_INT
 32
30/* Define to 1 if you have the <malloc.h> header file. */ 33/* Define to 1 if you have the <malloc.h> header file. */
31#undef HAVE_MALLOC_H 34#undef HAVE_MALLOC_H
32 35
33/* Define to 1 if you have the <memory.h> header file. */ 36/* Define to 1 if you have the <memory.h> header file. */
34#undef HAVE_MEMORY_H 37#undef HAVE_MEMORY_H
35 38
36/* Define to 1 if you have the <openssl/aes.h> header file. */ 39/* Define to 1 if you have the <openssl/aes.h> header file. */
37#undef HAVE_OPENSSL_AES_H 40#undef HAVE_OPENSSL_AES_H
38 41
39/* Define to 1 if you have the <openssl/bn.h> header file. */ 42/* Define to 1 if you have the <openssl/bn.h> header file. */
40#undef HAVE_OPENSSL_BN_H 43#undef HAVE_OPENSSL_BN_H
41 44
42/* Define to 1 if you have the <openssl/cast.h> header file. */ 45/* Define to 1 if you have the <openssl/cast.h> header file. */
@@ -140,26 +143,29 @@ @@ -140,26 +143,29 @@
140 #define below would cause a syntax error. */ 143 #define below would cause a syntax error. */
141#undef _UINT32_T 144#undef _UINT32_T
142 145
143/* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>, 146/* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>,
144 <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the 147 <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
145 #define below would cause a syntax error. */ 148 #define below would cause a syntax error. */
146#undef _UINT64_T 149#undef _UINT64_T
147 150
148/* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>, 151/* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>,
149 <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the 152 <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
150 #define below would cause a syntax error. */ 153 #define below would cause a syntax error. */
151#undef _UINT8_T 154#undef _UINT8_T
152 155
 156/* Define to `unsigned int' if <sys/types.h> does not define. */
 157#undef size_t
 158
153/* Define to the type of an unsigned integer type of width exactly 16 bits if 159/* Define to the type of an unsigned integer type of width exactly 16 bits if
154 such a type exists and the standard includes do not define it. */ 160 such a type exists and the standard includes do not define it. */
155#undef uint16_t 161#undef uint16_t
156 162
157/* Define to the type of an unsigned integer type of width exactly 32 bits if 163/* Define to the type of an unsigned integer type of width exactly 32 bits if
158 such a type exists and the standard includes do not define it. */ 164 such a type exists and the standard includes do not define it. */
159#undef uint32_t 165#undef uint32_t
160 166
161/* Define to the type of an unsigned integer type of width exactly 64 bits if 167/* Define to the type of an unsigned integer type of width exactly 64 bits if
162 such a type exists and the standard includes do not define it. */ 168 such a type exists and the standard includes do not define it. */
163#undef uint64_t 169#undef uint64_t
164 170
165/* Define to the type of an unsigned integer type of width exactly 8 bits if 171/* Define to the type of an unsigned integer type of width exactly 8 bits if