Changeset 4010
- Timestamp:
- 04/01/06 01:40:40 (2 years ago)
- Files:
-
- trackerd/trunk/configure (modified) (12 diffs)
- trackerd/trunk/configure.in (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trackerd/trunk/configure
r3493 r4010 3252 3252 else 3253 3253 3254 echo "$as_me:$LINENO: checking for mainin -lm" >&53255 echo $ECHO_N "checking for mainin -lm... $ECHO_C" >&63256 if test "${ac_cv_lib_m_ main+set}" = set; then3254 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5 3255 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6 3256 if test "${ac_cv_lib_m_sqrt+set}" = set; then 3257 3257 echo $ECHO_N "(cached) $ECHO_C" >&6 3258 3258 else … … 3266 3266 /* end confdefs.h. */ 3267 3267 3268 3268 /* Override any gcc2 internal prototype to avoid an error. */ 3269 #ifdef __cplusplus 3270 extern "C" 3271 #endif 3272 /* We use char because int might match the return type of a gcc2 3273 builtin and then its argument prototype would still apply. */ 3274 char sqrt (); 3269 3275 int 3270 3276 main () 3271 3277 { 3272 main();3278 sqrt (); 3273 3279 ; 3274 3280 return 0; … … 3297 3303 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3298 3304 (exit $ac_status); }; }; then 3299 ac_cv_lib_m_ main=yes3305 ac_cv_lib_m_sqrt=yes 3300 3306 else 3301 3307 echo "$as_me: failed program was:" >&5 3302 3308 sed 's/^/| /' conftest.$ac_ext >&5 3303 3309 3304 ac_cv_lib_m_ main=no3310 ac_cv_lib_m_sqrt=no 3305 3311 fi 3306 3312 rm -f conftest.err conftest.$ac_objext \ … … 3308 3314 LIBS=$ac_check_lib_save_LIBS 3309 3315 fi 3310 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ main" >&53311 echo "${ECHO_T}$ac_cv_lib_m_ main" >&63312 if test $ac_cv_lib_m_ main= yes; then3316 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5 3317 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6 3318 if test $ac_cv_lib_m_sqrt = yes; then 3313 3319 3314 3320 LIBS="$LIBS -lm" … … 4296 4302 _ACEOF 4297 4303 4298 echo "$as_me:$LINENO: checking for mainin -lcrypto" >&54299 echo $ECHO_N "checking for mainin -lcrypto... $ECHO_C" >&64300 if test "${ac_cv_lib_crypto_ main+set}" = set; then4304 echo "$as_me:$LINENO: checking for MD5_Init in -lcrypto" >&5 4305 echo $ECHO_N "checking for MD5_Init in -lcrypto... $ECHO_C" >&6 4306 if test "${ac_cv_lib_crypto_MD5_Init+set}" = set; then 4301 4307 echo $ECHO_N "(cached) $ECHO_C" >&6 4302 4308 else … … 4310 4316 /* end confdefs.h. */ 4311 4317 4312 4318 /* Override any gcc2 internal prototype to avoid an error. */ 4319 #ifdef __cplusplus 4320 extern "C" 4321 #endif 4322 /* We use char because int might match the return type of a gcc2 4323 builtin and then its argument prototype would still apply. */ 4324 char MD5_Init (); 4313 4325 int 4314 4326 main () 4315 4327 { 4316 main();4328 MD5_Init (); 4317 4329 ; 4318 4330 return 0; … … 4341 4353 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4342 4354 (exit $ac_status); }; }; then 4343 ac_cv_lib_crypto_ main=yes4355 ac_cv_lib_crypto_MD5_Init=yes 4344 4356 else 4345 4357 echo "$as_me: failed program was:" >&5 4346 4358 sed 's/^/| /' conftest.$ac_ext >&5 4347 4359 4348 ac_cv_lib_crypto_ main=no4360 ac_cv_lib_crypto_MD5_Init=no 4349 4361 fi 4350 4362 rm -f conftest.err conftest.$ac_objext \ … … 4352 4364 LIBS=$ac_check_lib_save_LIBS 4353 4365 fi 4354 echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_ main" >&54355 echo "${ECHO_T}$ac_cv_lib_crypto_ main" >&64356 if test $ac_cv_lib_crypto_ main= yes; then4366 echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_MD5_Init" >&5 4367 echo "${ECHO_T}$ac_cv_lib_crypto_MD5_Init" >&6 4368 if test $ac_cv_lib_crypto_MD5_Init = yes; then 4357 4369 4358 4370 LIBS="$LIBS -lcrypto" … … 4546 4558 _ACEOF 4547 4559 4548 echo "$as_me:$LINENO: checking for mainin -lssl" >&54549 echo $ECHO_N "checking for mainin -lssl... $ECHO_C" >&64550 if test "${ac_cv_lib_ssl_ main+set}" = set; then4560 echo "$as_me:$LINENO: checking for SSL_library_init in -lssl" >&5 4561 echo $ECHO_N "checking for SSL_library_init in -lssl... $ECHO_C" >&6 4562 if test "${ac_cv_lib_ssl_SSL_library_init+set}" = set; then 4551 4563 echo $ECHO_N "(cached) $ECHO_C" >&6 4552 4564 else … … 4560 4572 /* end confdefs.h. */ 4561 4573 4562 4574 /* Override any gcc2 internal prototype to avoid an error. */ 4575 #ifdef __cplusplus 4576 extern "C" 4577 #endif 4578 /* We use char because int might match the return type of a gcc2 4579 builtin and then its argument prototype would still apply. */ 4580 char SSL_library_init (); 4563 4581 int 4564 4582 main () 4565 4583 { 4566 main();4584 SSL_library_init (); 4567 4585 ; 4568 4586 return 0; … … 4591 4609 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4592 4610 (exit $ac_status); }; }; then 4593 ac_cv_lib_ssl_ main=yes4611 ac_cv_lib_ssl_SSL_library_init=yes 4594 4612 else 4595 4613 echo "$as_me: failed program was:" >&5 4596 4614 sed 's/^/| /' conftest.$ac_ext >&5 4597 4615 4598 ac_cv_lib_ssl_ main=no4616 ac_cv_lib_ssl_SSL_library_init=no 4599 4617 fi 4600 4618 rm -f conftest.err conftest.$ac_objext \ … … 4602 4620 LIBS=$ac_check_lib_save_LIBS 4603 4621 fi 4604 echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_ main" >&54605 echo "${ECHO_T}$ac_cv_lib_ssl_ main" >&64606 if test $ac_cv_lib_ssl_ main= yes; then4622 echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_SSL_library_init" >&5 4623 echo "${ECHO_T}$ac_cv_lib_ssl_SSL_library_init" >&6 4624 if test $ac_cv_lib_ssl_SSL_library_init = yes; then 4607 4625 4608 4626 LIBS="$LIBS -lssl" trackerd/trunk/configure.in
r3493 r4010 218 218 # Check if we need the math library 219 219 AC_CHECK_FUNC([pow], [], [ 220 AC_CHECK_LIB([m], [ main], [220 AC_CHECK_LIB([m], [sqrt], [ 221 221 LIBS="$LIBS -lm" 222 222 ]) … … 242 242 # Check for the OpenSSL crypto library 243 243 AC_CHECK_HEADERS([openssl/sha.h], [ 244 AC_CHECK_LIB([crypto], [ main], [244 AC_CHECK_LIB([crypto], [MD5_Init], [ 245 245 LIBS="$LIBS -lcrypto" 246 246 ], [ … … 254 254 # Check for the OpenSSL ssl library 255 255 AC_CHECK_HEADERS([openssl/ssl.h], [ 256 AC_CHECK_LIB([ssl], [ main], [256 AC_CHECK_LIB([ssl], [SSL_library_init], [ 257 257 LIBS="$LIBS -lssl" 258 258 ], [
