1. 21 May, 2012 5 commits
    • 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
  2. 19 May, 2012 9 commits
  3. 18 May, 2012 11 commits
  4. 17 May, 2012 9 commits
  5. 16 May, 2012 2 commits
    • Paul Eggert's avatar
      * configure.in: Simplify by removing CPP etc. · f04940ae
      Paul Eggert authored
      (CPP_TEST_OPTIONS, NON_GNU_CPP, cc_specified, SPECIFIED_CFLAGS)
      (SPECIFED_CPP, CPP, NON_GNU_CC, AC_PROG_CPP): Remove; not needed.
      In particular we no longer need to fiddle with CPP, since we don't
      use CPP specially any more.
      (gl_EARLY): Invoke this after adjusting CC, so that it uses the
      adjusted compiler.
      (AC_PROG_INSTALL, AC_PROG_MKDIR_P, AC_PROG_RANLIB): Comment out,
      since gl_EARLY and/or Autoconf already does these.
      f04940ae
    • Glenn Morris's avatar
      Try to fix building with gcc >= 4.6 on Darwin. · 27cb7be2
      Glenn Morris authored
      Eg, hydra builds have been failing for some time because (?) of this.
      In gcc < 4.6, unrecognized -no-fo options just cause a warning.
      In 4.6 and later, they cause an error.
      
      * configure.in: (CPP): Do not unconditionally set it on Darwin.
      Instead, try to test if -no-cpp-precomp is accepted.
      (CPP_TEST_OPTIONS, SPECIFIED_CPP): New.
      
      Fixes: debbugs:9755
      27cb7be2
  6. 15 May, 2012 4 commits