aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2011-02-04 21:07:22 -0800
committerPaul Eggert2011-02-04 21:07:22 -0800
commitd67985d3f98bdf075c7fa8eaa05529a9c49771e1 (patch)
treef55f1f0bc36a232fd1307bee15b2a67c6d396997
parentec72bf63aea256f08eaab0f09929dbd327a57178 (diff)
downloademacs-d67985d3f98bdf075c7fa8eaa05529a9c49771e1.tar.gz
emacs-d67985d3f98bdf075c7fa8eaa05529a9c49771e1.zip
sync from gnulib to remove HAVE_STDBOOL_H
-rw-r--r--ChangeLog11
-rwxr-xr-xconfig.guess192
-rwxr-xr-xconfig.sub54
-rwxr-xr-xconfigure4
-rw-r--r--m4/stdbool.m414
-rw-r--r--src/ChangeLog5
-rw-r--r--src/config.in3
7 files changed, 144 insertions, 139 deletions
diff --git a/ChangeLog b/ChangeLog
index df1d6bc2144..1ba35554beb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
12011-02-05 Paul Eggert <eggert@cs.ucla.edu>
2
3 sync from gnulib to remove HAVE_STDBOOL_H
4 * m4/stdbool.m4 (AC_CHECK_HEADER_STDBOOL): Renamed from
5 AC_HEADER_STDBOOL. All uses changed. Do not define
6 HAVE_STDBOOL_H, as gnulib does not need this. This change is
7 imported from the latest Autoconf git. It was motivated by Emacs,
8 which uses gnulib but does not need HAVE_STDBOOL_H.
9 * configure, src/config.in: Regenerate.
10 * config.guess, config.sub: Sync to 2011-02-02 versions (whitespace)
11
12011-02-03 Paul Eggert <eggert@cs.ucla.edu> 122011-02-03 Paul Eggert <eggert@cs.ucla.edu>
2 13
3 allow C code to suppress warnings about ignored return values 14 allow C code to suppress warnings about ignored return values
diff --git a/config.guess b/config.guess
index 78553c4ea07..187cd54edd2 100755
--- a/config.guess
+++ b/config.guess
@@ -4,7 +4,7 @@
4# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 4# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
5# 2011 Free Software Foundation, Inc. 5# 2011 Free Software Foundation, Inc.
6 6
7timestamp='2011-01-23' 7timestamp='2011-02-02'
8 8
9# This file is free software; you can redistribute it and/or modify it 9# This file is free software; you can redistribute it and/or modify it
10# under the terms of the GNU General Public License as published by 10# under the terms of the GNU General Public License as published by
@@ -181,7 +181,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
181 fi 181 fi
182 ;; 182 ;;
183 *) 183 *)
184 os=netbsd 184 os=netbsd
185 ;; 185 ;;
186 esac 186 esac
187 # The OS release 187 # The OS release
@@ -224,7 +224,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
224 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` 224 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
225 ;; 225 ;;
226 *5.*) 226 *5.*)
227 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` 227 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
228 ;; 228 ;;
229 esac 229 esac
230 # According to Compaq, /usr/sbin/psrinfo has been available on 230 # According to Compaq, /usr/sbin/psrinfo has been available on
@@ -299,7 +299,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
299 echo s390-ibm-zvmoe 299 echo s390-ibm-zvmoe
300 exit ;; 300 exit ;;
301 *:OS400:*:*) 301 *:OS400:*:*)
302 echo powerpc-ibm-os400 302 echo powerpc-ibm-os400
303 exit ;; 303 exit ;;
304 arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) 304 arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
305 echo arm-acorn-riscix${UNAME_RELEASE} 305 echo arm-acorn-riscix${UNAME_RELEASE}
@@ -398,23 +398,23 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
398 # MiNT. But MiNT is downward compatible to TOS, so this should 398 # MiNT. But MiNT is downward compatible to TOS, so this should
399 # be no problem. 399 # be no problem.
400 atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) 400 atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
401 echo m68k-atari-mint${UNAME_RELEASE} 401 echo m68k-atari-mint${UNAME_RELEASE}
402 exit ;; 402 exit ;;
403 atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) 403 atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
404 echo m68k-atari-mint${UNAME_RELEASE} 404 echo m68k-atari-mint${UNAME_RELEASE}
405 exit ;; 405 exit ;;
406 *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) 406 *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
407 echo m68k-atari-mint${UNAME_RELEASE} 407 echo m68k-atari-mint${UNAME_RELEASE}
408 exit ;; 408 exit ;;
409 milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) 409 milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
410 echo m68k-milan-mint${UNAME_RELEASE} 410 echo m68k-milan-mint${UNAME_RELEASE}
411 exit ;; 411 exit ;;
412 hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) 412 hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
413 echo m68k-hades-mint${UNAME_RELEASE} 413 echo m68k-hades-mint${UNAME_RELEASE}
414 exit ;; 414 exit ;;
415 *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) 415 *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
416 echo m68k-unknown-mint${UNAME_RELEASE} 416 echo m68k-unknown-mint${UNAME_RELEASE}
417 exit ;; 417 exit ;;
418 m68k:machten:*:*) 418 m68k:machten:*:*)
419 echo m68k-apple-machten${UNAME_RELEASE} 419 echo m68k-apple-machten${UNAME_RELEASE}
420 exit ;; 420 exit ;;
@@ -484,8 +484,8 @@ EOF
484 echo m88k-motorola-sysv3 484 echo m88k-motorola-sysv3
485 exit ;; 485 exit ;;
486 AViiON:dgux:*:*) 486 AViiON:dgux:*:*)
487 # DG/UX returns AViiON for all architectures 487 # DG/UX returns AViiON for all architectures
488 UNAME_PROCESSOR=`/usr/bin/uname -p` 488 UNAME_PROCESSOR=`/usr/bin/uname -p`
489 if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] 489 if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
490 then 490 then
491 if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ 491 if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
@@ -498,7 +498,7 @@ EOF
498 else 498 else
499 echo i586-dg-dgux${UNAME_RELEASE} 499 echo i586-dg-dgux${UNAME_RELEASE}
500 fi 500 fi
501 exit ;; 501 exit ;;
502 M88*:DolphinOS:*:*) # DolphinOS (SVR3) 502 M88*:DolphinOS:*:*) # DolphinOS (SVR3)
503 echo m88k-dolphin-sysv3 503 echo m88k-dolphin-sysv3
504 exit ;; 504 exit ;;
@@ -598,52 +598,52 @@ EOF
598 9000/[678][0-9][0-9]) 598 9000/[678][0-9][0-9])
599 if [ -x /usr/bin/getconf ]; then 599 if [ -x /usr/bin/getconf ]; then
600 sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` 600 sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
601 sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` 601 sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
602 case "${sc_cpu_version}" in 602 case "${sc_cpu_version}" in
603 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 603 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
604 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 604 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
605 532) # CPU_PA_RISC2_0 605 532) # CPU_PA_RISC2_0
606 case "${sc_kernel_bits}" in 606 case "${sc_kernel_bits}" in
607 32) HP_ARCH="hppa2.0n" ;; 607 32) HP_ARCH="hppa2.0n" ;;
608 64) HP_ARCH="hppa2.0w" ;; 608 64) HP_ARCH="hppa2.0w" ;;
609 '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 609 '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20
610 esac ;; 610 esac ;;
611 esac 611 esac
612 fi 612 fi
613 if [ "${HP_ARCH}" = "" ]; then 613 if [ "${HP_ARCH}" = "" ]; then
614 eval $set_cc_for_build 614 eval $set_cc_for_build
615 sed 's/^ //' << EOF >$dummy.c 615 sed 's/^ //' << EOF >$dummy.c
616 616
617 #define _HPUX_SOURCE 617 #define _HPUX_SOURCE
618 #include <stdlib.h> 618 #include <stdlib.h>
619 #include <unistd.h> 619 #include <unistd.h>
620 620
621 int main () 621 int main ()
622 { 622 {
623 #if defined(_SC_KERNEL_BITS) 623 #if defined(_SC_KERNEL_BITS)
624 long bits = sysconf(_SC_KERNEL_BITS); 624 long bits = sysconf(_SC_KERNEL_BITS);
625 #endif 625 #endif
626 long cpu = sysconf (_SC_CPU_VERSION); 626 long cpu = sysconf (_SC_CPU_VERSION);
627 627
628 switch (cpu) 628 switch (cpu)
629 { 629 {
630 case CPU_PA_RISC1_0: puts ("hppa1.0"); break; 630 case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
631 case CPU_PA_RISC1_1: puts ("hppa1.1"); break; 631 case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
632 case CPU_PA_RISC2_0: 632 case CPU_PA_RISC2_0:
633 #if defined(_SC_KERNEL_BITS) 633 #if defined(_SC_KERNEL_BITS)
634 switch (bits) 634 switch (bits)
635 { 635 {
636 case 64: puts ("hppa2.0w"); break; 636 case 64: puts ("hppa2.0w"); break;
637 case 32: puts ("hppa2.0n"); break; 637 case 32: puts ("hppa2.0n"); break;
638 default: puts ("hppa2.0"); break; 638 default: puts ("hppa2.0"); break;
639 } break; 639 } break;
640 #else /* !defined(_SC_KERNEL_BITS) */ 640 #else /* !defined(_SC_KERNEL_BITS) */
641 puts ("hppa2.0"); break; 641 puts ("hppa2.0"); break;
642 #endif 642 #endif
643 default: puts ("hppa1.0"); break; 643 default: puts ("hppa1.0"); break;
644 } 644 }
645 exit (0); 645 exit (0);
646 } 646 }
647EOF 647EOF
648 (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` 648 (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
649 test -z "$HP_ARCH" && HP_ARCH=hppa 649 test -z "$HP_ARCH" && HP_ARCH=hppa
@@ -734,22 +734,22 @@ EOF
734 exit ;; 734 exit ;;
735 C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) 735 C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
736 echo c1-convex-bsd 736 echo c1-convex-bsd
737 exit ;; 737 exit ;;
738 C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) 738 C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
739 if getsysinfo -f scalar_acc 739 if getsysinfo -f scalar_acc
740 then echo c32-convex-bsd 740 then echo c32-convex-bsd
741 else echo c2-convex-bsd 741 else echo c2-convex-bsd
742 fi 742 fi
743 exit ;; 743 exit ;;
744 C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) 744 C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
745 echo c34-convex-bsd 745 echo c34-convex-bsd
746 exit ;; 746 exit ;;
747 C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) 747 C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
748 echo c38-convex-bsd 748 echo c38-convex-bsd
749 exit ;; 749 exit ;;
750 C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) 750 C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
751 echo c4-convex-bsd 751 echo c4-convex-bsd
752 exit ;; 752 exit ;;
753 CRAY*Y-MP:*:*:*) 753 CRAY*Y-MP:*:*:*)
754 echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' 754 echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
755 exit ;; 755 exit ;;
@@ -773,14 +773,14 @@ EOF
773 exit ;; 773 exit ;;
774 F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) 774 F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
775 FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` 775 FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
776 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` 776 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
777 FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` 777 FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
778 echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" 778 echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
779 exit ;; 779 exit ;;
780 5000:UNIX_System_V:4.*:*) 780 5000:UNIX_System_V:4.*:*)
781 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` 781 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
782 FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` 782 FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
783 echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" 783 echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
784 exit ;; 784 exit ;;
785 i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) 785 i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
786 echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} 786 echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
@@ -808,14 +808,14 @@ EOF
808 echo ${UNAME_MACHINE}-pc-mingw32 808 echo ${UNAME_MACHINE}-pc-mingw32
809 exit ;; 809 exit ;;
810 i*:windows32*:*) 810 i*:windows32*:*)
811 # uname -m includes "-pc" on this system. 811 # uname -m includes "-pc" on this system.
812 echo ${UNAME_MACHINE}-mingw32 812 echo ${UNAME_MACHINE}-mingw32
813 exit ;; 813 exit ;;
814 i*:PW*:*) 814 i*:PW*:*)
815 echo ${UNAME_MACHINE}-pc-pw32 815 echo ${UNAME_MACHINE}-pc-pw32
816 exit ;; 816 exit ;;
817 *:Interix*:*) 817 *:Interix*:*)
818 case ${UNAME_MACHINE} in 818 case ${UNAME_MACHINE} in
819 x86) 819 x86)
820 echo i586-pc-interix${UNAME_RELEASE} 820 echo i586-pc-interix${UNAME_RELEASE}
821 exit ;; 821 exit ;;
@@ -870,7 +870,7 @@ EOF
870 EV6) UNAME_MACHINE=alphaev6 ;; 870 EV6) UNAME_MACHINE=alphaev6 ;;
871 EV67) UNAME_MACHINE=alphaev67 ;; 871 EV67) UNAME_MACHINE=alphaev67 ;;
872 EV68*) UNAME_MACHINE=alphaev68 ;; 872 EV68*) UNAME_MACHINE=alphaev68 ;;
873 esac 873 esac
874 objdump --private-headers /bin/sh | grep -q ld.so.1 874 objdump --private-headers /bin/sh | grep -q ld.so.1
875 if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi 875 if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
876 echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} 876 echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
@@ -895,7 +895,7 @@ EOF
895 echo crisv32-axis-linux-gnu 895 echo crisv32-axis-linux-gnu
896 exit ;; 896 exit ;;
897 frv:Linux:*:*) 897 frv:Linux:*:*)
898 echo frv-unknown-linux-gnu 898 echo frv-unknown-linux-gnu
899 exit ;; 899 exit ;;
900 i*86:Linux:*:*) 900 i*86:Linux:*:*)
901 LIBC=gnu 901 LIBC=gnu
@@ -963,7 +963,7 @@ EOF
963 echo ${UNAME_MACHINE}-ibm-linux 963 echo ${UNAME_MACHINE}-ibm-linux
964 exit ;; 964 exit ;;
965 sh64*:Linux:*:*) 965 sh64*:Linux:*:*)
966 echo ${UNAME_MACHINE}-unknown-linux-gnu 966 echo ${UNAME_MACHINE}-unknown-linux-gnu
967 exit ;; 967 exit ;;
968 sh*:Linux:*:*) 968 sh*:Linux:*:*)
969 echo ${UNAME_MACHINE}-unknown-linux-gnu 969 echo ${UNAME_MACHINE}-unknown-linux-gnu
@@ -981,7 +981,7 @@ EOF
981 echo x86_64-unknown-linux-gnu 981 echo x86_64-unknown-linux-gnu
982 exit ;; 982 exit ;;
983 xtensa*:Linux:*:*) 983 xtensa*:Linux:*:*)
984 echo ${UNAME_MACHINE}-unknown-linux-gnu 984 echo ${UNAME_MACHINE}-unknown-linux-gnu
985 exit ;; 985 exit ;;
986 i*86:DYNIX/ptx:4*:*) 986 i*86:DYNIX/ptx:4*:*)
987 # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. 987 # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
@@ -990,11 +990,11 @@ EOF
990 echo i386-sequent-sysv4 990 echo i386-sequent-sysv4
991 exit ;; 991 exit ;;
992 i*86:UNIX_SV:4.2MP:2.*) 992 i*86:UNIX_SV:4.2MP:2.*)
993 # Unixware is an offshoot of SVR4, but it has its own version 993 # Unixware is an offshoot of SVR4, but it has its own version
994 # number series starting with 2... 994 # number series starting with 2...
995 # I am not positive that other SVR4 systems won't match this, 995 # I am not positive that other SVR4 systems won't match this,
996 # I just have to hope. -- rms. 996 # I just have to hope. -- rms.
997 # Use sysv4.2uw... so that sysv4* matches it. 997 # Use sysv4.2uw... so that sysv4* matches it.
998 echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} 998 echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
999 exit ;; 999 exit ;;
1000 i*86:OS/2:*:*) 1000 i*86:OS/2:*:*)
@@ -1026,7 +1026,7 @@ EOF
1026 fi 1026 fi
1027 exit ;; 1027 exit ;;
1028 i*86:*:5:[678]*) 1028 i*86:*:5:[678]*)
1029 # UnixWare 7.x, OpenUNIX and OpenServer 6. 1029 # UnixWare 7.x, OpenUNIX and OpenServer 6.
1030 case `/bin/uname -X | grep "^Machine"` in 1030 case `/bin/uname -X | grep "^Machine"` in
1031 *486*) UNAME_MACHINE=i486 ;; 1031 *486*) UNAME_MACHINE=i486 ;;
1032 *Pentium) UNAME_MACHINE=i586 ;; 1032 *Pentium) UNAME_MACHINE=i586 ;;
@@ -1054,13 +1054,13 @@ EOF
1054 exit ;; 1054 exit ;;
1055 pc:*:*:*) 1055 pc:*:*:*)
1056 # Left here for compatibility: 1056 # Left here for compatibility:
1057 # uname -m prints for DJGPP always 'pc', but it prints nothing about 1057 # uname -m prints for DJGPP always 'pc', but it prints nothing about
1058 # the processor, so we play safe by assuming i586. 1058 # the processor, so we play safe by assuming i586.
1059 # Note: whatever this is, it MUST be the same as what config.sub 1059 # Note: whatever this is, it MUST be the same as what config.sub
1060 # prints for the "djgpp" host, or else GDB configury will decide that 1060 # prints for the "djgpp" host, or else GDB configury will decide that
1061 # this is a cross-build. 1061 # this is a cross-build.
1062 echo i586-pc-msdosdjgpp 1062 echo i586-pc-msdosdjgpp
1063 exit ;; 1063 exit ;;
1064 Intel:Mach:3*:*) 1064 Intel:Mach:3*:*)
1065 echo i386-pc-mach3 1065 echo i386-pc-mach3
1066 exit ;; 1066 exit ;;
@@ -1095,8 +1095,8 @@ EOF
1095 /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ 1095 /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
1096 && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; 1096 && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
1097 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) 1097 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
1098 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ 1098 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1099 && { echo i486-ncr-sysv4; exit; } ;; 1099 && { echo i486-ncr-sysv4; exit; } ;;
1100 NCR*:*:4.2:* | MPRAS*:*:4.2:*) 1100 NCR*:*:4.2:* | MPRAS*:*:4.2:*)
1101 OS_REL='.3' 1101 OS_REL='.3'
1102 test -r /etc/.relid \ 1102 test -r /etc/.relid \
@@ -1139,10 +1139,10 @@ EOF
1139 echo ns32k-sni-sysv 1139 echo ns32k-sni-sysv
1140 fi 1140 fi
1141 exit ;; 1141 exit ;;
1142 PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort 1142 PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
1143 # says <Richard.M.Bartel@ccMail.Census.GOV> 1143 # says <Richard.M.Bartel@ccMail.Census.GOV>
1144 echo i586-unisys-sysv4 1144 echo i586-unisys-sysv4
1145 exit ;; 1145 exit ;;
1146 *:UNIX_System_V:4*:FTX*) 1146 *:UNIX_System_V:4*:FTX*)
1147 # From Gerald Hewes <hewes@openmarket.com>. 1147 # From Gerald Hewes <hewes@openmarket.com>.
1148 # How about differentiating between stratus architectures? -djm 1148 # How about differentiating between stratus architectures? -djm
@@ -1168,11 +1168,11 @@ EOF
1168 exit ;; 1168 exit ;;
1169 R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) 1169 R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
1170 if [ -d /usr/nec ]; then 1170 if [ -d /usr/nec ]; then
1171 echo mips-nec-sysv${UNAME_RELEASE} 1171 echo mips-nec-sysv${UNAME_RELEASE}
1172 else 1172 else
1173 echo mips-unknown-sysv${UNAME_RELEASE} 1173 echo mips-unknown-sysv${UNAME_RELEASE}
1174 fi 1174 fi
1175 exit ;; 1175 exit ;;
1176 BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. 1176 BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
1177 echo powerpc-be-beos 1177 echo powerpc-be-beos
1178 exit ;; 1178 exit ;;
@@ -1285,13 +1285,13 @@ EOF
1285 echo pdp10-unknown-its 1285 echo pdp10-unknown-its
1286 exit ;; 1286 exit ;;
1287 SEI:*:*:SEIUX) 1287 SEI:*:*:SEIUX)
1288 echo mips-sei-seiux${UNAME_RELEASE} 1288 echo mips-sei-seiux${UNAME_RELEASE}
1289 exit ;; 1289 exit ;;
1290 *:DragonFly:*:*) 1290 *:DragonFly:*:*)
1291 echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` 1291 echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
1292 exit ;; 1292 exit ;;
1293 *:*VMS:*:*) 1293 *:*VMS:*:*)
1294 UNAME_MACHINE=`(uname -p) 2>/dev/null` 1294 UNAME_MACHINE=`(uname -p) 2>/dev/null`
1295 case "${UNAME_MACHINE}" in 1295 case "${UNAME_MACHINE}" in
1296 A*) echo alpha-dec-vms ; exit ;; 1296 A*) echo alpha-dec-vms ; exit ;;
1297 I*) echo ia64-dec-vms ; exit ;; 1297 I*) echo ia64-dec-vms ; exit ;;
@@ -1331,11 +1331,11 @@ main ()
1331#include <sys/param.h> 1331#include <sys/param.h>
1332 printf ("m68k-sony-newsos%s\n", 1332 printf ("m68k-sony-newsos%s\n",
1333#ifdef NEWSOS4 1333#ifdef NEWSOS4
1334 "4" 1334 "4"
1335#else 1335#else
1336 "" 1336 ""
1337#endif 1337#endif
1338 ); exit (0); 1338 ); exit (0);
1339#endif 1339#endif
1340#endif 1340#endif
1341 1341
diff --git a/config.sub b/config.sub
index 2d8169626d7..83da3565c17 100755
--- a/config.sub
+++ b/config.sub
@@ -4,7 +4,7 @@
4# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 4# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
5# 2011 Free Software Foundation, Inc. 5# 2011 Free Software Foundation, Inc.
6 6
7timestamp='2011-01-01' 7timestamp='2011-02-02'
8 8
9# This file is (in principle) common to ALL GNU software. 9# This file is (in principle) common to ALL GNU software.
10# The presence of a machine in this file suggests that SOME GNU software 10# The presence of a machine in this file suggests that SOME GNU software
@@ -158,8 +158,8 @@ case $os in
158 os= 158 os=
159 basic_machine=$1 159 basic_machine=$1
160 ;; 160 ;;
161 -bluegene*) 161 -bluegene*)
162 os=-cnk 162 os=-cnk
163 ;; 163 ;;
164 -sim | -cisco | -oki | -wec | -winbond) 164 -sim | -cisco | -oki | -wec | -winbond)
165 os= 165 os=
@@ -175,10 +175,10 @@ case $os in
175 os=-chorusos 175 os=-chorusos
176 basic_machine=$1 176 basic_machine=$1
177 ;; 177 ;;
178 -chorusrdb) 178 -chorusrdb)
179 os=-chorusrdb 179 os=-chorusrdb
180 basic_machine=$1 180 basic_machine=$1
181 ;; 181 ;;
182 -hiux*) 182 -hiux*)
183 os=-hiuxwe2 183 os=-hiuxwe2
184 ;; 184 ;;
@@ -424,7 +424,7 @@ case $basic_machine in
424 basic_machine=a29k-amd 424 basic_machine=a29k-amd
425 os=-udi 425 os=-udi
426 ;; 426 ;;
427 abacus) 427 abacus)
428 basic_machine=abacus-unknown 428 basic_machine=abacus-unknown
429 ;; 429 ;;
430 adobe68k) 430 adobe68k)
@@ -507,7 +507,7 @@ case $basic_machine in
507 basic_machine=c90-cray 507 basic_machine=c90-cray
508 os=-unicos 508 os=-unicos
509 ;; 509 ;;
510 cegcc) 510 cegcc)
511 basic_machine=arm-unknown 511 basic_machine=arm-unknown
512 os=-cegcc 512 os=-cegcc
513 ;; 513 ;;
@@ -755,7 +755,7 @@ case $basic_machine in
755 basic_machine=ns32k-utek 755 basic_machine=ns32k-utek
756 os=-sysv 756 os=-sysv
757 ;; 757 ;;
758 microblaze) 758 microblaze)
759 basic_machine=microblaze-xilinx 759 basic_machine=microblaze-xilinx
760 ;; 760 ;;
761 mingw32) 761 mingw32)
@@ -862,10 +862,10 @@ case $basic_machine in
862 np1) 862 np1)
863 basic_machine=np1-gould 863 basic_machine=np1-gould
864 ;; 864 ;;
865 neo-tandem) 865 neo-tandem)
866 basic_machine=neo-tandem 866 basic_machine=neo-tandem
867 ;; 867 ;;
868 nse-tandem) 868 nse-tandem)
869 basic_machine=nse-tandem 869 basic_machine=nse-tandem
870 ;; 870 ;;
871 nsr-tandem) 871 nsr-tandem)
@@ -1102,8 +1102,8 @@ case $basic_machine in
1102 basic_machine=t90-cray 1102 basic_machine=t90-cray
1103 os=-unicos 1103 os=-unicos
1104 ;; 1104 ;;
1105 # This must be matched before tile*. 1105 # This must be matched before tile*.
1106 tilegx*) 1106 tilegx*)
1107 basic_machine=tilegx-unknown 1107 basic_machine=tilegx-unknown
1108 os=-linux-gnu 1108 os=-linux-gnu
1109 ;; 1109 ;;
@@ -1275,11 +1275,11 @@ esac
1275if [ x"$os" != x"" ] 1275if [ x"$os" != x"" ]
1276then 1276then
1277case $os in 1277case $os in
1278 # First match some system type aliases 1278 # First match some system type aliases
1279 # that might get confused with valid system types. 1279 # that might get confused with valid system types.
1280 # -solaris* is a basic system type, with this one exception. 1280 # -solaris* is a basic system type, with this one exception.
1281 -auroraux) 1281 -auroraux)
1282 os=-auroraux 1282 os=-auroraux
1283 ;; 1283 ;;
1284 -solaris1 | -solaris1.*) 1284 -solaris1 | -solaris1.*)
1285 os=`echo $os | sed -e 's|solaris1|sunos4|'` 1285 os=`echo $os | sed -e 's|solaris1|sunos4|'`
@@ -1364,7 +1364,7 @@ case $os in
1364 -opened*) 1364 -opened*)
1365 os=-openedition 1365 os=-openedition
1366 ;; 1366 ;;
1367 -os400*) 1367 -os400*)
1368 os=-os400 1368 os=-os400
1369 ;; 1369 ;;
1370 -wince*) 1370 -wince*)
@@ -1413,7 +1413,7 @@ case $os in
1413 -sinix*) 1413 -sinix*)
1414 os=-sysv4 1414 os=-sysv4
1415 ;; 1415 ;;
1416 -tpf*) 1416 -tpf*)
1417 os=-tpf 1417 os=-tpf
1418 ;; 1418 ;;
1419 -triton*) 1419 -triton*)
@@ -1458,8 +1458,8 @@ case $os in
1458 -dicos*) 1458 -dicos*)
1459 os=-dicos 1459 os=-dicos
1460 ;; 1460 ;;
1461 -nacl*) 1461 -nacl*)
1462 ;; 1462 ;;
1463 -none) 1463 -none)
1464 ;; 1464 ;;
1465 *) 1465 *)
@@ -1482,10 +1482,10 @@ else
1482# system, and we'll never get to this point. 1482# system, and we'll never get to this point.
1483 1483
1484case $basic_machine in 1484case $basic_machine in
1485 score-*) 1485 score-*)
1486 os=-elf 1486 os=-elf
1487 ;; 1487 ;;
1488 spu-*) 1488 spu-*)
1489 os=-elf 1489 os=-elf
1490 ;; 1490 ;;
1491 *-acorn) 1491 *-acorn)
@@ -1497,8 +1497,8 @@ case $basic_machine in
1497 arm*-semi) 1497 arm*-semi)
1498 os=-aout 1498 os=-aout
1499 ;; 1499 ;;
1500 c4x-* | tic4x-*) 1500 c4x-* | tic4x-*)
1501 os=-coff 1501 os=-coff
1502 ;; 1502 ;;
1503 tic54x-*) 1503 tic54x-*)
1504 os=-coff 1504 os=-coff
@@ -1534,7 +1534,7 @@ case $basic_machine in
1534 m68*-cisco) 1534 m68*-cisco)
1535 os=-aout 1535 os=-aout
1536 ;; 1536 ;;
1537 mep-*) 1537 mep-*)
1538 os=-elf 1538 os=-elf
1539 ;; 1539 ;;
1540 mips*-cisco) 1540 mips*-cisco)
@@ -1561,7 +1561,7 @@ case $basic_machine in
1561 *-ibm) 1561 *-ibm)
1562 os=-aix 1562 os=-aix
1563 ;; 1563 ;;
1564 *-knuth) 1564 *-knuth)
1565 os=-mmixware 1565 os=-mmixware
1566 ;; 1566 ;;
1567 *-wec) 1567 *-wec)
diff --git a/configure b/configure
index a1ca4cf7a3d..f2369751060 100755
--- a/configure
+++ b/configure
@@ -14533,11 +14533,7 @@ _ACEOF
14533 14533
14534fi 14534fi
14535 14535
14536 if test $ac_cv_header_stdbool_h = yes; then
14537 14536
14538$as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
14539
14540 fi
14541 14537
14542 REPLACE_NULL=0; 14538 REPLACE_NULL=0;
14543 HAVE_WCHAR_T=1; 14539 HAVE_WCHAR_T=1;
diff --git a/m4/stdbool.m4 b/m4/stdbool.m4
index df10486d0a8..838cf0f4679 100644
--- a/m4/stdbool.m4
+++ b/m4/stdbool.m4
@@ -5,13 +5,13 @@ dnl This file is free software; the Free Software Foundation
5dnl gives unlimited permission to copy and/or distribute it, 5dnl gives unlimited permission to copy and/or distribute it,
6dnl with or without modifications, as long as this notice is preserved. 6dnl with or without modifications, as long as this notice is preserved.
7 7
8#serial 3 8#serial 4
9 9
10# Prepare for substituting <stdbool.h> if it is not supported. 10# Prepare for substituting <stdbool.h> if it is not supported.
11 11
12AC_DEFUN([AM_STDBOOL_H], 12AC_DEFUN([AM_STDBOOL_H],
13[ 13[
14 AC_REQUIRE([AC_HEADER_STDBOOL]) 14 AC_REQUIRE([AC_CHECK_HEADER_STDBOOL])
15 15
16 # Define two additional variables used in the Makefile substitution. 16 # Define two additional variables used in the Makefile substitution.
17 17
@@ -33,11 +33,9 @@ AC_DEFUN([AM_STDBOOL_H],
33# AM_STDBOOL_H will be renamed to gl_STDBOOL_H in the future. 33# AM_STDBOOL_H will be renamed to gl_STDBOOL_H in the future.
34AC_DEFUN([gl_STDBOOL_H], [AM_STDBOOL_H]) 34AC_DEFUN([gl_STDBOOL_H], [AM_STDBOOL_H])
35 35
36# This version of the macro is needed in autoconf <= 2.67. Autoconf has 36# This version of the macro is needed in autoconf <= 2.68.
37# it built in since 2.60, but we want the tweaks from the 2.68 version
38# to avoid rejecting xlc and clang due to relying on extensions.
39 37
40AC_DEFUN([AC_HEADER_STDBOOL], 38AC_DEFUN([AC_CHECK_HEADER_STDBOOL],
41 [AC_CACHE_CHECK([for stdbool.h that conforms to C99], 39 [AC_CACHE_CHECK([for stdbool.h that conforms to C99],
42 [ac_cv_header_stdbool_h], 40 [ac_cv_header_stdbool_h],
43 [AC_COMPILE_IFELSE( 41 [AC_COMPILE_IFELSE(
@@ -98,6 +96,4 @@ AC_DEFUN([AC_HEADER_STDBOOL],
98 [ac_cv_header_stdbool_h=yes], 96 [ac_cv_header_stdbool_h=yes],
99 [ac_cv_header_stdbool_h=no])]) 97 [ac_cv_header_stdbool_h=no])])
100 AC_CHECK_TYPES([_Bool]) 98 AC_CHECK_TYPES([_Bool])
101 if test $ac_cv_header_stdbool_h = yes; then 99])
102 AC_DEFINE([HAVE_STDBOOL_H], [1], [Define to 1 if stdbool.h conforms to C99.])
103 fi])
diff --git a/src/ChangeLog b/src/ChangeLog
index b0edc2c0375..a5e00178ce5 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12011-02-05 Paul Eggert <eggert@cs.ucla.edu>
2
3 sync from gnulib to remove HAVE_STDBOOL_H
4 * config.in: Regenerate.
5
12011-02-04 Eli Zaretskii <eliz@gnu.org> 62011-02-04 Eli Zaretskii <eliz@gnu.org>
2 7
3 * makefile.w32-in (LISP_H, PROCESS_H): New variables. 8 * makefile.w32-in (LISP_H, PROCESS_H): New variables.
diff --git a/src/config.in b/src/config.in
index 48fc7a23d82..729c598a445 100644
--- a/src/config.in
+++ b/src/config.in
@@ -615,9 +615,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
615/* Define to 1 if `speed_t' is declared by <termios.h>. */ 615/* Define to 1 if `speed_t' is declared by <termios.h>. */
616#undef HAVE_SPEED_T 616#undef HAVE_SPEED_T
617 617
618/* Define to 1 if stdbool.h conforms to C99. */
619#undef HAVE_STDBOOL_H
620
621/* Define to 1 if you have the <stdint.h> header file. */ 618/* Define to 1 if you have the <stdint.h> header file. */
622#undef HAVE_STDINT_H 619#undef HAVE_STDINT_H
623 620