Changeset 4008
- Timestamp:
- 04/01/06 01:36:05 (3 years ago)
- Files:
-
- wire/trunk/configure (modified) (20 diffs)
- wire/trunk/configure.in (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
wire/trunk/configure
r3491 r4008 3353 3353 else 3354 3354 3355 echo "$as_me:$LINENO: checking for mainin -lm" >&53356 echo $ECHO_N "checking for mainin -lm... $ECHO_C" >&63357 if test "${ac_cv_lib_m_ main+set}" = set; then3355 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5 3356 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6 3357 if test "${ac_cv_lib_m_sqrt+set}" = set; then 3358 3358 echo $ECHO_N "(cached) $ECHO_C" >&6 3359 3359 else … … 3367 3367 /* end confdefs.h. */ 3368 3368 3369 3369 /* Override any gcc2 internal prototype to avoid an error. */ 3370 #ifdef __cplusplus 3371 extern "C" 3372 #endif 3373 /* We use char because int might match the return type of a gcc2 3374 builtin and then its argument prototype would still apply. */ 3375 char sqrt (); 3370 3376 int 3371 3377 main () 3372 3378 { 3373 main();3379 sqrt (); 3374 3380 ; 3375 3381 return 0; … … 3398 3404 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3399 3405 (exit $ac_status); }; }; then 3400 ac_cv_lib_m_ main=yes3406 ac_cv_lib_m_sqrt=yes 3401 3407 else 3402 3408 echo "$as_me: failed program was:" >&5 3403 3409 sed 's/^/| /' conftest.$ac_ext >&5 3404 3410 3405 ac_cv_lib_m_ main=no3411 ac_cv_lib_m_sqrt=no 3406 3412 fi 3407 3413 rm -f conftest.err conftest.$ac_objext \ … … 3409 3415 LIBS=$ac_check_lib_save_LIBS 3410 3416 fi 3411 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ main" >&53412 echo "${ECHO_T}$ac_cv_lib_m_ main" >&63413 if test $ac_cv_lib_m_ main= yes; then3417 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5 3418 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6 3419 if test $ac_cv_lib_m_sqrt = yes; then 3414 3420 3415 3421 LIBS="$LIBS -lm" … … 4332 4338 _ACEOF 4333 4339 4334 echo "$as_me:$LINENO: checking for mainin -lcrypto" >&54335 echo $ECHO_N "checking for mainin -lcrypto... $ECHO_C" >&64336 if test "${ac_cv_lib_crypto_ main+set}" = set; then4340 echo "$as_me:$LINENO: checking for MD5_Init in -lcrypto" >&5 4341 echo $ECHO_N "checking for MD5_Init in -lcrypto... $ECHO_C" >&6 4342 if test "${ac_cv_lib_crypto_MD5_Init+set}" = set; then 4337 4343 echo $ECHO_N "(cached) $ECHO_C" >&6 4338 4344 else … … 4346 4352 /* end confdefs.h. */ 4347 4353 4348 4354 /* Override any gcc2 internal prototype to avoid an error. */ 4355 #ifdef __cplusplus 4356 extern "C" 4357 #endif 4358 /* We use char because int might match the return type of a gcc2 4359 builtin and then its argument prototype would still apply. */ 4360 char MD5_Init (); 4349 4361 int 4350 4362 main () 4351 4363 { 4352 main();4364 MD5_Init (); 4353 4365 ; 4354 4366 return 0; … … 4377 4389 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4378 4390 (exit $ac_status); }; }; then 4379 ac_cv_lib_crypto_ main=yes4391 ac_cv_lib_crypto_MD5_Init=yes 4380 4392 else 4381 4393 echo "$as_me: failed program was:" >&5 4382 4394 sed 's/^/| /' conftest.$ac_ext >&5 4383 4395 4384 ac_cv_lib_crypto_ main=no4396 ac_cv_lib_crypto_MD5_Init=no 4385 4397 fi 4386 4398 rm -f conftest.err conftest.$ac_objext \ … … 4388 4400 LIBS=$ac_check_lib_save_LIBS 4389 4401 fi 4390 echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_ main" >&54391 echo "${ECHO_T}$ac_cv_lib_crypto_ main" >&64392 if test $ac_cv_lib_crypto_ main= yes; then4402 echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_MD5_Init" >&5 4403 echo "${ECHO_T}$ac_cv_lib_crypto_MD5_Init" >&6 4404 if test $ac_cv_lib_crypto_MD5_Init = yes; then 4393 4405 4394 4406 LIBS="$LIBS -lcrypto" … … 4582 4594 _ACEOF 4583 4595 4584 echo "$as_me:$LINENO: checking for mainin -lssl" >&54585 echo $ECHO_N "checking for mainin -lssl... $ECHO_C" >&64586 if test "${ac_cv_lib_ssl_ main+set}" = set; then4596 echo "$as_me:$LINENO: checking for SSL_library_init in -lssl" >&5 4597 echo $ECHO_N "checking for SSL_library_init in -lssl... $ECHO_C" >&6 4598 if test "${ac_cv_lib_ssl_SSL_library_init+set}" = set; then 4587 4599 echo $ECHO_N "(cached) $ECHO_C" >&6 4588 4600 else … … 4596 4608 /* end confdefs.h. */ 4597 4609 4598 4610 /* Override any gcc2 internal prototype to avoid an error. */ 4611 #ifdef __cplusplus 4612 extern "C" 4613 #endif 4614 /* We use char because int might match the return type of a gcc2 4615 builtin and then its argument prototype would still apply. */ 4616 char SSL_library_init (); 4599 4617 int 4600 4618 main () 4601 4619 { 4602 main();4620 SSL_library_init (); 4603 4621 ; 4604 4622 return 0; … … 4627 4645 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4628 4646 (exit $ac_status); }; }; then 4629 ac_cv_lib_ssl_ main=yes4647 ac_cv_lib_ssl_SSL_library_init=yes 4630 4648 else 4631 4649 echo "$as_me: failed program was:" >&5 4632 4650 sed 's/^/| /' conftest.$ac_ext >&5 4633 4651 4634 ac_cv_lib_ssl_ main=no4652 ac_cv_lib_ssl_SSL_library_init=no 4635 4653 fi 4636 4654 rm -f conftest.err conftest.$ac_objext \ … … 4638 4656 LIBS=$ac_check_lib_save_LIBS 4639 4657 fi 4640 echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_ main" >&54641 echo "${ECHO_T}$ac_cv_lib_ssl_ main" >&64642 if test $ac_cv_lib_ssl_ main= yes; then4658 echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_SSL_library_init" >&5 4659 echo "${ECHO_T}$ac_cv_lib_ssl_SSL_library_init" >&6 4660 if test $ac_cv_lib_ssl_SSL_library_init = yes; then 4643 4661 4644 4662 LIBS="$LIBS -lssl" … … 4832 4850 _ACEOF 4833 4851 4834 echo "$as_me:$LINENO: checking for mainin -liconv" >&54835 echo $ECHO_N "checking for mainin -liconv... $ECHO_C" >&64836 if test "${ac_cv_lib_iconv_ main+set}" = set; then4852 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5 4853 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6 4854 if test "${ac_cv_lib_iconv_iconv+set}" = set; then 4837 4855 echo $ECHO_N "(cached) $ECHO_C" >&6 4838 4856 else … … 4846 4864 /* end confdefs.h. */ 4847 4865 4848 4866 /* Override any gcc2 internal prototype to avoid an error. */ 4867 #ifdef __cplusplus 4868 extern "C" 4869 #endif 4870 /* We use char because int might match the return type of a gcc2 4871 builtin and then its argument prototype would still apply. */ 4872 char iconv (); 4849 4873 int 4850 4874 main () 4851 4875 { 4852 main();4876 iconv (); 4853 4877 ; 4854 4878 return 0; … … 4877 4901 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4878 4902 (exit $ac_status); }; }; then 4879 ac_cv_lib_iconv_ main=yes4903 ac_cv_lib_iconv_iconv=yes 4880 4904 else 4881 4905 echo "$as_me: failed program was:" >&5 4882 4906 sed 's/^/| /' conftest.$ac_ext >&5 4883 4907 4884 ac_cv_lib_iconv_ main=no4908 ac_cv_lib_iconv_iconv=no 4885 4909 fi 4886 4910 rm -f conftest.err conftest.$ac_objext \ … … 4888 4912 LIBS=$ac_check_lib_save_LIBS 4889 4913 fi 4890 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_ main" >&54891 echo "${ECHO_T}$ac_cv_lib_iconv_ main" >&64892 if test $ac_cv_lib_iconv_ main= yes; then4914 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5 4915 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6 4916 if test $ac_cv_lib_iconv_iconv = yes; then 4893 4917 4894 4918 LIBS="$LIBS -liconv" … … 5696 5720 _ACEOF 5697 5721 5698 echo "$as_me:$LINENO: checking for mainin -lreadline" >&55699 echo $ECHO_N "checking for mainin -lreadline... $ECHO_C" >&65700 if test "${ac_cv_lib_readline_ main+set}" = set; then5722 echo "$as_me:$LINENO: checking for rl_initialize in -lreadline" >&5 5723 echo $ECHO_N "checking for rl_initialize in -lreadline... $ECHO_C" >&6 5724 if test "${ac_cv_lib_readline_rl_initialize+set}" = set; then 5701 5725 echo $ECHO_N "(cached) $ECHO_C" >&6 5702 5726 else … … 5710 5734 /* end confdefs.h. */ 5711 5735 5712 5736 /* Override any gcc2 internal prototype to avoid an error. */ 5737 #ifdef __cplusplus 5738 extern "C" 5739 #endif 5740 /* We use char because int might match the return type of a gcc2 5741 builtin and then its argument prototype would still apply. */ 5742 char rl_initialize (); 5713 5743 int 5714 5744 main () 5715 5745 { 5716 main();5746 rl_initialize (); 5717 5747 ; 5718 5748 return 0; … … 5741 5771 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5742 5772 (exit $ac_status); }; }; then 5743 ac_cv_lib_readline_ main=yes5773 ac_cv_lib_readline_rl_initialize=yes 5744 5774 else 5745 5775 echo "$as_me: failed program was:" >&5 5746 5776 sed 's/^/| /' conftest.$ac_ext >&5 5747 5777 5748 ac_cv_lib_readline_ main=no5778 ac_cv_lib_readline_rl_initialize=no 5749 5779 fi 5750 5780 rm -f conftest.err conftest.$ac_objext \ … … 5752 5782 LIBS=$ac_check_lib_save_LIBS 5753 5783 fi 5754 echo "$as_me:$LINENO: result: $ac_cv_lib_readline_ main" >&55755 echo "${ECHO_T}$ac_cv_lib_readline_ main" >&65756 if test $ac_cv_lib_readline_ main= yes; then5784 echo "$as_me:$LINENO: result: $ac_cv_lib_readline_rl_initialize" >&5 5785 echo "${ECHO_T}$ac_cv_lib_readline_rl_initialize" >&6 5786 if test $ac_cv_lib_readline_rl_initialize = yes; then 5757 5787 5758 5788 LIBS="$LIBS -lreadline" wire/trunk/configure.in
r3491 r4008 142 142 # Check if we need the math library 143 143 AC_CHECK_FUNC([pow], [], [ 144 AC_CHECK_LIB([m], [ main], [144 AC_CHECK_LIB([m], [sqrt], [ 145 145 LIBS="$LIBS -lm" 146 146 ]) … … 174 174 # Check for the OpenSSL crypto library 175 175 AC_CHECK_HEADERS([openssl/sha.h], [ 176 AC_CHECK_LIB([crypto], [ main], [176 AC_CHECK_LIB([crypto], [MD5_Init], [ 177 177 LIBS="$LIBS -lcrypto" 178 178 ], [ … … 186 186 # Check for the OpenSSL ssl library 187 187 AC_CHECK_HEADERS([openssl/ssl.h], [ 188 AC_CHECK_LIB([ssl], [ main], [188 AC_CHECK_LIB([ssl], [SSL_library_init], [ 189 189 LIBS="$LIBS -lssl" 190 190 ], [ … … 198 198 # Check for the iconv library 199 199 AC_CHECK_HEADERS([iconv.h], [ 200 AC_CHECK_LIB([iconv], [ main], [200 AC_CHECK_LIB([iconv], [iconv], [ 201 201 LIBS="$LIBS -liconv" 202 202 ], [ … … 245 245 # Check for the readline library 246 246 AC_CHECK_HEADERS([readline/readline.h], [ 247 AC_CHECK_LIB([readline], [ main], [247 AC_CHECK_LIB([readline], [rl_initialize], [ 248 248 LIBS="$LIBS -lreadline" 249 249
