aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2012-07-12 06:17:28 -0400
committerGlenn Morris2012-07-12 06:17:28 -0400
commitdd0d840e4e99c2ccb691f8ac0886652ba6bdc26d (patch)
tree585f13633ac50302e32e24b74f8fee548899f6b3
parent3f922c3769247bef882fb399abcb601a066f4a31 (diff)
downloademacs-dd0d840e4e99c2ccb691f8ac0886652ba6bdc26d.tar.gz
emacs-dd0d840e4e99c2ccb691f8ac0886652ba6bdc26d.zip
Auto-commit of generated files.
-rw-r--r--autogen/config.in72
-rwxr-xr-xautogen/configure239
2 files changed, 299 insertions, 12 deletions
diff --git a/autogen/config.in b/autogen/config.in
index 8d98dfdb2e3..32040cd4c24 100644
--- a/autogen/config.in
+++ b/autogen/config.in
@@ -46,12 +46,30 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
46/* Define to the number of bits in type 'wint_t'. */ 46/* Define to the number of bits in type 'wint_t'. */
47#undef BITSIZEOF_WINT_T 47#undef BITSIZEOF_WINT_T
48 48
49/* Define if FIONREAD should not be used. */
50#undef BROKEN_FIONREAD
51
52/* Define if get_current_dir_name should not be used. */
53#undef BROKEN_GET_CURRENT_DIR_NAME
54
55/* Define on FreeBSD to work around an issue when reading from a PTY. */
56#undef BROKEN_PTY_READ_AFTER_EAGAIN
57
49/* Define if SA_RESTART should only be used in batch mode. */ 58/* Define if SA_RESTART should only be used in batch mode. */
50#undef BROKEN_SA_RESTART 59#undef BROKEN_SA_RESTART
51 60
61/* Define if SIGAIO should not be used. */
62#undef BROKEN_SIGAIO
63
52/* Define if SIGIO should not be used. */ 64/* Define if SIGIO should not be used. */
53#undef BROKEN_SIGIO 65#undef BROKEN_SIGIO
54 66
67/* Define if SIGPOLL should not be used. */
68#undef BROKEN_SIGPOLL
69
70/* Define if SIGPTY should not be used. */
71#undef BROKEN_SIGPTY
72
55/* Define if Emacs cannot be dumped on your system. */ 73/* Define if Emacs cannot be dumped on your system. */
56#undef CANNOT_DUMP 74#undef CANNOT_DUMP
57 75
@@ -101,6 +119,10 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
101 enabled. */ 119 enabled. */
102#undef ENABLE_CHECKING 120#undef ENABLE_CHECKING
103 121
122/* Letter to use in finding device name of first PTY, if PTYs are supported.
123 */
124#undef FIRST_PTY_LETTER
125
104/* Define to 1 if futimesat mishandles a NULL file name. */ 126/* Define to 1 if futimesat mishandles a NULL file name. */
105#undef FUTIMESAT_NULL_BUG 127#undef FUTIMESAT_NULL_BUG
106 128
@@ -148,6 +170,10 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
148/* Define to 1 if you want to use the GNU memory allocator. */ 170/* Define to 1 if you want to use the GNU memory allocator. */
149#undef GNU_MALLOC 171#undef GNU_MALLOC
150 172
173/* Define to set the G_SLICE environment variable to "always-malloc" at
174 startup, if using GTK. */
175#undef G_SLICE_ALWAYS_MALLOC
176
151/* Define to 1 if the file /usr/lpp/X11/bin/smt.exp exists. */ 177/* Define to 1 if the file /usr/lpp/X11/bin/smt.exp exists. */
152#undef HAVE_AIX_SMT_EXP 178#undef HAVE_AIX_SMT_EXP
153 179
@@ -671,6 +697,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
671/* Define to 1 if the pthread_sigmask function can be used (despite bugs). */ 697/* Define to 1 if the pthread_sigmask function can be used (despite bugs). */
672#undef HAVE_PTHREAD_SIGMASK 698#undef HAVE_PTHREAD_SIGMASK
673 699
700/* Define if the system supports pty devices. */
701#undef HAVE_PTYS
702
674/* Define to 1 if you have the <pty.h> header file. */ 703/* Define to 1 if you have the <pty.h> header file. */
675#undef HAVE_PTY_H 704#undef HAVE_PTY_H
676 705
@@ -737,6 +766,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
737/* Define to 1 if you have the `snprintf' function. */ 766/* Define to 1 if you have the `snprintf' function. */
738#undef HAVE_SNPRINTF 767#undef HAVE_SNPRINTF
739 768
769/* Define if the system supports 4.2-compatible sockets. */
770#undef HAVE_SOCKETS
771
740/* Define to 1 if you have sound support. */ 772/* Define to 1 if you have sound support. */
741#undef HAVE_SOUND 773#undef HAVE_SOUND
742 774
@@ -1023,6 +1055,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
1023/* Define to support using a Hesiod database to find the POP server. */ 1055/* Define to support using a Hesiod database to find the POP server. */
1024#undef HESIOD 1056#undef HESIOD
1025 1057
1058/* Define to read input using SIGIO. */
1059#undef INTERRUPT_INPUT
1060
1026/* Define to support Kerberos-authenticated POP mail retrieval. */ 1061/* Define to support Kerberos-authenticated POP mail retrieval. */
1027#undef KERBEROS 1062#undef KERBEROS
1028 1063
@@ -1054,6 +1089,13 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
1054/* Define to support POP mail retrieval. */ 1089/* Define to support POP mail retrieval. */
1055#undef MAIL_USE_POP 1090#undef MAIL_USE_POP
1056 1091
1092/* Define if system's imake configuration file defines `NeedWidePrototypes' as
1093 `NO'. */
1094#undef NARROWPROTO
1095
1096/* Do not define abort in emacs.c. */
1097#undef NO_ABORT
1098
1057/* Define to 1 if you don't have struct exception in math.h. */ 1099/* Define to 1 if you don't have struct exception in math.h. */
1058#undef NO_MATHERR 1100#undef NO_MATHERR
1059 1101
@@ -1107,6 +1149,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
1107 png_longjmp. */ 1149 png_longjmp. */
1108#undef PNG_DEPSTRUCT 1150#undef PNG_DEPSTRUCT
1109 1151
1152/* Define if process_send_signal should use VSUSP instead of VSWTCH. */
1153#undef PREFER_VSUSP
1154
1110/* Define to 1 if pthread_sigmask(), when it fails, returns -1 and sets errno. 1155/* Define to 1 if pthread_sigmask(), when it fails, returns -1 and sets errno.
1111 */ 1156 */
1112#undef PTHREAD_SIGMASK_FAILS_WITH_ERRNO 1157#undef PTHREAD_SIGMASK_FAILS_WITH_ERRNO
@@ -1121,6 +1166,18 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
1121 'ptrdiff_t'. */ 1166 'ptrdiff_t'. */
1122#undef PTRDIFF_T_SUFFIX 1167#undef PTRDIFF_T_SUFFIX
1123 1168
1169/* How to iterate over PTYs. */
1170#undef PTY_ITERATION
1171
1172/* How to get the device name of the control end of a PTY, if non-standard. */
1173#undef PTY_NAME_SPRINTF
1174
1175/* How to open a PTY, if non-standard. */
1176#undef PTY_OPEN
1177
1178/* How to get device name of the tty end of a PTY, if non-standard. */
1179#undef PTY_TTY_NAME_SPRINTF
1180
1124/* Define to 1 if readlink fails to recognize a trailing slash. */ 1181/* Define to 1 if readlink fails to recognize a trailing slash. */
1125#undef READLINK_TRAILING_SLASH_BUG 1182#undef READLINK_TRAILING_SLASH_BUG
1126 1183
@@ -1136,6 +1193,12 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
1136 slash */ 1193 slash */
1137#undef REPLACE_FUNC_STAT_FILE 1194#undef REPLACE_FUNC_STAT_FILE
1138 1195
1196/* Define if emacs.c needs to call run_time_remap; for HPUX. */
1197#undef RUN_TIME_REMAP
1198
1199/* Define if process.c:child_setup should not call setpgrp. */
1200#undef SETPGRP_RELEASES_CTTY
1201
1139/* Make process_send_signal work by "typing" a signal character on the pty. */ 1202/* Make process_send_signal work by "typing" a signal character on the pty. */
1140#undef SIGNALS_VIA_CHARACTERS 1203#undef SIGNALS_VIA_CHARACTERS
1141 1204
@@ -1173,6 +1236,12 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
1173/* The type of system you are compiling for; sets `system-type'. */ 1236/* The type of system you are compiling for; sets `system-type'. */
1174#undef SYSTEM_TYPE 1237#undef SYSTEM_TYPE
1175 1238
1239/* Undocumented. */
1240#undef TAB3
1241
1242/* Undocumented. */
1243#undef TABDLY
1244
1176/* Define to 1 if you use terminfo instead of termcap. */ 1245/* Define to 1 if you use terminfo instead of termcap. */
1177#undef TERMINFO 1246#undef TERMINFO
1178 1247
@@ -1247,6 +1316,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
1247/* Define this to check for malloc buffer overrun. */ 1316/* Define this to check for malloc buffer overrun. */
1248#undef XMALLOC_OVERRUN_CHECK 1317#undef XMALLOC_OVERRUN_CHECK
1249 1318
1319/* Compensate for a bug in Xos.h on some systems, where it requires time.h. */
1320#undef XOS_NEEDS_TIME_H
1321
1250/* Define to the type of the 6th arg of XRegisterIMInstantiateCallback, either 1322/* Define to the type of the 6th arg of XRegisterIMInstantiateCallback, either
1251 XPointer or XPointer*. */ 1323 XPointer or XPointer*. */
1252#undef XRegisterIMInstantiateCallback_arg6 1324#undef XRegisterIMInstantiateCallback_arg6
diff --git a/autogen/configure b/autogen/configure
index dfda0b689ac..51f2dacf360 100755
--- a/autogen/configure
+++ b/autogen/configure
@@ -16786,7 +16786,7 @@ fi
16786{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_struct_exception" >&5 16786{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_cv_struct_exception" >&5
16787$as_echo "$emacs_cv_struct_exception" >&6; } 16787$as_echo "$emacs_cv_struct_exception" >&6; }
16788HAVE_EXCEPTION=$emacs_cv_struct_exception 16788HAVE_EXCEPTION=$emacs_cv_struct_exception
16789if test $emacs_cv_struct_exception != yes; then 16789if test $emacs_cv_struct_exception != yes || test $opsys = darwin; then
16790 16790
16791$as_echo "#define NO_MATHERR 1" >>confdefs.h 16791$as_echo "#define NO_MATHERR 1" >>confdefs.h
16792 16792
@@ -22624,6 +22624,16 @@ fi
22624$as_echo "#define CLASH_DETECTION 1" >>confdefs.h 22624$as_echo "#define CLASH_DETECTION 1" >>confdefs.h
22625 22625
22626 22626
22627## Note: PTYs are broken on darwin <6. Use at your own risk.
22628
22629$as_echo "#define HAVE_PTYS 1" >>confdefs.h
22630
22631
22632
22633$as_echo "#define HAVE_SOCKETS 1" >>confdefs.h
22634
22635
22636
22627case $opsys in 22637case $opsys in
22628 darwin | gnu | hpux* | *bsd ) 22638 darwin | gnu | hpux* | *bsd )
22629 22639
@@ -22632,12 +22642,44 @@ $as_echo "#define NO_TERMIO 1" >>confdefs.h
22632 ;; 22642 ;;
22633esac 22643esac
22634 22644
22645
22635case $opsys in 22646case $opsys in
22636 hpux* | irix6-5 | openbsd | sol2* | unixware ) 22647 hpux* | irix6-5 | openbsd | sol2* | unixware )
22637 22648
22638$as_echo "#define BROKEN_SIGIO 1" >>confdefs.h 22649$as_echo "#define BROKEN_SIGIO 1" >>confdefs.h
22639 22650
22640 ;; 22651 ;;
22652
22653 aix4-2)
22654
22655$as_echo "#define BROKEN_FIONREAD 1" >>confdefs.h
22656
22657
22658$as_echo "#define BROKEN_SIGAIO 1" >>confdefs.h
22659
22660
22661$as_echo "#define BROKEN_SIGPOLL 1" >>confdefs.h
22662
22663
22664$as_echo "#define BROKEN_SIGPTY 1" >>confdefs.h
22665
22666
22667
22668$as_echo "#define BROKEN_GET_CURRENT_DIR_NAME 1" >>confdefs.h
22669
22670 ;;
22671
22672 freebsd)
22673
22674$as_echo "#define BROKEN_PTY_READ_AFTER_EAGAIN 1" >>confdefs.h
22675
22676 ;;
22677
22678 darwin)
22679
22680$as_echo "#define NO_ABORT 1" >>confdefs.h
22681
22682 ;;
22641esac 22683esac
22642 22684
22643case $opsys in 22685case $opsys in
@@ -22668,6 +22710,132 @@ _ACEOF
22668 22710
22669 22711
22670 22712
22713case $opsys in
22714 darwin | gnu-linux | gnu-kfreebsd )
22715
22716$as_echo "#define INTERRUPT_INPUT 1" >>confdefs.h
22717
22718 ;;
22719esac
22720
22721
22722case $opsys in
22723 cygwin|gnu|gnu-linux|gnu-kfreebsd|irix6-5|freebsd|netbsd|openbsd)
22724
22725$as_echo "#define NARROWPROTO 1" >>confdefs.h
22726
22727 ;;
22728esac
22729
22730
22731
22732
22733
22734
22735
22736
22737case $opsys in
22738 aix4-2 )
22739 $as_echo "#define PTY_ITERATION int c; for (c = 0; !c ; c++) " >>confdefs.h
22740
22741 $as_echo "#define PTY_NAME_SPRINTF strcpy (pty_name, \"/dev/ptc\"); " >>confdefs.h
22742
22743 $as_echo "#define PTY_TTY_NAME_SPRINTF strcpy (pty_name, ttyname (fd)); " >>confdefs.h
22744
22745 ;;
22746
22747 cygwin )
22748 $as_echo "#define PTY_ITERATION int i; for (i = 0; i < 1; i++) " >>confdefs.h
22749
22750 $as_echo "#define PTY_OPEN do { int dummy; SIGMASKTYPE mask; mask = sigblock (sigmask (SIGCHLD)); if (-1 == openpty (&fd, &dummy, pty_name, 0, 0)) fd = -1; sigsetmask (mask); if (fd >= 0) emacs_close (dummy); } while (0) " >>confdefs.h
22751
22752 $as_echo "#define PTY_NAME_SPRINTF " >>confdefs.h
22753
22754 $as_echo "#define PTY_TTY_NAME_SPRINTF " >>confdefs.h
22755
22756 ;;
22757
22758 darwin )
22759 $as_echo "#define PTY_ITERATION int i; for (i = 0; i < 1; i++) " >>confdefs.h
22760
22761 $as_echo "#define FIRST_PTY_LETTER 'p'" >>confdefs.h
22762
22763 $as_echo "#define PTY_OPEN do { int slave; if (openpty (&fd, &slave, pty_name, NULL, NULL) == -1) fd = -1; else emacs_close (slave); } while (0) " >>confdefs.h
22764
22765 $as_echo "#define PTY_NAME_SPRINTF " >>confdefs.h
22766
22767 $as_echo "#define PTY_TTY_NAME_SPRINTF " >>confdefs.h
22768
22769 ;;
22770
22771 gnu | freebsd | netbsd | openbsd )
22772 $as_echo "#define FIRST_PTY_LETTER 'p'" >>confdefs.h
22773
22774 ;;
22775
22776 gnu-linux | gnu-kfreebsd )
22777 if test "x$ac_cv_func_grantpt" = xyes; then
22778 $as_echo "#define PTY_ITERATION int i; for (i = 0; i < 1; i++) " >>confdefs.h
22779
22780 $as_echo "#define PTY_TTY_NAME_SPRINTF { char *ptyname; sigblock (sigmask (SIGCHLD)); if (grantpt (fd) == -1 || unlockpt (fd) == -1 || !(ptyname = ptsname(fd))) { sigunblock (sigmask (SIGCHLD)); close (fd); return -1; } snprintf (pty_name, sizeof pty_name, \"%s\", ptyname); sigunblock (sigmask (SIGCHLD)); } " >>confdefs.h
22781
22782 if test "x$ac_cv_func_getpt" = xyes; then
22783 $as_echo "#define PTY_OPEN fd = getpt ()" >>confdefs.h
22784
22785 $as_echo "#define PTY_NAME_SPRINTF " >>confdefs.h
22786
22787 else
22788 $as_echo "#define PTY_NAME_SPRINTF strcpy (pty_name, \"/dev/ptmx\"); " >>confdefs.h
22789
22790 fi
22791 else
22792 $as_echo "#define FIRST_PTY_LETTER 'p'" >>confdefs.h
22793
22794 fi
22795 ;;
22796
22797 hpux*)
22798 $as_echo "#define FIRST_PTY_LETTER 'p'" >>confdefs.h
22799
22800 $as_echo "#define PTY_NAME_SPRINTF sprintf (pty_name, \"/dev/ptym/pty%c%x\", c, i); " >>confdefs.h
22801
22802 $as_echo "#define PTY_TTY_NAME_SPRINTF sprintf (pty_name, \"/dev/pty/tty%c%x\", c, i); " >>confdefs.h
22803
22804 ;;
22805
22806 irix6-5 )
22807 $as_echo "#define PTY_ITERATION /**/" >>confdefs.h
22808
22809 $as_echo "#define FIRST_PTY_LETTER 'q'" >>confdefs.h
22810
22811 $as_echo "#define PTY_OPEN { struct sigaction ocstat, cstat; struct stat stb; char * name; sigemptyset(&cstat.sa_mask); cstat.sa_handler = SIG_DFL; cstat.sa_flags = 0; sigaction(SIGCLD, &cstat, &ocstat); name = _getpty (&fd, O_RDWR | O_NDELAY, 0600, 0); sigaction(SIGCLD, &ocstat, (struct sigaction *)0); if (name == 0) return -1; if (fd < 0) return -1; if (fstat (fd, &stb) < 0) return -1; strcpy (pty_name, name); } " >>confdefs.h
22812
22813 $as_echo "#define PTY_NAME_SPRINTF " >>confdefs.h
22814
22815 $as_echo "#define PTY_TTY_NAME_SPRINTF " >>confdefs.h
22816
22817 ;;
22818
22819 sol2* )
22820 $as_echo "#define FIRST_PTY_LETTER 'z'" >>confdefs.h
22821
22822 $as_echo "#define PTY_NAME_SPRINTF strcpy (pty_name, \"/dev/ptmx\"); " >>confdefs.h
22823
22824 $as_echo "#define PTY_TTY_NAME_SPRINTF { char *ptsname (int), *ptyname; sigblock (sigmask (SIGCLD)); if (grantpt (fd) == -1) { emacs_close (fd); return -1; } sigunblock (sigmask (SIGCLD)); if (unlockpt (fd) == -1) { emacs_close (fd); return -1; } if (!(ptyname = ptsname (fd))) { emacs_close (fd); return -1; } snprintf (pty_name, sizeof pty_name, \"%s\", ptyname); } " >>confdefs.h
22825
22826 ;;
22827
22828 unixware )
22829 $as_echo "#define FIRST_PTY_LETTER 'z'" >>confdefs.h
22830
22831 $as_echo "#define PTY_NAME_SPRINTF strcpy (pty_name, \"/dev/ptmx\"); " >>confdefs.h
22832
22833 $as_echo "#define PTY_TTY_NAME_SPRINTF { char *ptsname (int), *ptyname; sigblock(sigmask(SIGCLD)); if (grantpt(fd) == -1) fatal(\"could not grant slave pty\"); sigunblock(sigmask(SIGCLD)); if (unlockpt(fd) == -1) fatal(\"could not unlock slave pty\"); if (!(ptyname = ptsname(fd))) fatal (\"could not enable slave pty\"); snprintf (pty_name, sizeof pty_name, \"%s\", ptyname); } " >>confdefs.h
22834
22835 ;;
22836esac
22837
22838
22671 22839
22672 22840
22673case $opsys in 22841case $opsys in
@@ -22825,12 +22993,50 @@ case $opsys in
22825 ;; 22993 ;;
22826esac 22994esac
22827 22995
22996
22997
22998
22999case $opsys in
23000 darwin) $as_echo "#define TAB3 OXTABS" >>confdefs.h
23001 ;;
23002
23003 gnu | freebsd | netbsd | openbsd )
23004
23005$as_echo "#define TABDLY OXTABS" >>confdefs.h
23006
23007 $as_echo "#define TAB3 OXTABS" >>confdefs.h
23008
23009 ;;
23010
23011 hpux*)
23012
23013$as_echo "#define RUN_TIME_REMAP 1" >>confdefs.h
23014
23015 ;;
23016esac
23017
23018
22828case $opsys in 23019case $opsys in
22829 gnu) opsysfile="s/bsd-common.h" ;; 23020 hpux* | sol2* )
22830 23021
22831 gnu-kfreebsd) opsysfile="s/gnu-linux.h" ;; 23022$as_echo "#define XOS_NEEDS_TIME_H 1" >>confdefs.h
22832 23023
22833 hpux11) 23024 ;;
23025esac
23026
23027
23028case $opsys in
23029 cygwin)
23030
23031$as_echo "#define G_SLICE_ALWAYS_MALLOC 1" >>confdefs.h
23032
23033 ;;
23034
23035 gnu) opsysfile="s/bsd-common.h" ;;
23036
23037 gnu-kfreebsd) opsysfile="s/gnu-linux.h" ;;
23038
23039 hpux11)
22834 23040
22835$as_echo "#define BROKEN_SA_RESTART 1" >>confdefs.h 23041$as_echo "#define BROKEN_SA_RESTART 1" >>confdefs.h
22836 23042
@@ -22838,17 +23044,26 @@ $as_echo "#define BROKEN_SA_RESTART 1" >>confdefs.h
22838$as_echo "#define USG_SUBTTY_WORKS 1" >>confdefs.h 23044$as_echo "#define USG_SUBTTY_WORKS 1" >>confdefs.h
22839 23045
22840 23046
22841 opsysfile="s/hpux10-20.h" 23047 opsysfile="s/hpux10-20.h"
22842 ;; 23048 ;;
22843 23049
22844 openbsd) opsysfile="s/netbsd.h" ;; 23050 irix6-5)
22845 23051
22846 sol2-10) 23052$as_echo "#define PREFER_VSUSP 1" >>confdefs.h
23053
23054
23055$as_echo "#define SETPGRP_RELEASES_CTTY 1" >>confdefs.h
23056
23057 ;;
23058
23059 openbsd) opsysfile="s/netbsd.h" ;;
23060
23061 sol2-10)
22847 23062
22848$as_echo "#define _STRUCTURED_PROC 1" >>confdefs.h 23063$as_echo "#define _STRUCTURED_PROC 1" >>confdefs.h
22849 23064
22850 opsysfile="s/sol2-6.h" 23065 opsysfile="s/sol2-6.h"
22851 ;; 23066 ;;
22852esac 23067esac
22853 23068
22854# Set up the CFLAGS for real compilation, so we can substitute it. 23069# Set up the CFLAGS for real compilation, so we can substitute it.