summaryrefslogtreecommitdiff
path: root/src/s
AgeCommit message (Collapse)Author
2012-08-01Move NT-specific include file to the NT include directoryGlenn Morris
* 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 Morris
* 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 Barranquero
* 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 Barranquero
* 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 Morris
2012-07-30Remove src/s/usg5-4-common.hGlenn Morris
* 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 Morris
* 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 Morris
* 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 Morris
* 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 Morris
* 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 Morris
* 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 Morris
* 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 Morris
* 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 Morris
* 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 Morris
(syssignal.h does that unconditionally)
2012-07-29Remove some empty src/s files.Glenn Morris
* 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 Eggert
* 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-17Merge from emacs-24Stefan Monnier
2012-07-14Don't use FILE_SYSTEM_CASE in MS-DOS, or anywhere else.Eli Zaretskii
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-14Adapt the MS-DOS build to the latest configury changes.Eli Zaretskii
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.
2012-07-14* nt/config.nt: Sync with autogen/config.in.Juanma Barranquero
(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 Morris
* 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 Morris
* 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 Morris
* 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 Barranquero
(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 Morris
* 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 Morris
* 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 Morris
* 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 Morris
* 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 Morris
* 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 Morris
* 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 Morris
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 Morris
* 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 Morris
* 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 Morris
* 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 Morris
* 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 Morris
* 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 Morris
* 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 Morris
* 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 Morris
* 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 Morris
* 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 Morris
* 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 Morris
* 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 Morris
* 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 Morris
* 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 Morris
* 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 Eggert
Fixes: debbugs:11914
2012-07-11Trivial re-ordering and comment updatingGlenn Morris
2012-07-11Move INTERRUPT_INPUT from src/s to configureGlenn Morris
* 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 Morris
* src/s/bsd-common.h, src/s/cygwin.h: No need to undefine INTERRUPT_INPUT, since nothing has defined it on these platforms.