test/configure

changeset 106
7aa59deee50c
parent 105
4b3e655339cb
child 114
0fa5a6f08245
equal deleted inserted replaced
105:4b3e655339cb 106:7aa59deee50c
325 return 0 325 return 0
326 } 326 }
327 dependency_error_openssl() 327 dependency_error_openssl()
328 { 328 {
329 print_check_msg "$dep_checked_openssl" "checking for openssl... " 329 print_check_msg "$dep_checked_openssl" "checking for openssl... "
330 # dependency openssl 330 # dependency openssl toolchain="clang"
331 while true 331 while true
332 do 332 do
333 if notistoolchain "clang"; then
334 break
335 fi
333 if [ -z "$lang_c" ] ; then 336 if [ -z "$lang_c" ] ; then
334 break 337 break
335 fi 338 fi
336 if [ -z "$PKG_CONFIG" ]; then 339 if [ -z "$PKG_CONFIG" ]; then
337 break 340 break
452 done 455 done
453 break 456 break
454 done 457 done
455 while true 458 while true
456 do 459 do
460 if notistoolchain "gcc"; then
461 break
462 fi
457 while true 463 while true
458 do 464 do
459 465
460 TEMP_CFLAGS="$TEMP_CFLAGS -DTOOLCHAIN_GCC" 466 TEMP_CFLAGS="$TEMP_CFLAGS -DTOOLCHAIN_GCC"
461 break 467 break
462 done 468 done
463 break 469 break
464 done 470 done
465 while true 471 while true
466 do 472 do
473 if notistoolchain "clang"; then
474 break
475 fi
467 while true 476 while true
468 do 477 do
469 478
470 TEMP_CFLAGS="$TEMP_CFLAGS -DTOOLCHAIN_CLANG" 479 TEMP_CFLAGS="$TEMP_CFLAGS -DTOOLCHAIN_CLANG"
471 break 480 break

mercurial