1. 01 Jan, 2019 1 commit
  2. 01 Jan, 2018 1 commit
  3. 19 Oct, 2017 1 commit
    • Paul Eggert's avatar
      Spelling fixes · 6f1dea5c
      Paul Eggert authored
      * lisp/cedet/semantic/analyze/refs.el:
      (semantic-analyze-proto-impl-toggle): Fix recently-introduced
      misspelling of pop-to-buffer-same-window.
      6f1dea5c
  4. 18 Oct, 2017 1 commit
    • Eli Zaretskii's avatar
      Fix the MSDOS build. · 2f7163fb
      Eli Zaretskii authored
      * msdos/sed1v2.inp (GETADDRINFO_A_LIBS, LIBLCMS2, XDBE_LIBS)
      (XDBE_FLAGS, HYBRID_MALLOC, LIBSYSTEMD_CFLAGS)
      (LIBSYSTEMD_LIBS): Edit to empty.
      (LIBRESOLV, DEPFLAGS, MKDEPDIR, YMF_PASS_LDFLAGS)
      (PRE_EDIT_LDFLAGS, POST_EDIT_LDFLAGS): Remove editing.
      Remove editing of lines that are no longer present in
      src/Makefile.in.
      * msdos/sed2v2.inp (NEED_MKTIME_INTERNAL)
      (NEED_MKTIME_WORKING): Define to 1.
      (HAVE_STRUCT_DIRENT_D_TYPE): Define to 1 for
      DJGPP >= 2.05.
      (HAVE_STRUCT_ATTRIBUTE_ALIGNED): Define to 1.
      Define PACKAGE_VERSION, not VERSION.
      (FLEXIBLE_ARRAY_MEMBER): Define to empty.
      (HAVE_DECL_*_UNLOCKED): Define to 0.
      (HAVE___BUILTIN_FRAME_ADDRESS): Define to 1.
      (PENDING_*): Don't define, as Gnulib no longer supports that.
      Instead, define _IOERR as it is in libc/file.h.
      * msdos/sed3v2.inp: Use $(CURDIR) instead of $(shell cd) to
      determine the current directory.
      (UPDATE_MANIFEST, UTILITIES): Don't edit.
      * msdos/sedlisp.inp (FIND_DELETE): Edit to "-delete".
      * msdos/sedlibmk.inp (AUTO_DEPEND): Define to yes.
      (HYBRID_MALLOC): Edit to empty.
      (am__cd): Don't edit.
      (../config.status): Replaces $(top_builddir)/config.status.
      Define OMIT_GNULIB_MODULE_foo = true for modules not built for
      MS-DOS.  Convert GL_GENERATE_xxx_H_TRUE and
      GL_GENERATE_xxx_H_FALSE into values of GL_GENERATE_xxx_H.
      * msdos/mainmake.v2 (src): Use 'compile-one-process', and make
      the command line shorter to fit into 126-char limit of
      command.com.
      * config.bat: Generate src/deps/*.d files.  Rename more files
      like djtar on plain DOS would.
      Don't rename src/dir.h: it is long gone.  Edit
      lib/gnulib.mk.in using the same scripts as for
      lib/Makefile.in.
      * msdos/depfiles.bat: Create *.d files, not *.Po.
      
      * src/thread.c (Fmake_thread) [!THREADS_ENABLED]: Improve the
      error message.
      * src/thread.h [MSDOS]: Include <signal.h>.
      * src/sysselect.h (select) [MSDOS]: Undefine, to avoid
      compilation errors.
      * src/sysdep.c (block_interrupt_signal, restore_signal_mask):
      Expose to MSDOS build.
      * src/process.c (update_processes_for_thread_death)
      [!subprocess]: No-op implementation.
      [HAVE_SETRLIMIT]: Move inclusion of sys/resource.h and
      declaration of nofile_limit outside "#ifdef subprocesses", as
      it's needed for MSDOS.
      * src/msdos.c (faccessat): Declare fullname[].
      * src/msdos.h (ENOTSUP): Define to be identical to ENOSYS.
      Include termhooks.h.
      * src/conf_post.h [WINDOWSNT]: Include ms-w32.h only on
      WINDOWSNT, not DOS_NT.
      
      * admin/admin.el (set-version): Set version on PACKAGE_VERSION.
      2f7163fb
  5. 01 Jan, 2017 1 commit
  6. 30 Apr, 2016 1 commit
    • Eli Zaretskii's avatar
      Fix the MSDOS build · ccdaf04c
      Eli Zaretskii authored
      * config.bat:
      * msdos/sedlisp.inp:
      * msdos/sedlibmk.inp:
      * msdos/sedleim.inp:
      * msdos/sedadmin.inp:
      * msdos/sed6.inp:
      * msdos/sed3v2.inp:
      * msdos/sed2v2.inp:
      * msdos/sed1v2.inp: Adapt to Emacs 25.
      
      * src/process.c (remove_slash_colon): Move out of "#ifdef
      subprocesses" block, as it its called unconditionally.  Move
      ADD_SUBFEATURE calls into "#ifdef subprocesses" block, as they
      reference variables only defined in that block.
      * src/msdos.h: Provide prototypes for IT_set_frame_parameters,
      faccessat, msdos_fatal_signal, syms_of_msdos, pthread_sigmask,
      dos_keysns, dos_keyread, run_msdos_command, and
      syms_of_win16select, to avoid compiler warnings.
      * src/msdos.c (SYS_ENVIRON): Define to either '_environ' or
      'environ', depending on the DJGPP version.
      Remove declarations of externally-visible Lisp objects, like
      Qbackground_color and Qreverse.
      (run_msdos_command): First argument is not signed, not unsigned.
      Use SYS_ENVIRON.
      (sys_select): Use 'timespec_cmp' instead of 'timespec_sign', as
      the latter doesn't work when 'time_t' is an unsigned data type.
      This caused idle timers to behave incorrectly: they only fired
      after a keyboard input event.
      * src/frame.c (adjust_frame_size) [MSDOS]: Account for
      FRAME_TOP_MARGIN that isn't counted in the frame's number of
      lines, but dos_set_window_size needs it to be added.
      * src/lread.c (INFINITY, NAN) [DJGPP < 2.05]: Provide definitions.
      * src/fns.c (sort_vector_copy) [__GNUC__ < 4]: Provide a prototype
      that works around compilation errors with older GCC versions.
      * src/w16select.c: Don't declare QCLIPBOARD and QPRIMARY as Lisp
      Objects.
      * src/filelock.c [MSDOS]: Ifdef away most of the code.  Provide
      no-op implementations for 'lock_file' and 'unlock_file'.
      (Ffile_locked_p) [MSDOS]: Always return nil.  This avoids multiple
      ifdefs in all users of filelock.c functionality.
      * src/conf_post.h (EOVERFLOW, SIZE_MAX) [DJGPP < 2.04]: Define.
      * src/emacs.c [MSDOS]: Include dosfns.h, to avoid compiler
      warnings.
      * src/dosfns.h: Provide prototypes for dos_cleanup,
      syms_of_dosfns, and init_dosfns.
      * src/deps.mk (atimer.o): Depend on msdos.h.
      (emacs.o): Depend on dosfns.h.
      * src/atimer.c [MSDOS]: Include msdos.h, to avoid compiler
      warnings.
      
      * lisp/window.el (window--adjust-process-windows): Skip the body
      if 'process-list' is not available.  This avoids failure to start
      up on MS-DOS.
      * lisp/vc/diff.el (diff-no-select): Test 'make-process', not
      'start-process', as the latter is now available on all platforms.
      * lisp/textmodes/ispell.el (ispell-async-processp): Replace
      'start-process' with 'make-process' in a comment.
      * lisp/term/internal.el (IT-unicode-translations): Modify and add
      a few translations to display Info files with Unicode markup.  Fix
      an ancient off-by-one mismatch error with Unicode codepoints.
      * lisp/progmodes/compile.el (compilation-start): Test
      'make-process', not 'start-process', as the latter is now
      available on all platforms.
      * lisp/man.el (Man-build-man-command, Man-getpage-in-background):
      Test 'make-process', not 'start-process', as the latter is now
      available on all platforms.
      * lisp/international/mule-cmds.el (set-coding-system-map): Test
      'make-process', not 'start-process', as the latter is now
      available on all platforms.
      * lisp/eshell/esh-cmd.el (eshell-do-pipelines-synchronously): Doc
      fix.
      (eshell-execute-pipeline): Test 'make-process', not
      'start-process', as the latter is now available on all platforms.
      ccdaf04c
  7. 01 Jan, 2016 1 commit
  8. 01 Jan, 2015 2 commits
  9. 25 Aug, 2014 1 commit
    • Eli Zaretskii's avatar
      Fix unoptimized build on MSDOS. · 825ca47f
      Eli Zaretskii authored
       msdos/sedlibmk.inp (gl_LIBOBJS): Add execinfo.o.  Reported by Juan
       Manuel Guerrero <juan.guerrero@gmx.de>.
      
       src/conf_post.h (_GL_EXECINFO_INLINE) [MSDOS]: Don't define.
      825ca47f
  10. 16 Apr, 2014 1 commit
    • Eli Zaretskii's avatar
      Fix the MSDOS build. · bf6b4923
      Eli Zaretskii authored
       src/unexcoff.c [MSDOS]: Include libc/atexit.h.
       (copy_text_and_data): Zero out the atexit chain pointer before
       dumping Emacs.
       src/termhooks.h (encode_terminal_code): Update prototype.
       src/term.c (encode_terminal_code) [DOS_NT]: Make it externally
       visible for all DOS_NT ports, not just WINDOWSNT.
       (syms_of_term) [!MSDOS]: Don't define 'tty-menu-*' symbols on MSDOS.
       src/sysdep.c (emacs_sigaction_init, init_signals): Don't use SIGCHLD
       unless it is defined.
       (emacs_pipe) [MSDOS]: Redirect to 'pipe'.
       src/process.c (close_on_exec, accept4, process_socket): Move into
       the "ifdef subprocesses" part.
       (catch_child_signal): Condition by "ifdef subprocesses".
       (syms_of_process) <Qinternal_default_process_sentinel>
       <Qinternal_default_process_filter>: Condition by "ifdef subprocesses".
       src/msdos.h: Add prototypes for new functions.
       (EINPROGRESS): Define.
       (O_CLOEXEC): Define to zero.
       src/msdos.c (check_window_system): Remove unnecessary an
       incompatible duplicate function.
       (sys_opendir, readlinkat, faccessat, fstatat, unsetenv): New
       functions in support of new functionality.
       src/menu.c (single_menu_item): Add visual indication  of submenu
       also for menus on MSDOS frames.
       (Fx_popup_menu) [!MSDOS]: Do not call tty_menu_show on MSDOS.
       src/lisp.h (CHECK_PROCESS) [!subprocesses]: Do not define
       when async subprocesses aren't supported.
       src/font.h (FONT_WIDTH) [MSDOS]: MSDOS-specific definition.
       src/emacs.c (close_output_streams): Zero out errno before calling
       close_stream.
       src/dired.c [MSDOS]: Include msdos.h.
       src/conf_post.h (opendir) [MSDOS]: Redirect to sys_opendir.
       (DATA_START) [MSDOS]: Define.
       (SYSTEM_PURESIZE_EXTRA) [MSDOS]: Enlarge by 25K.
       src/callproc.c (block_child_signal, unblock_child_signal) [MSDOS]:
       Ifdef away for MSDOS.
       (record_kill_process) [MSDOS]: Ifdef away the entire body for MSDOS.
       (call_process_cleanup) [MSDOS]: Ifdef away portions not relevant
       for MSDOS.
       (call_process) [MSDOS]: Fix call sequence of dostounix_filename.
       Use temporary file template that is compatible with mkostemp.
       Move vfork-related portions under #ifndef MSDOS.
       (syms_of_callproc): Unify templates of MSDOS and WINDOWSNT.
      
       lisp/term/pc-win.el (x-list-fonts, x-get-selection-value): Provide
       doc strings, as required by snarf-documentation.
      
       msdos/sedlisp.inp:
       msdos/sedlibmk.inp:
       msdos/sedleim.inp:
       msdos/sed3v2.inp:
       msdos/sed2v2.inp:
       msdos/sed1v2.inp: Update Sed scripts for Emacs 24.4.
       msdos/inttypes.h: Add PRIdMAX.
       msdos/INSTALL: Update for Emacs 24.4.
       msdos/sedadmin.inp: New file.
      bf6b4923
  11. 01 Jan, 2014 1 commit
  12. 08 Feb, 2013 1 commit
  13. 01 Jan, 2013 1 commit
  14. 03 Nov, 2012 1 commit
  15. 04 Oct, 2012 1 commit
  16. 04 Aug, 2012 1 commit
  17. 28 Jul, 2012 1 commit
    • Paul Eggert's avatar
      Use Gnulib stdalign and environ modules (Bug#9772, Bug#9960). · e32a5799
      Paul Eggert authored
      * .bzrignore: Add lib/stdalign.h.
      * config.bat: Do not set NO_DECL_ALIGN; no longer needed.
      Copy lib/stdalign.in.h to lib/stdalign.in-h as needed.
      * configure.ac (HAVE_ATTRIBUTE_ALIGNED): Remove the code that
      fiddles with this, as gnulib now does this for us.
      * admin/merge-gnulib: Add environ, stdalign.
      * m4/environ.m4: New file, from gnulib.
      * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
      * lib/stdalign.in.h, m4/stdalign.m4: New files, from gnulib.
      * sed2v2.inp (HAVE_ATTRIBUTE_ALIGNED): Remove edit.
      * sedlibmk.inp (STDALIGN_H, @GL_GENERATE_STDALIGN_H_TRUE@)
      (GL_GENERATE_STDALIGN_H_FALSE): New edits.
      * nt/config.nt (HAVE_ATTRIBUTE_ALIGNED): Remove.
      * src/alloc.c (XMALLOC_BASE_ALIGNMENT, GC_POINTER_ALIGNMENT, pure_alloc):
      Simplify by using alignof.
      (pure_alloc) [! USE_LSB_TAG]: Don't over-align EMACS_INT values.
      * src/lisp.h: Include <stdalign.h>.
      (GCALIGNMENT): New macro and constant.
      (DECL_ALIGN): Remove.  All uses replaced by alignas (GCALIGNMENT).
      (USE_LSB_TAG): ifdef on alignas, not on DECL_ALIGN.
      (stdalign): New macro, if not already defined.
      e32a5799
  18. 30 Jun, 2012 1 commit
    • Eli Zaretskii's avatar
      Adapt the MS-DOS build to the latest changes. · 0d23c240
      Eli Zaretskii authored
       msdos/mainmake.v2 (bootstrap-clean): Do a maintainer-clean in lib, not
       bootstrap-clean (which doesn't exist).
       msdos/inttypes.h (PRIuMAX) [__DJGPP__ < 2.04]: Define to "llu".
       msdos/sedleim.inp (MKDIR_P): Edit to DOS "md" command.
       msdos/sed1v2.inp: (LIB_CLOCK_GETTIME): Edit to empty.
       Remove lines that invoke PAXCTL.
       (clean): Fix recipe not to run Unixy shell commands.
       msdos/sed2v2.inp (GETTIMEOFDAY_TIMEZONE): Edit to 'struct timezone'.
       (HAVE_STRNCASECMP): Edit to 1.
       msdos/sed3v2.inp (LIB_CLOCK_GETTIME): Edit to empty.
       (C_SWITCH_SYSTEM): Add "-I../msdos".
       msdos/sedlibmk.inp (GNULIB_GETTIMEOFDAY, GNULIB_PSELECT)
       (GNULIB_SELECT, HAVE_STRUCT_TIMEVAL, HAVE_SYS_SELECT_H)
       (HAVE_SYS_TIME_H, NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H)
       (NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H, NEXT_SYS_SELECT_H)
       (NEXT_SYS_TIME_H, REPLACE_GETTIMEOFDAY, REPLACE_PSELECT)
       (REPLACE_STRUCT_TIMEVAL): Edit to appropriate values.
       (BUILT_SOURCES): Edit out sys/select.h and sys/time.h.
       (mostlyclean-local, distclean-generic): Fix recipe not to run
       Unixy shell commands.
      
       src/sysselect.h [DOS_NT]: Don't include sys/select.h.
       src/s/ms-w32.h (select, pselect): Don't define here, they are
       defined in sysselect.h
       src/sysselect.h (pselect) [!HAVE_PSELECT]: Redirect to sys_select.
       src/sysdep.c: Don't include dos.h and dosfns.h.
       src/process.c (sys_select):
       src/msdos.c (sys_select): Accept one more argument and ignore it.
       src/msdos.c (event_timestamp, sys_select): Use gnulib's gettime;
       adapt data types and code to that.
       src/dosfns.c:
       src/msdos.c (gettime, settime): Define away the prototypes in dos.h,
       which clashes with the gnulib function of the same name.
      
       lisp/emacs-lisp/timer.el (timer-until): Subtract results of
       float-time, instead of taking float-time of the result of
       time-subtract, since float-time signals an error for negative time
       arguments.
      0d23c240
  19. 26 Jun, 2012 1 commit
  20. 27 May, 2012 1 commit
    • Eli Zaretskii's avatar
      Fix the MSDOS build following gnulib update. · 42a53d84
      Eli Zaretskii authored
       config.bat (lib): Create/update lib/stdalign.in-h and
       lib/sys_types.in-h.
       msods/sedlibmk.inp (GNULIB_GL_UNISTD_H_GETOPT, GNULIB_POSIX_OPENPT)
       (GNULIB_ISATTY, GNULIB_PTSNAME_R, GNULIB_RANDOM)
       (GNULIB_SETHOSTNAME, HAVE_POSIX_OPENPT, HAVE_PTSNAME_R)
       (HAVE_RANDOM, HAVE_SETHOSTNAME, NEXT_SYS_TYPES_H)
       (NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H, REPLACE_FTRUNCATE)
       (REPLACE_ISATTY, REPLACE_PTSNAME_R, REPLACE_RANDOM_R)
       (REPLACE_STRTOIMAX, STDALIGN_H, WINDOWS_64_BIT_OFF_T)
       (WINDOWS_64_BIT_ST_SIZE, GL_GENERATE_STDALIGN_H_TRUE)
       (GL_GENERATE_STDALIGN_H_FALSE): Edit as appropriate for DJGPP.
       (cat FOO): Edit into "sed -e '' FOO >>".
      42a53d84
  21. 14 Apr, 2012 1 commit
  22. 11 Apr, 2012 1 commit
    • Glenn Morris's avatar
      Repurpose C_SWITCH_X_SYSTEM as GNUSTEP_CFLAGS · 2f097256
      Glenn Morris authored
      This is the only thing left that uses it.
      
      * configure.in (GNUSTEP_CFLAGS): Rename from C_SWITCH_X_SYSTEM.
      
      * src/Makefile.in (GNUSTEP_CFLAGS): Rename from C_SWITCH_X_SYSTEM.
      
      * lwlib/Makefile.in (C_SWITCH_X_SYSTEM): Remove.
      (ALL_CFLAGS): Remove C_SWITCH_X_SYSTEM.
      
      * oldXMenu/Makefile.in (C_SWITCH_X_SYSTEM): Remove.
      (ALL_CFLAGS): Remove C_SWITCH_X_SYSTEM.
      
      * msdos/sedlibmk.inp, msdos/sed1v2.inp:
      GNUSTEP_CFLAGS replaces C_SWITCH_X_SYSTEM.
      2f097256
  23. 05 Jan, 2012 1 commit
  24. 29 Sep, 2011 1 commit
    • Eli Zaretskii's avatar
      Fix the MSDOS build. · 31bed486
      Eli Zaretskii authored
       msdos/mainmake.v2 (boot): Condition the value on the existence of
       autogen/README, not admin/admin.el, since the latter is now part
       of the release tarball.
       (install): Don't copy lib-src/fns.el, as that file is no longer
       generated in that directory.
       msdos/sed1v2.inp (LIB_PTHREAD, LIB_PTHREAD_SIGMASK): Edit to empty.
       (SETTINGS_CFLAGS, SETTINGS_LIBS): Edit these instead of
       GCONF_CFLAGS and GCONF_LIBS.
       msdos/sedlibmk.inp (ALLOCA_H, AR, ARFLAGS, GNULIB_CHDIR, GNULIB_DUP)
       (GNULIB_FDATASYNC, GNULIB_FDOPEN, GNULIB_FSTAT, GNULIB_PCLOSE)
       (GNULIB_PTHREAD_SIGMASK, GNULIB_RAISE, GNULIB_SIGACTION)
       (GNULIB_SIGPROCMASK, GNULIB_SIGNAL_H_SIGPIPE, HAVE_FDATASYNC)
       (HAVE_PCLOSE, HAVE_POPEN, HAVE_POSIX_SIGNALBLOCKING)
       (HAVE_PTHREAD_SIGMASK, HAVE_RAISE, HAVE_SIGACTION)
       (HAVE_SIGHANDLER_T, HAVE_SIGINFO_T, HAVE_SIGSET_T)
       (HAVE_STRUCT_SIGACTION_SA_SIGACTION)
       (HAVE_TYPE_VOLATILE_SIG_ATOMIC_T, LIB_PTHREAD)
       (LIB_PTHREAD_SIGMASK, NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H)
       (NEXT_SIGNAL_H, REPLACE_FDOPEN, REPLACE_PTHREAD_SIGMASK)
       (REPLACE_RAISE): New edits.
       (gl_LIBOBJS): Remove md5.o, filemode.o, and sha1.o.  Add
       pthread_sigmask.o.
       (@GL_GENERATE_ALLOCA_H_TRUE@, @GL_GENERATE_ALLOCA_H_FALSE@): Edit
       to comment out unneeded lines.
       (warn-on-use.h): Edit the recipe commands to work with DJGPP
       without requiring a Unixy shell.
       msdos/inttypes.h (strtoimax) [DJGPP < 2.04]: New macro.
       msdos/sed2v2.inp (HAVE_ALLOCA, HAVE_DECL_STRTOLL, HAVE_DECL_STRTOIMAX)
       (HAVE_STRTOLL, HAVE_SIGSET_T, HAVE_SNPRINTF): New edits.
      
       .bzrignore: Add ./GNUMakefile.unix.
       config.bat: Rename GNUMakefile, so it is not run on MS-DOS.
       Rename signal.in.h and alloca.in.h.
      
       src/sysdep.c (snprintf) [EOVERFLOW]: If EOVERFLOW is not defined,
       use EDOM.
      31bed486
  25. 24 Jul, 2011 1 commit
    • Paul Eggert's avatar
      Merge from gnulib, using build-aux to remove clutter. · 24e0f6b1
      Paul Eggert authored
      * m4/largefile.m4: New file, so that Emacs does not mess up when
      accessing files with large inode numbers in MacOS X 10.5 and later.
      * m4/nocrash.m4: New file, to avoid triggering background debugger
      and/or create core dumps during 'configure'.
      * build-aux/move-if-change: Renamed from move-if-change.
      * build-aux/snippet/arg-nonnull.h: Renamed from arg-nonnull.h.
      * build-aux/snippet/c++defs.h: Renamed from c++defs.h.
      * build-aux/snippet/warn-on-use.h: Renamed from warn-on-use.h.
      * build-aux/snippet/_Noreturn.h: New file, for draft C1X _Noreturn.
      * .bzrignore: The autogenerated files compile, config.guess,
      config.sub, depcomp, install-sh, and missing are now in build-aux.
      * Makefile.in (epaths-force, sync-from-gnulib):
      move-if-change is now in build-aux.
      (GNULIB_TOOL_FLAGS): Avoid threadlib; this is now a prerequisite
      of gnulib's pthread_sigmask module, but Emacs doesn't need it.
      (mkdir): install-sh is now in build-aux.
      * config.bat: c++defs.h is now in build-aux/snippets.
      * configure.in: Specify AC_CONFIG_AUX_DIR with build-aux (the
      usual parameter).
      * lib/gnulib.mk, m4/gl-comp.m4: Regenerate.
      * lib/makefile.w32-in (ARG_NONNULL_H): arg-nonnull.h moved
      to build-aux/snippet.
      * lib/pthread_sigmask.c, lib/stdlib.in.h, m4/extensions.m4:
      * m4/getopt.m4, m4/gnulib-common.m4, m4/pthread_sigmask.m4:
      Merge from gnuilib.  This fixes porting bugs on Cygwin, Irix, and
      Solaris, enables MacOS extensions, and enables nocrash during
      'configure'.
      * make-dist: Adjust to new build-aux and build-aux/snippit dirs.
      * admin/notes/copyright: The files compile, config.guess, config.sub,
      depcomp, install-sh, missing, and move-if-change are now in the
      new build-aux subdirectory.  The files arg-nonnull.h, c++defs.h,
      and warn-on-use.h are now in build-aux/snippets.  New file
      build-aux/snippets/_Noreturn.h.
      * leim/Makefile.in (install): install-sh is now in build-aux.
      * lib-src/Makefile.in ($(DESTDIR)${archlibdir}): install-sh moved
      to build-aux.
      * msdos/sedlibmk.inp (CONFIG_CLEAN_VPATH_FILES): Adjust to snippet moves
      from top level to build-aux/snippet.
      * src/Makefile.in (gl-stamp): move-if-change is now in build-aux.
      24e0f6b1
  26. 28 May, 2011 1 commit
  27. 20 May, 2011 1 commit
    • Eli Zaretskii's avatar
      Fix the MSDOS build as follows from 2011-05-19T06:04:16Z!rgm@gnu.org,... · 7285dc67
      Eli Zaretskii authored
      Fix the MSDOS build as follows from 2011-05-19T06:04:16Z!rgm@gnu.org, 2011-05-20T00:41:03Z!rgm@gnu.org.
      
       config.bat: Concatenate lisp.mk onto the end of src/Makefile.
       msdos/sed1v2.inp (make-docfile commands): Recognize only if the line
       begins with a TAB.  Use $(etc) rather than a literal "../etc".
       (`sed SED-COMMAND $(srcdir)/lisp.mk`): Edit to replace with "$(lisp).
       (@lisp_frag@): Edit out.
       msdos/sedlibmk.inp (GNULIB_GROUP_MEMBER, HAVE_GROUP_MEMBER): Edit to
       zero.
       src/callproc.c (Fcall_process) [MSDOS]: Fix arguments to
       report_file_error introduced by the change from 2011-05-07.
      7285dc67
  28. 07 May, 2011 1 commit
    • Eli Zaretskii's avatar
      Adapt MS-DOS configury to latest changes. · 75c0d28a
      Eli Zaretskii authored
       msdos/inttypes.h: Include stdint.h.
       (uintmax_t): Don't define, it is defined in stdint.h.
       msdos/sedlibmk.inp (am__append_1): Edit to comment out.
       (am__append_2): Edit to expose.
       (NEXT_AS_FIRST_DIRECTIVE_STDARG_H, NEXT_STDARG_H, STDARG_H): Edit
       to empty.
       (@GL_GENERATE_STDARG_H_TRUE@, @GL_GENERATE_STDARG_H_FALSE@): Edit
       to comment out corresponding lines.
      75c0d28a
  29. 30 Apr, 2011 1 commit
    • Eli Zaretskii's avatar
      Adapt the MSDOS build to latest changes. · 8db90b73
      Eli Zaretskii authored
       msdos/inttypes.h: New file.
       msdos/sed2v2.inp (HAVE_DECL_STRTOULL, HAVE_DECL_STRTOUMAX)
       (HAVE_STRTOULL, HAVE_STRTOULL): Define to 1.
       src/sedlibmk.inp (BUILT_SOURCES): Edit out inttypes.h.
       src/sed1v2.inp (CPPFLAGS): Edit to "-I../msdos".
       Add ../msdos/inttypes.h to prerequisites of lread.o.
       src/dosfns.c (Fint86, Fdos_memget, Fdos_memput): Use `ASIZE (FOO)'
       rather than `XVECTOR (FOO)->size'.
      8db90b73
  30. 24 Apr, 2011 1 commit
    • Eli Zaretskii's avatar
      Repair the MSDOS build following latest changes. · 1b2de274
      Eli Zaretskii authored
       msdos/sedlibmk.inp (am_libgnu_a_OBJECTS): Edit out
       allocator.$(OBJEXT).  Add editing for the new GNULIB_* and
       REPLACE_* variables.
       src/msdos.c (XMenuActivate, XMenuAddSelection): Adjust argument list
       to changes in oldXMenu/XMenu.h from 2011-04-16.
       <menu_help_message, prev_menu_help_message>: Constify.
       (IT_menu_make_room): menu->help_text is now `const char **';
       adjust.
       src/msdos.h (XMenuActivate, XMenuAddSelection): Adjust prototypes
       to changes in oldXMenu/XMenu.h from 2011-04-16.
       (struct XMenu): Declare `help_text' `const char **'.
       src/xfaces.c <Qunspecified>: Make extern again.
       src/syntax.c: Include sys/types.h before including regex.h, as
       required by Posix.
      1b2de274
  31. 06 Apr, 2011 1 commit
    • Eli Zaretskii's avatar
      Adapt the MS-DOS build to changes in gnulib. · 7c106b1e
      Eli Zaretskii authored
       msdos/sedlibmk.inp: Update checklist.
       (am_libgnu_a_OBJECTS): Remove careadlinkat.$(OBJEXT).
       ($(top_builddir)/config.status): Edit away, both as target and in
       prerequisites.
       (@am__fastdepCC_FALSE@): Fix editing.
       (@GL_GENERATE_STDBOOL_H_TRUE@, @GL_GENERATE_STDBOOL_H_FALSE@)
       (@GL_GENERATE_STDDEF_H_TRUE@, @GL_GENERATE_STDDEF_H_FALSE@)
       (@GL_GENERATE_STDINT_H_TRUE@, @GL_GENERATE_STDINT_H_FALSE@): Edit
       to either nothing or "#".
       src/msdos.c (careadlinkat, careadlinkatcwd): MS-DOS replacements.
      7c106b1e
  32. 25 Mar, 2011 2 commits
    • Eli Zaretskii's avatar
      Fix previous commit. · f4d87671
      Eli Zaretskii authored
       config.bat: Use autogen/config.in in one more place.
       msdos/sedlibmk.inp (GNULIB_PRINTF, GNULIB_PRINTF_POSIX): Add missing
       variables.
       (MKDIR_P): Fix replacement command.
       (NEXT_AS_FIRST_DIRECTIVE_STDIO_H, NEXT_STDIO_H): Edit to
       "<stdio.h>", as lib/stdio.h cannot be left unused.
      f4d87671
    • Eli Zaretskii's avatar
      Adapt config.bat and msdos/sedlibmk.inp to autogen and addition of stdio. · 07da4b3c
      Eli Zaretskii authored
       msdos/sedlibmk.inp: Adapt to addition of the gnulib stdio module.
       config.bat: Generate src/config.h and lib/Makefile from
       autogen/config.in and autogen/Makefile.in.
      07da4b3c
  33. 26 Feb, 2011 2 commits
    • Eli Zaretskii's avatar
      Test and finish fixing the MS-DOS build. · ea2bc7b0
      Eli Zaretskii authored
       msdos/sedlib.mk (APPLE_UNIVERSAL_BUILD): New edit.
       (gl_LIBOBJS): Add md5.o and filemode.o.
      ea2bc7b0
    • Eli Zaretskii's avatar
      Fix Sed scripts and srs/s/msdos.h for gnulib additions. Not tested yet. · 003fa8b6
      Eli Zaretskii authored
       src/s/msdos.h (HAVE_LSTAT): Define for DJGPP >= 2.04.
       (lstat): Define for DJGPP < 2.04.
       msdos/sedlibmk.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
       (BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T)
       (BITSIZEOF_WINT_TGNULIB_FCHMODAT, GNULIB_FSTATAT, GNULIB_FUTIMENS)
       (GNULIB_LCHMOD, GNULIB_LSTAT, GNULIB_MBTOWC, GNULIB_MKDIRAT)
       (GNULIB_MKFIFO, GNULIB_MKFIFOAT, GNULIB_MKNOD, GNULIB_MKNODAT)
       (GNULIB_STAT, GNULIB_UTIMENSAT, GNULIB_WCTOMB, HAVE_FCHMODAT)
       (HAVE_FSTATAT, HAVE_FUTIMENS, HAVE_INTTYPES_H, HAVE_LCHMOD)
       (HAVE_LONG_LONG_INT, HAVE_LSTAT, HAVE_MKDIRAT, HAVE_MKFIFO)
       (HAVE_MKFIFOAT, HAVE_MKNOD, HAVE_MKNODAT)
       (HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WCHAR_T)
       (HAVE_SIGNED_WINT_T, HAVE_STDINT_H, HAVE_SYS_BITYPES_H)
       (HAVE_SYS_INTTYPES_H, HAVE_SYS_TYPES_H)
       (HAVE_UNSIGNED_LONG_LONG_INT, HAVE_UTIMENSAT, HAVE_WCHAR_H)
       (MKDIR_P, NEXT_AS_FIRST_DIRECTIVE_STDINT_H)
       (NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H, NEXT_STDINT_H)
       (NEXT_SYS_STAT_H, REPLACE_LSTAT, REPLACE_MBTOWC, REPLACE_MKDIR)
       (REPLACE_MKFIFO, REPLACE_MKNOD, REPLACE_STAT, REPLACE_UTIMENSAT)
       (REPLACE_WCTOMB, SIG_ATOMIC_T_SUFFIX, SIZE_T_SUFFIX, STDINT_H)
       (WCHAR_T_SUFFIX, WINT_T_SUFFIX): New edits.
       ($(MKDIR_P)): Replace with equivalent DOS command.
       msdos/sed2v2.inp (BITSIZEOF_PTRDIFF_T, BITSIZEOF_SIG_ATOMIC_T)
       (BITSIZEOF_SIZE_T, BITSIZEOF_WCHAR_T, BITSIZEOF_WINT_T)
       (HAVE_LONG_LONG_INT, HAVE_SIGNED_SIG_ATOMIC_T, HAVE_SIGNED_WINT_T)
       (HAVE_UNSIGNED_LONG_LONG_INT, HAVE_WCHAR_H, HAVE_INTTYPES_H): New
       edits.
      003fa8b6
  34. 19 Feb, 2011 4 commits
    • Eli Zaretskii's avatar
      Finish fixing the MS-DOS build. Everything builds and works. · f601db19
      Eli Zaretskii authored
       src/termcap.c (tputs): Don't declare baud_rate.
       msdos/sedlibmk.inp (gl_LIBOBJS): Add getloadavg.o.
       msdos/sedleim.inp (RUN_EMACS): Rename from RUN-EMACS.
       (BUILT_EMACS): Rename from BUILT-EMACS.
       msdos/sed6.inp (MAKEINFO): Edit to "makeinfo".
       (ENVADD): Adjust to MAKEINFO_OPTS.
       (texinputdir): Don't edit.
       msdos/sed2v2.inp (my_strftime): Edit to nstrftime.
       msdos/sed1v2.inp (LIBOBJS): Edit to empty.
       ($(libsrc)/make-docfile): Two new edits, one each for every
       invocation of make-docfile.
       (move-if-change): Fix edit.
       Remove some unused switches from $(ALL_CFLAGS), to make the GCC
       command line shorter.
      f601db19
    • Eli Zaretskii's avatar
      Fix msdos/sedlibmk.inp. lib/ builds now. · 27087453
      Eli Zaretskii authored
       sedlibmk.inp (HAVE_GETOPT_H, PRAGMA_SYSTEM_HEADER, PRAGMA_COLUMNS): Fix
       editing.
       (DEFS): Edit to -DHAVE_CONFIG_H.
       (Makefile, &&): Fix removal.
      27087453
    • Eli Zaretskii's avatar
      Fix generation of auto-dependency files in lib/. · 219463da
      Eli Zaretskii authored
       .bzrignore: Add lib/deps/.
       config.bat: Generate *.Po files in lib/deps.
       msdos/sedlibmk.inp (CONFIG_CLEAN_VPATH_FILES): Fix editing of *-clean
       rules.
       msdos/depfiles.bat: New file.
      219463da
    • Eli Zaretskii's avatar
      Commit new Sed scripts in msdos/. · 9d9ce659
      Eli Zaretskii authored
      9d9ce659