aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1993-08-13 22:18:34 +0000
committerRichard M. Stallman1993-08-13 22:18:34 +0000
commit1c0feb6700bbe9188711c64ffdcc373e01f41812 (patch)
tree3550dbe8efd317a0b4d164eb976423c62e7b4a19
parent404daac1a18eb89ba78cd007af3f974ab5e9d93e (diff)
downloademacs-1c0feb6700bbe9188711c64ffdcc373e01f41812.tar.gz
emacs-1c0feb6700bbe9188711c64ffdcc373e01f41812.zip
Check for XScreenNumberOfScreen.
Add * to end of all configuration alternatives. (m68*-sony-newsos3*): New alternative. For --help, use $PAGER if it is set. (LIB_X11_LIB): Default to -lX11. (mips-sgi-irix5.*): New alternative. (m68*-hp-hpux*, hppa*-hp-hpux*): Recognize *.B8.* as hpux version 8. (m68*-tektronix-bsd*): Fix typo in tek4300. (AC_HAVE_FUNCS): Add ftime.
-rwxr-xr-xconfigure1.in85
1 files changed, 51 insertions, 34 deletions
diff --git a/configure1.in b/configure1.in
index 104ee84519c..4b7c640c606 100755
--- a/configure1.in
+++ b/configure1.in
@@ -267,7 +267,12 @@ Set it to either \`yes' or \`no'."
267 267
268 ## Has the user asked for some help? 268 ## Has the user asked for some help?
269 "usage" | "help" ) 269 "usage" | "help" )
270 echo "${short_usage}" | more 270 if [ "x$PAGER" = x ]
271 then
272 echo "${short_usage}" | more
273 else
274 echo "${short_usage}" | $PAGER
275 fi
271 exit 276 exit
272 ;; 277 ;;
273 278
@@ -497,7 +502,7 @@ case "${canonical}" in
497 ;; 502 ;;
498 503
499 ## DECstations 504 ## DECstations
500 mips-dec-ultrix[0-3].* | mips-dec-ultrix4.0 | mips-dec-bsd4.2 ) 505 mips-dec-ultrix[0-3].* | mips-dec-ultrix4.0* | mips-dec-bsd4.2* )
501 machine=pmax opsys=bsd4-2 506 machine=pmax opsys=bsd4-2
502 ;; 507 ;;
503 mips-dec-ultrix* | mips-dec-bsd* ) 508 mips-dec-ultrix* | mips-dec-bsd* )
@@ -539,10 +544,10 @@ case "${canonical}" in
539 ## The GEC 93 - apparently, this port isn't really finished yet. 544 ## The GEC 93 - apparently, this port isn't really finished yet.
540 545
541 ## Gould Power Node and NP1 546 ## Gould Power Node and NP1
542 pn-gould-bsd4.2 ) 547 pn-gould-bsd4.2* )
543 machine=gould opsys=bsd4-2 548 machine=gould opsys=bsd4-2
544 ;; 549 ;;
545 pn-gould-bsd4.3 ) 550 pn-gould-bsd4.3* )
546 machine=gould opsys=bsd4-3 551 machine=gould opsys=bsd4-3
547 ;; 552 ;;
548 np1-gould-bsd* ) 553 np1-gould-bsd* )
@@ -561,6 +566,9 @@ case "${canonical}" in
561 ## HP/UX 7, 8 and 9 are supported on these machines. 566 ## HP/UX 7, 8 and 9 are supported on these machines.
562 m68*-hp-hpux* ) 567 m68*-hp-hpux* )
563 case "`uname -r`" in 568 case "`uname -r`" in
569 ## Someone's system reports A.B8.05 for this.
570 ## I wonder what other possibilities there are.
571 *.B8.* ) machine=hp9000s300 opsys=hpux8 ;;
564 *.08.* ) machine=hp9000s300 opsys=hpux8 ;; 572 *.08.* ) machine=hp9000s300 opsys=hpux8 ;;
565 *.09.* ) machine=hp9000s300 opsys=hpux9 ;; 573 *.09.* ) machine=hp9000s300 opsys=hpux9 ;;
566 *) machine=hp9000s300 opsys=hpux ;; 574 *) machine=hp9000s300 opsys=hpux ;;
@@ -582,6 +590,9 @@ case "${canonical}" in
582 hppa*-hp-hpux* ) 590 hppa*-hp-hpux* )
583 ## Cross-compilation? Nah! 591 ## Cross-compilation? Nah!
584 case "`uname -r`" in 592 case "`uname -r`" in
593 ## Someone's system reports A.B8.05 for this.
594 ## I wonder what other possibilities there are.
595 *.B8.* ) machine=hp9000s800 opsys=hpux8 ;;
585 *.08.* ) machine=hp9000s800 opsys=hpux8 ;; 596 *.08.* ) machine=hp9000s800 opsys=hpux8 ;;
586 *.09.* ) machine=hp9000s800 opsys=hpux9 ;; 597 *.09.* ) machine=hp9000s800 opsys=hpux9 ;;
587 *) machine=hp9000s800 opsys=hpux ;; 598 *) machine=hp9000s800 opsys=hpux ;;
@@ -597,31 +608,31 @@ case "${canonical}" in
597 ;; 608 ;;
598 609
599 ## IBM machines 610 ## IBM machines
600 i386-ibm-aix1.1 ) 611 i386-ibm-aix1.1* )
601 machine=ibmps2-aix opsys=usg5-2-2 612 machine=ibmps2-aix opsys=usg5-2-2
602 ;; 613 ;;
603 i386-ibm-aix1.[23] | i386-ibm-aix* ) 614 i386-ibm-aix1.[23]* | i386-ibm-aix* )
604 machine=ibmps2-aix opsys=usg5-3 615 machine=ibmps2-aix opsys=usg5-3
605 ;; 616 ;;
606 i370-ibm-aix*) 617 i370-ibm-aix*)
607 machine=ibm370aix opsys=usg5-3 618 machine=ibm370aix opsys=usg5-3
608 ;; 619 ;;
609 rs6000-ibm-aix3.1 ) 620 rs6000-ibm-aix3.1* )
610 machine=ibmrs6000 opsys=aix3-1 621 machine=ibmrs6000 opsys=aix3-1
611 ;; 622 ;;
612 rs6000-ibm-aix3.2 | rs6000-ibm-aix* ) 623 rs6000-ibm-aix3.2* | rs6000-ibm-aix* )
613 machine=ibmrs6000 opsys=aix3-2 624 machine=ibmrs6000 opsys=aix3-2
614 ;; 625 ;;
615 romp-ibm-bsd4-3 ) 626 romp-ibm-bsd4.3* )
616 machine=ibmrt opsys=bsd4-3 627 machine=ibmrt opsys=bsd4-3
617 ;; 628 ;;
618 romp-ibm-bsd4-2 ) 629 romp-ibm-bsd4.2* )
619 machine=ibmrt opsys=bsd4-2 630 machine=ibmrt opsys=bsd4-2
620 ;; 631 ;;
621 romp-ibm-aos4-3 ) 632 romp-ibm-aos4.3* )
622 machine=ibmrt opsys=bsd4-3 633 machine=ibmrt opsys=bsd4-3
623 ;; 634 ;;
624 romp-ibm-aos4-2 ) 635 romp-ibm-aos4.2* )
625 machine=ibmrt opsys=bsd4-2 636 machine=ibmrt opsys=bsd4-2
626 ;; 637 ;;
627 romp-ibm-aos* ) 638 romp-ibm-aos* )
@@ -635,10 +646,10 @@ case "${canonical}" in
635 ;; 646 ;;
636 647
637 ## Integrated Solutions `Optimum V' 648 ## Integrated Solutions `Optimum V'
638 m68*-isi-bsd4.2 ) 649 m68*-isi-bsd4.2* )
639 machine=isi-ov opsys=bsd4-2 650 machine=isi-ov opsys=bsd4-2
640 ;; 651 ;;
641 m68*-isi-bsd4.3 ) 652 m68*-isi-bsd4.3* )
642 machine=isi-ov opsys=bsd4-3 653 machine=isi-ov opsys=bsd4-3
643 ;; 654 ;;
644 655
@@ -658,28 +669,31 @@ case "${canonical}" in
658 ;; 669 ;;
659 670
660 ## Intel 860 671 ## Intel 860
661 i860-*-sysvr4 ) 672 i860-*-sysvr4* )
662 machine=i860 opsys=usg5-4 673 machine=i860 opsys=usg5-4
663 ;; 674 ;;
664 675
665 ## Silicon Graphics machines 676 ## Silicon Graphics machines
666 ## Iris 2500 and Iris 2500 Turbo (aka the Iris 3030) 677 ## Iris 2500 and Iris 2500 Turbo (aka the Iris 3030)
667 m68*-sgi-iris3.5 ) 678 m68*-sgi-iris3.5* )
668 machine=irist opsys=iris3-5 679 machine=irist opsys=iris3-5
669 ;; 680 ;;
670 m68*-sgi-iris3.6 | m68*-sgi-iris*) 681 m68*-sgi-iris3.6* | m68*-sgi-iris*)
671 machine=irist opsys=iris3-6 682 machine=irist opsys=iris3-6
672 ;; 683 ;;
673 ## Iris 4D 684 ## Iris 4D
674 mips-sgi-irix3.* ) 685 mips-sgi-irix3.* )
675 machine=iris4d opsys=irix3-3 686 machine=iris4d opsys=irix3-3
676 ;; 687 ;;
688 mips-sgi-irix5.* )
689 machine=iris4d opsys=irix5-0
690 ;;
677 mips-sgi-irix4.* | mips-sgi-irix* ) 691 mips-sgi-irix4.* | mips-sgi-irix* )
678 machine=iris4d opsys=irix4-0 692 machine=iris4d opsys=irix4-0
679 ;; 693 ;;
680 694
681 ## Masscomp machines 695 ## Masscomp machines
682 m68*-masscomp-rtu ) 696 m68*-masscomp-rtu* )
683 machine=masscomp opsys=rtu 697 machine=masscomp opsys=rtu
684 ;; 698 ;;
685 699
@@ -754,18 +768,21 @@ case "${canonical}" in
754 ;; 768 ;;
755 769
756 ## Sequent Balance 770 ## Sequent Balance
757 ns32k-sequent-bsd4.2 ) 771 ns32k-sequent-bsd4.2* )
758 machine=sequent opsys=bsd4-2 772 machine=sequent opsys=bsd4-2
759 ;; 773 ;;
760 ns32k-sequent-bsd4.3 ) 774 ns32k-sequent-bsd4.3* )
761 machine=sequent opsys=bsd4-3 775 machine=sequent opsys=bsd4-3
762 ;; 776 ;;
763 777
764 ## SONY machines 778 ## SONY machines
765 m68*-sony-bsd4.2 ) 779 m68*-sony-bsd4.2* )
766 machine=news opsys=bsd4-2 780 machine=news opsys=bsd4-2
767 ;; 781 ;;
768 m68*-sony-bsd4.3 ) 782 m68*-sony-bsd4.3* )
783 machine=news opsys=bsd4-3
784 ;;
785 m68*-sony-newsos3*)
769 machine=news opsys=bsd4-3 786 machine=news opsys=bsd4-3
770 ;; 787 ;;
771 mips-sony-bsd* ) 788 mips-sony-bsd* )
@@ -802,10 +819,10 @@ case "${canonical}" in
802 ;; 819 ;;
803 820
804 ## Tahoe machines 821 ## Tahoe machines
805 tahoe-tahoe-bsd4.2 ) 822 tahoe-tahoe-bsd4.2* )
806 machine=tahoe opsys=bsd4-2 823 machine=tahoe opsys=bsd4-2
807 ;; 824 ;;
808 tahoe-tahoe-bsd4.3 ) 825 tahoe-tahoe-bsd4.3* )
809 machine=tahoe opsys=bsd4-3 826 machine=tahoe opsys=bsd4-3
810 ;; 827 ;;
811 828
@@ -826,7 +843,7 @@ case "${canonical}" in
826 ## Tektronix 4300 843 ## Tektronix 4300
827 ## src/m/tek4300.h hints that this is a m68k machine. 844 ## src/m/tek4300.h hints that this is a m68k machine.
828 m68*-tektronix-bsd* ) 845 m68*-tektronix-bsd* )
829 machine=tex4300 opsys=bsd4-3 846 machine=tek4300 opsys=bsd4-3
830 ;; 847 ;;
831 848
832 ## Titan P2 or P3 849 ## Titan P2 or P3
@@ -844,10 +861,10 @@ case "${canonical}" in
844 vax-dec-* ) 861 vax-dec-* )
845 machine=vax 862 machine=vax
846 case "${canonical}" in 863 case "${canonical}" in
847 *-bsd4.1 ) opsys=bsd4-1 ;; 864 *-bsd4.1* ) opsys=bsd4-1 ;;
848 *-bsd4.2 | *-ultrix[0-3].* | *-ultrix4.0 ) opsys=bsd4-2 ;; 865 *-bsd4.2* | *-ultrix[0-3].* | *-ultrix4.0* ) opsys=bsd4-2 ;;
849 *-bsd4.3 | *-ultrix* ) opsys=bsd4-3 ;; 866 *-bsd4.3* | *-ultrix* ) opsys=bsd4-3 ;;
850 *-bsd386 ) opsys=bsd386 ;; 867 *-bsd386* ) opsys=bsd386 ;;
851 *-sysv[01]* | *-sysvr[01]* ) opsys=usg5-0 ;; 868 *-sysv[01]* | *-sysvr[01]* ) opsys=usg5-0 ;;
852 *-sysv2* | *-sysvr2* ) opsys=usg5-2 ;; 869 *-sysv2* | *-sysvr2* ) opsys=usg5-2 ;;
853 *-vms* ) opsys=vms ;; 870 *-vms* ) opsys=vms ;;
@@ -872,7 +889,7 @@ case "${canonical}" in
872 machine=intel386 889 machine=intel386
873 case "${canonical}" in 890 case "${canonical}" in
874 *-isc1.* | *-isc2.[01]* ) opsys=386-ix ;; 891 *-isc1.* | *-isc2.[01]* ) opsys=386-ix ;;
875 *-isc2.2 ) opsys=isc2-2 ;; 892 *-isc2.2* ) opsys=isc2-2 ;;
876 *-isc* ) opsys=isc3-0 ;; 893 *-isc* ) opsys=isc3-0 ;;
877 *-esix5* ) opsys=esix5r4 ;; 894 *-esix5* ) opsys=esix5r4 ;;
878 *-esix* ) opsys=esix ;; 895 *-esix* ) opsys=esix ;;
@@ -880,7 +897,7 @@ case "${canonical}" in
880 *-linux* ) opsys=linux ;; 897 *-linux* ) opsys=linux ;;
881 *-sco3.2v4* ) opsys=sco4 ;; 898 *-sco3.2v4* ) opsys=sco4 ;;
882 *-bsd386* ) opsys=bsd386 ;; 899 *-bsd386* ) opsys=bsd386 ;;
883 *-386bsd ) opsys=386bsd ;; 900 *-386bsd* ) opsys=386bsd ;;
884 ## Otherwise, we'll fall through to the generic opsys code at the bottom. 901 ## Otherwise, we'll fall through to the generic opsys code at the bottom.
885 esac 902 esac
886 ;; 903 ;;
@@ -1088,7 +1105,7 @@ echo '
1088@configure@ c_switch_system=C_SWITCH_SYSTEM 1105@configure@ c_switch_system=C_SWITCH_SYSTEM
1089 1106
1090#ifndef LIB_X11_LIB 1107#ifndef LIB_X11_LIB
1091#define LIB_X11_LIB 1108#define LIB_X11_LIB -lX11
1092#endif 1109#endif
1093 1110
1094#ifndef LIBX11_MACHINE 1111#ifndef LIBX11_MACHINE
@@ -1172,14 +1189,14 @@ AC_HAVE_LIBRARY(-lXbsd, LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd"
1172if test "${HAVE_X11}" = "yes"; then 1189if test "${HAVE_X11}" = "yes"; then
1173 DEFS="$C_SWITCH_X_SITE $DEFS" 1190 DEFS="$C_SWITCH_X_SITE $DEFS"
1174 LIBS="$LD_SWITCH_X_SITE $LIBX $LIBS" 1191 LIBS="$LD_SWITCH_X_SITE $LIBX $LIBS"
1175 AC_HAVE_FUNCS(XrmSetDatabase XScreenResourceString) 1192 AC_HAVE_FUNCS(XrmSetDatabase XScreenResourceString XScreenNumberOfScreen)
1176fi 1193fi
1177 1194
1178AC_ALLOCA 1195AC_ALLOCA
1179 1196
1180# logb and frexp are found in -lm on most systems. 1197# logb and frexp are found in -lm on most systems.
1181AC_HAVE_LIBRARY(-lm) 1198AC_HAVE_LIBRARY(-lm)
1182AC_HAVE_FUNCS(gettimeofday gethostname dup2 rename closedir mkdir rmdir random bcopy logb frexp) 1199AC_HAVE_FUNCS(gettimeofday gethostname dup2 rename closedir mkdir rmdir random bcopy logb frexp ftime)
1183 1200
1184ok_so_far=true 1201ok_so_far=true
1185AC_FUNC_CHECK(socket, , ok_so_far=) 1202AC_FUNC_CHECK(socket, , ok_so_far=)