aboutsummaryrefslogtreecommitdiffstats
path: root/src/s (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-08-01Move NT-specific include file to the NT include directoryGlenn Morris1-423/+0
* nt/inc/ms-w32.h: Move here from ../src/s. * nt/config.nt (config_opsysfile): Change to <ms-w32.h>. * s/ms-w32.h: Move to ../nt/inc. * src/makefile.w32-in (TAGS, TAGS-gmake, MS_W32_H): Update for new ms-w32.h location. * lib-src/makefile.w32-in (MS_W32_H): Update for new ms-w32.h location. * lib/makefile.w32-in (MS_W32_H): Update for new ms-w32.h location. * lisp/emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
2012-08-01Remove src/s/msdos.hGlenn Morris1-114/+0
* msdos/sed2v2.inp (MSDOS, DOS_NT, FLOAT_CHECK_DOMAIN) (HAVE_INVERSE_HYPERBOLIC, DEVICE_SEP, IS_DIRECTORY_SEP, IS_ANY_SEP) (INTERNAL_TERMINAL, NULL_DEVICE, SEPCHAR, USER_FULL_NAME) (_setjmp, _longjmp): Move here from src/s/msdos.h. (config_opsysfile, config_machfile): Remove. * msdos/sed1v2.inp (M_FILE, S_FILE): Remove. * msdos/mainmake.v2 (TAGS tags): Remove src/s/msdos.h. * src/s/msdos.h: Remove file. * src/conf_post.h [MSDOS]: New section, moved from s/msdos.h. * src/Makefile.in (S_FILE): Remove. (config_h): Remove S_FILE.
2012-08-01Sync Windows port with autogen/config.in changes.Juanma Barranquero1-7/+0
* nt/config.nt: Sync with autogen/config.in. (DEVICE_SEP, FLOAT_CHECK_DOMAIN, HAVE_INVERSE_HYPERBOLIC) (INTERNAL_TERMINAL, IS_ANY_SEP, IS_DEVICE_SEP, IS_DIRECTORY_SEP): New macros. * src/s/ms-w32.h (DEVICE_SEP, IS_DIRECTORY_SEP, IS_ANY_SEP): Remove; moved to nt/config.nt.
2012-08-01Adapt Windows port to recent changes in autogen/config.in.Juanma Barranquero1-7/+0
* lib-src/makefile.w32-in (CONFIG_H): Update dependencies. (CONF_POST_H): New macro. * lib/makefile.w32-in (CONFIG_H): Update dependencies. (CONF_POST_H): New macro. * nt/config.nt: Sync with autogen/config.in. Remove code moved to conf_post.h and include <conf_post.h> (NULL_DEVICE, SEPCHAR, SIGNAL_H_AHB, TIOCSIGSEND, USER_FULL_NAME) (USG5_4, WRETCODE, _longjmp, _setjmp, wait3): New macros. * src/makefile.w32-in (CONFIG_H): Update dependencies. (CONF_POST_H): New macro. * src/s/ms-w32.h (SEPCHAR, NULL_DEVICE): Remove; moved to nt/config.nt.
2012-07-31* src/s/README, src/s/template.h: Remove files.Glenn Morris2-61/+0
2012-07-30Remove src/s/usg5-4-common.hGlenn Morris1-35/+0
* configure.ac (USG5_4): Reintroduce this. (opsysfile): Set to empty on irix6-5, sol2*, and unixware. * src/conf_post.h [USG5_4]: Move remaining contents of s/usg5-4-common.h here. * src/s/usg5-4-common.h: Remove file.
2012-07-30Move wait3, WRETCODE from src/s to configureGlenn Morris1-9/+0
* configure.ac (wait3, WRETCODE): Move here from src/s/usg5-4-common.h. * s/usg5-4-common.h (wait3, WRETCODE): Let configure set them.
2012-07-30Remove src/s/irix6-5.hGlenn Morris1-26/+0
* configure.ac (opsysfile): Set to s/usg5-4-common.h on irix6-5. * src/conf_post.h [IRIX6_5]: Move remaining contents of s/irix6-5.h here. * src/s/irix6-5.h: Remove file.
2012-07-30Remove src/s/darwin.hGlenn Morris1-34/+0
* configure.ac (opsysfile): Set to empty on darwin. * src/conf_post.h [DARWIN_OS]: Move remaining contents of src/s/darwin.h here. * src/s/darwin.h: Remove file.
2012-07-30Remove src/s/hpux10-20.hGlenn Morris1-27/+0
* configure.ac (opsysfile): Set to empty on hpux*. * src/conf_post.h [HPUX]: Move random, srandom here from s/hpux10-20.h. * src/s/hpux10-20.h: Remove file, which is now empty.
2012-07-30Move TIOCSIGSEND from src/s to configureGlenn Morris2-8/+0
* configure.ac (TIOCSIGSEND): Move here from src/s. * src/s/usg5-4-common.h (TIOCSIGSEND): Let configure set it. * src/s/irix6-5.h (TIOCSIGSEND): No more need to undefine.
2012-07-30Empty src/s/netbsd.h and remove the fileGlenn Morris1-24/+0
* configure.ac (SIGNAL_H_AHB): New hack macro. (opsysfile): Set to empty on netbsd, openbsd. (AH_BOTTOM): Include signal.h if SIGNAL_H_AHB is defined. * src/s/netbsd.h: Let configure include signal.h if needed. Remove file, which is now empty.
2012-07-30Move _longjmp, _setjmp from src/s to configureGlenn Morris2-8/+0
* configure.ac (_longjmp, _setjmp): Move here from src/s. * src/s/usg5-4-common.h (_longjmp, _setjmp): Let configure set them. * src/s/irix6-5.h (_longjmp, _setjmp): No more need to undefine.
2012-07-29Remove s/aix4-2.hGlenn Morris1-18/+0
* configure.ac (opsysfile): Set to empty on aix4-2. * src/s/aix4-2.h: Remove empty file.
2012-07-29* s/aix4-2.h (sigmask): No need to undefine it.Glenn Morris1-3/+0
(syssignal.h does that unconditionally)
2012-07-29Remove some empty src/s files.Glenn Morris4-85/+0
* configure.ac (opsysfile): Set to empty on freebsd, gnu-linux, gnu-kfreebsd; and to usg5-4-common.h on sol2*, unixware. * src/s/freebsd.h, src/s/gnu-linux.h, src/s/sol2-6.h, src/s/unixware.h: Remove empty files.
2012-07-25Use typedef for EMACS_INT, EMACS_UINT.Paul Eggert1-1/+2
* lisp.h, s/ms-w32.h (EMACS_INT, EMACS_UINT): Use typedefs rather than macros. This simplifies debugging in the usual case, since it lets GDB show addresses as 'EMACS_INT *' rather than 'long int *' and it allows expressions involving EMACS_INT casts. * .gdbinit (xreload): Simplify by using EMACS_INT cast.
2012-07-14Don't use FILE_SYSTEM_CASE in MS-DOS, or anywhere else.Eli Zaretskii1-4/+0
src/s/msdos.h (FILE_SYSTEM_CASE): Don't define. src/fileio.c (FILE_SYSTEM_CASE): Don't define. (Ffile_name_directory, Fexpand_file_name): Don't use FILE_SYSTEM_CASE. Fixes problems on MS-DOS with Vtemp_file_name_pattern when call-process-region passes it through expand-file-name. src/dired.c (file_name_completion): Don't use FILE_SYSTEM_CASE. admin/CPP-DEFINES: Remove FILE_SYSTEM_CASE.
2012-07-14* nt/config.nt: Sync with autogen/config.in.Juanma Barranquero1-7/+0
(GC_MARK_SECONDARY_STACK, GC_MARK_STACK, GC_SETJMP_WORKS) (SETUP_SLAVE_PTY): New macros. * src/s/ms-w32.h (GC_SETJMP_WORKS, GC_MARK_STACK): Set in nt/config.nt.
2012-07-13Move GC_SETJMP_WORKS, GC_MARK_STACK from src/s to configureGlenn Morris8-36/+0
* configure.ac (GC_SETJMP_WORKS, GC_MARK_STACK): Move here from src/s. (AH_BOTTOM): Move GC_SETJMP_WORKS GCC fallback to main body. * src/s/aix4-2.h, src/s/freebsd.h, src/s/gnu-linux.h, src/s/hpux10-20.h: * src/s/irix6-5.h, src/s/netbsd.h, src/s/sol2-6.h, src/s/unixware.h: Let configure set GC_SETJMP_WORKS, GC_MARK_STACK.
2012-07-13Move GC_MARK_SECONDARY_STACK from src/s to configureGlenn Morris1-10/+0
* configure.ac (GC_MARK_SECONDARY_STACK): Move here from src/s. * src/s/gnu-linux.h (GC_MARK_SECONDARY_STACK): Let configure set it.
2012-07-13Move SETUP_SLAVE_PTY from src/s to configureGlenn Morris2-10/+0
* configure.ac (SETUP_SLAVE_PTY): Move here from src/s. (FIRST_PTY_LETTER, PTY_NAME_SPRINTF): Combine sol2/unixware cases. * src/s/usg5-4-common.h (SETUP_SLAVE_PTY): Let configure set it. * src/s/irix6-5.h (SETUP_SLAVE_PTY): No more need to unset it.
2012-07-13* nt/config.nt: Sync with autogen/config.in.Juanma Barranquero1-7/+14
(BROKEN_FIONREAD, BROKEN_GET_CURRENT_DIR_NAME) (BROKEN_PTY_READ_AFTER_EAGAIN, BROKEN_SIGAIO, BROKEN_SIGPOLL) (BROKEN_SIGPTY, BSD4_2, BSD_SYSTEM, BSD_SYSTEM_AHB, CYGWIN, DARWIN_OS) (FIRST_PTY_LETTER, GNU_LINUX, G_SLICE_ALWAYS_MALLOC, HAVE_PTYS) (HAVE_SOCKETS, HPUX, INTERRUPT_INPUT, IRIX6_5, NARROWPROTO, NO_ABORT) (NO_EDITRES, NSIG_MINIMUM, PREFER_VSUSP, PTY_ITERATION (PTY_NAME_SPRINTF, PTY_OPEN, PTY_TTY_NAME_SPRINTF, RUN_TIME_REMAP) (SETPGRP_RELEASES_CTTY, SOLARIS2, TAB3, TABDLY, ULIMIT_BREAK_VALUE) (UNIX98_PTYS, USG, USG5, XOS_NEEDS_TIME_H, _AIX): New macros. (HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE___BUILTIN_UNWIND_INIT): Set in src/s/ms-w32.h, not here. * src/s/ms-w32.h (FIRST_PTY_LETTER, HAVE_SOCKETS): Move to nt/config.nt. (HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE___BUILTIN_UNWIND_INIT): Set here, not in nt/config.nt.
2012-07-12Remove some src/s files that are now emptyGlenn Morris4-47/+0
* configure.ac (opsysfile): Set to empty on gnu, cygwin. * src/s/bsd-common, src/s/cygwin.h: Remove empty files. * src/s/freebsd.h, src/s/netbsd.h: Do not include bsd-common.h.
2012-07-12Move "system type" macros from src/s to configureGlenn Morris11-98/+1
* configure.ac (BSD4_2, BSD_SYSTEM, USG, USG5, _AIX, CYGWIN) (DARWIN_OS, GNU_LINUX, HPUX, IRIX6_5, SOLARIS2): Move "system type" macros here from src/s. (BSD_SYSTEM_AHB): New hack macro. (AH_BOTTOM): Set BSD_SYSTEM, using BSD_SYSTEM_AHB. * src/s/usg5-4-common.h (USG, USG5): * src/s/template.h (USG5, USG, HPUX, BSD4_2, BSD_SYSTEM): * src/s/sol2-6.h (SOLARIS2): * src/s/irix6-5.h (IRIX6_5): * src/s/hpux10-20.h (USG, USG5, HPUX): * src/s/gnu-linux.h (USG, GNU_LINUX): * src/s/freebsd.h (BSD_SYSTEM): * src/s/darwin.h (BSD4_2, BSD_SYSTEM, DARWIN_OS): * src/s/cygwin.h (CYGWIN): * src/s/bsd-common.h (BSD_SYSTEM, BSD4_2): * src/s/aix4-2.h (USG, USG5, _AIX): Move "system type" macros to configure.
2012-07-12Move NSIG_MINIMUM from src/s to configureGlenn Morris1-5/+0
* configure.ac (NSIG_MINIMUM): Move here from src/s. * src/s/usg5-4-common.h (NSIG_MINIMUM): Let configure set it.
2012-07-12Move ULIMIT_BREAK_VALUE from src/s to configureGlenn Morris2-9/+0
* configure.ac (ULIMIT_BREAK_VALUE): Move here from src/s. * src/s/gnu-linux.h, src/s/irix6-5.h: Let configure set ULIMIT_BREAK_VALUE.
2012-07-12Remove macro MIN_PTY_KERNEL_VERSION, only used in one placeGlenn Morris1-4/+0
* src/process.c (init_process_emacs): Replace MIN_PTY_KERNEL_VERSION. * src/s/darwin.h (MIN_PTY_KERNEL_VERSION): Remove single-use macro.
2012-07-12Move darwin.h's SYSTEM_PURESIZE_EXTRA setting to configureGlenn Morris1-4/+0
* configure.ac (AH_BOTTOM) [DARWIN_OS]: Move SYSTEM_PURESIZE_EXTRA setting here from src/s/darwin.h. * src/s/darwin.h (SYSTEM_PURESIZE_EXTRA): Move to configure.
2012-07-12Rename init_process rather than working around it on DarwinGlenn Morris1-4/+0
The old name is also the name of a Mach system call. * src/process.c (init_process_emacs): Rename from init_process. * src/lisp.h, src/emacs.c: Update for this name change. * src/nsgui.h, src/sysselect.h, src/s/darwin.h: Remove workaround that is no longer needed.
2012-07-12Move NO_EDITRES from src/s to configureGlenn Morris2-9/+0
* configure.ac (NO_EDITRES): Move here from src/s. * src/s/aix4-2.h, src/s/hpux10-20.h: Let configure set NO_EDITRES.
2012-07-12Do not unconditionally define HAVE_XRMSETDATABASE on some systemsGlenn Morris2-14/+0
* src/s/gnu-linux.h, src/s/hpux10-20.h: Do not unconditionally define HAVE_XRMSETDATABASE. Maybe there was a time when this made sense, but in the current tree it is totally illogical. This is only used in xterm.c. If it is set we call XrmSetDatabase, if not we do something else. Configure tests for XrmSetDatabase and sets HAVE_XRMSETDATABASE accordingly. The only possibility that is not totally nonsensical is that the system does in fact have XrmSetDatabase but configure failed to find it (I don't see how this could happen though...); in which case we should fix the configure test rather than force the results. But this is not what the (vague) comments say was happending. The gnu-linux piece dates from 1995, the hpux one from 2000. https://groups.google.com/forum/?fromgroups#!topic/gnu.emacs.bug/H24wEM8Vp9A From: rainer@displaytech.com (Rainer Malzbender) Subject: Compiling emacs 20.4 on HP-UX 10.20 with gcc Date: 2000/02/01 Newsgroups: gnu.emacs.bug
2012-07-12Move UNIX98_PTYS from src/s to configureGlenn Morris1-4/+0
* configure.ac (UNIX98_PTYS): Move here from src/s. * src/s/gnu-linux.h (UNIX98_PTYS): Let configure set it.
2012-07-12Move PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF from src/s to configureGlenn Morris9-99/+0
* configure.ac (PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF): Move here from src/s. * src/s/aix4-2.h, src/s/cygwin.h, src/s/darwin.h: * src/s/gnu-linux.h, src/s/hpux10-20.h, src/s/irix6-5.h: * src/s/sol2-6.h, src/s/unixware.h, src/s/usg5-4-common.h: Move PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF to configure.
2012-07-12Move PTY_OPEN from src/s to configureGlenn Morris4-47/+0
* configure.ac (PTY_OPEN) Move here from src/s. * src/s/cygwin.h, src/s/darwin.h, src/s/gnu-linux.h, src/s/irix6-5.h: Move PTY_OPEN to configure.
2012-07-11Move FIRST_PTY_LETTER, PTY_ITERATION from src/s to configureGlenn Morris9-40/+1
* configure.ac (FIRST_PTY_LETTER PTY_ITERATION): Move here from src/s. * src/s/aix4-2.h, src/s/bsd-common.h, src/s/cygwin.h, src/s/darwin.h: * src/s/gnu-linux.h, src/s/hpux10-20.h, src/s/irix6-5.h, src/s/template.h: * src/s/usg5-4-common.h: Move FIRST_PTY_LETTER, PTY_ITERATION to configure.
2012-07-11Move more things from src/s to configureGlenn Morris3-38/+0
* configure.ac (BROKEN_GET_CURRENT_DIR_NAME, BROKEN_PTY_READ_AFTER_EAGAIN) (G_SLICE_ALWAYS_MALLOC): Move here from src/s. * src/s/freebsd.h (BROKEN_PTY_READ_AFTER_EAGAIN): * src/s/cygwin.h (G_SLICE_ALWAYS_MALLOC): * src/s/aix4-2.h (BROKEN_GET_CURRENT_DIR_NAME): Let configure set them.
2012-07-11Move more stuff from src/s to configureGlenn Morris5-19/+0
* configure.ac (PREFER_VSUSP, RUN_TIME_REMAP, SETPGRP_RELEASES_CTTY) (TAB3, TABDLY, RUN_TIME_REMAP, XOS_NEEDS_TIME_H): Move here from src/s. * src/s/bsd-common.h, src/s/darwin.h: Move TAB3 to configure. * src/s/hpux10-20.h, src/s/sol2-6.h: Move XOS_NEEDS_TIME_H to configure. * src/s/irix6-5.h (SETPGRP_RELEASES_CTTY, PREFER_VSUSP): * src/s/hpux10-20.h (RUN_TIME_REMAP): * src/s/bsd-common.h (TABDLY): Move to configure.
2012-07-11Move some AIX defines from src/s to configureGlenn Morris1-11/+0
* configure.ac (BROKEN_FIONREAD, BROKEN_SIGAIO, BROKEN_SIGPOLL) (BROKEN_SIGPTY): Move here from src/s. * src/s/aix4-2.h (BROKEN_FIONREAD, BROKEN_SIGAIO, BROKEN_SIGPTY) (BROKEN_SIGPOLL): Let configure set them. * src/s/syssignal.h: Comment fix.
2012-07-11Move NO_ABORT from src/s to configureGlenn Morris1-6/+0
* configure.ac (NO_ABORT): Move here from src/s. * src/s/darwin.h (NO_ABORT): Let configure set it.
2012-07-11Move setting of NO_MATHERR for Darwin from src/s to configureGlenn Morris1-3/+0
* configure.ac (NO_MATHERR): Unconditionally define for Darwin; as src/s/darwin.h used to. * src/s/darwin.h (NO_MATHERR): Let configure set it.
2012-07-11Move NARROWPROTO from src/s to configureGlenn Morris5-26/+0
* configure.ac (NARROWPROTO): Move here from src/s. * src/s/bsd-common.h, src/s/cygwin.h, src/s/gnu-linux.h, src/s/irix6-5.h: * src/s/template.h: Move NARROWPROTO to configure.
2012-07-11Remove unneeded #define POSIXGlenn Morris2-3/+0
* src/s/gnu-linux.h, src/s/sol2-6.h: No longer define POSIX, unused since 2011-01-17 change to systty.h. * admin/CPP-DEFINES: Related edit.
2012-07-11All platforms using configure support HAVE_PTYS and HAVE_SOCKETSGlenn Morris8-41/+0
* configure.ac (HAVE_PTYS, HAVE_SOCKETS): Define unconditionally. * src/s/aix4-2.h, src/s/bsd-common.h, src/s/cygwin.h, src/s/darwin.h: * src/s/gnu-linux.h, src/s/hpux10-20.h, src/s/template.h: * src/s/usg5-4-common.h: Move HAVE_PTYS and HAVE_SOCKETS to configure.
2012-07-11* s/sol2-6.h (HAVE_LIBKSTAT): Remove.Paul Eggert1-7/+0
Fixes: debbugs:11914
2012-07-11Trivial re-ordering and comment updatingGlenn Morris1-14/+13
2012-07-11Move INTERRUPT_INPUT from src/s to configureGlenn Morris3-51/+0
* configure.ac (INTERRUPT_INPUT): Move here from src/s. * src/s/darwin.h, src/s/gnu-linux.h, src/s/template.h: Move INTERRUPT_INPUT to configure.
2012-07-11Removed some unnecessary undef INTERRUPT_INPUTs from src/sGlenn Morris2-27/+0
* src/s/bsd-common.h, src/s/cygwin.h: No need to undefine INTERRUPT_INPUT, since nothing has defined it on these platforms.
2012-07-11Move SIGNALS_VIA_CHARACTERS from src/s to configureGlenn Morris5-24/+0
* configure.ac (SIGNALS_VIA_CHARACTERS): Move here from src/s. * src/s/aix4-2.h, src/s/bsd-common.h, src/s/cygwin.h, src/s/gnu-linux.h: * src/s/irix6-5.h: Move SIGNALS_VIA_CHARACTERS to configure.
2012-07-11All the cool platforms support CLASH_DETECTION...Glenn Morris8-34/+0
* configure.ac (CLASH_DETECTION): Define unconditionally. Every platform using configure supports it. * src/s/aix4-2.h, src/s/bsd-common.h, src/s/cygwin.h, src/s/darwin.h: * src/s/gnu-linux.h, src/s/hpux10-20.h, src/s/template.h: * src/s/usg5-4-common.h: Move CLASH_DETECTION to configure. * etc/PROBLEMS: Recommend customizing create-lockfiles rather than recompiling with CLASH_DETECTION unset.