Changeset 2082
- Timestamp:
- 03/12/08 10:52:02 (2 months ago)
- Files:
-
- swish-e/tags/rel-2.4.6/Makefile.in (modified) (1 diff)
- swish-e/tags/rel-2.4.6/aclocal.m4 (modified) (7 diffs)
- swish-e/tags/rel-2.4.6/conf/Makefile.in (modified) (1 diff)
- swish-e/tags/rel-2.4.6/config/config.guess (modified) (50 diffs)
- swish-e/tags/rel-2.4.6/config/config.sub (modified) (39 diffs)
- swish-e/tags/rel-2.4.6/config/ltmain.sh (modified) (27 diffs)
- swish-e/tags/rel-2.4.6/configure (modified) (43 diffs)
- swish-e/tags/rel-2.4.6/configure.in (modified) (1 diff)
- swish-e/tags/rel-2.4.6/example/Makefile.in (modified) (1 diff)
- swish-e/tags/rel-2.4.6/filter-bin/Makefile.in (modified) (1 diff)
- swish-e/tags/rel-2.4.6/filters/Makefile.in (modified) (1 diff)
- swish-e/tags/rel-2.4.6/filters/SWISH/Makefile.in (modified) (1 diff)
- swish-e/tags/rel-2.4.6/html/Makefile.in (modified) (1 diff)
- swish-e/tags/rel-2.4.6/man/Makefile.in (modified) (1 diff)
- swish-e/tags/rel-2.4.6/pod/Makefile.in (modified) (1 diff)
- swish-e/tags/rel-2.4.6/prog-bin/Makefile.in (modified) (1 diff)
- swish-e/tags/rel-2.4.6/src/Makefile.in (modified) (1 diff)
- swish-e/tags/rel-2.4.6/src/expat/Makefile.in (modified) (1 diff)
- swish-e/tags/rel-2.4.6/src/replace/Makefile.in (modified) (3 diffs)
- swish-e/tags/rel-2.4.6/src/replace/setenv.c (added)
- swish-e/tags/rel-2.4.6/src/replace/setenv.h (added)
- swish-e/tags/rel-2.4.6/src/snowball/Makefile.in (modified) (1 diff)
- swish-e/tags/rel-2.4.6/src/swish.h (modified) (1 diff)
- swish-e/tags/rel-2.4.6/tests/Makefile.in (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
swish-e/tags/rel-2.4.6/Makefile.in
r2051 r2082 163 163 POD2MAN = @POD2MAN@ 164 164 RANLIB = @RANLIB@ 165 SED = @SED@166 165 SET_MAKE = @SET_MAKE@ 167 166 SHELL = @SHELL@ swish-e/tags/rel-2.4.6/aclocal.m4
r2051 r2082 1579 1579 hardcode_into_libs=yes 1580 1580 1581 # find out which ABI we are using1582 libsuff=1583 case "$host_cpu" in1584 x86_64*|s390x*|powerpc64*)1585 echo '[#]line __oline__ "configure"' > conftest.$ac_ext1586 if AC_TRY_EVAL(ac_compile); then1587 case `/usr/bin/file conftest.$ac_objext` in1588 *64-bit*)1589 libsuff=641590 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"1591 ;;1592 esac1593 fi1594 rm -rf conftest*1595 ;;1596 esac1597 1598 1581 # Append ld.so.conf contents to the search path 1599 1582 if test -f /etc/ld.so.conf; then 1600 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`1601 sys_lib_dlsearch_path_spec="/lib ${libsuff} /usr/lib${libsuff}$lt_ld_extra"1583 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` 1584 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 1602 1585 fi 1603 1586 … … 4306 4289 with_gcc=$_LT_AC_TAGVAR(GCC, $1) 4307 4290 4308 gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`4309 gcc_ver=\`gcc -dumpversion\`4310 4311 4291 # An ERE matcher. 4312 4292 EGREP=$lt_EGREP … … 4442 4422 # Dependencies to place before the objects being linked to create a 4443 4423 # shared library. 4444 predep_objects= \`echo $lt_[]_LT_AC_TAGVAR(predep_objects, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`4424 predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1) 4445 4425 4446 4426 # Dependencies to place after the objects being linked to create a 4447 4427 # shared library. 4448 postdep_objects= \`echo $lt_[]_LT_AC_TAGVAR(postdep_objects, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`4428 postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1) 4449 4429 4450 4430 # Dependencies to place before the objects being linked to create a … … 4458 4438 # The library search path used internally by the compiler when linking 4459 4439 # a shared library. 4460 compiler_lib_search_path= \`echo $lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`4440 compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) 4461 4441 4462 4442 # Method to check whether dependent libraries are shared objects. … … 4538 4518 4539 4519 # Compile-time system search path for libraries 4540 sys_lib_search_path_spec= \`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`4520 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 4541 4521 4542 4522 # Run-time system search path for libraries … … 6374 6354 done 6375 6355 done 6376 IFS=$as_save_IFS6377 6356 lt_ac_max=0 6378 6357 lt_ac_count=0 … … 6407 6386 ]) 6408 6387 SED=$lt_cv_path_SED 6409 AC_SUBST([SED])6410 6388 AC_MSG_RESULT([$SED]) 6411 6389 ]) swish-e/tags/rel-2.4.6/conf/Makefile.in
r2051 r2082 131 131 POD2MAN = @POD2MAN@ 132 132 RANLIB = @RANLIB@ 133 SED = @SED@134 133 SET_MAKE = @SET_MAKE@ 135 134 SHELL = @SHELL@ swish-e/tags/rel-2.4.6/config/config.guess
r2051 r2082 2 2 # Attempt to guess a canonical system name. 3 3 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 4 # 2000, 2001, 2002, 2003 Free Software Foundation, Inc.5 6 timestamp='200 3-06-17'4 # 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 5 6 timestamp='2005-07-08' 7 7 8 8 # This file is free software; you can redistribute it and/or modify it … … 18 18 # You should have received a copy of the GNU General Public License 19 19 # along with this program; if not, write to the Free Software 20 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 20 # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 21 # 02110-1301, USA. 21 22 # 22 23 # As a special exception to the GNU General Public License, if you … … 24 25 # configuration script generated by Autoconf, you may include it under 25 26 # the same distribution terms that you use for the rest of that program. 27 26 28 27 29 # Originally written by Per Bothner <per@bothner.com>. … … 54 56 55 57 Originally written by Per Bothner. 56 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 58 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 57 59 Free Software Foundation, Inc. 58 60 … … 67 69 case $1 in 68 70 --time-stamp | --time* | -t ) 69 echo "$timestamp" ; exit 0;;71 echo "$timestamp" ; exit ;; 70 72 --version | -v ) 71 echo "$version" ; exit 0;;73 echo "$version" ; exit ;; 72 74 --help | --h* | -h ) 73 echo "$usage"; exit 0;;75 echo "$usage"; exit ;; 74 76 -- ) # Stop option processing 75 77 shift; break ;; … … 124 126 ,,*) CC_FOR_BUILD=$CC ;; 125 127 ,*,*) CC_FOR_BUILD=$HOST_CC ;; 126 esac ; '128 esac ; set_cc_for_build= ;' 127 129 128 130 # This is needed to find uname on a Pyramid OSx when run in the BSD universe. … … 137 139 UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown 138 140 139 ## for Red Hat Linux 140 if test -f /etc/redhat-release ; then 141 VENDOR=redhat ; 142 else 143 VENDOR= ; 144 fi 141 case "${UNAME_MACHINE}" in 142 i?86) 143 test -z "$VENDOR" && VENDOR=pc 144 ;; 145 *) 146 test -z "$VENDOR" && VENDOR=unknown 147 ;; 148 esac 149 test -f /etc/SuSE-release -o -f /.buildenv && VENDOR=suse 145 150 146 151 # Note: order is significant - the case branches are not exclusive. … … 204 209 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. 205 210 echo "${machine}-${os}${release}" 206 exit 0 ;; 207 amiga:OpenBSD:*:*) 208 echo m68k-unknown-openbsd${UNAME_RELEASE} 209 exit 0 ;; 210 arc:OpenBSD:*:*) 211 echo mipsel-unknown-openbsd${UNAME_RELEASE} 212 exit 0 ;; 213 hp300:OpenBSD:*:*) 214 echo m68k-unknown-openbsd${UNAME_RELEASE} 215 exit 0 ;; 216 mac68k:OpenBSD:*:*) 217 echo m68k-unknown-openbsd${UNAME_RELEASE} 218 exit 0 ;; 219 macppc:OpenBSD:*:*) 220 echo powerpc-unknown-openbsd${UNAME_RELEASE} 221 exit 0 ;; 222 mvme68k:OpenBSD:*:*) 223 echo m68k-unknown-openbsd${UNAME_RELEASE} 224 exit 0 ;; 225 mvme88k:OpenBSD:*:*) 226 echo m88k-unknown-openbsd${UNAME_RELEASE} 227 exit 0 ;; 228 mvmeppc:OpenBSD:*:*) 229 echo powerpc-unknown-openbsd${UNAME_RELEASE} 230 exit 0 ;; 231 pmax:OpenBSD:*:*) 232 echo mipsel-unknown-openbsd${UNAME_RELEASE} 233 exit 0 ;; 234 sgi:OpenBSD:*:*) 235 echo mipseb-unknown-openbsd${UNAME_RELEASE} 236 exit 0 ;; 237 sun3:OpenBSD:*:*) 238 echo m68k-unknown-openbsd${UNAME_RELEASE} 239 exit 0 ;; 240 wgrisc:OpenBSD:*:*) 241 echo mipsel-unknown-openbsd${UNAME_RELEASE} 242 exit 0 ;; 211 exit ;; 243 212 *:OpenBSD:*:*) 244 echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE} 245 exit 0 ;; 213 UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` 214 echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} 215 exit ;; 216 *:ekkoBSD:*:*) 217 echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} 218 exit ;; 219 macppc:MirBSD:*:*) 220 echo powerppc-unknown-mirbsd${UNAME_RELEASE} 221 exit ;; 222 *:MirBSD:*:*) 223 echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} 224 exit ;; 246 225 alpha:OSF1:*:*) 247 if test $UNAME_RELEASE = "V4.0"; then 226 case $UNAME_RELEASE in 227 *4.0) 248 228 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` 249 fi 229 ;; 230 *5.*) 231 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` 232 ;; 233 esac 250 234 # According to Compaq, /usr/sbin/psrinfo has been available on 251 235 # OSF/1 and Tru64 systems produced since 1995. I hope that … … 285 269 UNAME_MACHINE="alphaev79" ;; 286 270 esac 271 # A Pn.n version is a patched version. 287 272 # A Vn.n version is a released version. 288 273 # A Tn.n version is a released field test version. 289 274 # A Xn.n version is an unreleased experimental baselevel. 290 275 # 1.2 uses "1.2" for uname -r. 291 echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` 292 exit 0 ;; 293 Alpha*:OpenVMS:*:*) 294 echo alpha-hp-vms 295 exit 0 ;; 276 echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` 277 exit ;; 296 278 Alpha\ *:Windows_NT*:*) 297 279 # How do we know it's Interix rather than the generic POSIX subsystem? … … 299 281 # of the specific Alpha model? 300 282 echo alpha-pc-interix 301 exit 0;;283 exit ;; 302 284 21064:Windows_NT:50:3) 303 285 echo alpha-dec-winnt3.5 304 exit 0;;286 exit ;; 305 287 Amiga*:UNIX_System_V:4.0:*) 306 288 echo m68k-unknown-sysv4 307 exit 0;;289 exit ;; 308 290 *:[Aa]miga[Oo][Ss]:*:*) 309 291 echo ${UNAME_MACHINE}-unknown-amigaos 310 exit 0;;292 exit ;; 311 293 *:[Mm]orph[Oo][Ss]:*:*) 312 294 echo ${UNAME_MACHINE}-unknown-morphos 313 exit 0;;295 exit ;; 314 296 *:OS/390:*:*) 315 297 echo i370-ibm-openedition 316 exit 0 ;; 298 exit ;; 299 *:z/VM:*:*) 300 echo s390-ibm-zvmoe 301 exit ;; 302 *:OS400:*:*) 303 echo powerpc-ibm-os400 304 exit ;; 317 305 arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) 318 306 echo arm-acorn-riscix${UNAME_RELEASE} 319 exit 0;; 307 exit ;; 308 arm:riscos:*:*|arm:RISCOS:*:*) 309 echo arm-unknown-riscos 310 exit ;; 320 311 SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) 321 312 echo hppa1.1-hitachi-hiuxmpp 322 exit 0;;313 exit ;; 323 314 Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) 324 315 # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. … … 328 319 echo pyramid-pyramid-bsd 329 320 fi 330 exit 0;;321 exit ;; 331 322 NILE*:*:*:dcosx) 332 323 echo pyramid-pyramid-svr4 333 exit 0;;324 exit ;; 334 325 DRS?6000:unix:4.0:6*) 335 326 echo sparc-icl-nx6 336 exit 0;;337 DRS?6000:UNIX_SV:4.2*:7* )327 exit ;; 328 DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) 338 329 case `/usr/bin/uname -p` in 339 sparc) echo sparc-icl-nx7 && exit 0;;330 sparc) echo sparc-icl-nx7; exit ;; 340 331 esac ;; 341 332 sun4H:SunOS:5.*:*) 342 333 echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 343 exit 0;;334 exit ;; 344 335 sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) 345 336 echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 346 exit 0;;337 exit ;; 347 338 i86pc:SunOS:5.*:*) 348 339 echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 349 exit 0;;340 exit ;; 350 341 sun4*:SunOS:6*:*) 351 342 # According to config.sub, this is the proper way to canonicalize … … 353 344 # it's likely to be more like Solaris than SunOS4. 354 345 echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 355 exit 0;;346 exit ;; 356 347 sun4*:SunOS:*:*) 357 348 case "`/usr/bin/arch -k`" in … … 362 353 # Japanese Language versions have a version number like `4.1.3-JL'. 363 354 echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` 364 exit 0;;355 exit ;; 365 356 sun3*:SunOS:*:*) 366 357 echo m68k-sun-sunos${UNAME_RELEASE} 367 exit 0;;358 exit ;; 368 359 sun*:*:4.2BSD:*) 369 360 UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` … … 377 368 ;; 378 369 esac 379 exit 0;;370 exit ;; 380 371 aushp:SunOS:*:*) 381 372 echo sparc-auspex-sunos${UNAME_RELEASE} 382 exit 0;;373 exit ;; 383 374 # The situation for MiNT is a little confusing. The machine name 384 375 # can be virtually everything (everything which is not … … 391 382 atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) 392 383 echo m68k-atari-mint${UNAME_RELEASE} 393 exit 0;;384 exit ;; 394 385 atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) 395 386 echo m68k-atari-mint${UNAME_RELEASE} 396 exit 0;;387 exit ;; 397 388 *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) 398 389 echo m68k-atari-mint${UNAME_RELEASE} 399 exit 0;;390 exit ;; 400 391 milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) 401 392 echo m68k-milan-mint${UNAME_RELEASE} 402 exit 0;;393 exit ;; 403 394 hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) 404 395 echo m68k-hades-mint${UNAME_RELEASE} 405 exit 0;;396 exit ;; 406 397 *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) 407 398 echo m68k-unknown-mint${UNAME_RELEASE} 408 exit 0 ;; 399 exit ;; 400 m68k:machten:*:*) 401 echo m68k-apple-machten${UNAME_RELEASE} 402 exit ;; 409 403 powerpc:machten:*:*) 410 404 echo powerpc-apple-machten${UNAME_RELEASE} 411 exit 0;;405 exit ;; 412 406 RISC*:Mach:*:*) 413 407 echo mips-dec-mach_bsd4.3 414 exit 0;;408 exit ;; 415 409 RISC*:ULTRIX:*:*) 416 410 echo mips-dec-ultrix${UNAME_RELEASE} 417 exit 0;;411 exit ;; 418 412 VAX*:ULTRIX*:*:*) 419 413 echo vax-dec-ultrix${UNAME_RELEASE} 420 exit 0;;414 exit ;; 421 415 2020:CLIX:*:* | 2430:CLIX:*:*) 422 416 echo clipper-intergraph-clix${UNAME_RELEASE} 423 exit 0;;417 exit ;; 424 418 mips:*:*:UMIPS | mips:*:*:RISCos) 425 419 eval $set_cc_for_build … … 445 439 } 446 440 EOF 447 $CC_FOR_BUILD -o $dummy $dummy.c \ 448 && $dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \ 449 && exit 0 441 $CC_FOR_BUILD -o $dummy $dummy.c && 442 dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` && 443 SYSTEM_NAME=`$dummy $dummyarg` && 444 { echo "$SYSTEM_NAME"; exit; } 450 445 echo mips-mips-riscos${UNAME_RELEASE} 451 exit 0;;446 exit ;; 452 447 Motorola:PowerMAX_OS:*:*) 453 448 echo powerpc-motorola-powermax 454 exit 0;;449 exit ;; 455 450 Motorola:*:4.3:PL8-*) 456 451 echo powerpc-harris-powermax 457 exit 0;;452 exit ;; 458 453 Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) 459 454 echo powerpc-harris-powermax 460 exit 0;;455 exit ;; 461 456 Night_Hawk:Power_UNIX:*:*) 462 457 echo powerpc-harris-powerunix 463 exit 0;;458 exit ;; 464 459 m88k:CX/UX:7*:*) 465 460 echo m88k-harris-cxux7 466 exit 0;;461 exit ;; 467 462 m88k:*:4*:R4*) 468 463 echo m88k-motorola-sysv4 469 exit 0;;464 exit ;; 470 465 m88k:*:3*:R3*) 471 466 echo m88k-motorola-sysv3 472 exit 0;;467 exit ;; 473 468 AViiON:dgux:*:*) 474 469 # DG/UX returns AViiON for all architectures … … 486 481 echo i586-dg-dgux${UNAME_RELEASE} 487 482 fi 488 exit 0;;483 exit ;; 489 484 M88*:DolphinOS:*:*) # DolphinOS (SVR3) 490 485 echo m88k-dolphin-sysv3 491 exit 0;;486 exit ;; 492 487 M88*:*:R3*:*) 493 488 # Delta 88k system running SVR3 494 489 echo m88k-motorola-sysv3 495 exit 0;;490 exit ;; 496 491 XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) 497 492 echo m88k-tektronix-sysv3 498 exit 0;;493 exit ;; 499 494 Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) 500 495 echo m68k-tektronix-bsd 501 exit 0;;496 exit ;; 502 497 *:IRIX*:*:*) 503 498 echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` 504 exit 0;;499 exit ;; 505 500 ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. 506 echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id507 exit 0 ;;# Note that: echo "'`uname -s`'" gives 'AIX '501 echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id 502 exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' 508 503 i*86:AIX:*:*) 509 504 echo i386-ibm-aix 510 exit 0;;505 exit ;; 511 506 ia64:AIX:*:*) 512 507 if [ -x /usr/bin/oslevel ] ; then … … 516 511 fi 517 512 echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} 518 exit 0;;513 exit ;; 519 514 *:AIX:2:3) 520 515 if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then … … 531 526 } 532 527 EOF 533 $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0 534 echo rs6000-ibm-aix3.2.5 528 if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` 529 then 530 echo "$SYSTEM_NAME" 531 else 532 echo rs6000-ibm-aix3.2.5 533 fi 535 534 elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then 536 535 echo rs6000-ibm-aix3.2.4 … … 538 537 echo rs6000-ibm-aix3.2 539 538 fi 540 exit 0;;539 exit ;; 541 540 *:AIX:*:[45]) 542 541 IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` … … 552 551 fi 553 552 echo ${IBM_ARCH}-ibm-aix${IBM_REV} 554 exit 0;;553 exit ;; 555 554 *:AIX:*:*) 556 555 echo rs6000-ibm-aix 557 exit 0;;556 exit ;; 558 557 ibmrt:4.4BSD:*|romp-ibm:BSD:*) 559 558 echo romp-ibm-bsd4.4 560 exit 0;;559 exit ;; 561 560 ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and 562 561 echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to 563 exit 0 ;;# report: romp-ibm BSD 4.3562 exit ;; # report: romp-ibm BSD 4.3 564 563 *:BOSX:*:*) 565 564 echo rs6000-bull-bosx 566 exit 0;;565 exit ;; 567 566 DPX/2?00:B.O.S.:*:*) 568 567 echo m68k-bull-sysv3 569 exit 0;;568 exit ;; 570 569 9000/[34]??:4.3bsd:1.*:*) 571 570 echo m68k-hp-bsd 572 exit 0;;571 exit ;; 573 572 hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) 574 573 echo m68k-hp-bsd4.4 575 exit 0;;574 exit ;; 576 575 9000/[34678]??:HP-UX:*:*) 577 576 HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` … … 635 634 if [ ${HP_ARCH} = "hppa2.0w" ] 636 635 then 637 # avoid double evaluation of $set_cc_for_build 638 test -n "$CC_FOR_BUILD" || eval $set_cc_for_build 639 if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E -) | grep __LP64__ >/dev/null 636 eval $set_cc_for_build 637 638 # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating 639 # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler 640 # generating 64-bit code. GNU and HP use different nomenclature: 641 # 642 # $ CC_FOR_BUILD=cc ./config.guess 643 # => hppa2.0w-hp-hpux11.23 644 # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess 645 # => hppa64-hp-hpux11.23 646 647 if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | 648 grep __LP64__ >/dev/null 640 649 then 641 650 HP_ARCH="hppa2.0w" … … 645 654 fi 646 655 echo ${HP_ARCH}-hp-hpux${HPUX_REV} 647 exit 0;;656 exit ;; 648 657 ia64:HP-UX:*:*) 649 658 HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` 650 659 echo ia64-hp-hpux${HPUX_REV} 651 exit 0;;660 exit ;; 652 661 3050*:HI-UX:*:*) 653 662 eval $set_cc_for_build … … 677 686 } 678 687 EOF 679 $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0 688 $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && 689 { echo "$SYSTEM_NAME"; exit; } 680 690 echo unknown-hitachi-hiuxwe2 681 exit 0;;691 exit ;; 682 692 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) 683 693 echo hppa1.1-hp-bsd 684 exit 0;;694 exit ;; 685 695 9000/8??:4.3bsd:*:*) 686 696 echo hppa1.0-hp-bsd 687 exit 0;;697 exit ;; 688 698 *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) 689 699 echo hppa1.0-hp-mpeix 690 exit 0;;700 exit ;; 691 701 hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) 692 702 echo hppa1.1-hp-osf 693 exit 0;;703 exit ;; 694 704 hp8??:OSF1:*:*) 695 705 echo hppa1.0-hp-osf 696 exit 0;;706 exit ;; 697 707 i*86:OSF1:*:*) 698 708 if [ -x /usr/sbin/sysversion ] ; then … … 701 711 echo ${UNAME_MACHINE}-unknown-osf1 702 712 fi 703 exit 0;;713 exit ;; 704 714 parisc*:Lites*:*:*) 705 715 echo hppa1.1-hp-lites 706 exit 0;;716 exit ;; 707 717 C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) 708 718 echo c1-convex-bsd 709 exit 0;;719 exit ;; 710 720 C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) 711 721 if getsysinfo -f scalar_acc … … 713 723 else echo c2-convex-bsd 714 724 fi 715 exit 0;;725 exit ;; 716 726 C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) 717 727 echo c34-convex-bsd 718 exit 0;;728 exit ;; 719 729 C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) 720 730 echo c38-convex-bsd 721 exit 0;;731 exit ;; 722 732 C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) 723 733 echo c4-convex-bsd 724 exit 0;;734 exit ;; 725 735 CRAY*Y-MP:*:*:*) 726 736 echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' 727 exit 0;;737 exit ;; 728 738 CRAY*[A-Z]90:*:*:*) 729 739 echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ … … 731 741 -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ 732 742 -e 's/\.[^.]*$/.X/' 733 exit 0;;743 exit ;; 734 744 CRAY*TS:*:*:*) 735 745 echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' 736 exit 0;;746 exit ;; 737 747 CRAY*T3E:*:*:*) 738 748 echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' 739 exit 0;;749 exit ;; 740 750 CRAY*SV1:*:*:*) 741 751 echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' 742 exit 0;;752 exit ;; 743 753 *:UNICOS/mp:*:*) 744 echo nv1-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'745 exit 0;;754 echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' 755 exit ;; 746 756 F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) 747 757 FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` … … 749 759 FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` 750 760 echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" 751 exit 0 ;; 761 exit ;; 762 5000:UNIX_System_V:4.*:*) 763 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` 764 FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` 765 echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" 766 exit ;; 752 767 i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) 753 768 echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} 754 exit 0;;769 exit ;; 755 770 sparc*:BSD/OS:*:*) 756 771 echo sparc-unknown-bsdi${UNAME_RELEASE} 757 exit 0;;772 exit ;; 758 773 *:BSD/OS:*:*) 759 774 echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} 760 exit 0 ;; 761 *:FreeBSD:*:*|*:GNU/FreeBSD:*:*) 762 # Determine whether the default compiler uses glibc. 763 eval $set_cc_for_build 764 sed 's/^ //' << EOF >$dummy.c 765 #include <features.h> 766 #if __GLIBC__ >= 2 767 LIBC=gnu 768 #else 769 LIBC= 770 #endif 771 EOF 772 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` 773 echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC} 774 exit 0 ;; 775 exit ;; 776 *:FreeBSD:*:*) 777 echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` 778 exit ;; 775 779 i*:CYGWIN*:*) 776 780 echo ${UNAME_MACHINE}-pc-cygwin 777 exit 0;;781 exit ;; 778 782 i*:MINGW*:*) 779 783 echo ${UNAME_MACHINE}-pc-mingw32 780 exit 0 ;; 784 exit ;; 785 i*:windows32*:*) 786 # uname -m includes "-pc" on this system. 787 echo ${UNAME_MACHINE}-mingw32 788 exit ;; 781 789 i*:PW*:*) 782 790 echo ${UNAME_MACHINE}-pc-pw32 783 exit 0;;791 exit ;; 784 792 x86:Interix*:[34]*) 785 793 echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//' 786 exit 0;;794 exit ;; 787 795 [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) 788 796 echo i${UNAME_MACHINE}-pc-mks 789 exit 0;;797 exit ;; 790 798 i*:Windows_NT*:* | Pentium*:Windows_NT*:*) 791 799 # How do we know it's Interix rather than the generic POSIX subsystem? … … 793 801 # UNAME_MACHINE based on the output of uname instead of i386? 794 802 echo i586-pc-interix 795 exit 0;;803 exit ;; 796 804 i*:UWIN*:*) 797 805 echo ${UNAME_MACHINE}-pc-uwin 798 exit 0 ;; 806 exit ;; 807 amd64:CYGWIN*:*:*) 808 echo x86_64-unknown-cygwin 809 exit ;; 799 810 p*:CYGWIN*:*) 800 811 echo powerpcle-unknown-cygwin 801 exit 0;;812 exit ;; 802 813 prep*:SunOS:5.*:*) 803 814 echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 804 exit 0;;815 exit ;; 805 816 *:GNU:*:*) 817 # the GNU system 806 818 echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` 807 exit 0 ;; 819 exit ;; 820 *:GNU/*:*:*) 821 # other systems with GNU libc and userland 822 echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu 823 exit ;; 808 824 i*86:Minix:*:*) 809 825 echo ${UNAME_MACHINE}-pc-minix 810 exit 0;;826 exit ;; 811 827 arm*:Linux:*:*) 812 echo ${UNAME_MACHINE}- unknown-linux-gnu813 exit 0;;828 echo ${UNAME_MACHINE}-${VENDOR}-linux 829 exit ;; 814 830 cris:Linux:*:*) 815 echo cris-axis-linux-gnu 816 exit 0 ;; 831 echo cris-axis-linux 832 exit ;; 833 crisv32:Linux:*:*) 834 echo crisv32-axis-linux 835 exit ;; 836 frv:Linux:*:*) 837 echo frv-${VENDOR}-linux 838 exit ;; 817 839 ia64:Linux:*:*) 818 echo ${UNAME_MACHINE}-${VENDOR:-unknown}-linux-gnu 819 exit 0 ;; 840 echo ${UNAME_MACHINE}-${VENDOR}-linux 841 exit ;; 842 m32r*:Linux:*:*) 843 echo ${UNAME_MACHINE}-${VENDOR}-linux 844 exit ;; 820 845 m68*:Linux:*:*) 821 echo ${UNAME_MACHINE}- unknown-linux-gnu822 exit 0;;846 echo ${UNAME_MACHINE}-${VENDOR}-linux 847 exit ;; 823 848 mips:Linux:*:*) 824 849 eval $set_cc_for_build … … 838 863 EOF 839 864 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` 840 test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0865 test x"${CPU}" != x && { echo "${CPU}-${VENDOR}-linux"; exit; } 841 866 ;; 842 867 mips64:Linux:*:*) … … 857 882 EOF 858 883 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` 859 test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0884 test x"${CPU}" != x && { echo "${CPU}-${VENDOR}-linux"; exit; } 860 885 ;; 861 886 ppc:Linux:*:*) 862 echo powerpc-${VENDOR :-unknown}-linux-gnu863 exit 0;;887 echo powerpc-${VENDOR}-linux 888 exit ;; 864 889 ppc64:Linux:*:*) 865 echo powerpc64-${VENDOR :-unknown}-linux-gnu866 exit 0;;890 echo powerpc64-${VENDOR}-linux 891 exit ;; 867 892 alpha:Linux:*:*) 868 893 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in … … 877 902 objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null 878 903 if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi 879 echo ${UNAME_MACHINE}- unknown-linux-gnu${LIBC}880 exit 0;;904 echo ${UNAME_MACHINE}-${VENDOR}-linux${LIBC} 905 exit ;; 881 906 parisc:Linux:*:* | hppa:Linux:*:*) 882 907 # Look for CPU level 883 908 case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in 884 PA7*) echo hppa1.1- unknown-linux-gnu;;885 PA8*) echo hppa2.0- unknown-linux-gnu;;886 *) echo hppa- unknown-linux-gnu;;909 PA7*) echo hppa1.1-${VENDOR}-linux ;; 910 PA8*) echo hppa2.0-${VENDOR}-linux ;; 911 *) echo hppa-${VENDOR}-linux ;; 887 912 esac 888 exit 0;;913 exit ;; 889 914 parisc64:Linux:*:* | hppa64:Linux:*:*) 890 echo hppa64- unknown-linux-gnu891 exit 0;;915 echo hppa64-${VENDOR}-linux 916 exit ;; 892 917 s390:Linux:*:* | s390x:Linux:*:*) 893 echo ${UNAME_MACHINE}- ${VENDOR:-ibm}-linux-gnu894 exit 0;;918 echo ${UNAME_MACHINE}-ibm-linux 919 exit ;; 895 920 sh64*:Linux:*:*) 896 echo ${UNAME_MACHINE}- unknown-linux-gnu897 exit 0;;921 echo ${UNAME_MACHINE}-${VENDOR}-linux 922 exit ;; 898 923 sh*:Linux:*:*) 899 echo ${UNAME_MACHINE}- unknown-linux-gnu900 exit 0;;924 echo ${UNAME_MACHINE}-${VENDOR}-linux 925 exit ;; 901 926 sparc:Linux:*:* | sparc64:Linux:*:*) 902 echo ${UNAME_MACHINE}- unknown-linux-gnu903 exit 0;;927 echo ${UNAME_MACHINE}-${VENDOR}-linux 928 exit ;; 904 929 x86_64:Linux:*:*) 905 echo x86_64-${VENDOR :-unknown}-linux-gnu906 exit 0;;930 echo x86_64-${VENDOR}-linux 931 exit ;; 907 932 i*86:Linux:*:*) 908 933 # The BFD linker knows what the default object file format is, so … … 918 943 case "$ld_supported_targets" in 919 944 elf32-i386) 920 TENTATIVE="${UNAME_MACHINE}- pc-linux-gnu"945 TENTATIVE="${UNAME_MACHINE}-${VENDOR}-linux" 921 946 ;; 922 947 a.out-i386-linux) 923 echo "${UNAME_MACHINE}- pc-linux-gnuaout"924 exit 0;;948 echo "${UNAME_MACHINE}-${VENDOR}-linuxaout" 949 exit ;; 925 950 coff-i386) 926 echo "${UNAME_MACHINE}- pc-linux-gnucoff"927 exit 0;;951 echo "${UNAME_MACHINE}-${VENDOR}-linuxcoff" 952 exit ;; 928 953 "") 929 # Either a pre-BFD a.out linker (linux -gnuoldld) or&
