Changeset 101 for trunk/src/binutils/opcodes/configure
- Timestamp:
- May 7, 2003, 5:35:03 PM (23 years ago)
- File:
-
- 1 edited
-
trunk/src/binutils/opcodes/configure (modified) (164 diffs, 1 prop)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/binutils/opcodes/configure
-
Property cvs2svn:cvs-rev
changed from
1.1to1.2
r100 r101 56 56 silent= 57 57 site= 58 sitefile=59 58 srcdir= 60 59 target=NONE … … 171 170 --no-create do not create output files 172 171 --quiet, --silent do not print \`checking...' messages 173 --site-file=FILE use FILE as the site file174 172 --version print the version of autoconf that created configure 175 173 Directory and file names: … … 342 340 site="$ac_optarg" ;; 343 341 344 -site-file | --site-file | --site-fil | --site-fi | --site-f)345 ac_prev=sitefile ;;346 -site-file=* | --site-file=* | --site-fil=* | --site-fi=* | --site-f=*)347 sitefile="$ac_optarg" ;;348 349 342 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 350 343 ac_prev=srcdir ;; … … 512 505 513 506 # Prefer explicitly selected file to automatically selected ones. 514 if test -z "$sitefile"; then 515 if test -z "$CONFIG_SITE"; then 516 if test "x$prefix" != xNONE; then 517 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 518 else 519 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 520 fi 507 if test -z "$CONFIG_SITE"; then 508 if test "x$prefix" != xNONE; then 509 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 510 else 511 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 521 512 fi 522 else523 CONFIG_SITE="$sitefile"524 513 fi 525 514 for ac_site_file in $CONFIG_SITE; do … … 559 548 fi 560 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 561 564 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 562 echo "configure:56 3: checking for Cygwin environment" >&5565 echo "configure:56: checking for Cygwin environment" >&5 563 566 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then 564 567 echo $ac_n "(cached) $ac_c" 1>&6 565 568 else 566 569 cat > conftest.$ac_ext <<EOF 567 #line 5 68"configure"570 #line 5 "configure" 568 571 #include "confdefs.h" 569 572 … … 576 579 ; return 0; } 577 580 EOF 578 if { (eval echo configure:5 79: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then581 if { (eval echo configure:5: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 579 582 rm -rf conftest* 580 583 ac_cv_cygwin=yes … … 593 596 test "$ac_cv_cygwin" = yes && CYGWIN=yes 594 597 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 595 echo "configure:59 6: checking for mingw32 environment" >&5598 echo "configure:59: checking for mingw32 environment" >&5 596 599 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then 597 600 echo $ac_n "(cached) $ac_c" 1>&6 598 601 else 599 602 cat > conftest.$ac_ext <<EOF 600 #line 60 1"configure"603 #line 60 "configure" 601 604 #include "confdefs.h" 602 605 … … 605 608 ; return 0; } 606 609 EOF 607 if { (eval echo configure:6 08: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then610 if { (eval echo configure:6: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 608 611 rm -rf conftest* 609 612 ac_cv_mingw32=yes … … 621 624 MINGW32= 622 625 test "$ac_cv_mingw32" = yes && MINGW32=yes 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 623 701 624 702 … … 670 748 671 749 echo $ac_n "checking host system type""... $ac_c" 1>&6 672 echo "configure: 673: checking host system type" >&5750 echo "configure:: checking host system type" >&5 673 751 674 752 host_alias=$host … … 691 769 692 770 echo $ac_n "checking target system type""... $ac_c" 1>&6 693 echo "configure: 694: checking target system type" >&5771 echo "configure:: checking target system type" >&5 694 772 695 773 target_alias=$target … … 709 787 710 788 echo $ac_n "checking build system type""... $ac_c" 1>&6 711 echo "configure:7 12: checking build system type" >&5789 echo "configure:7: checking build system type" >&5 712 790 713 791 build_alias=$build … … 734 812 set dummy gcc; ac_word=$2 735 813 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 736 echo "configure: 737: checking for $ac_word" >&5814 echo "configure:: checking for $ac_word" >&5 737 815 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 738 816 echo $ac_n "(cached) $ac_c" 1>&6 … … 741 819 ac_cv_prog_CC="$CC" # Let the user override the test. 742 820 else 743 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"821 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="" 744 822 ac_dummy="$PATH" 745 823 for ac_dir in $ac_dummy; do 746 824 test -z "$ac_dir" && ac_dir=. 747 if test -f $ac_dir/$ac_word; then 825 if test -f $ac_dir/$ac_word -o \ 826 -f $ac_dir/$ac_word$ac_exeext ; then 748 827 ac_cv_prog_CC="gcc" 749 828 break … … 764 843 set dummy cc; ac_word=$2 765 844 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 766 echo "configure: 767: checking for $ac_word" >&5845 echo "configure:: checking for $ac_word" >&5 767 846 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 768 847 echo $ac_n "(cached) $ac_c" 1>&6 … … 771 850 ac_cv_prog_CC="$CC" # Let the user override the test. 772 851 else 773 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"852 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="" 774 853 ac_prog_rejected=no 775 854 ac_dummy="$PATH" 776 855 for ac_dir in $ac_dummy; do 777 856 test -z "$ac_dir" && ac_dir=. 778 if test -f $ac_dir/$ac_word; then 779 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then 857 if test -f $ac_dir/$ac_word -o \ 858 -f $ac_dir/$ac_word$ac_exeext ; then 859 if test "$ac_dir/$ac_word" = "/usr/ucb/cc" -o \ 860 "$ac_dir/$ac_word$ac_exeext" = "/usr/ucb/cc" ; then 780 861 ac_prog_rejected=yes 781 862 continue … … 815 896 set dummy cl; ac_word=$2 816 897 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 817 echo "configure:8 18: checking for $ac_word" >&5898 echo "configure:8: checking for $ac_word" >&5 818 899 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 819 900 echo $ac_n "(cached) $ac_c" 1>&6 … … 822 903 ac_cv_prog_CC="$CC" # Let the user override the test. 823 904 else 824 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"905 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="" 825 906 ac_dummy="$PATH" 826 907 for ac_dir in $ac_dummy; do 827 908 test -z "$ac_dir" && ac_dir=. 828 if test -f $ac_dir/$ac_word; then 909 if test -f $ac_dir/$ac_word -o \ 910 -f $ac_dir/$ac_word$ac_exeext ; then 829 911 ac_cv_prog_CC="cl" 830 912 break … … 847 929 848 930 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 849 echo "configure: 850: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5931 echo "configure:: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 850 932 851 933 ac_ext=c … … 858 940 cat > conftest.$ac_ext << EOF 859 941 860 #line 861"configure"942 #line "configure" 861 943 #include "confdefs.h" 862 944 863 945 main(){return(0);} 864 946 EOF 865 if { (eval echo configure: 866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then947 if { (eval echo configure:: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 866 948 ac_cv_prog_cc_works=yes 867 949 # If we can't run a trivial program, we are probably using a cross compiler. … … 889 971 fi 890 972 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 891 echo "configure: 892: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5973 echo "configure:: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 892 974 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 893 975 cross_compiling=$ac_cv_prog_cc_cross 894 976 895 977 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 896 echo "configure: 897: checking whether we are using GNU C" >&5978 echo "configure:: checking whether we are using GNU C" >&5 897 979 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 898 980 echo $ac_n "(cached) $ac_c" 1>&6 … … 903 985 #endif 904 986 EOF 905 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:9 06: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then987 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:9: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 906 988 ac_cv_prog_gcc=yes 907 989 else … … 922 1004 CFLAGS= 923 1005 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 924 echo "configure: 925: checking whether ${CC-cc} accepts -g" >&51006 echo "configure:: checking whether ${CC-cc} accepts -g" >&5 925 1007 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 926 1008 echo $ac_n "(cached) $ac_c" 1>&6 … … 954 1036 955 1037 echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6 956 echo "configure: 957: checking for POSIXized ISC" >&51038 echo "configure:: checking for POSIXized ISC" >&5 957 1039 if test -d /etc/conf/kconfig.d && 958 1040 grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1 … … 992 1074 # ./install, which can be erroneously created by make from ./install.sh. 993 1075 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 994 echo "configure: 995: checking for a BSD compatible install" >&51076 echo "configure:: checking for a BSD compatible install" >&5 995 1077 if test -z "$INSTALL"; then 996 1078 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then 997 1079 echo $ac_n "(cached) $ac_c" 1>&6 998 1080 else 999 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=" :"1081 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="" 1000 1082 for ac_dir in $PATH; do 1001 1083 # Account for people who put trailing slashes in PATH elements. 1002 1084 case "$ac_dir/" in 1003 1085 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; 1086 1087 1004 1088 *) 1005 1089 # OSF1 and SCO ODT 3.0 have their own names for install. … … 1007 1091 # by default. 1008 1092 for ac_prog in ginstall scoinst install; do 1009 if test -f $ac_dir/$ac_prog ; then1093 if test -f $ac_dir/$ac_prog; then 1010 1094 if test $ac_prog = install && 1011 1095 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then … … 1013 1097 : 1014 1098 else 1015 ac_cv_path_install="$ac_dir/$ac_prog -c"1099 ac_cv_path_install="$ac_dir/$ac_prog -
Property cvs2svn:cvs-rev
changed from
