Changeset 1394 for trunk/src/gcc/libiberty
- Timestamp:
- Apr 28, 2004, 6:58:06 AM (22 years ago)
- Location:
- trunk/src/gcc/libiberty
- Files:
-
- 1 deleted
- 4 edited
-
Makefile.in (modified) (12 diffs, 1 prop)
-
config.table (modified) (4 diffs, 1 prop)
-
configure (modified) (117 diffs, 1 prop)
-
lbasename.c (modified) (2 diffs, 1 prop)
-
testsuite/regress-demangle (deleted)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gcc/libiberty/Makefile.in
-
Property cvs2svn:cvs-rev
changed from
1.2to1.3
r1393 r1394 1 1 # 2 2 # Makefile 3 # Copyright (C) 1990, 91-99, 2000, 2001, 200 33 # Copyright (C) 1990, 91-99, 2000, 2001, 2003 4 4 # Free Software Foundation 5 5 # … … 36 36 bindir = @bindir@ 37 37 libdir = @libdir@ 38 39 38 40 39 41 SHELL = @SHELL@ … … 52 54 mkinstalldirs = $(SHELL) $(libiberty_topdir)/mkinstalldirs 53 55 56 57 58 54 59 AR = @AR@ 55 60 AR_FLAGS = rc … … 73 78 # A configuration can specify extra .o files that should be included, 74 79 # even if they are in libc. (Perhaps the libc version is buggy.) 75 EXTRA_OFILES = 80 EXTRA_OFILES = 76 81 77 82 # Flags to pass to a recursive make. … … 103 108 # FIXME: add @BUILD_INFO@ once we're sure it works for everyone. 104 109 all: stamp-picdir $(TARGETLIB) needed-list required-list all-subdir 105 ifeq "$(BUILD_PLATFORM)" "OS2"106 $(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=all107 else108 110 @: $(MAKE) ; exec $(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=all 109 endif110 111 111 112 .PHONY: check installcheck … … 122 123 $(COMPILE.c) $(PICFLAG) $< -o pic/$@; \ 123 124 else true; fi 124 $(COMPILE.c) $< 125 $(COMPILE.c) $< 125 126 126 127 # NOTE: If you add new files to the library, add them to this list … … 137 138 index.c insque.c \ 138 139 lbasename.c \ 140 139 141 make-temp-file.c md5.c memchr.c memcmp.c memcpy.c memmove.c \ 140 142 memset.c mkstemps.c \ 141 143 objalloc.c obstack.c \ 142 partition.c pexecute.c p utenv.c\144 partition.c pexecute.c p \ 143 145 random.c regex.c rename.c rindex.c \ 144 146 safe-ctype.c setenv.c sigsetmask.c sort.c spaces.c \ … … 161 163 hashtab.o hex.o \ 162 164 lbasename.o \ 165 163 166 make-temp-file.o \ 164 167 objalloc.o obstack.o \ 165 partition.o p execute.o\168 partition.o p \ 166 169 safe-ctype.o sort.o spaces.o splay-tree.o strerror.o \ 167 170 strsignal.o \ … … 189 192 waitpid.o 190 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 191 210 $(TARGETLIB): $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS) 192 211 -rm -f $(TARGETLIB) pic/$(TARGETLIB) … … 245 264 246 265 install_to_libdir: all 247 $ (mkinstalldirs)$(DESTDIR)$(libdir)$(MULTISUBDIR)266 $ $(DESTDIR)$(libdir)$(MULTISUBDIR) 248 267 $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)n 249 ( cd $(DESTDIR)$(libdir)$(MULTISUBDIR) && \ 250 $(RANLIB) $(TARGETLIB)n && \ 251 mv -f $(TARGETLIB)n $(TARGETLIB) ) 268 ( cd $(DESTDIR)$(libdir)$(MULTISUBDIR) ; $(RANLIB) $(TARGETLIB)n ) 269 mv -f $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)n $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB) 270 if test -n "${target_header_dir}"; then \ 271 case "${target_header_dir}" in \ 272 /*) thd=${target_header_dir};; \ 273 *) thd=${includedir}${MULTISUBDIR}/${target_header_dir};; \ 274 esac; \ 275 ${mkinstalldirs} $(DESTDIR)$${thd}; \ 276 for h in ${INSTALLED_HEADERS}; do \ 277 ${INSTALL_DATA} $$h $(DESTDIR)$${thd}; \ 278 done; \ 279 fi 252 280 @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install 253 281 282 283 284 285 286 254 287 install_to_tooldir: all 255 $(mkinstalldirs) $(DESTDIR)$(tooldir)/lib/`$$CC -print-multi-os-directory` 256 $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(tooldir)/lib/`$$CC -print-multi-os-directory`/$(TARGETLIB)n 257 ( cd $(DESTDIR)$(tooldir)/lib/`$$CC -print-multi-os-directory` && \ 258 $(RANLIB) $(TARGETLIB)n && \ 259 mv -f $(TARGETLIB)n $(TARGETLIB) ) 288 ${mkinstalldirs} $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR) 289 $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)n 290 ( cd $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR) ; $(RANLIB) $(TARGETLIB)n ) 291 mv -f $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)n $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB) 260 292 @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install 261 293 … … 412 444 lbasename.o: $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \ 413 445 $(INCDIR)/safe-ctype.h 446 447 414 448 make-temp-file.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h 415 449 md5.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/md5.h … … 426 460 pexecute.o: config.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \ 427 461 $(INCDIR)/safe-ctype.h 462 428 463 putenv.o: config.h $(INCDIR)/ansidecl.h 429 464 random.o: $(INCDIR)/ansidecl.h -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/gcc/libiberty/config.table
-
Property cvs2svn:cvs-rev
changed from
1.3to1.4
r1393 r1394 1 2 3 4 5 6 1 7 case "${host}" in 2 8 rs6000-ibm-aix3.1 | rs6000-ibm-aix) … … 10 16 esac 11 17 12 frags=$frag 18 if [ -n "${frag}" ]; then 19 frags=${libiberty_topdir}/libiberty/config/$frag 20 else 21 frags= 22 fi 13 23 14 24 # If they didn't specify --enable-shared, don't generate shared libs. … … 20 30 esac 21 31 if [ "${shared}" = "yes" ]; then 32 22 33 case "${host}" in 23 34 *-*-cygwin*) ;; 24 35 *-*-*emx) ;; 25 alpha*-*-linux*) frags="${frags} ../../config/mh-elfalphapic" ;; 26 arm*-*-*) frags="${frags} ../../config/mh-armpic" ;; 27 hppa*-*-*) frags="${frags} ../../config/mh-papic" ;; 28 i[3456]86-*-*) frags="${frags} ../../config/mh-x86pic" ;; 36 alpha*-*-linux*) frag=mh-elfalphapic ;; 37 arm*-*-*) frag=mh-armpic ;; 38 hppa*-*-*) frag=mh-papic ;; 39 i[3456]86-*-* | x86_64-*-*) 40 frag=mh-x86pic ;; 29 41 powerpc*-*-aix*) ;; 30 powerpc*-*-*) frags="${frags} ../../config/mh-ppcpic" ;; 31 sparc*-*-*) frags="${frags} ../../config/mh-sparcpic" ;; 32 *-*-*) frags="${frags} ../../config/mh-${host_cpu}pic" ;; 42 powerpc*-*-*) frag=mh-ppcpic ;; 43 sparc*-*-*) frag=mh-sparcpic ;; 44 s390*-*-*) frag=mh-s390pic ;; 45 *) frag=mh-${host_cpu}pic ;; 33 46 esac 47 48 49 34 50 fi 35 51 … … 37 53 38 54 for frag in ${frags}; do 39 case ${frag} in40 ../* )41 if [ ${srcdir} = . ]; then42 [ -n "${with_target_subdir}" ] && frag=../${frag}43 [ -n "${with_multisrctop}" ] && frag=${with_multisrctop}${frag}44 fi45 ;;46 esac47 frag=${srcdir}/${xsrcdir}config/$frag48 55 if [ -f ${frag} ]; then 49 56 echo "Appending ${frag} to xhost-mkfrag" -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/gcc/libiberty/configure
-
Property cvs2svn:cvs-rev
changed from
1.4to1.5
r1393 r1394 13 13 # Any additions from configure.in: 14 14 ac_help="$ac_help 15 --with-target-subdir=SUBDIR Configuring in a subdirectory" 15 --with-target-subdir=SUBDIR Configuring in a subdirectory for target" 16 ac_help="$ac_help 17 --with-build-subdir=SUBDIR Configuring in a subdirectory for build" 16 18 ac_help="$ac_help 17 19 --with-cross-host=HOST Configuring with a cross compiler" … … 22 24 enable make rules and dependencies not useful 23 25 (and sometimes confusing) to the casual installer" 26 27 24 28 25 29 # Initialize some variables set by options. … … 532 536 533 537 echo $ac_n "checking for path separator""... $ac_c" 1>&6 534 echo "configure:53 5: checking for path separator" >&5538 echo "configure:53: checking for path separator" >&5 535 539 # Filter path to get backslahes into forwardslashes 536 540 case "`uname -s 2> /dev/null`" in … … 546 550 547 551 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 548 echo "configure:5 49: checking for Cygwin environment" >&5552 echo "configure:5: checking for Cygwin environment" >&5 549 553 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then 550 554 echo $ac_n "(cached) $ac_c" 1>&6 551 555 else 552 556 cat > conftest.$ac_ext <<EOF 553 #line 55 4"configure"557 #line 55 "configure" 554 558 #include "confdefs.h" 555 559 … … 562 566 ; return 0; } 563 567 EOF 564 if { (eval echo configure:56 5: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then568 if { (eval echo configure:56: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 565 569 rm -rf conftest* 566 570 ac_cv_cygwin=yes … … 579 583 test "$ac_cv_cygwin" = yes && CYGWIN=yes 580 584 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 581 echo "configure:58 2: checking for mingw32 environment" >&5585 echo "configure:58: checking for mingw32 environment" >&5 582 586 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then 583 587 echo $ac_n "(cached) $ac_c" 1>&6 584 588 else 585 589 cat > conftest.$ac_ext <<EOF 586 #line 5 87"configure"590 #line 5 "configure" 587 591 #include "confdefs.h" 588 592 … … 591 595 ; return 0; } 592 596 EOF 593 if { (eval echo configure:59 4: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then597 if { (eval echo configure:59: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 594 598 rm -rf conftest* 595 599 ac_cv_mingw32=yes … … 608 612 test "$ac_cv_mingw32" = yes && MINGW32=yes 609 613 echo $ac_n "checking for EMX/OS2 environment""... $ac_c" 1>&6 610 echo "configure:61 1: checking for EMX/OS2 environment" >&5614 echo "configure:61: checking for EMX/OS2 environment" >&5 611 615 if eval "test \"`echo '$''{'ac_cv_emxos2'+set}'`\" = set"; then 612 616 echo $ac_n "(cached) $ac_c" 1>&6 … … 614 618 : ${CC=gcc.exe} 615 619 cat > conftest.$ac_ext <<EOF 616 #line 6 17"configure"620 #line 6 "configure" 617 621 #include "confdefs.h" 618 622 … … 621 625 ; return 0; } 622 626 EOF 623 if { (eval echo configure:62 4: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then627 if { (eval echo configure:62: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 624 628 rm -rf conftest* 625 629 ac_cv_emxos2=yes … … 652 656 653 657 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 654 echo "configure:65 5: checking for executable suffix" >&5658 echo "configure:65: checking for executable suffix" >&5 655 659 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then 656 660 echo $ac_n "(cached) $ac_c" 1>&6 … … 662 666 echo 'int main () { return 0; }' > conftest.$ac_ext 663 667 ac_cv_exeext= 664 if { (eval echo configure:66 5: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then668 if { (eval echo configure:66: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 665 669 for file in conftest.*; do 666 670 case $file in … … 696 700 fi 697 701 702 703 704 705 706 707 698 708 # Check whether --with-cross-host or --without-cross-host was given. 699 709 if test "${with_cross_host+set}" = set; then … … 710 720 711 721 if test "${srcdir}" = "."; then 712 if test -z "${with_target_subdir}"; then 722 if test -n "${with_build_subdir}"; then 723 libiberty_topdir="${srcdir}/../.." 724 with_target_subdir= 725 elif test -z "${with_target_subdir}"; then 713 726 libiberty_topdir="${srcdir}/.." 714 727 else … … 745 758 746 759 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 747 echo "configure:7 48: checking whether to enable maintainer-specific portions of Makefiles" >&5760 echo "configure:7: checking whether to enable maintainer-specific portions of Makefiles" >&5 748 761 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. 749 762 if test "${enable_maintainer_mode+set}" = set; then … … 770 783 set dummy makeinfo; ac_word=$2 771 784 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 772 echo "configure:7 73: checking for $ac_word" >&5785 echo "configure:7: checking for $ac_word" >&5 773 786 if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then 774 787 echo $ac_n "(cached) $ac_c" 1>&6 … … 817 830 set dummy perl; ac_word=$2 818 831 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 819 echo "configure:8 20: checking for $ac_word" >&5832 echo "configure:8: checking for $ac_word" >&5 820 833 if eval "test \"`echo '$''{'ac_cv_prog_PERL'+set}'`\" = set"; then 821 834 echo $ac_n "(cached) $ac_c" 1>&6 … … 858 871 859 872 echo $ac_n "checking host system type""... $ac_c" 1>&6 860 echo "configure:8 61: checking host system type" >&5873 echo "configure:8: checking host system type" >&5 861 874 862 875 host_alias=$host … … 881 894 882 895 echo $ac_n "checking build system type""... $ac_c" 1>&6 883 echo "configure:8 84: checking build system type" >&5896 echo "configure:8: checking build system type" >&5 884 897 885 898 build_alias=$build … … 907 920 set dummy ${ac_tool_prefix}ar; ac_word=$2 908 921 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 909 echo "configure:9 10: checking for $ac_word" >&5922 echo "configure:9: checking for $ac_word" >&5 910 923 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then 911 924 echo $ac_n "(cached) $ac_c" 1>&6 … … 940 953 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 941 954 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 942 echo "configure:9 43: checking for $ac_word" >&5955 echo "configure:9: checking for $ac_word" >&5 943 956 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 944 957 echo $ac_n "(cached) $ac_c" 1>&6 … … 973 986 set dummy ranlib; ac_word=$2 974 987 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 975 echo "configure:9 76: checking for $ac_word" >&5988 echo "configure:9: checking for $ac_word" >&5 976 989 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 977 990 echo $ac_n "(cached) $ac_c" 1>&6 … … 1011 1024 set dummy gcc; ac_word=$2 1012 1025 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1013 echo "configure:10 14: checking for $ac_word" >&51026 echo "configure:10: checking for $ac_word" >&5 1014 1027 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1015 1028 echo $ac_n "(cached) $ac_c" 1>&6 … … 1042 1055 set dummy cc; ac_word=$2 1043 1056 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1044 echo "configure:10 45: checking for $ac_word" >&51057 echo "configure:10: checking for $ac_word" >&5 1045 1058 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1046 1059 echo $ac_n "(cached) $ac_c" 1>&6 … … 1093 1106 1094 1107 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 1095 echo "configure:1 096: checking whether we are using GNU C" >&51108 echo "configure:1: checking whether we are using GNU C" >&5 1096 1109 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 1097 1110 echo $ac_n "(cached) $ac_c" 1>&6 … … 1102 1115 #endif 1103 1116 EOF 1104 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:11 05: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then1117 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:11: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 1105 1118 ac_cv_prog_gcc=yes 1106 1119 else … … 1118 1131 CFLAGS= 1119 1132 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 1120 echo "configure:11 21: checking whether ${CC-cc} accepts -g" >&51133 echo "configure:11: checking whether ${CC-cc} accepts -g" >&5 1121 1134 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 1122 1135 echo $ac_n "(cached) $ac_c" 1>&6 … … 1148 1161 1149 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1150 1224 echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6 1151 echo "configure:1 152: checking for POSIXized ISC" >&51225 echo "configure:1: checking for POSIXized ISC" >&5 1152 1226 if test -d /etc/conf/kconfig.d && 1153 1227 grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1 … … 1170 1244 1171 1245 echo $ac_n "checking for working const""... $ac_c" 1>&6 1172 echo "configure:1 173: checking for working const" >&51246 echo "configure:1: checking for working const" >&5 1173 1247 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 1174 1248 echo $ac_n "(cached) $ac_c" 1>&6 1175 1249 else 1176 1250 cat > conftest.$ac_ext <<EOF 1177 #line 1 178"configure"1251 #line 1 "configure" 1178 1252 #include "confdefs.h" 1179 1253 … … 1224 1298 ; return 0; } 1225 1299 EOF 1226 if { (eval echo configure:1 227: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1300 if { (eval echo configure:1: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1227 1301 rm -rf conftest* 1228 1302 ac_cv_c_const=yes … … 1245 1319 1246 1320 echo $ac_n "checking for inline""... $ac_c" 1>&6 1247 echo "configure:1 248: checking for inline" >&51321 echo "configure:1: checking for inline" >&5 1248 1322 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then 1249 1323 echo $ac_n "(cached) $ac_c" 1>&6 … … 1252 1326 for ac_kw in inline __inline__ __inline; do 1253 1327 cat > conftest.$ac_ext <<EOF 1254 #line 1 255"configure"1328 #line 1 "configure" 1255 1329 #include "confdefs.h" 1256 1330 … … 1259 1333 ; return 0; } 1260 1334 EOF 1261 if { (eval echo configure:1 262: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1335 if { (eval echo configure:1: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1262 1336 rm -rf conftest* 1263 1337 ac_cv_c_inline=$ac_kw; break … … 1302 1376 # ./install, which can be erroneously created by make from ./install.sh. 1303 1377 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 1304 echo "configure:13 05: checking for a BSD compatible install" >&51378 echo "configure:13: checking for a BSD compatible install" >&5 1305 1379 if test -z "$INSTALL"; then 1306 1380 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then … … 1365 1439 # something. 1366 1440 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 1367 echo "configure:1 368: checking how to run the C preprocessor" >&51441 echo "configure:1: checking how to run the C preprocessor" >&5 1368 1442 # On Suns, sometimes $CPP names a directory. 1369 1443 if test -n "$CPP" && test -d "$CPP"; then … … 1381 1455 cat > conftest.$ac_ext <<EOF 1382 1456 #include <sys/types.h> 1383 #line 1 384"configure"1457 #line 1 "configure" 1384 1458 #include "confdefs.h" 1385 1459 #include <assert.h> … … 1387 1461 EOF 1388 1462 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1389 { (eval echo configure:1 390: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1463 { (eval echo configure:1: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1390 1464 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1391 1465 if test -z "$ac_err"; then … … 1399 1473 cat > conftest.$ac_ext <<EOF 1400 1474 #include <sys/types.h> 1401 #line 14 02"configure"1475 #line 14 "configure" 1402 1476 #include "confdefs.h" 1403 1477 #include <assert.h> … … 1405 1479 EOF 1406 1480 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1407 { (eval echo configure:14 08: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1481 { (eval echo configure:14: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1408 1482 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1409 1483 if test -z "$ac_err"; then … … 1417 1491 cat > conftest.$ac_ext <<EOF 1418 1492 #include <sys/types.h> 1419 #line 14 20"configure"1493 #line 14 "configure" 1420 1494 #include "confdefs.h" 1421 1495 #include <assert.h> … … 1423 1497 EOF 1424 1498 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1425 { (eval echo configure:1 426: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1499 { (eval echo configure:1: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1426 1500 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1427 1501 if test -z "$ac_err"; then … … 1447 1521 echo "$ac_t""$CPP" 1>&6 1448 1522 1449 for ac_hdr in sys/file.h sys/param.h limits.h stdlib.h string.h unistd.h strings.h sys/time.h time.h sys/resource.h sys/stat.h sys/mman.h fcntl.h alloca.h1523 for ac_hdr in sys/file.h sys/param.h limits.h stdlib.h .h 1450 1524 do 1451 1525 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1452 1526 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1453 echo "configure:1 454: checking for $ac_hdr" >&51527 echo "configure:1: checking for $ac_hdr" >&5 1454 1528 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1455 1529 echo $ac_n "(cached) $ac_c" 1>&6 … … 1457 1531 cat > conftest.$ac_ext <<EOF 1458 1532 #include <sys/types.h> 1459 #line 1 460"configure"1533 #line 1 "configure" 1460 1534 #include "confdefs.h" 1461 1535 #include <$ac_hdr> 1462 1536 EOF 1463 1537 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1464 { (eval echo configure:1 465: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1538 { (eval echo configure:1: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1465 1539 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1466 1540 if test -z "$ac_err"; then … … 1489 1563 1490 1564 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 1491 echo "configure:1 492: checking for sys/wait.h that is POSIX.1 compatible" >&51565 echo "configure:1: checking for sys/wait.h that is POSIX.1 compatible" >&5 1492 1566 if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then 1493 1567 echo $ac_n "(cached) $ac_c" 1>&6 1494 1568 else 1495 1569 cat > conftest.$ac_ext <<EOF 1496 #line 1 497"configure"1570 #line 1 "configure" 1497 1571 #include "confdefs.h" 1498 1572 #include <sys/types.h> … … 1510 1584 ; return 0; } 1511 1585 EOF 1512 if { (eval echo configure:15 13: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1586 if { (eval echo configure:15: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1513 1587 rm -rf conftest* 1514 1588 ac_cv_header_sys_wait_h=yes … … 1531 1605 1532 1606 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 1533 echo "configure:1 534: checking whether time.h and sys/time.h may both be included" >&51607 echo "configure:1: checking whether time.h and sys/time.h may both be included" >&5 1534 1608 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then 1535 1609 echo $ac_n "(cached) $ac_c" 1>&6 1536 1610 else 1537 1611 cat > conftest.$ac_ext <<EOF 1538 #line 1 539"configure"1612 #line 1 "configure" 1539 1613 #include "confdefs.h" 1540 1614 #include <sys/types.h> … … 1545 1619 ; return 0; } 1546 1620 EOF 1547 if { (eval echo configure:1 548: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1621 if { (eval echo configure:1: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1548 1622 rm -rf conftest* 1549 1623 ac_cv_header_time=yes … … 1567 1641 1568 1642 echo $ac_n "checking whether errno must be declared""... $ac_c" 1>&6 1569 echo "configure:1 570: checking whether errno must be declared" >&51643 echo "configure:1: checking whether errno must be declared" >&5 1570 1644 if eval "test \"`echo '$''{'libiberty_cv_declare_errno'+set}'`\" = set"; then 1571 1645 echo $ac_n "(cached) $ac_c" 1>&6 1572 1646 else 1573 1647 cat > conftest.$ac_ext <<EOF 1574 #line 1 575"configure"1648 #line 1 "configure" 1575 1649 #include "confdefs.h" 1576 1650 #include <errno.h> … … 1579 1653 ; return 0; } 1580 1654 EOF 1581 if { (eval echo configure:1 582: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then1655 if { (eval echo configure:1: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1582 1656 rm -rf conftest* 1583 1657 libiberty_cv_declare_errno=no … … 1601 1675 1602 1676 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 1603 echo "configure:16 04: checking for ANSI C header files" >&51677 echo "configure:16: checking for ANSI C header files" >&5 1604 1678 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 1605 1679 echo $ac_n "(cached) $ac_c" 1>&6 … … 1607 1681 cat > conftest.$ac_ext <<EOF 1608 1682 #include <sys/types.h> 1609 #line 16 10"configure"1683 #line 16 "configure" 1610 1684 #include "confdefs.h" 1611 1685 #include <stdlib.h> … … 1615 1689 EOF 1616 1690 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1617 { (eval echo configure:16 18: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1691 { (eval echo configure:16: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1618 1692 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1619 1693 if test -z "$ac_err"; then … … 1632 1706 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 1633 1707 cat > conftest.$ac_ext <<EOF 1634 #line 1 635"configure"1708 #line 1 "configure" 1635 1709 #include "confdefs.h" 1636 1710 #include <string.h> … … 1650 1724 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 1651 1725 cat > conftest.$ac_ext <<EOF 1652 #line 1 653"configure"1726 #line 1 "configure" 1653 1727 #include "confdefs.h" 1654 1728 #include <stdlib.h> … … 1671 1745 else 1672 1746 cat > conftest.$ac_ext <<EOF 1673 #line 1 674"configure"1747 #line 1 "configure" 1674 1748 #include "confdefs.h" 1675 1749 #include <ctype.h> … … 1682 1756 1683 1757 EOF 1684 if { (eval echo configure:1 685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null1758 if { (eval echo configure:1: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 1685 1759 then 1686 1760 : … … 1706 1780 1707 1781 echo $ac_n "checking for uintptr_t""... $ac_c" 1>&6 1708 echo "configure:17 09: checking for uintptr_t" >&51782 echo "configure:17: checking for uintptr_t" >&5 1709 1783 if eval "test \"`echo '$''{'ac_cv_type_uintptr_t'+set}'`\" = set"; then 1710 1784 echo $ac_n "(cached) $ac_c" 1>&6 1711 1785 else 1712 1786 cat > conftest.$ac_ext <<EOF 1713 #line 17 14"configure"1787 #line 17 "configure" 1714 1788 #include "confdefs.h" 1715 1789 #include <sys/types.h> … … 1738 1812 fi 1739 1813 1740 1741 if test $ac_cv_type_uintptr_t = yes 1742 then 1814 # Given the above check, we always have uintptr_t or a fallback 1815 # definition. So define HAVE_UINTPTR_T in case any imported code 1816 # relies on it. 1817 cat >> confdefs.h <<\EOF 1818 #define HAVE_UINTPTR_T 1 1819 EOF 1820 1821 1822 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 1823 echo "configure:1824: checking for pid_t" >&5 1824 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then 1825 echo $ac_n "(cached) $ac_c" 1>&6 1826 else 1827 cat > conftest.$ac_ext <<EOF 1828 #line 1829 "configure" 1829 #include "confdefs.h" 1830 #include <sys/types.h> 1831 #if STDC_HEADERS 1832 #include <stdlib.h> 1833 #include <stddef.h> 1834 #endif 1835 EOF 1836 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 1837 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then 1838 rm -rf conftest* 1839 ac_cv_type_pid_t=yes 1840 else 1841 rm -rf conftest* 1842 ac_cv_type_pid_t=no 1843 fi 1844 rm -f conftest* 1845 1846 fi 1847 echo "$ac_t""$ac_cv_type_pid_t" 1>&6 1848 if test $ac_cv_type_pid_t = no; then 1743 1849 cat >> confdefs.h <<\EOF 1744 #define HAVE_UINTPTR_T 1 1745 EOF 1746 1747 fi 1850 #define pid_t int 1851 EOF 1852 1853 fi 1854 1748 1855 1749 1856 # This is the list of functions which libiberty will provide if they … … 1797 1904 1798 1905 checkfuncs="getrusage on_exit psignal strerror strsignal sysconf times sbrk gettimeofday" 1906 1907 1799 1908 1800 1909 # These are neither executed nor required, but they help keep … … 1804 1913 do 1805 1914 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 1806 echo "configure:1 807: checking for $ac_func" >&51915 echo "configure:1: checking for $ac_func" >&5 1807 1916 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 1808 1917 echo $ac_n "(cached) $ac_c" 1>&6 1809 1918 else 1810 1919 cat > conftest.$ac_ext <<EOF 1811 #line 1 812"configure"1920 #line 1 "configure" 1812 1921 #include "confdefs.h" 1813 1922 /* System header to define __stub macros and hopefully few prototypes, … … 1832 1941 ; return 0; } 1833 1942 EOF 1834 if { (eval echo configure:1 835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1943 if { (eval echo configure:1: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1835 1944 rm -rf conftest* 1836 1945 eval "ac_cv_func_$ac_func=yes" … … 1859 1968 do 1860 1969 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 1861 echo "configure:1 862: checking for $ac_func" >&51970 echo "configure:1: checking for $ac_func" >&5 1862 1971 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 1863 1972 echo $ac_n "(cached) $ac_c" 1>&6 1864 1973 else 1865 1974 cat > conftest.$ac_ext <<EOF 1866 #line 1 867"configure"1975 #line 1 "configure" 1867 1976 #include "confdefs.h" 1868 1977 /* System header to define __stub macros and hopefully few prototypes, … … 1887 1996 ; return 0; } 1888 1997 EOF 1889 if { (eval echo configure:1 890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1998 if { (eval echo configure:1: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1890 1999 rm -rf conftest* 1891 2000 eval "ac_cv_func_$ac_func=yes" … … 1914 2023 do 1915 2024 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 1916 echo "configure: 1917: checking for $ac_func" >&52025 echo "configure:: checking for $ac_func" >&5 1917 2026 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 1918 2027 echo $ac_n "(cached) $ac_c" 1>&6 1919 2028 else 1920 2029 cat > conftest.$ac_ext <<EOF 1921 #line 1922"configure"2030 #line "configure" 1922 2031 #include "confdefs.h" 1923 2032 /* System header to define __stub macros and hopefully few prototypes, … … 1942 2051 ; return 0; } 1943 2052 EOF 1944 if { (eval echo configure: 1945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2053 if { (eval echo configure:: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1945 2054 rm -rf conftest* 1946 2055 eval "ac_cv_func_$ac_func=yes" … … 1969 2078 do 1970 2079 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 1971 echo "configure: 1972: checking for $ac_func" >&52080 echo "configure:: checking for $ac_func" >&5 1972 2081 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 1973 2082 echo $ac_n "(cached) $ac_c" 1>&6 1974 2083 else 1975 2084 cat > conftest.$ac_ext <<EOF 1976 #line 1977"configure"2085 #line "configure" 1977 2086 #include "confdefs.h" 1978 2087 /* System header to define __stub macros and hopefully few prototypes, … … 1997 2106 ; return 0; } 1998 2107 EOF 1999 if { (eval echo configure:2 000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2108 if { (eval echo configure:2: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2000 2109 rm -rf conftest* 2001 2110 eval "ac_cv_func_$ac_func=yes" … … 2024 2133 do 2025 2134 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2026 echo "configure:2 027: checking for $ac_func" >&52135 echo "configure:2: checking for $ac_func" >&5 2027 2136 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2028 2137 echo $ac_n "(cached) $ac_c" 1>&6 2029 2138 else 2030 2139 cat > conftest.$ac_ext <<EOF 2031 #line 2 032"configure"2140 #line 2 "configure" 2032 2141 #include "confdefs.h" 2033 2142 /* System header to define __stub macros and hopefully few prototypes, … … 2052 2161 ; return 0; } 2053 2162 EOF 2054 if { (eval echo configure:2 055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2163 if { (eval echo configure:2: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2055 2164 rm -rf conftest* 2056 2165 eval "ac_cv_func_$ac_func=yes" … … 2079 2188 do 2080 2189 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2081 echo "configure:2 082: checking for $ac_func" >&52190 echo "configure:2: checking for $ac_func" >&5 2082 2191 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2083 2192 echo $ac_n "(cached) $ac_c" 1>&6 2084 2193 else 2085 2194 cat > conftest.$ac_ext <<EOF 2086 #line 2 087"configure"2195 #line 2 "configure" 2087 2196 #include "confdefs.h" 2088 2197 /* System header to define __stub macros and hopefully few prototypes, … … 2107 2216 ; return 0; } 2108 2217 EOF 2109 if { (eval echo configure:2 110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2218 if { (eval echo configure:2: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2110 2219 rm -rf conftest* 2111 2220 eval "ac_cv_func_$ac_func=yes" … … 2134 2243 do 2135 2244 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2136 echo "configure:2 137: checking for $ac_func" >&52245 echo "configure:2: checking for $ac_func" >&5 2137 2246 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2138 2247 echo $ac_n "(cached) $ac_c" 1>&6 2139 2248 else 2140 2249 cat > conftest.$ac_ext <<EOF 2141 #line 2 142"configure"2250 #line 2 "configure" 2142 2251 #include "confdefs.h" 2143 2252 /* System header to define __stub macros and hopefully few prototypes, … … 2162 2271 ; return 0; } 2163 2272 EOF 2164 if { (eval echo configure:2 165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2273 if { (eval echo configure:2: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2165 2274 rm -rf conftest* 2166 2275 eval "ac_cv_func_$ac_func=yes" … … 2186 2295 done 2187 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2188 2407 cat >> confdefs.h <<\EOF 2189 2408 #define HAVE_SYS_ERRLIST 1 … … 2206 2425 setobjs= 2207 2426 CHECK= 2427 2208 2428 if test -n "${with_target_subdir}"; then 2209 2429 … … 2246 2466 fi 2247 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2248 2492 else 2249 2493 … … 2252 2496 2253 2497 fi 2498 2254 2499 2255 2500 … … 2366 2611 # tests. This will only work if the compiler works. 2367 2612 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 2368 echo "configure:2 369: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&52613 echo "configure:2: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 2369 2614 2370 2615 ac_ext=c … … 2377 2622 cat > conftest.$ac_ext << EOF 2378 2623 2379 #line 2 380"configure"2624 #line 2 "configure" 2380 2625 #include "confdefs.h" 2381 2626 2382 2627 main(){return(0);} 2383 2628 EOF 2384 if { (eval echo configure:2 385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2629 if { (eval echo configure:2: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2385 2630 ac_cv_prog_cc_works=yes 2386 2631 # If we can't run a trivial program, we are probably using a cross compiler. … … 2408 2653 fi 2409 2654 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 2410 echo "configure:2 411: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&52655 echo "configure:2: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 2411 2656 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 2412 2657 cross_compiling=$ac_cv_prog_cc_cross … … 2415 2660 do 2416 2661 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2417 echo "configure:2 418: checking for $ac_func" >&52662 echo "configure:2: checking for $ac_func" >&5 2418 2663 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2419 2664 echo $ac_n "(cached) $ac_c" 1>&6 2420 2665 else 2421 2666 cat > conftest.$ac_ext <<EOF 2422 #line 2 423"configure"2667 #line 2 "configure" 2423 2668 #include "confdefs.h" 2424 2669 /* System header to define __stub macros and hopefully few prototypes, … … 2443 2688 ; return 0; } 2444 2689 EOF 2445 if { (eval echo configure:2 446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2690 if { (eval echo configure:2: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2446 2691 rm -rf conftest* 2447 2692 eval "ac_cv_func_$ac_func=yes" … … 2470 2715 2471 2716 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 2472 echo "configure:2 473: checking whether alloca needs Cray hooks" >&52717 echo "configure:2: checking whether alloca needs Cray hooks" >&5 2473 2718 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 2474 2719 echo $ac_n "(cached) $ac_c" 1>&6 2475 2720 else 2476 2721 cat > conftest.$ac_ext <<EOF 2477 #line 2 478"configure"2722 #line 2 "configure" 2478 2723 #include "confdefs.h" 2479 2724 #if defined(CRAY) && ! defined(CRAY2) … … 2500 2745 for ac_func in _getb67 GETB67 getb67; do 2501 2746 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2502 echo "configure:2 503: checking for $ac_func" >&52747 echo "configure:2: checking for $ac_func" >&5 2503 2748 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2504 2749 echo $ac_n "(cached) $ac_c" 1>&6 2505 2750 else 2506 2751 cat > conftest.$ac_ext <<EOF 2507 #line 2 508"configure"2752 #line 2 "configure" 2508 2753 #include "confdefs.h" 2509 2754 /* System header to define __stub macros and hopefully few prototypes, … … 2528 2773 ; return 0; } 2529 2774 EOF 2530 if { (eval echo configure:2 531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2775 if { (eval echo configure:2: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2531 2776 rm -rf conftest* 2532 2777 eval "ac_cv_func_$ac_func=yes" … … 2554 2799 2555 2800 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 2556 echo "configure:2 557: checking stack direction for C alloca" >&52801 echo "configure:2: checking stack direction for C alloca" >&5 2557 2802 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 2558 2803 echo $ac_n "(cached) $ac_c" 1>&6 … … 2562 2807 else 2563 2808 cat > conftest.$ac_ext <<EOF 2564 #line 2 565"configure"2809 #line 2 "configure" 2565 2810 #include "confdefs.h" 2566 2811 find_stack_direction () … … 2581 2826 } 2582 2827 EOF 2583 if { (eval echo configure:2 584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null2828 if { (eval echo configure:2: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2584 2829 then 2585 2830 ac_cv_c_stack_direction=1 … … 2601 2846 2602 2847 2603 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 2604 echo "configure:2605: checking for pid_t" >&5 2605 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then 2606 echo $ac_n "(cached) $ac_c" 1>&6 2607 else 2608 cat > conftest.$ac_ext <<EOF 2609 #line 2610 "configure" 2610 #include "confdefs.h" 2611 #include <sys/types.h> 2612 #if STDC_HEADERS 2613 #include <stdlib.h> 2614 #include <stddef.h> 2615 #endif 2616 EOF 2617 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 2618 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then 2619 rm -rf conftest* 2620 ac_cv_type_pid_t=yes 2621 else 2622 rm -rf conftest* 2623 ac_cv_type_pid_t=no 2624 fi 2625 rm -f conftest* 2626 2627 fi 2628 echo "$ac_t""$ac_cv_type_pid_t" 1>&6 2629 if test $ac_cv_type_pid_t = no; then 2630 cat >> confdefs.h <<\EOF 2631 #define pid_t int 2632 EOF 2633 2634 fi 2635 2636 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` 2848 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` 2637 2849 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 2638 echo "configure:2 639: checking for vfork.h" >&52850 echo "configure:2: checking for vfork.h" >&5 2639 2851 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2640 2852 echo $ac_n "(cached) $ac_c" 1>&6 … … 2642 2854 cat > conftest.$ac_ext <<EOF 2643 2855 #include <sys/types.h> 2644 #line 2 645"configure"2856 #line 2 "configure" 2645 2857 #include "confdefs.h" 2646 2858 #include <vfork.h> 2647 2859 EOF 2648 2860 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2649 { (eval echo configure:2 650: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2861 { (eval echo configure:2: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2650 2862 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2651 2863 if test -z "$ac_err"; then … … 2672 2884 2673 2885 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 2674 echo "configure:2 675: checking for working vfork" >&52886 echo "configure:2: checking for working vfork" >&5 2675 2887 if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then 2676 2888 echo $ac_n "(cached) $ac_c" 1>&6 … … 2678 2890 if test "$cross_compiling" = yes; then 2679 2891 echo $ac_n "checking for vfork""... $ac_c" 1>&6 2680 echo "configure:2 681: checking for vfork" >&52892 echo "configure:2: checking for vfork" >&5 2681 2893 if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then 2682 2894 echo $ac_n "(cached) $ac_c" 1>&6 2683 2895 else 2684 2896 cat > conftest.$ac_ext <<EOF 2685 #line 2 686"configure"2897 #line 2 "configure" 2686 2898 #include "confdefs.h" 2687 2899 /* System header to define __stub macros and hopefully few prototypes, … … 2706 2918 ; return 0; } 2707 2919 EOF 2708 if { (eval echo configure:2 709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2920 if { (eval echo configure:2: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2709 2921 rm -rf conftest* 2710 2922 eval "ac_cv_func_vfork=yes" … … 2728 2940 else 2729 2941 cat > conftest.$ac_ext <<EOF 2730 #line 2 731"configure"2942 #line 2 "configure" 2731 2943 #include "confdefs.h" 2732 2944 /* Thanks to Paul Eggert for this test. */ … … 2823 3035 } 2824 3036 EOF 2825 if { (eval echo configure: 2826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3037 if { (eval echo configure:: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2826 3038 then 2827 3039 ac_cv_func_vfork_works=yes … … 2855 3067 do 2856 3068 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2857 echo "configure: 2858: checking for $ac_func" >&53069 echo "configure:: checking for $ac_func" >&5 2858 3070 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2859 3071 echo $ac_n "(cached) $ac_c" 1>&6 2860 3072 else 2861 3073 cat > conftest.$ac_ext <<EOF 2862 #line 2863"configure"3074 #line "configure" 2863 3075 #include "confdefs.h" 2864 3076 /* System header to define __stub macros and hopefully few prototypes, … … 2883 3095 ; return 0; } 2884 3096 EOF 2885 if { (eval echo configure: 2886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3097 if { (eval echo configure:: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2886 3098 rm -rf conftest* 2887 3099 eval "ac_cv_func_$ac_func=yes" … … 2913 3125 do 2914 3126 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2915 echo "configure: 2916: checking for $ac_func" >&53127 echo "configure:: checking for $ac_func" >&5 2916 3128 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2917 3129 echo $ac_n "(cached) $ac_c" 1>&6 2918 3130 else 2919 3131 cat > conftest.$ac_ext <<EOF 2920 #line 2921"configure"3132 #line "configure" 2921 3133 #include "confdefs.h" 2922 3134 /* System header to define __stub macros and hopefully few prototypes, … … 2941 3153 ; return 0; } 2942 3154 EOF 2943 if { (eval echo configure: 2944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3155 if { (eval echo configure:: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2944 3156 rm -rf conftest* 2945 3157 eval "ac_cv_func_$ac_func=yes" … … 2969 3181 for v in $vars; do 2970 3182 echo $ac_n "checking for $v""... $ac_c" 1>&6 2971 echo "configure: 2972: checking for $v" >&53183 echo "configure:: checking for $v" >&5 2972 3184 if eval "test \"`echo '$''{'libiberty_cv_var_$v'+set}'`\" = set"; then 2973 3185 echo $ac_n "(cached) $ac_c" 1>&6 2974 3186 else 2975 3187 cat > conftest.$ac_ext <<EOF 2976 #line 2977"configure"3188 #line "configure" 2977 3189 #include "confdefs.h" 2978 3190 int *p; … … 2981 3193 ; return 0; } 2982 3194 EOF 2983 if { (eval echo configure: 2984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3195 if { (eval echo configure:: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2984 3196 rm -rf conftest* 2985 3197 eval "libiberty_cv_var_$v=yes" … … 3004 3216 fi 3005 3217 done 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3006 3294 for ac_func in $checkfuncs 3007 3295 do 3008 3296 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3009 echo "configure:3 010: checking for $ac_func" >&53297 echo "configure:3: checking for $ac_func" >&5 3010 3298 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3011 3299 echo $ac_n "(cached) $ac_c" 1>&6 3012 3300 else 3013 3301 cat > conftest.$ac_ext <<EOF 3014 #line 3 015"configure"3302 #line 3 "configure" 3015 3303 #include "confdefs.h" 3016 3304 /* System header to define __stub macros and hopefully few prototypes, … … 3035 3323 ; return 0; } 3036 3324 EOF 3037 if { (eval echo configure:3 038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3325 if { (eval echo configure:3: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3038 3326 rm -rf conftest* 3039 3327 eval "ac_cv_func_$ac_func=yes" … … 3065 3353 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3066 3354 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3067 echo "configure:3 068: checking for $ac_hdr" >&53355 echo "configure:3: checking for $ac_hdr" >&5 3068 3356 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3069 3357 echo $ac_n "(cached) $ac_c" 1>&6 … … 3071 3359 cat > conftest.$ac_ext <<EOF 3072 3360 #include <sys/types.h> 3073 #line 3 074"configure"3361 #line 3 "configure" 3074 3362 #include "confdefs.h" 3075 3363 #include <$ac_hdr> 3076 3364 EOF 3077 3365 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3078 { (eval echo configure:3 079: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3366 { (eval echo configure:3: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3079 3367 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3080 3368 if test -z "$ac_err"; then … … 3105 3393 do 3106 3394 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3107 echo "configure:3 108: checking for $ac_func" >&53395 echo "configure:3: checking for $ac_func" >&5 3108 3396 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3109 3397 echo $ac_n "(cached) $ac_c" 1>&6 3110 3398 else 3111 3399 cat > conftest.$ac_ext <<EOF 3112 #line 3 113"configure"3400 #line 3 "configure" 3113 3401 #include "confdefs.h" 3114 3402 /* System header to define __stub macros and hopefully few prototypes, … … 3133 3421 ; return 0; } 3134 3422 EOF 3135 if { (eval echo configure:3 136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3423 if { (eval echo configure:3: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3136 3424 rm -rf conftest* 3137 3425 eval "ac_cv_func_$ac_func=yes" … … 3158 3446 3159 3447 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 3160 echo "configure:3 161: checking for working mmap" >&53448 echo "configure:3: checking for working mmap" >&5 3161 3449 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then 3162 3450 echo $ac_n "(cached) $ac_c" 1>&6 … … 3166 3454 else 3167 3455 cat > conftest.$ac_ext <<EOF 3168 #line 3 169"configure"3456 #line 3 "configure" 3169 3457 #include "confdefs.h" 3170 3458 … … 3306 3594 3307 3595 EOF 3308 if { (eval echo configure:3 309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3596 if { (eval echo configure:3: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3309 3597 then 3310 3598 ac_cv_func_mmap_fixed_mapped=yes … … 3330 3618 3331 3619 echo $ac_n "checking for working strncmp""... $ac_c" 1>&6 3332 echo "configure:3 333: checking for working strncmp" >&53620 echo "configure:3: checking for working strncmp" >&5 3333 3621 if eval "test \"`echo '$''{'ac_cv_func_strncmp_works'+set}'`\" = set"; then 3334 3622 echo $ac_n "(cached) $ac_c" 1>&6 … … 3338 3626 else 3339 3627 cat > conftest.$ac_ext <<EOF 3340 #line 3 341"configure"3628 #line 3 "configure" 3341 3629 #include "confdefs.h" 3342 3630 … … 3402 3690 3403 3691 EOF 3404 if { (eval echo configure:3 405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3692 if { (eval echo configure:3: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3405 3693 then 3406 3694 ac_cv_func_strncmp_works=yes … … 3594 3882 s%@CC@%$CC%g 3595 3883 s%@ac_libiberty_warn_cflags@%$ac_libiberty_warn_cflags%g 3884 3885 3596 3886 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g 3597 3887 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g … … 3601 3891 s%@CPP@%$CPP%g 3602 3892 s%@CHECK@%$CHECK%g 3893 3603 3894 s%@LIBOBJS@%$LIBOBJS%g 3604 3895 s%@INSTALL_DEST@%$INSTALL_DEST%g … … 3819 4110 target=${target} 3820 4111 with_target_subdir=${with_target_subdir} 4112 3821 4113 with_multisubdir=${with_multisubdir} 3822 4114 ac_configure_args="--enable-multilib ${ac_configure_args}" 3823 4115 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} 4116 3824 4117 libiberty_topdir=${libiberty_topdir} 3825 4118 … … 3828 4121 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h 3829 4122 if test -n "$CONFIG_FILES"; then 3830 if test -n "${with_ target_subdir}"; then4123 if test -n "${with_target_subdir}"; then 3831 4124 # FIXME: We shouldn't need to set ac_file 3832 4125 ac_file=Makefile -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/gcc/libiberty/lbasename.c
-
Property cvs2svn:cvs-rev
changed from
1.2to1.3
r1393 r1394 1 1 /* Libiberty basename. Like basename, but is not overridden by the 2 2 system C library. 3 Copyright (C) 2001 Free Software Foundation, Inc.3 Copyright (C) 2001 Free Software Foundation, Inc. 4 4 5 5 This file is part of the libiberty library. … … 54 54 #endif 55 55 56 /* Define IS_DIR_SEPARATOR. VMS uses '::', ':', '[...]' and '<...>' to 57 separate the different components of a file specification. It's a 58 bit of a stretch to call ':', ']' and '>' directory separators, so 59 just define the test to find the file name component. */ 60 #ifdef VMS 61 # define IS_DIR_SEPARATOR(ch) ((ch) == ':' || (ch) == ']' || (ch) == '>') 56 #ifndef DIR_SEPARATOR_2 57 # define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR) 62 58 #else 63 # ifndef DIR_SEPARATOR_2 64 # define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR) 65 # else 66 # define IS_DIR_SEPARATOR(ch) \ 59 # define IS_DIR_SEPARATOR(ch) \ 67 60 (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2)) 68 # endif69 61 #endif 70 62 -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.
