1. 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
  2. 04 Jul, 2005 1 commit
  3. 01 Sep, 2003 1 commit
  4. 09 Dec, 2002 1 commit
  5. 07 Dec, 2002 1 commit
  6. 05 Dec, 2002 1 commit
  7. 04 Dec, 2002 1 commit
    • Richard M. Stallman's avatar
      (const): Move outside !HAVE_CONFIG_H conditional. · 554ed1ff
      Richard M. Stallman authored
      (libintl.h): Include this if _LIBC.  Otherwise include gettext.h.
      (wchar.h): Include, maybe.
      (attribute_hidden): Define if not defind.
      (__getopt_initialized): Use attribute_hidden.
      (__libc_argc, __libc_argv): Renamed from original_argc, etc.
      (__getopt_nonoption_flags, nonoption_flags_max_len, nonoption_flags_len):
      Conditional on USE_NONOPTION_FLAGS.
      (SWAP_FLAGS): New definitions.
      (exchange): Test USE_NONOPTION_FLAGS.
      (_getopt_initialize): Test USE_NONOPTION_FLAGS.
      (_getopt_internal): Error if argc < 1.  New local var print_errors.
      Improve test for ambiguous long option.
      Add LIBIO support for error message output.
      (NONOPTION_P): Test USE_NONOPTION_FLAGS.
      554ed1ff
  8. 19 Oct, 1999 1 commit
    • Paul Eggert's avatar
      Add support for large files. Merge glibc 2.1.2. · 4ee9629e
      Paul Eggert authored
      * b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c,
      movemail.c, pop.c:
      Do not include <stdlib.h>, as <config.h> does this now.
      
      * b2m.c, emacsserver.c, etags.c, profile.c:
      Include <config.h> before any system include files.
      
      * emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c,
      test-distrib.c:
      (read, write, open, close): Do not undef.
      
      * getopt.c, getopt1.c: Adopt glibc 2.1.2, with the following fix:
      (const): Do not define if HAVE_CONFIG_H; that's config.h's job.
      
      * getopt.h: Adopt glibc 2.1.2.
      4ee9629e
  9. 11 Oct, 1999 1 commit
  10. 21 Jul, 1999 1 commit
  11. 19 May, 1998 1 commit
  12. 27 Apr, 1998 1 commit
  13. 14 Apr, 1998 1 commit
  14. 04 Dec, 1997 1 commit
  15. 06 Nov, 1997 1 commit
  16. 11 Sep, 1997 4 commits
  17. 05 Sep, 1997 1 commit
  18. 14 Aug, 1997 2 commits
  19. 27 May, 1997 1 commit
  20. 18 Apr, 1997 1 commit