Mercurial > emacs
comparison configure.in @ 109206:922942081399
Merge from mainline.
author | Katsumi Yamaoka <katsumi@flagship2> |
---|---|
date | Fri, 28 May 2010 11:27:13 +0000 |
parents | cedf7619d7c8 |
children | 0e4f9a46ab2b |
comparison
equal
deleted
inserted
replaced
109205:f6714012e3cb | 109206:922942081399 |
---|---|
367 ### If you add support for a new configuration, add code to this | 367 ### If you add support for a new configuration, add code to this |
368 ### switch statement to recognize your configuration name and select | 368 ### switch statement to recognize your configuration name and select |
369 ### the appropriate operating system and machine description files. | 369 ### the appropriate operating system and machine description files. |
370 | 370 |
371 ### You would hope that you could choose an m/*.h file pretty much | 371 ### You would hope that you could choose an m/*.h file pretty much |
372 ### based on the machine portion of the configuration name, and an s- | 372 ### based on the machine portion of the configuration name, and an s/*.h |
373 ### file based on the operating system portion. However, it turns out | 373 ### file based on the operating system portion. However, it turns out |
374 ### that each m/*.h file is pretty manufacturer-specific - for | 374 ### that each m/*.h file is pretty manufacturer-specific - for |
375 ### example mips.h is MIPS | 375 ### example mips.h is MIPS |
376 ### So we basically have to have a special case for each | 376 ### So we basically have to have a special case for each |
377 ### configuration name. | 377 ### configuration name. |
379 ### As far as handling version numbers on operating systems is | 379 ### As far as handling version numbers on operating systems is |
380 ### concerned, make sure things will fail in a fixable way. If | 380 ### concerned, make sure things will fail in a fixable way. If |
381 ### /etc/MACHINES doesn't say anything about version numbers, be | 381 ### /etc/MACHINES doesn't say anything about version numbers, be |
382 ### prepared to handle anything reasonably. If version numbers | 382 ### prepared to handle anything reasonably. If version numbers |
383 ### matter, be sure /etc/MACHINES says something about it. | 383 ### matter, be sure /etc/MACHINES says something about it. |
384 ### | |
385 ### Eric Raymond says we should accept strings like "sysvr4" to mean | |
386 ### "System V Release 4"; he writes, "The old convention encouraged | |
387 ### confusion between `system' and `release' levels'." | |
388 | 384 |
389 machine='' opsys='' unported=no | 385 machine='' opsys='' unported=no |
390 case "${canonical}" in | 386 case "${canonical}" in |
391 | 387 |
392 ## FreeBSD ports | 388 ## FreeBSD ports |
393 *-*-freebsd* ) | 389 *-*-freebsd* ) |
394 opsys=freebsd | 390 opsys=freebsd |
395 case "${canonical}" in | 391 case "${canonical}" in |
396 alpha*-*-freebsd*) machine=alpha ;; | 392 alpha*) machine=alpha ;; |
397 arm*-*-freebsd*) machine=arm ;; | 393 amd64-*|x86_64-*) machine=amdx86-64 ;; |
398 ia64-*-freebsd*) machine=ia64 ;; | 394 arm*) machine=arm ;; |
399 sparc-*-freebsd*) machine=sparc ;; | 395 ia64-*) machine=ia64 ;; |
400 sparc64-*-freebsd*) machine=sparc ;; | 396 i[3456]86-*) machine=intel386 ;; |
401 powerpc-*-freebsd*) machine=macppc ;; | 397 powerpc-*) machine=macppc ;; |
402 i[3456]86-*-freebsd*) machine=intel386 ;; | 398 sparc-*) machine=sparc ;; |
403 amd64-*-freebsd*|x86_64-*-freebsd*) machine=amdx86-64 ;; | 399 sparc64-*) machine=sparc ;; |
404 esac | 400 esac |
405 ;; | 401 ;; |
406 | 402 |
407 ## FreeBSD kernel + glibc based userland | 403 ## FreeBSD kernel + glibc based userland |
408 *-*-kfreebsd*gnu* ) | 404 *-*-kfreebsd*gnu* ) |
409 opsys=gnu-kfreebsd | 405 opsys=gnu-kfreebsd |
410 case "${canonical}" in | 406 case "${canonical}" in |
411 alpha*-*-kfreebsd*) machine=alpha ;; | 407 alpha*) machine=alpha ;; |
412 ia64-*-kfreebsd*) machine=ia64 ;; | 408 amd64-*|x86_64-*) machine=amdx86-64 ;; |
413 sparc-*-kfreebsd*) machine=sparc ;; | 409 ia64-*) machine=ia64 ;; |
414 sparc64-*-kfreebsd*) machine=sparc ;; | 410 i[3456]86-*) machine=intel386 ;; |
415 powerpc-*-kfreebsd*) machine=macppc ;; | 411 powerpc-*) machine=macppc ;; |
416 i[3456]86-*-kfreebsd*) machine=intel386 ;; | 412 sparc-*) machine=sparc ;; |
417 amd64-*-kfreebsd*|x86_64-*-kfreebsd*) machine=amdx86-64 ;; | 413 sparc64-*) machine=sparc ;; |
418 esac | 414 esac |
419 ;; | 415 ;; |
420 | 416 |
421 ## NetBSD ports | 417 ## NetBSD ports |
422 *-*-netbsd* ) | 418 *-*-netbsd* ) |
423 opsys=netbsd | 419 opsys=netbsd |
424 case "${canonical}" in | 420 case "${canonical}" in |
425 alpha*-*-netbsd*) machine=alpha ;; | 421 alpha*) machine=alpha ;; |
426 i[3456]86-*-netbsd*) machine=intel386 ;; | 422 x86_64-*) machine=amdx86-64 ;; |
427 mips-*-netbsd*) machine=mips ;; | 423 arm-*) machine=arm ;; |
428 mipsel-*-netbsd*) machine=mips ;; | 424 hppa-*) machine=hp800 ;; |
429 mipseb-*-netbsd*) machine=mips ;; | 425 i[3456]86-*) machine=intel386 ;; |
430 powerpc-*-netbsd*) machine=macppc ;; | 426 m68k-*) machine=m68k ;; |
431 sparc*-*-netbsd*) machine=sparc ;; | 427 powerpc-*) machine=macppc ;; |
432 vax-*-netbsd*) machine=vax ;; | 428 mips-*) machine=mips ;; |
433 arm-*-netbsd*) machine=arm ;; | 429 mipse[bl]-*) machine=mips ;; |
434 x86_64-*-netbsd*) machine=amdx86-64 ;; | 430 sparc*-) machine=sparc ;; |
435 hppa-*-netbsd*) machine=hp800 ;; | 431 vax-*) machine=vax ;; |
436 m68k-*-netbsd*) machine=m68k ;; | |
437 esac | 432 esac |
438 ;; | 433 ;; |
439 | 434 |
440 ## OpenBSD ports | 435 ## OpenBSD ports |
441 *-*-openbsd* ) | 436 *-*-openbsd* ) |
442 opsys=openbsd | 437 opsys=openbsd |
443 case "${canonical}" in | 438 case "${canonical}" in |
444 alpha*-*-openbsd*) machine=alpha ;; | 439 alpha*) machine=alpha ;; |
445 arm-*-openbsd*) machine=arm ;; | 440 x86_64-*) machine=amdx86-64 ;; |
446 i386-*-openbsd*) machine=intel386 ;; | 441 arm-*) machine=arm ;; |
447 powerpc-*-openbsd*) machine=macppc ;; | 442 hppa-*) machine=hp800 ;; |
448 sparc*-*-openbsd*) machine=sparc ;; | 443 i386-*) machine=intel386 ;; |
449 vax-*-openbsd*) machine=vax ;; | 444 powerpc-*) machine=macppc ;; |
450 x86_64-*-openbsd*) machine=amdx86-64 ;; | 445 sparc*) machine=sparc ;; |
451 hppa-*-openbsd*) machine=hp800 ;; | 446 vax-*) machine=vax ;; |
452 esac | 447 esac |
453 ;; | 448 ;; |
454 | 449 |
455 alpha*-*-linux-gnu* ) | 450 alpha*-*-linux-gnu* ) |
456 machine=alpha opsys=gnu-linux | 451 machine=alpha opsys=gnu-linux |
497 machine=ibms390 opsys=gnu-linux | 492 machine=ibms390 opsys=gnu-linux |
498 ;; | 493 ;; |
499 s390x-*-linux-gnu* ) | 494 s390x-*-linux-gnu* ) |
500 machine=ibms390x opsys=gnu-linux | 495 machine=ibms390x opsys=gnu-linux |
501 ;; | 496 ;; |
502 rs6000-ibm-aix4.2* | powerpc-ibm-aix4.2* ) | 497 rs6000-ibm-aix4.[23]* ) |
503 machine=ibmrs6000 opsys=aix4-2 | 498 machine=ibmrs6000 opsys=aix4-2 |
504 ;; | 499 ;; |
505 rs6000-ibm-aix4.3* | powerpc-ibm-aix4.3* ) | 500 powerpc-ibm-aix4.[23]* ) |
506 machine=ibmrs6000 opsys=aix4-2 | 501 machine=ibmrs6000 opsys=aix4-2 |
507 ;; | 502 ;; |
508 rs6000-ibm-aix5* | powerpc-ibm-aix5* ) | 503 rs6000-ibm-aix[56]* ) |
509 machine=ibmrs6000 opsys=aix4-2 | 504 machine=ibmrs6000 opsys=aix4-2 |
510 ;; | 505 ;; |
511 rs6000-ibm-aix6* | powerpc-ibm-aix6* ) | 506 powerpc-ibm-aix[56]* ) |
512 machine=ibmrs6000 opsys=aix4-2 | 507 machine=ibmrs6000 opsys=aix4-2 |
513 ;; | 508 ;; |
514 | 509 |
515 ## Macintosh PowerPC | 510 ## Macintosh PowerPC |
516 powerpc*-*-linux-gnu* ) | 511 powerpc*-*-linux-gnu* ) |
575 ## IA-64 | 570 ## IA-64 |
576 ia64*-*-linux* ) | 571 ia64*-*-linux* ) |
577 machine=ia64 opsys=gnu-linux | 572 machine=ia64 opsys=gnu-linux |
578 ;; | 573 ;; |
579 | 574 |
580 ## Intel 386 machines where we don't care about the manufacturer | 575 ## Intel 386 machines where we don't care about the manufacturer. |
581 i[3456]86-*-* ) | 576 i[3456]86-*-* ) |
582 machine=intel386 | 577 machine=intel386 |
583 case "${canonical}" in | 578 case "${canonical}" in |
584 *-cygwin ) opsys=cygwin ;; | 579 *-cygwin ) opsys=cygwin ;; |
585 *-darwin* ) opsys=darwin | 580 *-darwin* ) opsys=darwin |