summaryrefslogtreecommitdiff
path: root/src/s
Commit message (Collapse)AuthorAgeFilesLines
* Move NT-specific include file to the NT include directoryGlenn Morris2012-08-011-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.
* Remove src/s/msdos.hGlenn Morris2012-08-011-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.
* Sync Windows port with autogen/config.in changes.Juanma Barranquero2012-08-011-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.
* Adapt Windows port to recent changes in autogen/config.in.Juanma Barranquero2012-08-011-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.
* * src/s/README, src/s/template.h: Remove files.Glenn Morris2012-07-312-61/+0
|
* Remove src/s/usg5-4-common.hGlenn Morris2012-07-301-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.
* Move wait3, WRETCODE from src/s to configureGlenn Morris2012-07-301-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.
* Remove src/s/irix6-5.hGlenn Morris2012-07-301-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.
* Remove src/s/darwin.hGlenn Morris2012-07-301-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.
* Remove src/s/hpux10-20.hGlenn Morris2012-07-301-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.
* Move TIOCSIGSEND from src/s to configureGlenn Morris2012-07-302-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.
* Empty src/s/netbsd.h and remove the fileGlenn Morris2012-07-301-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.
* Move _longjmp, _setjmp from src/s to configureGlenn Morris2012-07-302-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.
* Remove s/aix4-2.hGlenn Morris2012-07-291-18/+0
| | | | | | * configure.ac (opsysfile): Set to empty on aix4-2. * src/s/aix4-2.h: Remove empty file.
* * s/aix4-2.h (sigmask): No need to undefine it.Glenn Morris2012-07-291-3/+0
| | | | (syssignal.h does that unconditionally)
* Remove some empty src/s files.Glenn Morris2012-07-294-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.
* Use typedef for EMACS_INT, EMACS_UINT.Paul Eggert2012-07-251-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.
* Merge from emacs-24Stefan Monnier2012-07-171-4/+0
|\
| * Don't use FILE_SYSTEM_CASE in MS-DOS, or anywhere else.Eli Zaretskii2012-07-141-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.
* | Adapt the MS-DOS build to the latest configury changes.Eli Zaretskii2012-07-141-24/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | msdos/sed1v2.inp: In the recipe for $(leimdir)/leim-list.el, edit the prerequisites to be "temacs$(EXEEXT) $(BOOTSTRAPEMACS)", to avoid the need to rebuild $(bootstrap_exe), which requires a Unixy shell via lisp/Makefile.in's "update-subdirs" command. msdos/sedlibmk.inp (am_libgnu_a_OBJECTS): Adjust the removal of careadlinkat.$(OBJEXT) to the changes in lib/Makefile.in. msdos/sed2v2.inp (DATA_START, GC_SETJMP_WORKS, HAVE_MENUS) (HAVE_MOUSE): Edit for DJGPP, according to what was previously done on src/s/msdos.h. msdos/gmalloc.c (GMALLOC_INHIBIT_VALLOC): Don't reference. src/s/msdos.h (BSD_SYSTEM, DATA_START, GC_SETJMP_WORKS, HAVE_MOUSE) (HAVE_MENUS): Don't define, defined by editing config.in with msdos/sed2v2.inp. (GMALLOC_INHIBIT_VALLOC): Don't define. (MODE_LINE_BINARY_TEXT): Remove, not used anymore.
* | * nt/config.nt: Sync with autogen/config.in.Juanma Barranquero2012-07-141-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.
* | Move GC_SETJMP_WORKS, GC_MARK_STACK from src/s to configureGlenn Morris2012-07-138-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.
* | Move GC_MARK_SECONDARY_STACK from src/s to configureGlenn Morris2012-07-131-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.
* | Move SETUP_SLAVE_PTY from src/s to configureGlenn Morris2012-07-132-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.
* | * nt/config.nt: Sync with autogen/config.in.Juanma Barranquero2012-07-131-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.
* | Remove some src/s files that are now emptyGlenn Morris2012-07-124-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.
* | Move "system type" macros from src/s to configureGlenn Morris2012-07-1211-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.
* | Move NSIG_MINIMUM from src/s to configureGlenn Morris2012-07-121-5/+0
| | | | | | | | | | | | * configure.ac (NSIG_MINIMUM): Move here from src/s. * src/s/usg5-4-common.h (NSIG_MINIMUM): Let configure set it.
* | Move ULIMIT_BREAK_VALUE from src/s to configureGlenn Morris2012-07-122-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.
* | Remove macro MIN_PTY_KERNEL_VERSION, only used in one placeGlenn Morris2012-07-121-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.
* | Move darwin.h's SYSTEM_PURESIZE_EXTRA setting to configureGlenn Morris2012-07-121-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.
* | Rename init_process rather than working around it on DarwinGlenn Morris2012-07-121-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.
* | Move NO_EDITRES from src/s to configureGlenn Morris2012-07-122-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.
* | Do not unconditionally define HAVE_XRMSETDATABASE on some systemsGlenn Morris2012-07-122-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
* | Move UNIX98_PTYS from src/s to configureGlenn Morris2012-07-121-4/+0
| | | | | | | | | | | | * configure.ac (UNIX98_PTYS): Move here from src/s. * src/s/gnu-linux.h (UNIX98_PTYS): Let configure set it.
* | Move PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF from src/s to configureGlenn Morris2012-07-129-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.
* | Move PTY_OPEN from src/s to configureGlenn Morris2012-07-124-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.
* | Move FIRST_PTY_LETTER, PTY_ITERATION from src/s to configureGlenn Morris2012-07-119-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.
* | Move more things from src/s to configureGlenn Morris2012-07-113-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.
* | Move more stuff from src/s to configureGlenn Morris2012-07-115-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.
* | Move some AIX defines from src/s to configureGlenn Morris2012-07-111-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.
* | Move NO_ABORT from src/s to configureGlenn Morris2012-07-111-6/+0
| | | | | | | | | | | | * configure.ac (NO_ABORT): Move here from src/s. * src/s/darwin.h (NO_ABORT): Let configure set it.
* | Move setting of NO_MATHERR for Darwin from src/s to configureGlenn Morris2012-07-111-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.
* | Move NARROWPROTO from src/s to configureGlenn Morris2012-07-115-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.
* | Remove unneeded #define POSIXGlenn Morris2012-07-112-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.
* | All platforms using configure support HAVE_PTYS and HAVE_SOCKETSGlenn Morris2012-07-118-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.
* | * s/sol2-6.h (HAVE_LIBKSTAT): Remove.Paul Eggert2012-07-111-7/+0
| | | | | | | | Fixes: debbugs:11914
* | Trivial re-ordering and comment updatingGlenn Morris2012-07-111-14/+13
| |
* | Move INTERRUPT_INPUT from src/s to configureGlenn Morris2012-07-113-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.
* | Removed some unnecessary undef INTERRUPT_INPUTs from src/sGlenn Morris2012-07-112-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.