Changeset 80 for trunk/src/gcc/zlib
- Timestamp:
- May 2, 2003, 12:30:43 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gcc/zlib/configure
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r79 r80 545 545 fi 546 546 547 echo $ac_n "checking for path separator""... $ac_c" 1>&6 548 echo "configure:549: checking for path separator" >&5 549 # Filter path to get backslahes into forwardslashes 550 case "`uname -s 2> /dev/null`" in 551 OS/2) 552 PATH=`echo -E "$PATH" | sed 's+\\\\+/+g'` 553 PATH_IFS=';' 554 ;; 555 *) 556 PATH_IFS=':' 557 ;; 558 esac 559 echo "$ac_t""${PATH_IFS}" 1>&6 560 561 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 562 echo "configure:563: checking for Cygwin environment" >&5 563 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then 564 echo $ac_n "(cached) $ac_c" 1>&6 565 else 566 cat > conftest.$ac_ext <<EOF 567 #line 568 "configure" 568 #include "confdefs.h" 569 570 int main() { 571 572 #ifndef __CYGWIN__ 573 #define __CYGWIN__ __CYGWIN32__ 574 #endif 575 return __CYGWIN__; 576 ; return 0; } 577 EOF 578 if { (eval echo configure:579: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 579 rm -rf conftest* 580 ac_cv_cygwin=yes 581 else 582 echo "configure: failed program was:" >&5 583 cat conftest.$ac_ext >&5 584 rm -rf conftest* 585 ac_cv_cygwin=no 586 fi 587 rm -f conftest* 588 rm -f conftest* 589 fi 590 591 echo "$ac_t""$ac_cv_cygwin" 1>&6 592 CYGWIN= 593 test "$ac_cv_cygwin" = yes && CYGWIN=yes 594 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 595 echo "configure:596: checking for mingw32 environment" >&5 596 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then 597 echo $ac_n "(cached) $ac_c" 1>&6 598 else 599 cat > conftest.$ac_ext <<EOF 600 #line 601 "configure" 601 #include "confdefs.h" 602 603 int main() { 604 return __MINGW32__; 605 ; return 0; } 606 EOF 607 if { (eval echo configure:608: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 608 rm -rf conftest* 609 ac_cv_mingw32=yes 610 else 611 echo "configure: failed program was:" >&5 612 cat conftest.$ac_ext >&5 613 rm -rf conftest* 614 ac_cv_mingw32=no 615 fi 616 rm -f conftest* 617 rm -f conftest* 618 fi 619 620 echo "$ac_t""$ac_cv_mingw32" 1>&6 621 MINGW32= 622 test "$ac_cv_mingw32" = yes && MINGW32=yes 623 echo $ac_n "checking for EMX/OS2 environment""... $ac_c" 1>&6 624 echo "configure:625: checking for EMX/OS2 environment" >&5 625 if eval "test \"`echo '$''{'ac_cv_emxos2'+set}'`\" = set"; then 626 echo $ac_n "(cached) $ac_c" 1>&6 627 else 628 : ${CC=gcc.exe} 629 cat > conftest.$ac_ext <<EOF 630 #line 631 "configure" 631 #include "confdefs.h" 632 633 int main() { 634 return __EMX__; 635 ; return 0; } 636 EOF 637 if { (eval echo configure:638: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 638 rm -rf conftest* 639 ac_cv_emxos2=yes 640 else 641 echo "configure: failed program was:" >&5 642 cat conftest.$ac_ext >&5 643 rm -rf conftest* 644 ac_cv_emxos2=no 645 fi 646 rm -f conftest* 647 rm -f conftest* 648 fi 649 650 echo "$ac_t""$ac_cv_emxos2" 1>&6 651 if eval "test \"`echo '$''{'ac_cv_libpre'+set}'`\" = set"; then 652 echo $ac_n "(cached) $ac_c" 1>&6 653 else 654 if test "$ac_cv_emxos2" = yes ; then 655 ac_cv_libpre= 656 else 657 ac_cv_libpre=lib 658 fi 659 660 fi 661 662 EMXOS2= 663 test "$ac_cv_emxos2" = yes && EMXOS2=yes 664 665 666 667 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 668 echo "configure:669: checking for executable suffix" >&5 669 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then 670 echo $ac_n "(cached) $ac_c" 1>&6 671 else 672 if test "$CYGWIN" = yes || test "$MINGW32" = yes || test "$EMXOS2" = yes; then 673 ac_cv_exeext=.exe 674 else 675 rm -f conftest* 676 echo 'int main () { return 0; }' > conftest.$ac_ext 677 ac_cv_exeext= 678 if { (eval echo configure:679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 679 for file in conftest.*; do 680 case $file in 681 *.c | *.o | *.obj) ;; 682 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; 683 esac 684 done 685 else 686 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; } 687 fi 688 rm -f conftest* 689 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no 690 fi 691 fi 692 693 EXEEXT="" 694 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext} 695 echo "$ac_t""${ac_cv_exeext}" 1>&6 696 ac_exeext=$EXEEXT 697 547 698 548 699 … … 636 787 637 788 echo $ac_n "checking host system type""... $ac_c" 1>&6 638 echo "configure: 639: checking host system type" >&5789 echo "configure:790: checking host system type" >&5 639 790 640 791 host_alias=$host … … 657 808 658 809 echo $ac_n "checking target system type""... $ac_c" 1>&6 659 echo "configure: 660: checking target system type" >&5810 echo "configure:811: checking target system type" >&5 660 811 661 812 target_alias=$target … … 675 826 676 827 echo $ac_n "checking build system type""... $ac_c" 1>&6 677 echo "configure: 678: checking build system type" >&5828 echo "configure:829: checking build system type" >&5 678 829 679 830 build_alias=$build … … 714 865 # ./install, which can be erroneously created by make from ./install.sh. 715 866 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 716 echo "configure: 717: checking for a BSD compatible install" >&5867 echo "configure:868: checking for a BSD compatible install" >&5 717 868 if test -z "$INSTALL"; then 718 869 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then 719 870 echo $ac_n "(cached) $ac_c" 1>&6 720 871 else 721 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=" :"872 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="$PATH_IFS" 722 873 for ac_dir in $PATH; do 723 874 # Account for people who put trailing slashes in PATH elements. 724 875 case "$ac_dir/" in 725 876 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; 877 # We reject the install program from OS/2 or W3.1 878 */OS2|*/OS2/*|*/WINDOWS|*/WINDOWS/*) ;; 726 879 *) 727 880 # OSF1 and SCO ODT 3.0 have their own names for install. … … 729 882 # by default. 730 883 for ac_prog in ginstall scoinst install; do 731 if test -f $ac_dir/$ac_prog ; then884 if test -f $ac_dir/$ac_prog$ac_exeext; then 732 885 if test $ac_prog = install && 733 886 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then … … 735 888 : 736 889 else 737 ac_cv_path_install="$ac_dir/$ac_prog -c"890 ac_cv_path_install="$ac_dir/$ac_prog$ac_exeext -c" 738 891 break 2 739 892 fi … … 767 920 768 921 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 769 echo "configure: 770: checking whether build environment is sane" >&5922 echo "configure:923: checking whether build environment is sane" >&5 770 923 # Just in case 771 924 sleep 1 … … 824 977 825 978 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 826 echo "configure: 827: checking whether ${MAKE-make} sets \${MAKE}" >&5979 echo "configure:980: checking whether ${MAKE-make} sets \${MAKE}" >&5 827 980 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 828 981 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then … … 870 1023 missing_dir=`cd $ac_aux_dir && pwd` 871 1024 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 872 echo "configure: 873: checking for working aclocal" >&51025 echo "configure:1026: checking for working aclocal" >&5 873 1026 # Run test in a subshell; some versions of sh will print an error if 874 1027 # an executable is not found, even if stderr is redirected. … … 883 1036 884 1037 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 885 echo "configure: 886: checking for working autoconf" >&51038 echo "configure:1039: checking for working autoconf" >&5 886 1039 # Run test in a subshell; some versions of sh will print an error if 887 1040 # an executable is not found, even if stderr is redirected. … … 896 1049 897 1050 echo $ac_n "checking for working automake""... $ac_c" 1>&6 898 echo "configure: 899: checking for working automake" >&51051 echo "configure:1052: checking for working automake" >&5 899 1052 # Run test in a subshell; some versions of sh will print an error if 900 1053 # an executable is not found, even if stderr is redirected. … … 909 1062 910 1063 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 911 echo "configure: 912: checking for working autoheader" >&51064 echo "configure:1065: checking for working autoheader" >&5 912 1065 # Run test in a subshell; some versions of sh will print an error if 913 1066 # an executable is not found, even if stderr is redirected. … … 922 1075 923 1076 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 924 echo "configure: 925: checking for working makeinfo" >&51077 echo "configure:1078: checking for working makeinfo" >&5 925 1078 # Run test in a subshell; some versions of sh will print an error if 926 1079 # an executable is not found, even if stderr is redirected. … … 937 1090 938 1091 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 939 echo "configure: 940: checking whether to enable maintainer-specific portions of Makefiles" >&51092 echo "configure:1093: checking whether to enable maintainer-specific portions of Makefiles" >&5 940 1093 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. 941 1094 if test "${enable_maintainer_mode+set}" = set; then … … 996 1149 set dummy gcc; ac_word=$2 997 1150 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 998 echo "configure: 999: checking for $ac_word" >&51151 echo "configure:1152: checking for $ac_word" >&5 999 1152 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1000 1153 echo $ac_n "(cached) $ac_c" 1>&6 … … 1003 1156 ac_cv_prog_CC="$CC" # Let the user override the test. 1004 1157 else 1005 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"1158 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 1006 1159 ac_dummy="$PATH" 1007 1160 for ac_dir in $ac_dummy; do 1008 1161 test -z "$ac_dir" && ac_dir=. 1009 if test -f $ac_dir/$ac_word; then 1162 if test -f $ac_dir/$ac_word -o \ 1163 -f $ac_dir/$ac_word$ac_exeext ; then 1010 1164 ac_cv_prog_CC="gcc" 1011 1165 break … … 1026 1180 set dummy cc; ac_word=$2 1027 1181 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1028 echo "configure:1 029: checking for $ac_word" >&51182 echo "configure:1183: checking for $ac_word" >&5 1029 1183 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1030 1184 echo $ac_n "(cached) $ac_c" 1>&6 … … 1033 1187 ac_cv_prog_CC="$CC" # Let the user override the test. 1034 1188 else 1035 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"1189 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 1036 1190 ac_prog_rejected=no 1037 1191 ac_dummy="$PATH" 1038 1192 for ac_dir in $ac_dummy; do 1039 1193 test -z "$ac_dir" && ac_dir=. 1040 if test -f $ac_dir/$ac_word; then 1041 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then 1194 if test -f $ac_dir/$ac_word -o \ 1195 -f $ac_dir/$ac_word$ac_exeext ; then 1196 if test "$ac_dir/$ac_word" = "/usr/ucb/cc" -o \ 1197 "$ac_dir/$ac_word$ac_exeext" = "/usr/ucb/cc" ; then 1042 1198 ac_prog_rejected=yes 1043 1199 continue … … 1075 1231 1076 1232 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 1077 echo "configure:1 078: checking whether we are using GNU C" >&51233 echo "configure:1234: checking whether we are using GNU C" >&5 1078 1234 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 1079 1235 echo $ac_n "(cached) $ac_c" 1>&6 … … 1084 1240 #endif 1085 1241 EOF 1086 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1 087: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then1242 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1243: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 1087 1243 ac_cv_prog_gcc=yes 1088 1244 else … … 1099 1255 CFLAGS= 1100 1256 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 1101 echo "configure:1 102: checking whether ${CC-cc} accepts -g" >&51257 echo "configure:1258: checking whether ${CC-cc} accepts -g" >&5 1102 1258 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 1103 1259 echo $ac_n "(cached) $ac_c" 1>&6 … … 1138 1294 # were not for the `:' below. 1139 1295 : 1140 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 1141 echo "configure:1142: checking for Cygwin environment" >&5 1142 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then 1143 echo $ac_n "(cached) $ac_c" 1>&6 1144 else 1145 cat > conftest.$ac_ext <<EOF 1146 #line 1147 "configure" 1147 #include "confdefs.h" 1148 1149 int main() { 1150 1151 #ifndef __CYGWIN__ 1152 #define __CYGWIN__ __CYGWIN32__ 1153 #endif 1154 return __CYGWIN__; 1155 ; return 0; } 1156 EOF 1157 if { (eval echo configure:1158: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1158 rm -rf conftest* 1159 ac_cv_cygwin=yes 1160 else 1161 echo "configure: failed program was:" >&5 1162 cat conftest.$ac_ext >&5 1163 rm -rf conftest* 1164 ac_cv_cygwin=no 1165 fi 1166 rm -f conftest* 1167 rm -f conftest* 1168 fi 1169 1170 echo "$ac_t""$ac_cv_cygwin" 1>&6 1171 CYGWIN= 1172 test "$ac_cv_cygwin" = yes && CYGWIN=yes 1173 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 1174 echo "configure:1175: checking for mingw32 environment" >&5 1175 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then 1176 echo $ac_n "(cached) $ac_c" 1>&6 1177 else 1178 cat > conftest.$ac_ext <<EOF 1179 #line 1180 "configure" 1180 #include "confdefs.h" 1181 1182 int main() { 1183 return __MINGW32__; 1184 ; return 0; } 1185 EOF 1186 if { (eval echo configure:1187: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1187 rm -rf conftest* 1188 ac_cv_mingw32=yes 1189 else 1190 echo "configure: failed program was:" >&5 1191 cat conftest.$ac_ext >&5 1192 rm -rf conftest* 1193 ac_cv_mingw32=no 1194 fi 1195 rm -f conftest* 1196 rm -f conftest* 1197 fi 1198 1199 echo "$ac_t""$ac_cv_mingw32" 1>&6 1200 MINGW32= 1201 test "$ac_cv_mingw32" = yes && MINGW32=yes 1296 1202 1297 1203 1298 1204 1299 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 1205 echo "configure:1 206: checking for executable suffix" >&51300 echo "configure:1301: checking for executable suffix" >&5 1206 1301 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then 1207 1302 echo $ac_n "(cached) $ac_c" 1>&6 1208 1303 else 1209 if test "$CYGWIN" = yes || test "$MINGW32" = yes ; then1304 if test "$CYGWIN" = yes || test "$MINGW32" = yes || test "$EMXOS2" = yes; then 1210 1305 ac_cv_exeext=.exe 1211 1306 else … … 1213 1308 echo 'int main () { return 0; }' > conftest.$ac_ext 1214 1309 ac_cv_exeext= 1215 if { (eval echo configure:1 216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1310 if { (eval echo configure:1311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1216 1311 for file in conftest.*; do 1217 1312 case $file in … … 1315 1410 # Check if gcc -print-prog-name=ld gives a path. 1316 1411 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 1317 echo "configure:1 318: checking for ld used by GCC" >&51412 echo "configure:1413: checking for ld used by GCC" >&5 1318 1413 case $host in 1319 1414 *-*-mingw*) … … 1345 1440 elif test "$with_gnu_ld" = yes; then 1346 1441 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 1347 echo "configure:1 348: checking for GNU ld" >&51442 echo "configure:1443: checking for GNU ld" >&5 1348 1443 else 1349 1444 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6 1350 echo "configure:1 351: checking for non-GNU ld" >&51445 echo "configure:1446: checking for non-GNU ld" >&5 1351 1446 fi 1352 1447 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then … … 1383 1478 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; } 1384 1479 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6 1385 echo "configure:1 386: checking if the linker ($LD) is GNU ld" >&51480 echo "configure:1481: checking if the linker ($LD) is GNU ld" >&5 1386 1481 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then 1387 1482 echo $ac_n "(cached) $ac_c" 1>&6 … … 1400 1495 1401 1496 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6 1402 echo "configure:14 03: checking for $LD option to reload object files" >&51497 echo "configure:1498: checking for $LD option to reload object files" >&5 1403 1498 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then 1404 1499 echo $ac_n "(cached) $ac_c" 1>&6 … … 1412 1507 1413 1508 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6 1414 echo "configure:1 415: checking for BSD-compatible nm" >&51509 echo "configure:1510: checking for BSD-compatible nm" >&5 1415 1510 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then 1416 1511 echo $ac_n "(cached) $ac_c" 1>&6 … … 1450 1545 1451 1546 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 1452 echo "configure:1 453: checking whether ln -s works" >&51547 echo "configure:1548: checking whether ln -s works" >&5 1453 1548 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 1454 1549 echo $ac_n "(cached) $ac_c" 1>&6 … … 1460 1555 ac_cv_prog_LN_S="ln -s" 1461 1556 else 1462 ac_cv_prog_LN_S=ln 1463 fi 1557 echo A > conftestdata; 1558 if ln conftestdata conftestdata2 2>/dev/null; then 1559 ac_cv_prog_LN_S=ln 1560 else 1561 ac_cv_prog_LN_S=cp 1562 fi 1563 fi 1564 rm -f conftestdata* 1464 1565 fi 1465 1566 LN_S="$ac_cv_prog_LN_S" … … 1471 1572 1472 1573 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6 1473 echo "configure:1 474: checking how to recognise dependant libraries" >&51574 echo "configure:1575: checking how to recognise dependant libraries" >&5 1474 1575 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then 1475 1576 echo $ac_n "(cached) $ac_c" 1>&6 … … 1635 1736 1636 1737 echo $ac_n "checking for object suffix""... $ac_c" 1>&6 1637 echo "configure:1 638: checking for object suffix" >&51738 echo "configure:1739: checking for object suffix" >&5 1638 1739 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then 1639 1740 echo $ac_n "(cached) $ac_c" 1>&6 … … 1641 1742 rm -f conftest* 1642 1743 echo 'int i = 1;' > conftest.$ac_ext 1643 if { (eval echo configure:1 644: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1744 if { (eval echo configure:1745: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1644 1745 for ac_file in conftest.*; do 1645 1746 case $ac_file in … … 1671 1772 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 1672 1773 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6 1673 echo "configure:1 674: checking for ${ac_tool_prefix}file" >&51774 echo "configure:1775: checking for ${ac_tool_prefix}file" >&5 1674 1775 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then 1675 1776 echo $ac_n "(cached) $ac_c" 1>&6 … … 1733 1834 if test -n "$ac_tool_prefix"; then 1734 1835 echo $ac_n "checking for file""... $ac_c" 1>&6 1735 echo "configure:1 736: checking for file" >&51836 echo "configure:1837: checking for file" >&5 1736 1837 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then 1737 1838 echo $ac_n "(cached) $ac_c" 1>&6 … … 1804 1905 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 1805 1906 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1806 echo "configure:1 807: checking for $ac_word" >&51907 echo "configure:1908: checking for $ac_word" >&5 1807 1908 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1808 1909 echo $ac_n "(cached) $ac_c" 1>&6 … … 1811 1912 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 1812 1913 else 1813 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"1914 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 1814 1915 ac_dummy="$PATH" 1815 1916 for ac_dir in $ac_dummy; do 1816 1917 test -z "$ac_dir" && ac_dir=. 1817 if test -f $ac_dir/$ac_word; then 1918 if test -f $ac_dir/$ac_word -o \ 1919 -f $ac_dir/$ac_word$ac_exeext ; then 1818 1920 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 1819 1921 break … … 1836 1938 set dummy ranlib; ac_word=$2 1837 1939 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1838 echo "configure:1 839: checking for $ac_word" >&51940 echo "configure:1941: checking for $ac_word" >&5 1839 1941 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1840 1942 echo $ac_n "(cached) $ac_c" 1>&6 … … 1843 1945 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 1844 1946 else 1845 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"1947 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 1846 1948 ac_dummy="$PATH" 1847 1949 for ac_dir in $ac_dummy; do 1848 1950 test -z "$ac_dir" && ac_dir=. 1849 if test -f $ac_dir/$ac_word; then 1951 if test -f $ac_dir/$ac_word -o \ 1952 -f $ac_dir/$ac_word$ac_exeext ; then 1850 1953 ac_cv_prog_RANLIB="ranlib" 1851 1954 break … … 1871 1974 set dummy ${ac_tool_prefix}strip; ac_word=$2 1872 1975 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1873 echo "configure:1 874: checking for $ac_word" >&51976 echo "configure:1977: checking for $ac_word" >&5 1874 1977 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then 1875 1978 echo $ac_n "(cached) $ac_c" 1>&6 … … 1878 1981 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 1879 1982 else 1880 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"1983 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 1881 1984 ac_dummy="$PATH" 1882 1985 for ac_dir in $ac_dummy; do 1883 1986 test -z "$ac_dir" && ac_dir=. 1884 if test -f $ac_dir/$ac_word; then 1987 if test -f $ac_dir/$ac_word -o \ 1988 -f $ac_dir/$ac_word$ac_exeext ; then 1885 1989 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 1886 1990 break … … 1903 2007 set dummy strip; ac_word=$2 1904 2008 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1905 echo "configure: 1906: checking for $ac_word" >&52009 echo "configure:2010: checking for $ac_word" >&5 1906 2010 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then 1907 2011 echo $ac_n "(cached) $ac_c" 1>&6 … … 1910 2014 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 1911 2015 else 1912 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=" :"2016 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 1913 2017 ac_dummy="$PATH" 1914 2018 for ac_dir in $ac_dummy; do 1915 2019 test -z "$ac_dir" && ac_dir=. 1916 if test -f $ac_dir/$ac_word; then 2020 if test -f $ac_dir/$ac_word -o \ 2021 -f $ac_dir/$ac_word$ac_exeext ; then 1917 2022 ac_cv_prog_STRIP="strip" 1918 2023 break … … 1970 2075 *-*-irix6*) 1971 2076 # Find out which ABI we are using. 1972 echo '#line 1973"configure"' > conftest.$ac_ext1973 if { (eval echo configure: 1974: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2077 echo '#line 2078 "configure"' > conftest.$ac_ext 2078 if { (eval echo configure:2079: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1974 2079 case `/usr/bin/file conftest.$ac_objext` in 1975 2080 *32-bit*) … … 1992 2097 CFLAGS="$CFLAGS -belf" 1993 2098 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 1994 echo "configure: 1995: checking whether the C compiler needs -belf" >&52099 echo "configure:2100: checking whether the C compiler needs -belf" >&5 1995 2100 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then 1996 2101 echo $ac_n "(cached) $ac_c" 1>&6 … … 2005 2110 2006 2111 cat > conftest.$ac_ext <<EOF 2007 #line 2 008"configure"2112 #line 2113 "configure" 2008 2113 #include "confdefs.h" 2009 2114 … … 2012 2117 ; return 0; } 2013 2118 EOF 2014 if { (eval echo configure:2 015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2119 if { (eval echo configure:2120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2015 2120 rm -rf conftest* 2016 2121 lt_cv_cc_needs_belf=yes … … 2138 2243 # thereby make the resulting definitions conditional. 2139 2244 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 2140 echo "configure:2 141: checking how to run the C preprocessor" >&52245 echo "configure:2246: checking how to run the C preprocessor" >&5 2141 2246 # On Suns, sometimes $CPP names a directory. 2142 2247 if test -n "$CPP" && test -d "$CPP"; then … … 2153 2258 # not just through cpp. 2154 2259 cat > conftest.$ac_ext <<EOF 2155 #line 2156 "configure" 2260 #include <sys/types.h> 2261 #line 2262 "configure" 2156 2262 #include "confdefs.h" 2157 2263 #include <assert.h> … … 2159 2265 EOF 2160 2266 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2161 { (eval echo configure:2 162: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2267 { (eval echo configure:2268: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2162 2268 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2163 2269 if test -z "$ac_err"; then … … 2170 2276 CPP="${CC-cc} -E -traditional-cpp" 2171 2277 cat > conftest.$ac_ext <<EOF 2172 #line 2173 "configure" 2278 #include <sys/types.h> 2279 #line 2280 "configure" 2173 2280 #include "confdefs.h" 2174 2281 #include <assert.h> … … 2176 2283 EOF 2177 2284 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2178 { (eval echo configure:2 179: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2285 { (eval echo configure:2286: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2179 2286 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2180 2287 if test -z "$ac_err"; then … … 2187 2294 CPP="${CC-cc} -nologo -E" 2188 2295 cat > conftest.$ac_ext <<EOF 2189 #line 2190 "configure" 2296 #include <sys/types.h> 2297 #line 2298 "configure" 2190 2298 #include "confdefs.h" 2191 2299 #include <assert.h> … … 2193 2301 EOF 2194 2302 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2195 { (eval echo configure:2 196: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2303 { (eval echo configure:2304: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2196 2304 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2197 2305 if test -z "$ac_err"; then … … 2237 2345 target_all=libzgcj.la 2238 2346 else 2239 for ac_hdr in stdlib.h unistd.h sys/stat.h sys/types.h2347 for ac_hdr in unistd.h 2240 2348 do 2241 2349 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2242 2350 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2243 echo "configure:2 244: checking for $ac_hdr" >&52351 echo "configure:2352: checking for $ac_hdr" >&5 2244 2352 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2245 2353 echo $ac_n "(cached) $ac_c" 1>&6 2246 2354 else 2247 2355 cat > conftest.$ac_ext <<EOF 2248 #line 2249 "configure" 2356 #include <sys/types.h> 2357 #line 2358 "configure" 2249 2358 #include "confdefs.h" 2250 2359 #include <$ac_hdr> 2251 2360 EOF 2252 2361 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2253 { (eval echo configure:2 254: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2362 { (eval echo configure:2363: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2254 2363 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2255 2364 if test -z "$ac_err"; then … … 2280 2389 do 2281 2390 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2282 echo "configure:2 283: checking for $ac_func" >&52391 echo "configure:2392: checking for $ac_func" >&5 2283 2392 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2284 2393 echo $ac_n "(cached) $ac_c" 1>&6 2285 2394 else 2286 2395 cat > conftest.$ac_ext <<EOF 2287 #line 2 288"configure"2396 #line 2397 "configure" 2288 2397 #include "confdefs.h" 2289 2398 /* System header to define __stub macros and hopefully few prototypes, … … 2308 2417 ; return 0; } 2309 2418 EOF 2310 if { (eval echo configure:2 311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2419 if { (eval echo configure:2420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2311 2420 rm -rf conftest* 2312 2421 eval "ac_cv_func_$ac_func=yes" … … 2333 2442 2334 2443 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 2335 echo "configure:2 336: checking for working mmap" >&52444 echo "configure:2445: checking for working mmap" >&5 2336 2445 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then 2337 2446 echo $ac_n "(cached) $ac_c" 1>&6 … … 2341 2450 else 2342 2451 cat > conftest.$ac_ext <<EOF 2343 #line 2 344"configure"2452 #line 2453 "configure" 2344 2453 #include "confdefs.h" 2345 2454 … … 2369 2478 #include <sys/mman.h> 2370 2479 2371 #if HAVE_SYS_TYPES_H2372 # include <sys/types.h>2373 #endif2374 2375 #if HAVE_STDLIB_H2376 # include <stdlib.h>2377 #endif2378 2379 #if HAVE_SYS_STAT_H2380 # include <sys/stat.h>2381 #endif2382 2383 #if HAVE_UNISTD_H2384 # include <unistd.h>2385 #endif2386 2387 2480 /* This mess was copied from the GNU getpagesize.h. */ 2388 2481 #ifndef HAVE_GETPAGESIZE 2482 # ifdef HAVE_UNISTD_H 2483 # include <unistd.h> 2484 # endif 2389 2485 2390 2486 /* Assume that all systems that can run configure have sys/param.h. */ … … 2494 2590 2495 2591 EOF 2496 if { (eval echo configure:2 497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null2592 if { (eval echo configure:2593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2497 2593 then 2498 2594 ac_cv_func_mmap_fixed_mapped=yes … … 2519 2615 do 2520 2616 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2521 echo "configure:2 522: checking for $ac_func" >&52617 echo "configure:2618: checking for $ac_func" >&5 2522 2618 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2523 2619 echo $ac_n "(cached) $ac_c" 1>&6 2524 2620 else 2525 2621 cat > conftest.$ac_ext <<EOF 2526 #line 2 527"configure"2622 #line 2623 "configure" 2527 2623 #include "confdefs.h" 2528 2624 /* System header to define __stub macros and hopefully few prototypes, … … 2547 2643 ; return 0; } 2548 2644 EOF 2549 if { (eval echo configure:2 550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2645 if { (eval echo configure:2646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2550 2646 rm -rf conftest* 2551 2647 eval "ac_cv_func_$ac_func=yes" … … 2574 2670 if test "$with_system_zlib" = yes; then 2575 2671 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6 2576 echo "configure:2 577: checking for deflate in -lz" >&52672 echo "configure:2673: checking for deflate in -lz" >&5 2577 2673 ac_lib_var=`echo z'_'deflate | sed 'y%./+-%__p_%'` 2578 2674 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 2582 2678 LIBS="-lz $LIBS" 2583 2679 cat > conftest.$ac_ext <<EOF 2584 #line 2 585"configure"2680 #line 2681 "configure" 2585 2681 #include "confdefs.h" 2586 2682 /* Override any gcc2 internal prototype to avoid an error. */ … … 2593 2689 ; return 0; } 2594 2690 EOF 2595 if { (eval echo configure:2 596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2691 if { (eval echo configure:2692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2596 2692 rm -rf conftest* 2597 2693 eval "ac_cv_lib_$ac_lib_var=yes" … … 2625 2721 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2626 2722 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2627 echo "configure:2 628: checking for $ac_hdr" >&52723 echo "configure:2724: checking for $ac_hdr" >&5 2628 2724 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2629 2725 echo $ac_n "(cached) $ac_c" 1>&6 2630 2726 else 2631 2727 cat > conftest.$ac_ext <<EOF 2632 #line 2633 "configure" 2728 #include <sys/types.h> 2729 #line 2730 "configure" 2633 2730 #include "confdefs.h" 2634 2731 #include <$ac_hdr> 2635 2732 EOF 2636 2733 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2637 { (eval echo configure:2 638: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2734 { (eval echo configure:2735: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2638 2735 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2639 2736 if test -z "$ac_err"; then … … 2756 2853 # Protect against shell expansion while executing Makefile rules. 2757 2854 # Protect against Makefile macro expansion. 2758 # 2759 # If the first sed substitution is executed (which looks for macros that 2760 # take arguments), then we branch to the quote section. Otherwise, 2761 # look for a macro that doesn't take arguments. 2762 cat >confdef2opt.sed <<\_ACEOF 2763 t clear 2764 : clear 2765 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g 2766 t quote 2767 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g 2768 t quote 2769 d 2770 : quote 2771 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g 2772 s,\[,\\&,g 2773 s,\],\\&,g 2774 s,\$,$$,g 2775 p 2776 _ACEOF 2777 # We use echo to avoid assuming a particular line-breaking character. 2778 # The extra dot is to prevent the shell from consuming trailing 2779 # line-breaks from the sub-command output. A line-break within 2780 # single-quotes doesn't work because, if this script is created in a 2781 # platform that uses two characters for line-breaks (e.g., DOS), tr 2782 # would break. 2783 ac_LF_and_DOT=`echo; echo .` 2784 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'` 2785 rm -f confdef2opt.sed 2855 cat > conftest.defs <<\EOF 2856 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g 2857 s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g 2858 s%\[%\\&%g 2859 s%\]%\\&%g 2860 s%\$%$$%g 2861 EOF 2862 DEFS=`sed -f conftest.defs confdefs.h | tr '\012\015' ' '` 2863 rm -f conftest.defs 2786 2864 2787 2865 … … 2796 2874 # Run this file to recreate the current configuration. 2797 2875 # This directory was configured as follows, 2876 EOF 2877 echo ': ${CONFIG_SHELL='"${CONFIG_SHELL-/bin/sh}"'}' >> $CONFIG_STATUS 2878 cat >> $CONFIG_STATUS <<EOF 2798 2879 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 2799 2880 # … … 2821 2902 ac_given_srcdir=$srcdir 2822 2903 ac_given_INSTALL="$INSTALL" 2904 PATHIFS="$PATH_IFS" 2823 2905 2824 2906 trap 'rm -fr `echo "Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 … … 2831 2913 $ac_vpsub 2832 2914 $extrasub 2915 s,\([^a-zA-Z0-9:]\)/bin/sh\(.exe\),\1${CONFIG_SHELL-/bin/sh}\2,g 2833 2916 s%@SHELL@%$SHELL%g 2834 2917 s%@CFLAGS@%$CFLAGS%g … … 2854 2937 s%@infodir@%$infodir%g 2855 2938 s%@mandir@%$mandir%g 2939 s%@PATH_IFS@%$PATH_IFS%g 2940 s%@EXEEXT@%$EXEEXT%g 2856 2941 s%@zlib_basedir@%$zlib_basedir%g 2857 2942 s%@host@%$host%g … … 2886 2971 s%@MAINT@%$MAINT%g 2887 2972 s%@CC@%$CC%g 2888 s%@EXEEXT@%$EXEEXT%g2889 2973 s%@LN_S@%$LN_S%g 2890 2974 s%@OBJEXT@%$OBJEXT%g … … 2969 3053 if test -z "$ac_dots"; then top_srcdir=. 2970 3054 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; 2971 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; 3055 /* | [A-Za-z]:*) 3056 srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; 2972 3057 *) # Relative path. 2973 3058 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" … … 2976 3061 2977 3062 case "$ac_given_INSTALL" in 2978 [/$]* ) INSTALL="$ac_given_INSTALL" ;;3063 [/$]* | [A-Za-z]:*) INSTALL="$ac_given_INSTALL" ;; 2979 3064 *) INSTALL="$ac_dots$ac_given_INSTALL" ;; 2980 3065 esac … … 2989 3074 esac 2990 3075 2991 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s% :% $ac_given_srcdir/%g"`3076 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%$PATHIFS% $ac_given_srcdir/%g"` 2992 3077 sed -e "$ac_comsub 2993 3078 s%@configure_input@%$configure_input%g -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.