Changeset 4628 for pjproject/trunk/aconfigure
- Timestamp:
- Oct 21, 2013 7:52:35 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/aconfigure
r4625 r4628 687 687 LIBEXT2 688 688 LIBEXT 689 RANLIB690 689 LDOUT 691 690 LD 691 AR_FLAGS 692 ac_ct_AR 692 693 AR 694 RANLIB 693 695 ac_ct_CXX 694 696 CXXFLAGS … … 3526 3528 3527 3529 3528 if test -z "$CROSS_COMPILE"; then 3529 CROSS_COMPILE=`echo ${CC} | sed 's/gcc//'` 3530 fi 3531 3532 if test "$AR" = ""; then AR="${CROSS_COMPILE}ar rv"; fi 3530 if test -n "$ac_tool_prefix"; then 3531 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3532 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3534 $as_echo_n "checking for $ac_word... " >&6; } 3535 if ${ac_cv_prog_RANLIB+:} false; then : 3536 $as_echo_n "(cached) " >&6 3537 else 3538 if test -n "$RANLIB"; then 3539 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 3540 else 3541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3542 for as_dir in $PATH 3543 do 3544 IFS=$as_save_IFS 3545 test -z "$as_dir" && as_dir=. 3546 for ac_exec_ext in '' $ac_executable_extensions; do 3547 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3548 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3550 break 2 3551 fi 3552 done 3553 done 3554 IFS=$as_save_IFS 3555 3556 fi 3557 fi 3558 RANLIB=$ac_cv_prog_RANLIB 3559 if test -n "$RANLIB"; then 3560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 3561 $as_echo "$RANLIB" >&6; } 3562 else 3563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3564 $as_echo "no" >&6; } 3565 fi 3566 3567 3568 fi 3569 if test -z "$ac_cv_prog_RANLIB"; then 3570 ac_ct_RANLIB=$RANLIB 3571 # Extract the first word of "ranlib", so it can be a program name with args. 3572 set dummy ranlib; ac_word=$2 3573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3574 $as_echo_n "checking for $ac_word... " >&6; } 3575 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 3576 $as_echo_n "(cached) " >&6 3577 else 3578 if test -n "$ac_ct_RANLIB"; then 3579 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 3580 else 3581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3582 for as_dir in $PATH 3583 do 3584 IFS=$as_save_IFS 3585 test -z "$as_dir" && as_dir=. 3586 for ac_exec_ext in '' $ac_executable_extensions; do 3587 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3588 ac_cv_prog_ac_ct_RANLIB="ranlib" 3589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3590 break 2 3591 fi 3592 done 3593 done 3594 IFS=$as_save_IFS 3595 3596 fi 3597 fi 3598 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 3599 if test -n "$ac_ct_RANLIB"; then 3600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 3601 $as_echo "$ac_ct_RANLIB" >&6; } 3602 else 3603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3604 $as_echo "no" >&6; } 3605 fi 3606 3607 if test "x$ac_ct_RANLIB" = x; then 3608 RANLIB=":" 3609 else 3610 case $cross_compiling:$ac_tool_warned in 3611 yes:) 3612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3613 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3614 ac_tool_warned=yes ;; 3615 esac 3616 RANLIB=$ac_ct_RANLIB 3617 fi 3618 else 3619 RANLIB="$ac_cv_prog_RANLIB" 3620 fi 3621 3622 if test -n "$ac_tool_prefix"; then 3623 for ac_prog in ar gar 3624 do 3625 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3626 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3628 $as_echo_n "checking for $ac_word... " >&6; } 3629 if ${ac_cv_prog_AR+:} false; then : 3630 $as_echo_n "(cached) " >&6 3631 else 3632 if test -n "$AR"; then 3633 ac_cv_prog_AR="$AR" # Let the user override the test. 3634 else 3635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3636 for as_dir in $PATH 3637 do 3638 IFS=$as_save_IFS 3639 test -z "$as_dir" && as_dir=. 3640 for ac_exec_ext in '' $ac_executable_extensions; do 3641 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3642 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 3643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3644 break 2 3645 fi 3646 done 3647 done 3648 IFS=$as_save_IFS 3649 3650 fi 3651 fi 3652 AR=$ac_cv_prog_AR 3653 if test -n "$AR"; then 3654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 3655 $as_echo "$AR" >&6; } 3656 else 3657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3658 $as_echo "no" >&6; } 3659 fi 3660 3661 3662 test -n "$AR" && break 3663 done 3664 fi 3665 if test -z "$AR"; then 3666 ac_ct_AR=$AR 3667 for ac_prog in ar gar 3668 do 3669 # Extract the first word of "$ac_prog", so it can be a program name with args. 3670 set dummy $ac_prog; ac_word=$2 3671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3672 $as_echo_n "checking for $ac_word... " >&6; } 3673 if ${ac_cv_prog_ac_ct_AR+:} false; then : 3674 $as_echo_n "(cached) " >&6 3675 else 3676 if test -n "$ac_ct_AR"; then 3677 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 3678 else 3679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3680 for as_dir in $PATH 3681 do 3682 IFS=$as_save_IFS 3683 test -z "$as_dir" && as_dir=. 3684 for ac_exec_ext in '' $ac_executable_extensions; do 3685 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3686 ac_cv_prog_ac_ct_AR="$ac_prog" 3687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3688 break 2 3689 fi 3690 done 3691 done 3692 IFS=$as_save_IFS 3693 3694 fi 3695 fi 3696 ac_ct_AR=$ac_cv_prog_ac_ct_AR 3697 if test -n "$ac_ct_AR"; then 3698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 3699 $as_echo "$ac_ct_AR" >&6; } 3700 else 3701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3702 $as_echo "no" >&6; } 3703 fi 3704 3705 3706 test -n "$ac_ct_AR" && break 3707 done 3708 3709 if test "x$ac_ct_AR" = x; then 3710 AR=":" 3711 else 3712 case $cross_compiling:$ac_tool_warned in 3713 yes:) 3714 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3715 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3716 ac_tool_warned=yes ;; 3717 esac 3718 AR=$ac_ct_AR 3719 fi 3720 fi 3721 3722 3723 if test "$AR_FLAGS" = ""; then AR_FLAGS="rv"; fi 3533 3724 3534 3725 if test "$LD" = ""; then LD="$CC"; fi 3535 3726 3536 3727 if test "$LDOUT" = ""; then LDOUT="-o "; fi 3537 3538 if test "$RANLIB" = ""; then RANLIB="${CROSS_COMPILE}ranlib"; fi3539 3728 3540 3729 if test "$OBJEXT" = ""; then OBJEXT='o'; fi
Note: See TracChangeset
for help on using the changeset viewer.