diff options
| author | Paul Eggert | 2005-07-26 21:43:13 +0000 |
|---|---|---|
| committer | Paul Eggert | 2005-07-26 21:43:13 +0000 |
| commit | 9eff9fe3e8ab53b7a8ad2c1633b0681beb3b655c (patch) | |
| tree | 36f83598b89a1567622ee38b623f7888a4c2e904 /src | |
| parent | 1c9916a1f9dc944ee733f5c77db39013123da8da (diff) | |
| download | emacs-9eff9fe3e8ab53b7a8ad2c1633b0681beb3b655c.tar.gz emacs-9eff9fe3e8ab53b7a8ad2c1633b0681beb3b655c.zip | |
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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 7 | ||||
| -rw-r--r-- | src/s/cygwin.h | 4 |
2 files changed, 8 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index e352ada73a3..dd46874e679 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2005-07-26 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Merge gnulib getopt implementation into Emacs. | ||
| 4 | |||
| 5 | * s/cygwin.h (C_SWITCH_SYSTEM): Remove, since gettext.h is | ||
| 6 | now part of lib-src. | ||
| 7 | |||
| 1 | 2005-07-26 Stefan Monnier <monnier@iro.umontreal.ca> | 8 | 2005-07-26 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 9 | ||
| 3 | * eval.c (Fdefvar): Allow (defvar enable-multibyte-characters). | 10 | * eval.c (Fdefvar): Allow (defvar enable-multibyte-characters). |
diff --git a/src/s/cygwin.h b/src/s/cygwin.h index 0094ef793dc..ac977b8cb52 100644 --- a/src/s/cygwin.h +++ b/src/s/cygwin.h | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* Template for system description header files. | 1 | /* Template for system description header files. |
| 2 | This file describes the parameters that system description files | 2 | This file describes the parameters that system description files |
| 3 | should define or not. | 3 | should define or not. |
| 4 | Copyright (C) 1985, 1986, 1992, 1999 Free Software Foundation, Inc. | 4 | Copyright (C) 1985, 1986, 1992, 1999, 2005 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 7 | 7 | ||
| @@ -123,8 +123,6 @@ Boston, MA 02110-1301, USA. */ | |||
| 123 | emacs lisp pointers */ | 123 | emacs lisp pointers */ |
| 124 | #define DATA_SEG_BITS 0x20000000 | 124 | #define DATA_SEG_BITS 0x20000000 |
| 125 | #define LINKER $(CC) -Wl,--image-base,DATA_SEG_BITS | 125 | #define LINKER $(CC) -Wl,--image-base,DATA_SEG_BITS |
| 126 | /* gettext.h is in a strange place */ | ||
| 127 | #define C_SWITCH_SYSTEM -I/usr/share/gettext | ||
| 128 | 126 | ||
| 129 | /* Use terminfo instead of termcap. Fewer environment variables to | 127 | /* Use terminfo instead of termcap. Fewer environment variables to |
| 130 | go wrong, more terminal types. */ | 128 | go wrong, more terminal types. */ |