1. 23 Jun, 2012 1 commit
    • Paul Eggert's avatar
      Merge from gnulib. · 47d0c011
      Paul Eggert authored
      * m4/getopt.m4: Copy new version from gnulib, incorporating:
      getopt-gnu: Handle suboptimal getopt_long's abbreviation handling.
      47d0c011
  2. 22 Jun, 2012 1 commit
    • Paul Eggert's avatar
      Merge from gnulib. · 05730648
      Paul Eggert authored
      * lib/filemode.h, lib/signal.in.h, lib/stat.c, lib/stdint.in.h:
      * lib/stdlib.in.h, lib/unistd.in.h, m4/extensions.m4, m4/getloadavg.m4:
      * m4/getopt.m4, m4/gnulib-common.m4, m4/largefile.m4, m4/mktime.m4:
      * m4/multiarch.m4, m4/nocrash.m4, m4/stdio_h.m4, m4/time_r.m4:
      Copy new versions from gnulib, incorporating the following changes:
      2012-06-22 time_r: fix typo that always overrode localtime_r decl
      2012-06-22 Write "Mac OS X" instead of "MacOS X".
      2012-06-21 mktime: fix integer overflow in 'configure'-time test
      2012-06-21 nonblocking: Avoid compilation error on mingw64.
      2012-06-19 stat, fstat: Avoid warnings on mingw64.
      2012-06-19 getopt-gnu: Fix exit code overflow in autoconf test.
      05730648
  3. 26 May, 2012 1 commit
  4. 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
  5. 08 Jul, 2011 2 commits
  6. 15 Jun, 2011 1 commit
  7. 24 Jan, 2011 1 commit
  8. 22 Jan, 2011 1 commit
    • Paul Eggert's avatar
      src/config.in: shrink slightly · b06b1098
      Paul Eggert authored
      * configure.in: Invoke the new gnulib macro gl_ASSERT_NO_GNULIB_TESTS.
      This makes src/config.in a bit smaller, by removing identifiers
      like GNULIB_TEST_MKTIME that Emacs does not need.
      * m4/getopt.m4, m4/gnulib-common.m4, m4/include_next.m4:
      * m4/multiarch.m4, m4/stddef_h.m4, m4/time_h.m4, m4/unistd_h.m4:
      Sync from gnulib.  This removes a few more unnecessary symbols from
      src/config.in, such as AA_APPLE_UNIVERSAL_BUILD and HAVE_STDDEF_H.
      * configure, src/config.in: Regenerate.
      b06b1098
  9. 15 Jan, 2011 1 commit
  10. 09 Jan, 2011 1 commit
  11. 16 Jan, 2007 1 commit
  12. 05 Feb, 2006 1 commit
  13. 27 Jul, 2005 1 commit
  14. 26 Jul, 2005 1 commit
    • Paul Eggert's avatar
      Merge gnulib getopt implementation into Emacs. · 9eff9fe3
      Paul Eggert authored
      * Makefile.in (AUTOCONF_INPUTS): New macro.
      ($(srcdir)/configure, $(srcdir)/src/stamp-h.in): Depend on it,
      so that these files also depend on m4/getopt.m4.
      * configure.in: Configure getopt by including m4/getopt.m4,
      and configuring a getopt replacement if necessary.
      * make-dist: Add m4 subdirectory.  Unlink lib-src/getopt.h.
      * m4/getopt.m4: New file.
      
      * lib-src/Makefile.in (mostlyclean): Remove getopt.h, getopt.h-t.
      (GETOPT_H): New macro, from gnulib.
      (getopt.h): New rule, from gnulib.
      (GETOPTOBJS): Now autoconfigured.
      (GETOPTDEPS): getopt.h is now autoconfigured.
      (getopt.o, getopt1.o): Depend on $(GETOPT_H), not ${srcdir}/getopt.h.
      (getopt.o): Depend on ${srcdir}/gettext.h.
      (movemail.o): Depend on $(GETOPT_H).
      * lib-src/getopt.c, lib-src/getopt1.c: Sync from gnulib.
      * lib-src/getopt_.h, lib-src/getopt_int.h, lib-src/gettext.h:
      New files, from gnulib.
      * lib-src/getopt.h: Removed (now is getopt_.h).
      
      * nt/inc/gettext.h: Remove; no longer needed now that
      lib-src/gettext.h exists.
      
      * src/s/cygwin.h (C_SWITCH_SYSTEM): Remove, since gettext.h is
      now part of lib-src.
      9eff9fe3