1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-05 08:53:45 +00:00
Commit Graph

26 Commits

Author SHA1 Message Date
Thien-Thi Nguyen
92b47a4a99 Update years in copyright notice; nfc. 2005-08-07 10:56:27 +00:00
Miles Bader
d7b7f3c485 Add arch tagline 2005-07-27 01:31:21 +00:00
Paul Eggert
9eff9fe3e8 Merge gnulib getopt implementation into Emacs.
* 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.
2005-07-26 21:43:13 +00:00
Lute Kamstra
364c38d3af Update FSF's address. 2005-07-04 15:47:28 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Richard M. Stallman
eca79530b7 Do include libintl.h if HAVE_LIBINTL_H.
(_): Test only HAVE_LIBINTL_H to decide what to do.
2002-12-09 01:55:05 +00:00
Ben Key
4fbd67668e Fixed the build error in getopt.c that occured on systems lacking a gettext implementation. Thanks go to Andrew Choi [akochoi@shaw.ca] for this one. 2002-12-07 05:22:27 +00:00
Richard M. Stallman
d262de61ff Comment out include of libintl.h or gettext.h. 2002-12-05 15:30:09 +00:00
Richard M. Stallman
554ed1ff28 (const): Move outside !HAVE_CONFIG_H conditional.
(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.
2002-12-04 11:17:43 +00:00
Paul Eggert
4ee9629e2b Add support for large files. Merge glibc 2.1.2.
* 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.
1999-10-19 07:17:20 +00:00
Dave Love
9832d51d60 Avoid strneq. 1999-10-11 17:14:12 +00:00
Paul D. Smith
55e3eb9371 * Add configure option to enable dmalloc library.
* Various code cleanups.
1999-07-21 05:53:29 +00:00
Ulrich Drepper
152b9de41c automatically generated from GPLed version 1998-05-19 07:09:32 +00:00
Ulrich Drepper
1823194b95 automatically generated from GPLed version 1998-04-27 23:48:59 +00:00
Ulrich Drepper
06bd27fdf5 automatically generated from GPLed version 1998-04-14 00:02:53 +00:00
Ulrich Drepper
0db2ec7752 automatically generated from GPLed version 1997-12-04 01:16:52 +00:00
Ulrich Drepper
4e941b8ea8 automatically generated from GPLed version 1997-11-06 00:44:44 +00:00
Paul Eggert
89752145b5 automatically generated from GPLed version 1997-09-11 18:22:03 +00:00
Ulrich Drepper
b93ad5e24b automatically generated from GPLed version 1997-09-11 18:13:19 +00:00
Paul Eggert
b970b3af41 automatically generated from GPLed version 1997-09-11 18:13:19 +00:00
Ulrich Drepper
c9364bbf20 automatically generated from GPLed version 1997-09-11 18:13:19 +00:00
Paul D. Smith
84760de2b5 Changes for GNU make 3.75.93. 1997-09-05 21:01:56 +00:00
Miles Bader
bd873746d3 automatically generated from GPLed version 1997-08-14 02:25:35 +00:00
Paul Eggert
3d620bbb7d automatically generated from GPLed version 1997-08-14 02:16:15 +00:00
Paul Eggert
098401cfa2 automatically generated from GPLed version 1997-05-27 03:15:29 +00:00
Paul Eggert
49fb579912 automatically generated from GPLed version 1997-04-18 00:48:01 +00:00