comparison configure.in @ 91327:606f2d163a64

Merge from emacs--devo--0 Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-312
author Miles Bader <miles@gnu.org>
date Wed, 09 Jan 2008 01:21:15 +0000
parents e2b08df58d1b 107ccd98fa12
children c70e45a7acfd
comparison
equal deleted inserted replaced
91326:b1a63d7fa09c 91327:606f2d163a64
2 dnl To rebuild the `configure' script from this, execute the command 2 dnl To rebuild the `configure' script from this, execute the command
3 dnl autoconf 3 dnl autoconf
4 dnl in the directory containing this script. 4 dnl in the directory containing this script.
5 dnl 5 dnl
6 dnl Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2003, 6 dnl Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2003,
7 dnl 2004, 2005, 2006, 2007 Free Software Foundation, Inc. 7 dnl 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
8 dnl 8 dnl
9 dnl This file is part of GNU Emacs. 9 dnl This file is part of GNU Emacs.
10 dnl 10 dnl
11 dnl GNU Emacs is free software; you can redistribute it and/or modify 11 dnl GNU Emacs is free software; you can redistribute it and/or modify
12 dnl it under the terms of the GNU General Public License as published by 12 dnl it under the terms of the GNU General Public License as published by
224 224
225 ### You would hope that you could choose an m/*.h file pretty much 225 ### You would hope that you could choose an m/*.h file pretty much
226 ### based on the machine portion of the configuration name, and an s- 226 ### based on the machine portion of the configuration name, and an s-
227 ### file based on the operating system portion. However, it turns out 227 ### file based on the operating system portion. However, it turns out
228 ### that each m/*.h file is pretty manufacturer-specific - for 228 ### that each m/*.h file is pretty manufacturer-specific - for
229 ### example, apollo.h, hp9000s300.h, mega68k, news.h, and tad68k are 229 ### example hp9000s300.h is a 68000 machine;
230 ### all 68000 machines; mips.h, pmax.h, and news-risc are all MIPS 230 ### mips.h, pmax.h are all MIPS
231 ### machines. So we basically have to have a special case for each 231 ### machines. So we basically have to have a special case for each
232 ### configuration name. 232 ### configuration name.
233 ### 233 ###
234 ### As far as handling version numbers on operating systems is 234 ### As far as handling version numbers on operating systems is
235 ### concerned, make sure things will fail in a fixable way. If 235 ### concerned, make sure things will fail in a fixable way. If
286 # This is somewhat bogus. 286 # This is somewhat bogus.
287 machine=hp9000s300 ;; 287 machine=hp9000s300 ;;
288 mips-*-netbsd*) machine=pmax ;; 288 mips-*-netbsd*) machine=pmax ;;
289 mipsel-*-netbsd*) machine=pmax ;; 289 mipsel-*-netbsd*) machine=pmax ;;
290 mipseb-*-netbsd*) machine=pmax ;; 290 mipseb-*-netbsd*) machine=pmax ;;
291 ns32k-*-netbsd*) machine=ns32000 ;;
292 powerpc-*-netbsd*) machine=macppc ;; 291 powerpc-*-netbsd*) machine=macppc ;;
293 sparc*-*-netbsd*) machine=sparc ;; 292 sparc*-*-netbsd*) machine=sparc ;;
294 vax-*-netbsd*) machine=vax ;; 293 vax-*-netbsd*) machine=vax ;;
295 arm-*-netbsd*) machine=arm ;; 294 arm-*-netbsd*) machine=arm ;;
296 x86_64-*-netbsd*) machine=amdx86-64 ;; 295 x86_64-*-netbsd*) machine=amdx86-64 ;;
297 hppa-*-netbsd*) machine=hp800 ;; 296 hppa-*-netbsd*) machine=hp800 ;;
298 shle-*-netbsd*) machine=sh3el ;;
299 esac 297 esac
300 ;; 298 ;;
301 299
302 ## OpenBSD ports 300 ## OpenBSD ports
303 *-*-openbsd* ) 301 *-*-openbsd* )
306 alpha*-*-openbsd*) machine=alpha ;; 304 alpha*-*-openbsd*) machine=alpha ;;
307 arm-*-openbsd*) machine=arm ;; 305 arm-*-openbsd*) machine=arm ;;
308 hppa-*-openbsd*) machine=hp9000s300 ;; 306 hppa-*-openbsd*) machine=hp9000s300 ;;
309 i386-*-openbsd*) machine=intel386 ;; 307 i386-*-openbsd*) machine=intel386 ;;
310 m68k-*-openbsd*) machine=hp9000s300 ;; 308 m68k-*-openbsd*) machine=hp9000s300 ;;
311 m88k-*-openbsd*) machine=aviion ;;
312 mips64-*-openbsd*) machine=mips64 ;; 309 mips64-*-openbsd*) machine=mips64 ;;
313 powerpc-*-openbsd*) machine=macppc ;; 310 powerpc-*-openbsd*) machine=macppc ;;
314 sh-*-openbsd*) machine=sh3el ;;
315 sparc*-*-openbsd*) machine=sparc ;; 311 sparc*-*-openbsd*) machine=sparc ;;
316 vax-*-openbsd*) machine=vax ;; 312 vax-*-openbsd*) machine=vax ;;
317 x86_64-*-openbsd*) machine=amdx86-64 ;; 313 x86_64-*-openbsd*) machine=amdx86-64 ;;
318 esac 314 esac
319 ;; 315 ;;
323 opsys=lynxos 319 opsys=lynxos
324 case "${canonical}" in 320 case "${canonical}" in
325 i[3456]86-*-lynxos*) machine=intel386 ;; 321 i[3456]86-*-lynxos*) machine=intel386 ;;
326 powerpc-*-lynxos*) machine=powerpc ;; 322 powerpc-*-lynxos*) machine=powerpc ;;
327 esac 323 esac
328 ;;
329
330 ## Acorn RISCiX:
331 arm-acorn-riscix1.1* )
332 machine=acorn opsys=riscix1-1
333 ;;
334 arm-acorn-riscix1.2* | arm-acorn-riscix )
335 ## This name is riscix12 instead of riscix1.2
336 ## to avoid a file name conflict on MSDOS.
337 machine=acorn opsys=riscix12
338 ;; 324 ;;
339 325
340 ## BSDI ports 326 ## BSDI ports
341 *-*-bsdi* ) 327 *-*-bsdi* )
342 opsys=bsdi 328 opsys=bsdi
352 *-*-bsdi3* ) opsys=bsdos3 ;; 338 *-*-bsdi3* ) opsys=bsdos3 ;;
353 *-*-bsdi[45]* ) opsys=bsdos4 ;; 339 *-*-bsdi[45]* ) opsys=bsdos4 ;;
354 esac 340 esac
355 ;; 341 ;;
356 342
357 ## Alliant machines
358 ## Strictly speaking, we need the version of the alliant operating
359 ## system to choose the right machine file, but currently the
360 ## configuration name doesn't tell us enough to choose the right
361 ## one; we need to give alliants their own operating system name to
362 ## do this right. When someone cares, they can help us.
363 fx80-alliant-* )
364 machine=alliant4 opsys=bsd4-2
365 ;;
366 i860-alliant-* )
367 machine=alliant-2800 opsys=bsd4-3
368 ;;
369
370 ## Alpha (DEC) machines. 343 ## Alpha (DEC) machines.
371 alpha*-dec-osf* ) 344 alpha*-dec-osf* )
372 machine=alpha opsys=osf1 345 machine=alpha opsys=osf1
373 # This is needed to find X11R6.1 libraries for certain tests. 346 # This is needed to find X11R6.1 libraries for certain tests.
374 NON_GCC_LINK_TEST_OPTIONS=-Wl,-rpath,/usr/X11R6/lib 347 NON_GCC_LINK_TEST_OPTIONS=-Wl,-rpath,/usr/X11R6/lib
388 machine=alpha opsys=gnu-linux 361 machine=alpha opsys=gnu-linux
389 ;; 362 ;;
390 363
391 arm*-*-linux-gnu* ) 364 arm*-*-linux-gnu* )
392 machine=arm opsys=gnu-linux 365 machine=arm opsys=gnu-linux
393 ;;
394
395 ## Altos 3068
396 m68*-altos-sysv* )
397 machine=altos opsys=usg5-2
398 ;;
399
400 ## Amdahl UTS
401 580-amdahl-sysv* )
402 machine=amdahl opsys=usg5-2-2
403 ;;
404
405 ## Apollo, Domain/OS
406 m68*-apollo-* )
407 machine=apollo opsys=bsd4-3
408 ;; 366 ;;
409 367
410 ## Apple Darwin / Mac OS X 368 ## Apple Darwin / Mac OS X
411 *-apple-darwin* ) 369 *-apple-darwin* )
412 case "${canonical}" in 370 case "${canonical}" in
423 CPP="${CPP} ${GCC_TEST_OPTIONS}" 381 CPP="${CPP} ${GCC_TEST_OPTIONS}"
424 NON_GCC_TEST_OPTIONS=${GCC_TEST_OPTIONS} 382 NON_GCC_TEST_OPTIONS=${GCC_TEST_OPTIONS}
425 fi 383 fi
426 ;; 384 ;;
427 385
428 ## AT&T 3b2, 3b5, 3b15, 3b20
429 we32k-att-sysv* )
430 machine=att3b opsys=usg5-2-2
431 ;;
432
433 ## AT&T 3b1 - The Mighty Unix PC!
434 m68*-att-sysv* )
435 machine=7300 opsys=usg5-2-2
436 ;;
437
438 ## Bull dpx20
439 rs6000-bull-bosx* )
440 machine=ibmrs6000 opsys=aix3-2
441 ;;
442
443 ## Bull dpx2
444 m68*-bull-sysv3* )
445 machine=dpx2 opsys=usg5-3
446 ;;
447
448 ## Bull sps7
449 m68*-bull-sysv2* )
450 machine=sps7 opsys=usg5-2
451 ;;
452
453 ## CCI 5/32, 6/32 -- see "Tahoe".
454
455 ## Celerity
456 ## I don't know what configuration name to use for this; config.sub
457 ## doesn't seem to know anything about it. Hey, Celerity users, get
458 ## in touch with us!
459 celerity-celerity-bsd* )
460 machine=celerity opsys=bsd4-2
461 ;;
462
463 ## Clipper
464 ## What operating systems does this chip run that Emacs has been
465 ## tested on?
466 clipper-* )
467 machine=clipper
468 ## We'll use the catch-all code at the bottom to guess the
469 ## operating system.
470 ;;
471
472 ## Compaq Nonstop 386 ## Compaq Nonstop
473 mips-compaq-nonstopux* ) 387 mips-compaq-nonstopux* )
474 machine=nonstopux opsys=nonstopux 388 machine=nonstopux opsys=nonstopux
475 ;; 389 ;;
476 390
477 ## Convex
478 *-convex-bsd* | *-convex-convexos* )
479 machine=convex opsys=bsd4-3
480 ## Prevents spurious white space in makefiles - d.m.cooke@larc.nasa.gov
481 NON_GNU_CPP="cc -E -P"
482 ;;
483
484 ## Cubix QBx/386 391 ## Cubix QBx/386
485 i[3456]86-cubix-sysv* ) 392 i[3456]86-cubix-sysv* )
486 machine=intel386 opsys=usg5-3 393 machine=intel386 opsys=usg5-3
487 ;; 394 ;;
488 395
489 ## Cydra 5
490 cydra*-cydrome-sysv* )
491 machine=cydra5 opsys=usg5-3
492 ;;
493
494 ## Data General AViiON Machines
495 ## DG changed naming conventions with the release of 5.4.4.10, they
496 ## dropped the initial 5.4 but left the intervening R. Because of the
497 ## R this shouldn't conflict with older versions of the OS (which I
498 ## think were named like dgux4.*). In addition, DG new AViiONs series
499 ## uses either Motorola M88k or Intel Pentium CPUs.
500 m88k-dg-dguxR4.* | m88k-dg-dgux4* )
501 machine=aviion opsys=dgux4
502 ;;
503 m88k-dg-dgux5.4R3* | m88k-dg-dgux5.4.3* )
504 ## This name is dgux5-4-3 instead of dgux5-4r3
505 ## to avoid a file name conflict on MSDOS.
506 machine=aviion opsys=dgux5-4-3
507 ;;
508 m88k-dg-dgux5.4R2* | m88k-dg-dgux5.4.2* )
509 machine=aviion opsys=dgux5-4r2
510 ;;
511 m88k-dg-dgux* )
512 machine=aviion opsys=dgux
513 ;;
514
515 ## Data General AViiON Intel (x86) Machines
516 ## Exists from 5.4.3 (current i586-dg-dguxR4.11)
517 ## Ehud Karni, 1998-may-30, ehud@unix.simonwiesel.co.il
518 i[345]86-dg-dguxR4* )
519 machine=aviion-intel opsys=dgux4
520 ;;
521
522 ## DECstations
523 mips-dec-ultrix[0-3].* | mips-dec-ultrix4.0* | mips-dec-bsd4.2* ) 396 mips-dec-ultrix[0-3].* | mips-dec-ultrix4.0* | mips-dec-bsd4.2* )
524 machine=pmax opsys=bsd4-2 397 machine=pmax opsys=bsd4-2
525 ;; 398 ;;
526 mips-dec-ultrix4.[12]* | mips-dec-bsd* ) 399 mips-dec-ultrix4.[12]* | mips-dec-bsd* )
527 machine=pmax opsys=bsd4-3 400 machine=pmax opsys=bsd4-3
532 mips-dec-osf* ) 405 mips-dec-osf* )
533 machine=pmax opsys=osf1 406 machine=pmax opsys=osf1
534 ;; 407 ;;
535 mips-dec-mach_bsd4.3* ) 408 mips-dec-mach_bsd4.3* )
536 machine=pmax opsys=mach-bsd4-3 409 machine=pmax opsys=mach-bsd4-3
537 ;;
538
539 ## Motorola Delta machines
540 m68k-motorola-sysv* | m68000-motorola-sysv* )
541 machine=delta opsys=usg5-3
542 if test -z "`type gnucc | grep 'not found'`"
543 then
544 if test -s /etc/167config
545 then CC="gnucc -m68040"
546 else CC="gnucc -m68881"
547 fi
548 else
549 if test -z "`type gcc | grep 'not found'`"
550 then CC=gcc
551 else CC=cc
552 fi
553 fi
554 ;;
555 m88k-motorola-sysv4* )
556 # jbotte@bnr.ca says that UNIX_System_V <hostName> 4.0 R40V4.3 m88k mc88110
557 # needs POSIX_SIGNALS and therefore needs usg5-4-2.
558 # I hope there are not other 4.0 versions for this machine
559 # which really need usg5-4 instead.
560 machine=delta88k opsys=usg5-4-2
561 ;;
562 m88k-motorola-sysv* | m88k-motorola-m88kbcs* )
563 machine=delta88k opsys=usg5-3
564 ;;
565
566 ## Dual machines
567 m68*-dual-sysv* )
568 machine=dual opsys=usg5-2
569 ;;
570 m68*-dual-uniplus* )
571 machine=dual opsys=unipl5-2
572 ;;
573
574 ## Elxsi 6400
575 elxsi-elxsi-sysv* )
576 machine=elxsi opsys=usg5-2
577 ;;
578
579 ## Encore machines
580 ns16k-encore-bsd* )
581 machine=ns16000 opsys=umax
582 ;;
583
584 ## The GEC 63 - apparently, this port isn't really finished yet.
585 # I'm sure we finished off the last of the machines, though. -- fx
586
587 ## Gould Power Node and NP1
588 pn-gould-bsd4.2* )
589 machine=gould opsys=bsd4-2
590 ;;
591 pn-gould-bsd4.3* )
592 machine=gould opsys=bsd4-3
593 ;;
594 np1-gould-bsd* )
595 machine=gould-np1 opsys=bsd4-3
596 ;;
597
598 ## Harris Night Hawk machines running CX/UX (a 5000 looks just like a 4000
599 ## as far as Emacs is concerned).
600 m88k-harris-cxux* )
601 # Build needs to be different on 7.0 and later releases
602 case "`uname -r`" in
603 [56].[0-9] ) machine=nh4000 opsys=cxux ;;
604 [7].[0-9] ) machine=nh4000 opsys=cxux7 ;;
605 esac
606 NON_GNU_CPP="/lib/cpp"
607 ;;
608 ## Harris ecx or gcx running CX/UX (Series 1200, Series 3000)
609 m68k-harris-cxux* )
610 machine=nh3000 opsys=cxux
611 ;;
612 ## Harris power pc NightHawk running Power UNIX (Series 6000)
613 powerpc-harris-powerunix )
614 machine=nh6000 opsys=powerunix
615 NON_GNU_CPP="cc -Xo -E -P"
616 ;;
617 ## SR2001/SR2201 running HI-UX/MPP
618 hppa1.1-hitachi-hiuxmpp* )
619 machine=sr2k opsys=hiuxmpp
620 ;;
621 hppa1.1-hitachi-hiuxwe2* )
622 machine=sr2k opsys=hiuxwe2
623 ;;
624 ## Honeywell XPS100
625 xps*-honeywell-sysv* )
626 machine=xps100 opsys=usg5-2
627 ;; 410 ;;
628 411
629 ## HP 9000 series 200 or 300 412 ## HP 9000 series 200 or 300
630 m68*-hp-bsd* ) 413 m68*-hp-bsd* )
631 machine=hp9000s300 opsys=bsd4-3 414 machine=hp9000s300 opsys=bsd4-3
685 ;; 468 ;;
686 hppa*-*-nextstep* ) 469 hppa*-*-nextstep* )
687 machine=hp800 opsys=nextstep 470 machine=hp800 opsys=nextstep
688 ;; 471 ;;
689 472
690 ## Orion machines
691 orion-orion-bsd* )
692 machine=orion opsys=bsd4-2
693 ;;
694 clipper-orion-bsd* )
695 machine=orion105 opsys=bsd4-2
696 ;;
697
698 ## IBM machines 473 ## IBM machines
699 i[3456]86-ibm-aix1.1* )
700 machine=ibmps2-aix opsys=usg5-2-2
701 ;;
702 i[3456]86-ibm-aix1.[23]* | i[3456]86-ibm-aix* )
703 machine=ibmps2-aix opsys=usg5-3
704 ;;
705 i370-ibm-aix*) 474 i370-ibm-aix*)
706 machine=ibm370aix opsys=usg5-3 475 machine=ibm370aix opsys=usg5-3
707 ;; 476 ;;
708 s390-*-linux-gnu* ) 477 s390-*-linux-gnu* )
709 machine=ibms390 opsys=gnu-linux 478 machine=ibms390 opsys=gnu-linux
735 rs6000-ibm-aix4* | powerpc-ibm-aix4* ) 504 rs6000-ibm-aix4* | powerpc-ibm-aix4* )
736 machine=ibmrs6000 opsys=aix4-1 505 machine=ibmrs6000 opsys=aix4-1
737 ;; 506 ;;
738 rs6000-ibm-aix* | powerpc-ibm-aix* ) 507 rs6000-ibm-aix* | powerpc-ibm-aix* )
739 machine=ibmrs6000 opsys=aix3-2 508 machine=ibmrs6000 opsys=aix3-2
740 ;;
741 romp-ibm-bsd4.3* )
742 machine=ibmrt opsys=bsd4-3
743 ;;
744 romp-ibm-bsd4.2* )
745 machine=ibmrt opsys=bsd4-2
746 ;;
747 romp-ibm-aos4.3* )
748 machine=ibmrt opsys=bsd4-3
749 ;;
750 romp-ibm-aos4.2* )
751 machine=ibmrt opsys=bsd4-2
752 ;;
753 romp-ibm-aos* )
754 machine=ibmrt opsys=bsd4-3
755 ;;
756 romp-ibm-bsd* )
757 machine=ibmrt opsys=bsd4-3
758 ;;
759 romp-ibm-aix* )
760 machine=ibmrt-aix opsys=usg5-2-2
761 ;;
762
763 ## Integrated Solutions `Optimum V'
764 m68*-isi-bsd4.2* )
765 machine=isi-ov opsys=bsd4-2
766 ;;
767 m68*-isi-bsd4.3* )
768 machine=isi-ov opsys=bsd4-3
769 ;;
770
771 ## Intel 386 machines where we do care about the manufacturer
772 i[3456]86-intsys-sysv* )
773 machine=is386 opsys=usg5-2-2
774 ;; 509 ;;
775 510
776 ## Prime EXL 511 ## Prime EXL
777 i[3456]86-prime-sysv* ) 512 i[3456]86-prime-sysv* )
778 machine=i386 opsys=usg5-3 513 machine=i386 opsys=usg5-3
779 ;;
780
781 ## Sequent Symmetry running Dynix
782 i[3456]86-sequent-bsd* )
783 machine=symmetry opsys=bsd4-3
784 ;; 514 ;;
785 515
786 ## Sequent Symmetry running ptx 4, which is a modified SVR4. 516 ## Sequent Symmetry running ptx 4, which is a modified SVR4.
787 i[3456]86-sequent-ptx4* | i[3456]86-sequent-sysv4* ) 517 i[3456]86-sequent-ptx4* | i[3456]86-sequent-sysv4* )
788 machine=sequent-ptx opsys=ptx4 518 machine=sequent-ptx opsys=ptx4
805 ## (Plain usg5-4 doesn't turn on POSIX signals, which we need.) 535 ## (Plain usg5-4 doesn't turn on POSIX signals, which we need.)
806 i[3456]86-ncr-sysv* ) 536 i[3456]86-ncr-sysv* )
807 machine=ncr386 opsys=usg5-4-2 537 machine=ncr386 opsys=usg5-4-2
808 ;; 538 ;;
809 539
810 ## Intel Paragon OSF/1
811 i860-intel-osf1* )
812 machine=paragon opsys=osf1 NON_GNU_CPP=/usr/mach/lib/cpp
813 ;;
814
815 ## Intel 860
816 i860-*-sysv4* )
817 machine=i860 opsys=usg5-4
818 NON_GNU_CC="/bin/cc" # Ie, not the one in /usr/ucb/cc.
819 NON_GNU_CPP="/usr/ccs/lib/cpp" # cc -E tokenizes macro expansion.
820 ;;
821
822 ## Macintosh PowerPC 540 ## Macintosh PowerPC
823 powerpc*-*-linux-gnu* ) 541 powerpc*-*-linux-gnu* )
824 machine=macppc opsys=gnu-linux 542 machine=macppc opsys=gnu-linux
825 ;;
826
827 ## Masscomp machines
828 m68*-masscomp-rtu* )
829 machine=masscomp opsys=rtu
830 ;;
831
832 ## Megatest machines
833 m68*-megatest-bsd* )
834 machine=mega68 opsys=bsd4-2
835 ;; 543 ;;
836 544
837 ## Workstations sold by MIPS 545 ## Workstations sold by MIPS
838 ## This is not necessarily all workstations using the MIPS processor - 546 ## This is not necessarily all workstations using the MIPS processor -
839 ## Irises are produced by SGI, and DECstations by DEC. 547 ## Irises are produced by SGI, and DECstations by DEC.
869 ## NeXT 577 ## NeXT
870 m68*-next-* | m68k-*-nextstep* ) 578 m68*-next-* | m68k-*-nextstep* )
871 machine=m68k opsys=nextstep 579 machine=m68k opsys=nextstep
872 ;; 580 ;;
873 581
874 ## The complete machine from National Semiconductor
875 ns32k-ns-genix* )
876 machine=ns32000 opsys=usg5-2
877 ;;
878
879 ## NCR machines
880 m68*-ncr-sysv2* | m68*-ncr-sysvr2* )
881 machine=tower32 opsys=usg5-2-2
882 ;;
883 m68*-ncr-sysv3* | m68*-ncr-sysvr3* )
884 machine=tower32v3 opsys=usg5-3
885 ;;
886
887 ## NEC EWS4800 582 ## NEC EWS4800
888 mips-nec-sysv4*) 583 mips-nec-sysv4*)
889 machine=ews4800 opsys=ux4800 584 machine=ews4800 opsys=ux4800
890 ;;
891
892 ## Nixdorf Targon 31
893 m68*-nixdorf-sysv* )
894 machine=targon31 opsys=usg5-2-2
895 ;;
896
897 ## Nu (TI or LMI)
898 m68*-nu-sysv* )
899 machine=nu opsys=usg5-2
900 ;;
901
902 ## Plexus
903 m68*-plexus-sysv* )
904 machine=plexus opsys=usg5-2
905 ;;
906
907 ## Pyramid machines
908 ## I don't really have any idea what sort of processor the Pyramid has,
909 ## so I'm assuming it is its own architecture.
910 pyramid-pyramid-bsd* )
911 machine=pyramid opsys=bsd4-2
912 ;;
913
914 ## Sequent Balance
915 ns32k-sequent-bsd4.2* )
916 machine=sequent opsys=bsd4-2
917 ;;
918 ns32k-sequent-bsd4.3* )
919 machine=sequent opsys=bsd4-3
920 ;; 585 ;;
921 586
922 ## Siemens Nixdorf 587 ## Siemens Nixdorf
923 mips-siemens-sysv* | mips-sni-sysv*) 588 mips-siemens-sysv* | mips-sni-sysv*)
924 machine=mips-siemens opsys=usg5-4 589 machine=mips-siemens opsys=usg5-4
925 NON_GNU_CC=/usr/ccs/bin/cc 590 NON_GNU_CC=/usr/ccs/bin/cc
926 NON_GNU_CPP=/usr/ccs/lib/cpp 591 NON_GNU_CPP=/usr/ccs/lib/cpp
927 ;; 592 ;;
928 593
929 ## Silicon Graphics machines 594 ## Silicon Graphics machines
930 ## Iris 2500 and Iris 2500 Turbo (aka the Iris 3030)
931 m68*-sgi-iris3.5* )
932 machine=irist opsys=iris3-5
933 ;;
934 m68*-sgi-iris3.6* | m68*-sgi-iris*)
935 machine=irist opsys=iris3-6
936 ;;
937 ## Iris 4D 595 ## Iris 4D
938 mips-sgi-irix3* ) 596 mips-sgi-irix3* )
939 machine=iris4d opsys=irix3-3 597 machine=iris4d opsys=irix3-3
940 ;; 598 ;;
941 mips-sgi-irix4* ) 599 mips-sgi-irix4* )
962 ;; 620 ;;
963 mips-sgi-irix5* | mips-sgi-irix* ) 621 mips-sgi-irix5* | mips-sgi-irix* )
964 machine=iris4d opsys=irix5-2 622 machine=iris4d opsys=irix5-2
965 ;; 623 ;;
966 624
967 ## SONY machines
968 m68*-sony-bsd4.2* )
969 machine=news opsys=bsd4-2
970 ;;
971 m68*-sony-bsd4.3* )
972 machine=news opsys=bsd4-3
973 ;;
974 m68*-sony-newsos3* | m68*-sony-news3*)
975 machine=news opsys=bsd4-3
976 ;;
977 mips-sony-bsd* | mips-sony-newsos4* | mips-sony-news4*)
978 machine=news-risc opsys=bsd4-3
979 ;;
980 mips-sony-newsos6* )
981 machine=news-r6 opsys=newsos6
982 ;;
983 mips-sony-news* )
984 machine=news-risc opsys=newsos5
985 ;;
986
987 ## Stride
988 m68*-stride-sysv* )
989 machine=stride opsys=usg5-2
990 ;;
991
992 ## Suns 625 ## Suns
993 sparc-*-linux-gnu* | sparc64-*-linux-gnu* ) 626 sparc-*-linux-gnu* | sparc64-*-linux-gnu* )
994 machine=sparc opsys=gnu-linux 627 machine=sparc opsys=gnu-linux
995 ;; 628 ;;
996 629
997 *-auspex-sunos* | *-sun-sunos* | *-sun-bsd* | *-sun-solaris* \ 630 *-auspex-sunos* | *-sun-sunos* | *-sun-bsd* | *-sun-solaris* \
998 | i[3456]86-*-solaris2* | i[3456]86-*-sunos5* | powerpc*-*-solaris2* \ 631 | i[3456]86-*-solaris2* | i[3456]86-*-sunos5* | powerpc*-*-solaris2* \
999 | rs6000-*-solaris2*) 632 | rs6000-*-solaris2*)
1000 case "${canonical}" in 633 case "${canonical}" in
1001 m68*-sunos1* ) machine=sun1 ;;
1002 m68*-sunos2* ) machine=sun2 ;;
1003 m68* ) machine=sun3 ;;
1004 i[3456]86-sun-sunos[34]* ) machine=sun386 ;;
1005 i[3456]86-*-* ) machine=intel386 ;; 634 i[3456]86-*-* ) machine=intel386 ;;
1006 amd64-*-*|x86_64-*-*) machine=amdx86-64 ;; 635 amd64-*-*|x86_64-*-*) machine=amdx86-64 ;;
1007 powerpcle* ) machine=powerpcle ;; 636 powerpcle* ) machine=powerpcle ;;
1008 powerpc* | rs6000* ) machine=ibmrs6000 ;; 637 powerpc* | rs6000* ) machine=ibmrs6000 ;;
1009 sparc* ) machine=sparc ;; 638 sparc* ) machine=sparc ;;
1010 * ) unported=yes ;; 639 * ) unported=yes ;;
1011 esac 640 esac
1012 case "${canonical}" in 641 case "${canonical}" in
1013 ## The Sun386 didn't get past 4.0.
1014 i[3456]86-*-sunos4 ) opsys=sunos4-0 ;;
1015 *-sunos4.0* ) opsys=sunos4-0 ;;
1016 *-sunos4.1.[3-9]*noshare )
1017 ## This name is sunos413 instead of sunos4-1-3
1018 ## to avoid a file name conflict on MSDOS.
1019 opsys=sunos413
1020 NON_GNU_CPP=/usr/lib/cpp
1021 NON_GCC_TEST_OPTIONS=-Bstatic
1022 GCC_TEST_OPTIONS=-static
1023 ;;
1024 *-sunos4.1.[3-9]* | *-sunos4shr*)
1025 opsys=sunos4shr
1026 NON_GNU_CPP=/usr/lib/cpp
1027 ;;
1028 *-sunos4* | *-sunos )
1029 opsys=sunos4-1
1030 NON_GCC_TEST_OPTIONS=-Bstatic
1031 GCC_TEST_OPTIONS=-static
1032 ;;
1033 *-sunos5.3* | *-solaris2.3* ) 642 *-sunos5.3* | *-solaris2.3* )
1034 opsys=sol2-3 643 opsys=sol2-3
1035 NON_GNU_CPP=/usr/ccs/lib/cpp 644 NON_GNU_CPP=/usr/ccs/lib/cpp
1036 ;; 645 ;;
1037 *-sunos5.4* | *-solaris2.4* ) 646 *-sunos5.4* | *-solaris2.4* )
1070 ;; 679 ;;
1071 sparc-*-nextstep* ) 680 sparc-*-nextstep* )
1072 machine=sparc opsys=nextstep 681 machine=sparc opsys=nextstep
1073 ;; 682 ;;
1074 683
1075 ## Tadpole 68k
1076 m68*-tadpole-sysv* )
1077 machine=tad68k opsys=usg5-3
1078 ;;
1079
1080 ## Tahoe machines
1081 tahoe-tahoe-bsd4.2* )
1082 machine=tahoe opsys=bsd4-2
1083 ;;
1084 tahoe-tahoe-bsd4.3* )
1085 machine=tahoe opsys=bsd4-3
1086 ;;
1087
1088 ## Tandem Integrity S2 684 ## Tandem Integrity S2
1089 mips-tandem-sysv* ) 685 mips-tandem-sysv* )
1090 machine=tandem-s2 opsys=usg5-3 686 machine=tandem-s2 opsys=usg5-3
1091 ;;
1092
1093 ## Tektronix XD88
1094 m88k-tektronix-sysv3* )
1095 machine=tekxd88 opsys=usg5-3
1096 ;;
1097
1098 ## Tektronix 16000 box (6130?)
1099 ns16k-tektronix-bsd* )
1100 machine=ns16000 opsys=bsd4-2
1101 ;;
1102 ## Tektronix 4300
1103 ## src/m/tek4300.h hints that this is a m68k machine.
1104 m68*-tektronix-bsd* )
1105 machine=tek4300 opsys=bsd4-3
1106 ;;
1107
1108 ## Titan P2 or P3
1109 ## We seem to have lost the machine-description file titan.h!
1110 titan-titan-sysv* )
1111 machine=titan opsys=usg5-3
1112 ;;
1113
1114 ## Ustation E30 (SS5E)
1115 m68*-unisys-uniplus* )
1116 machine=ustation opsystem=unipl5-2
1117 ;; 687 ;;
1118 688
1119 ## Vaxen. 689 ## Vaxen.
1120 vax-dec-* ) 690 vax-dec-* )
1121 machine=vax 691 machine=vax
1128 *-vms* ) opsys=vms ;; 698 *-vms* ) opsys=vms ;;
1129 * ) unported=yes 699 * ) unported=yes
1130 esac 700 esac
1131 ;; 701 ;;
1132 702
1133 ## Whitechapel MG1
1134 ns16k-whitechapel-* )
1135 machine=mg1
1136 ## We don't know what sort of OS runs on these; we'll let the
1137 ## operating system guessing code below try.
1138 ;;
1139
1140 ## Wicat
1141 m68*-wicat-sysv* )
1142 machine=wicat opsys=usg5-2
1143 ;;
1144
1145 ## IA-64 703 ## IA-64
1146 ia64*-*-linux* ) 704 ia64*-*-linux* )
1147 machine=ia64 opsys=gnu-linux 705 machine=ia64 opsys=gnu-linux
1148 ;; 706 ;;
1149 707
1153 case "${canonical}" in 711 case "${canonical}" in
1154 *-cygwin ) opsys=cygwin ;; 712 *-cygwin ) opsys=cygwin ;;
1155 *-darwin* ) opsys=darwin 713 *-darwin* ) opsys=darwin
1156 CPP="${CC-cc} -E -no-cpp-precomp" 714 CPP="${CC-cc} -E -no-cpp-precomp"
1157 ;; 715 ;;
1158 *-isc1.* | *-isc2.[01]* ) opsys=386-ix ;;
1159 *-isc2.2* ) opsys=isc2-2 ;;
1160 *-isc4.0* ) opsys=isc4-0 ;;
1161 *-isc4.* ) opsys=isc4-1
1162 GCC_TEST_OPTIONS=-posix
1163 NON_GCC_TEST_OPTIONS=-Xp
1164 ;;
1165 *-isc* ) opsys=isc3-0 ;;
1166 *-esix5* ) opsys=esix5r4; NON_GNU_CPP=/usr/lib/cpp ;;
1167 *-esix* ) opsys=esix ;;
1168 *-xenix* ) opsys=xenix ;; 716 *-xenix* ) opsys=xenix ;;
1169 *-linux-gnu* ) opsys=gnu-linux ;; 717 *-linux-gnu* ) opsys=gnu-linux ;;
1170 *-sco3.2v4* ) opsys=sco4 ; NON_GNU_CPP=/lib/cpp ;;
1171 *-sco3.2v5* ) opsys=sco5
1172 NON_GNU_CPP=/lib/cpp
1173 # Prevent -belf from being passed to $CPP.
1174 # /lib/cpp does not accept it.
1175 OVERRIDE_CPPFLAGS=" "
1176 ;;
1177 *-sysv4.2uw* ) opsys=unixware; NON_GNU_CPP=/lib/cpp ;; 718 *-sysv4.2uw* ) opsys=unixware; NON_GNU_CPP=/lib/cpp ;;
1178 *-sysv5uw* ) opsys=unixware; NON_GNU_CPP=/lib/cpp ;; 719 *-sysv5uw* ) opsys=unixware; NON_GNU_CPP=/lib/cpp ;;
1179 *-sysv5OpenUNIX* ) opsys=unixware; NON_GNU_CPP=/lib/cpp ;; 720 *-sysv5OpenUNIX* ) opsys=unixware; NON_GNU_CPP=/lib/cpp ;;
1180 *-386bsd* ) opsys=386bsd ;; 721 *-386bsd* ) opsys=386bsd ;;
1181 *-nextstep* ) opsys=nextstep ;; 722 *-nextstep* ) opsys=nextstep ;;
1196 ## UXP/DS 737 ## UXP/DS
1197 sparc-fujitsu-sysv4* ) 738 sparc-fujitsu-sysv4* )
1198 machine=sparc opsys=uxpds 739 machine=sparc opsys=uxpds
1199 NON_GNU_CPP=/usr/ccs/lib/cpp 740 NON_GNU_CPP=/usr/ccs/lib/cpp
1200 RANLIB="ar -ts" 741 RANLIB="ar -ts"
1201 ;;
1202
1203 ## UXP/V
1204 f301-fujitsu-uxpv4.1)
1205 machine=f301 opsys=uxpv
1206 ;; 742 ;;
1207 743
1208 ## AMD x86-64 Linux-based GNU system 744 ## AMD x86-64 Linux-based GNU system
1209 x86_64-*-linux-gnu* ) 745 x86_64-*-linux-gnu* )
1210 machine=amdx86-64 opsys=gnu-linux 746 machine=amdx86-64 opsys=gnu-linux
3211 buffer space.]) 2747 buffer space.])
3212 fi 2748 fi
3213 2749
3214 2750
3215 AH_TOP([/* GNU Emacs site configuration template file. 2751 AH_TOP([/* GNU Emacs site configuration template file.
3216 Copyright (C) 1988, 1993, 1994, 1999, 2000, 2001, 2002, 2004, 2005, 2006, 2007 2752 Copyright (C) 1988, 1993, 1994, 1999, 2000, 2001, 2002, 2004, 2005,
3217 Free Software Foundation, Inc. 2753 2006, 2007, 2008 Free Software Foundation, Inc.
3218 2754
3219 This file is part of GNU Emacs. 2755 This file is part of GNU Emacs.
3220 2756
3221 GNU Emacs is free software; you can redistribute it and/or modify 2757 GNU Emacs is free software; you can redistribute it and/or modify
3222 it under the terms of the GNU General Public License as published by 2758 it under the terms of the GNU General Public License as published by
3479 that the stack is continuous. */ 3015 that the stack is continuous. */
3480 #ifdef __GNUC__ 3016 #ifdef __GNUC__
3481 # ifndef GC_SETJMP_WORKS 3017 # ifndef GC_SETJMP_WORKS
3482 /* GC_SETJMP_WORKS is nearly always appropriate for GCC -- 3018 /* GC_SETJMP_WORKS is nearly always appropriate for GCC --
3483 see NON_SAVING_SETJMP in the target descriptions. */ 3019 see NON_SAVING_SETJMP in the target descriptions. */
3484 /* Exceptions (see NON_SAVING_SETJMP in target description) are ns32k, 3020 /* Exceptions (see NON_SAVING_SETJMP in target description) are
3485 SCO5 non-ELF (but Emacs specifies ELF) and SVR3 on x86. 3021 SCO5 non-ELF (but Emacs specifies ELF) and SVR3 on x86.
3486 Fixme: Deal with ns32k, SVR3. */ 3022 Fixme: Deal with SVR3. */
3487 # define GC_SETJMP_WORKS 1 3023 # define GC_SETJMP_WORKS 1
3488 # endif 3024 # endif
3489 # ifndef GC_LISP_OBJECT_ALIGNMENT 3025 # ifndef GC_LISP_OBJECT_ALIGNMENT
3490 # define GC_LISP_OBJECT_ALIGNMENT (__alignof__ (Lisp_Object)) 3026 # define GC_LISP_OBJECT_ALIGNMENT (__alignof__ (Lisp_Object))
3491 # endif 3027 # endif