comparison lib-src/ChangeLog @ 64639:385af3e03206

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.
author Paul Eggert <eggert@twinsun.com>
date Tue, 26 Jul 2005 21:43:13 +0000
parents 3ac645ba3986
children 40f90cb18fb4
comparison
equal deleted inserted replaced
64638:8cbdc86a4f55 64639:385af3e03206
1 2005-07-26 Paul Eggert <eggert@cs.ucla.edu>
2
3 Merge gnulib getopt implementation into Emacs.
4
5 * Makefile.in (mostlyclean): Remove getopt.h, getopt.h-t.
6 (GETOPT_H): New macro, from gnulib.
7 (getopt.h): New rule, from gnulib.
8 (GETOPTOBJS): Now autoconfigured.
9 (GETOPTDEPS): getopt.h is now autoconfigured.
10 (getopt.o, getopt1.o): Depend on $(GETOPT_H), not ${srcdir}/getopt.h.
11 (getopt.o): Depend on ${srcdir}/gettext.h.
12 (movemail.o): Depend on $(GETOPT_H).
13 * getopt.c, getopt1.c: Sync from gnulib.
14 * getopt_.h, getopt_int.h, gettext.h: New files, from gnulib.
15 * getopt.h: Removed (now is getopt_.h).
16
1 2005-07-13 Ken Raeburn <raeburn@gnu.org> 17 2005-07-13 Ken Raeburn <raeburn@gnu.org>
2 18
3 * pop.c: Don't include des.h (or variants thereof); krb.h will do 19 * pop.c: Don't include des.h (or variants thereof); krb.h will do
4 it. 20 it.
5 (sendline): Add the \r\n to the line in a temporary buffer, and 21 (sendline): Add the \r\n to the line in a temporary buffer, and