1. 27 May, 2012 2 commits
    • Eli Zaretskii's avatar
      Fix the MS-Windows build broken by 1995-02-25T20:57:45Z!rms@gnu.org. · cd376509
      Eli Zaretskii authored
       lib/makefile.w32-in ($(BLD)/md5.$(O)): 
       ($(BLD)/sha1.$(O)): 
       ($(BLD)/sha256.$(O)): 
       ($(BLD)/sha512.$(O)): Depend on $(EMACS_ROOT)/nt/inc/stdalign.h.
       Suggested by Christoph Scholtes <cschol2112@googlemail.com>.
       lib/getopt_.h: Regenerate.
       nt/inc/stdalign.h: New file.
      
      Fixes: debbugs:11527
      cd376509
    • Paul Eggert's avatar
      Assume gnulib does largefile. · 50c4645e
      Paul Eggert authored
      Gnulib does the largefile configuration anyway, so when configure.in
      invokes AC_SYS_LARGEFILE, that bloats 'configure' unnecessarily.
      * admin/merge-gnulib (GNULIB_MODULES): Add largefile.
      * configure.in (AC_SYS_LARGEFILE): Remove.
      * lib/gnulib.mk: Autoupdate.
      50c4645e
  2. 26 May, 2012 1 commit
  3. 22 May, 2012 3 commits
    • Paul Eggert's avatar
      Remove src/m/*. · 34374650
      Paul Eggert authored
      * configure.in: Remove all mention of src/m/*.
      (machine, machfile, M_FILE, config_machfile, and_machfile): Remove.
      All uses removed.
      (BITS_PER_CHAR, BITS_PER_SHORT, BITS_PER_INT, BITS_PER_LONG)
      (BITS_PER_LONG_LONG): Move to src/lisp.h.
      * lib/makefile.w32-in: Remove dependencies on
      $(EMACS_ROOT)/src/m/intel386.h.
      * make-dist: Don't make links to src/m.
      * admin/CPP-DEFINES: Do not mention src/m/*.h.
      (BITS_PER_EMACS_INT, BITS_PER_LONG, BITS_PER_CHAR)
      (BITS_PER_SHORT, BITS_PER_INT): Remove.
      * admin/MAINTAINERS: Remove src/m/.
      * lib-src/makefile.w32-in: Remove dependencies on
      $(EMACS_ROOT)/src/m/intel386.h.
      * msdos/mainmake.v2 (TAGS tags): Don't look at $(CURDIR)/src/m/intel386.h.
      * nt/config.nt: Do not include "m/intel386.h"; file was removed.
      (BITS_PER_CHAR, BITS_PER_SHORT, BITS_PER_INT, BITS_PER_LONG):
      Move to src/lisp.h.
      (EMACS_INT_MAX): New macro.
      This directory predates autoconf and is no longer needed nowadays.
      Move its few remaining bits of functionality to where they're needed.
      * src/m/README, src/m/alpha.h, src/m/amdx86-64.h, src/m/ia64.h, src/m/ibmrs6000.h:
      * src/m/ibms390x.h, src/m/intel386.h, src/m/m68k.h, src/m/macppc.h:
      * src/m/sparc.h, src/m/template.h: Remove.
      * src/Makefile.in (M_FILE): Remove.  All uses removed.
      * src/alloc.c (POINTERS_MIGHT_HIDE_IN_OBJECTS):
      * src/lisp.h (USE_LSB_TAG):
      * src/mem-limits.h (EXCEEDS_LISP_PTR):
      Use VAL_MAX, not VALBITS, in #if.
      * src/lisp.h (EMACS_INT_MAX): New macro, useful in #if.
      (EMACS_UINT): Define unconditionally now.
      (BITS_PER_CHAR, BITS_PER_SHORT, BITS_PER_INT, BITS_PER_LONG)
      (BITS_PER_EMACS_INT): New constants, replacing
      what used to be in config.h, but not useful in #if.
      (GCTYPEBITS, VALBITS): Define unconditionally, since m/* files don't
      define them any more.
      (VAL_MAX): New macro.
      (VALMASK): Use it.
      * src/puresize.h (PURESIZE_RATIO): Use EMACS_INT_MAX, not
      BITS_PER_EMACS_INT, in #if.
      * src/s/aix4-2.h (BROKEN_FIONREAD, BROKEN_SIGAIO, BROKEN_SIGPTY)
      (BROKEN_SIGPOLL): Move here from m/ibmrs6000.h, which was removed.
      * src/s/gnu-linux.h (ULIMIT_BREAK_VALUE) [__i386__]:
      * src/s/ms-w32.h (DATA_START):
      Move here from removed file m/intel386.h.
      * src/s/gnu.h (NLIST_STRUCT): Remove undef; 'configure' does this.
      * src/s/irix6-5.h (_LP64): Remove; lisp.h no longer needs this.
      34374650
    • Paul Eggert's avatar
      * Makefile.in (ACLOCAL_INPUTS): Fix up gnulib-comp.m4 name. (Bug#11529) · ec21c7f8
      Paul Eggert authored
      Without this further fix, aclocal was being invoked unnecessarily.
      ec21c7f8
    • Glenn Morris's avatar
      More small tweaks for Makefile.in · 39078e4a
      Glenn Morris authored
      * Makefile.in (blessmail, install-arch-dep, uninstall):
      Check cd lib-src works.
      (install-arch-dep, uninstall): Remove unneeded subshells.
      39078e4a
  4. 21 May, 2012 8 commits
    • Glenn Morris's avatar
      * update-subdirs: Move to build-aux/. · ff0c3cfb
      Glenn Morris authored
      * make-dist:
      * Makefile.in (install-arch-indep):
      * lisp/Makefile.in (update-subdirs):
      * lisp/makefile.w32-in (update-subdirs-SH):
      Update for this change.
      ff0c3cfb
    • Glenn Morris's avatar
      Let the top-level Makefile install leim · d10cfddd
      Glenn Morris authored
      * Makefile.in (leimdir): New, set by configure.
      (COPYDIR, COPYDESTS): Add leim directories.
      (install-leim): Remove.
      (install-arch-indep): Handle leim installation directly.
      
      * leim/Makefile.in (install): Remove, let top-level do it.
      (version, prefix, datarootdir, datadir, ns_appresdir, leimdir):
      (MKDIR_P, GZIP_PROG): Remove, no longer used.
      d10cfddd
    • Glenn Morris's avatar
      Remove vpath.sed; unused for literally decades AFAICS · be17565b
      Glenn Morris authored
      * vpath.sed: Remove unused file.
      * make-dist: No more vpath.sed.
      be17565b
    • Paul Eggert's avatar
      Use full name for m4/gnulib-comp.m4. (Bug#11529) · fb77d37e
      Paul Eggert authored
      Previously the file was named m4/gl-comp.m4 due to DOS 8+3 restrictions,
      even though the file's name in gnulib is m4/gnulib-comp.m4.
      This had a problem when merging from gnulib, as the code temporarily
      renamed it to the full name, causing problems when interrupted.
      Now the file has its full name, with the idea that we will find
      a solution for MS-DOS that does not affect the rest of Emacs.
      * m4/gnulib-comp.m4: Rename from m4/gl-comp.m4.
      * admin/merge-gnulib: Leave m4/gnulib-comp.m4's name alone.
      fb77d37e
    • Paul Eggert's avatar
      Assume C89 or later. · 261cb4bb
      Paul Eggert authored
      * configure.in (AC_C_PROTOTYPES, AC_C_VOLATILE, AC_C_CONST)
      (POINTER_TYPE, PROTOTYPES): Remove.
      * admin/CPP-DEFINES: Remove NULL, const.
      * lib-src/etags.c (static, const): Remove macros.
      (PTR): Remove; all uses replaced with void *.  Omit needless casts.
      * src/alloc.c, src/buffer.c, lisp.h: Replace POINTER_TYPE with void.
      * alloc.c (overrun_check_malloc, overrun_check_realloc, xmalloc)
      (xrealloc):
      * buffer.c (mmap_free_1, mmap_enlarge): Omit needless casts.
      * editfns.c, fns.c, gmalloc.c, insdel.c, sysdep.c, termcap.c (NULL):
      * textprop.c, tparam.c (NULL): Remove.
      * ralloc.c, vm-limit.c (POINTER): Assume void * works.
      * regex.c (SIGN_EXTEND_CHAR): Assume signed char works.
      * regex.h (_RE_ARGS): Remove.  All uses rewritten to use prototypes.
      * unexelf.c (ElfBitsW): Assume c89 preprocessor or better.
      * xterm.c (input_signal_count): Assume volatile works.
      261cb4bb
    • Glenn Morris's avatar
      Rename LEIM_INSTALLDIR to leimdir, treat consistently with lispdir · d71dfe75
      Glenn Morris authored
      * configure.in (LEIM_INSTALLDIR): Rename to leimdir, treat like lispdir.
      
      * leim/Makefile.in (install_prefix): Remove.
      (LEIM_INSTALLDIR): Rename to leimdir.
      (install): Update for this change.
      d71dfe75
    • Paul Eggert's avatar
      Make merging from gnulib a script, not a makefile action. · 9b4ee616
      Paul Eggert authored
      Putting it in a makefile has some problems with reflection, as
      merging from gnulib updates 'configure', which can update the makefile.
      Putting it in a standalone script breaks this loop.
      * Makefile.in (gnulib_srcdir, $(gnulib_srcdir), DOS_gnulib_comp.m4)
      (GNULIB_MODULES, GNULIB_TOOL_FLAGS, sync-from-gnulib):
      Remove, moving the actions to the script admin/merge-gnulib.
      * admin/merge-gnulib: New script, with actions moved here from
      ../Makefile.in.
      9b4ee616
    • Glenn Morris's avatar
      Command substitution already runs in a subshell · b847032c
      Glenn Morris authored
      * Makefile.in (install-arch-indep, install-doc, install-info, uninstall):
      * leim/Makefile.in (leim-list.el, install):
      * lib-src/Makefile.in (insrcdir, $(DESTDIR)${archlibdir}):
      * lisp/Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
      * test/automated/Makefile.in (setwins):
      Scrap superfluous subshells.
      b847032c
  5. 19 May, 2012 9 commits
  6. 18 May, 2012 11 commits
  7. 17 May, 2012 6 commits