Changeset 101 for trunk/src/binutils/etc/configure
- Timestamp:
- May 7, 2003, 5:35:03 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/binutils/etc/configure
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r100 r101 2 2 3 3 # Guess values for system-dependent variables and create Makefiles. 4 # Generated automatically using autoconf version 2.1 2.14 # Generated automatically using autoconf version 2.13 5 5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. 6 6 # … … 334 334 335 335 -version | --version | --versio | --versi | --vers) 336 echo "configure generated by autoconf version 2.1 2.1"336 echo "configure generated by autoconf version 2.13" 337 337 exit 0 ;; 338 338 … … 504 504 ac_cpp='$CPP $CPPFLAGS' 505 505 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 506 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'506 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 507 507 cross_compiling=$ac_cv_prog_cc_cross 508 508 509 ac_exeext= 510 ac_objext=o 509 511 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then 510 512 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. … … 518 520 ac_n= ac_c='\c' ac_t= 519 521 fi 522 523 echo $ac_n "checking for path separator""... $ac_c" 1>&6 524 echo "configure:525: checking for path separator" >&5 525 # Filter path to get backslahes into forwardslashes 526 case "`uname -s 2> /dev/null`" in 527 OS/2) 528 PATH=`echo -E "$PATH" | sed 's+\\\\+/+g'` 529 PATH_IFS=';' 530 ;; 531 *) 532 PATH_IFS=':' 533 ;; 534 esac 535 echo "$ac_t""${PATH_IFS}" 1>&6 536 537 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 538 echo "configure:539: checking for Cygwin environment" >&5 539 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then 540 echo $ac_n "(cached) $ac_c" 1>&6 541 else 542 cat > conftest.$ac_ext <<EOF 543 #line 544 "configure" 544 #include "confdefs.h" 545 546 int main() { 547 548 #ifndef __CYGWIN__ 549 #define __CYGWIN__ __CYGWIN32__ 550 #endif 551 return __CYGWIN__; 552 ; return 0; } 553 EOF 554 if { (eval echo configure:555: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 555 rm -rf conftest* 556 ac_cv_cygwin=yes 557 else 558 echo "configure: failed program was:" >&5 559 cat conftest.$ac_ext >&5 560 rm -rf conftest* 561 ac_cv_cygwin=no 562 fi 563 rm -f conftest* 564 rm -f conftest* 565 fi 566 567 echo "$ac_t""$ac_cv_cygwin" 1>&6 568 CYGWIN= 569 test "$ac_cv_cygwin" = yes && CYGWIN=yes 570 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 571 echo "configure:572: checking for mingw32 environment" >&5 572 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then 573 echo $ac_n "(cached) $ac_c" 1>&6 574 else 575 cat > conftest.$ac_ext <<EOF 576 #line 577 "configure" 577 #include "confdefs.h" 578 579 int main() { 580 return __MINGW32__; 581 ; return 0; } 582 EOF 583 if { (eval echo configure:584: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 584 rm -rf conftest* 585 ac_cv_mingw32=yes 586 else 587 echo "configure: failed program was:" >&5 588 cat conftest.$ac_ext >&5 589 rm -rf conftest* 590 ac_cv_mingw32=no 591 fi 592 rm -f conftest* 593 rm -f conftest* 594 fi 595 596 echo "$ac_t""$ac_cv_mingw32" 1>&6 597 MINGW32= 598 test "$ac_cv_mingw32" = yes && MINGW32=yes 599 echo $ac_n "checking for EMX/OS2 environment""... $ac_c" 1>&6 600 echo "configure:601: checking for EMX/OS2 environment" >&5 601 if eval "test \"`echo '$''{'ac_cv_emxos2'+set}'`\" = set"; then 602 echo $ac_n "(cached) $ac_c" 1>&6 603 else 604 : ${CC=gcc.exe} 605 cat > conftest.$ac_ext <<EOF 606 #line 607 "configure" 607 #include "confdefs.h" 608 609 int main() { 610 return __EMX__; 611 ; return 0; } 612 EOF 613 if { (eval echo configure:614: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 614 rm -rf conftest* 615 ac_cv_emxos2=yes 616 else 617 echo "configure: failed program was:" >&5 618 cat conftest.$ac_ext >&5 619 rm -rf conftest* 620 ac_cv_emxos2=no 621 fi 622 rm -f conftest* 623 rm -f conftest* 624 fi 625 626 echo "$ac_t""$ac_cv_emxos2" 1>&6 627 if eval "test \"`echo '$''{'ac_cv_libpre'+set}'`\" = set"; then 628 echo $ac_n "(cached) $ac_c" 1>&6 629 else 630 if test "$ac_cv_emxos2" = yes ; then 631 ac_cv_libpre= 632 else 633 ac_cv_libpre=lib 634 fi 635 636 fi 637 638 EMXOS2= 639 test "$ac_cv_emxos2" = yes && EMXOS2=yes 640 641 642 643 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 644 echo "configure:645: checking for executable suffix" >&5 645 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then 646 echo $ac_n "(cached) $ac_c" 1>&6 647 else 648 if test "$CYGWIN" = yes || test "$MINGW32" = yes || test "$EMXOS2" = yes; then 649 ac_cv_exeext=.exe 650 else 651 rm -f conftest* 652 echo 'int main () { return 0; }' > conftest.$ac_ext 653 ac_cv_exeext= 654 if { (eval echo configure:655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 655 for file in conftest.*; do 656 case $file in 657 *.c | *.o | *.obj) ;; 658 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; 659 esac 660 done 661 else 662 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; } 663 fi 664 rm -f conftest* 665 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no 666 fi 667 fi 668 669 EXEEXT="" 670 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext} 671 echo "$ac_t""${ac_cv_exeext}" 1>&6 672 ac_exeext=$EXEEXT 520 673 521 674 … … 552 705 # ./install, which can be erroneously created by make from ./install.sh. 553 706 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 554 echo "configure: 555: checking for a BSD compatible install" >&5707 echo "configure:708: checking for a BSD compatible install" >&5 555 708 if test -z "$INSTALL"; then 556 709 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then 557 710 echo $ac_n "(cached) $ac_c" 1>&6 558 711 else 559 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="$ {IFS}:"712 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="$PATH_IFS" 560 713 for ac_dir in $PATH; do 561 714 # Account for people who put trailing slashes in PATH elements. 562 715 case "$ac_dir/" in 563 716 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; 717 # We reject the install program from OS/2 or W3.1 718 */OS2|*/OS2/*|*/WINDOWS|*/WINDOWS/*) ;; 564 719 *) 565 720 # OSF1 and SCO ODT 3.0 have their own names for install. … … 567 722 # by default. 568 723 for ac_prog in ginstall scoinst install; do 569 if test -f $ac_dir/$ac_prog ; then724 if test -f $ac_dir/$ac_prog$ac_exeext; then 570 725 if test $ac_prog = install && 571 726 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then … … 573 728 : 574 729 else 575 ac_cv_path_install="$ac_dir/$ac_prog -c"730 ac_cv_path_install="$ac_dir/$ac_prog$ac_exeext -c" 576 731 break 2 577 732 fi … … 599 754 # It thinks the first close brace ends the variable substitution. 600 755 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 756 757 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' 601 758 602 759 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' … … 626 783 # and sets the high bit in the cache file unless we assign to the vars. 627 784 (set) 2>&1 | 628 case `(ac_space=' '; set ) 2>&1 | grep ac_space` in785 case `(ac_space=' '; set | grep ac_space) 2>&1` in 629 786 *ac_space=\ *) 630 787 # `set' does not quote correctly, so add quotes (double-quote substitution … … 676 833 s%\$%$$%g 677 834 EOF 678 DEFS=`sed -f conftest.defs confdefs.h | tr '\012 ' ''`835 DEFS=`sed -f conftest.defs confdefs.h | tr '\012\015' ' '` 679 836 rm -f conftest.defs 680 837 … … 690 847 # Run this file to recreate the current configuration. 691 848 # This directory was configured as follows, 849 EOF 850 echo ': ${CONFIG_SHELL='"${CONFIG_SHELL-/bin/sh}"'}' >> $CONFIG_STATUS 851 cat >> $CONFIG_STATUS <<EOF 692 852 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 693 853 # … … 705 865 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; 706 866 -version | --version | --versio | --versi | --vers | --ver | --ve | --v) 707 echo "$CONFIG_STATUS generated by autoconf version 2.1 2.1"867 echo "$CONFIG_STATUS generated by autoconf version 2.13" 708 868 exit 0 ;; 709 869 -help | --help | --hel | --he | --h) … … 715 875 ac_given_srcdir=$srcdir 716 876 ac_given_INSTALL="$INSTALL" 877 PATHIFS="$PATH_IFS" 717 878 718 879 trap 'rm -fr `echo "Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 … … 725 886 $ac_vpsub 726 887 $extrasub 888 s,\([^a-zA-Z0-9:]\)/bin/sh\(.exe\),\1${CONFIG_SHELL-/bin/sh}\2,g 727 889 s%@SHELL@%$SHELL%g 728 890 s%@CFLAGS@%$CFLAGS%g 729 891 s%@CPPFLAGS@%$CPPFLAGS%g 730 892 s%@CXXFLAGS@%$CXXFLAGS%g 893 s%@FFLAGS@%$FFLAGS%g 731 894 s%@DEFS@%$DEFS%g 732 895 s%@LDFLAGS@%$LDFLAGS%g … … 747 910 s%@infodir@%$infodir%g 748 911 s%@mandir@%$mandir%g 912 s%@PATH_IFS@%$PATH_IFS%g 913 s%@EXEEXT@%$EXEEXT%g 749 914 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g 915 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g 750 916 s%@INSTALL_DATA@%$INSTALL_DATA%g 751 917 … … 819 985 if test -z "$ac_dots"; then top_srcdir=. 820 986 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; 821 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; 987 /* | [A-Za-z]:*) 988 srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; 822 989 *) # Relative path. 823 990 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" … … 826 993 827 994 case "$ac_given_INSTALL" in 828 [/$]* ) INSTALL="$ac_given_INSTALL" ;;995 [/$]* | [A-Za-z]:*) INSTALL="$ac_given_INSTALL" ;; 829 996 *) INSTALL="$ac_dots$ac_given_INSTALL" ;; 830 997 esac … … 839 1006 esac 840 1007 841 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s% :% $ac_given_srcdir/%g"`1008 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%$PATHIFS% $ac_given_srcdir/%g"` 842 1009 sed -e "$ac_comsub 843 1010 s%@configure_input@%$configure_input%g -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.