diff options
| author | Paul Eggert | 2012-05-19 11:04:49 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-05-19 11:04:49 -0700 |
| commit | 9232a6d9a7ca8ef3e725899552cfd568463ddcfe (patch) | |
| tree | 1c81a4aa7e2130204fc89d5ff3408ff167c4fa91 /msdos | |
| parent | 76bc2ec7dc90ff0514b090a9801e71a3e92a740a (diff) | |
| download | emacs-9232a6d9a7ca8ef3e725899552cfd568463ddcfe.tar.gz emacs-9232a6d9a7ca8ef3e725899552cfd568463ddcfe.zip | |
Remove unused HAVE_* symbols for functions.
* configure.in (AC_CHECK_FUNCS): Remove XSetWMProtocols,
getdomainname, mblen (twice), mbrlen (twice), mbsinit, ualarm,
getsockopt, setsockopt, mremap, mempcpy.
* admin/CPP-DEFINES (HAVE_GETDOMAINNAME): Remove.
* msdos/sed2v2.inp (HAVE_MBLEN): Remove.
* msdos/sed2x.inp (HAVE_XSETWMPROTOCOLS): Remove.
* nt/config.nt (HAVE_GETDOMAINNAME, HAVE_XSETWMPROTOCOLS)
(HAVE_GETSOCKOPT, HAVE_SETSOCKOPT): Remove; not needed.
* src/s/ms-w32.h (HAVE_GETDOMAINNAME): Remove; not needed.
Diffstat (limited to 'msdos')
| -rw-r--r-- | msdos/ChangeLog | 5 | ||||
| -rw-r--r-- | msdos/sed2v2.inp | 2 | ||||
| -rw-r--r-- | msdos/sed2x.inp | 1 |
3 files changed, 5 insertions, 3 deletions
diff --git a/msdos/ChangeLog b/msdos/ChangeLog index 603baa978e0..46472373e51 100644 --- a/msdos/ChangeLog +++ b/msdos/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2012-05-19 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | * sed2v2.inp (HAVE_MBLEN): Remove. | ||
| 4 | * sed2x.inp (HAVE_XSETWMPROTOCOLS): Remove. | ||
| 5 | |||
| 1 | 2012-04-21 Eli Zaretskii <eliz@gnu.org> | 6 | 2012-04-21 Eli Zaretskii <eliz@gnu.org> |
| 2 | 7 | ||
| 3 | * sedleim.inp (RUN_EMACS): Replace BUILT_EMACS with EMACS. | 8 | * sedleim.inp (RUN_EMACS): Replace BUILT_EMACS with EMACS. |
diff --git a/msdos/sed2v2.inp b/msdos/sed2v2.inp index 7c7a4ad6271..06a59513af7 100644 --- a/msdos/sed2v2.inp +++ b/msdos/sed2v2.inp | |||
| @@ -46,7 +46,6 @@ | |||
| 46 | /^#undef HAVE_SETRLIMIT *$/s/^.*$/#define HAVE_SETRLIMIT 1/ | 46 | /^#undef HAVE_SETRLIMIT *$/s/^.*$/#define HAVE_SETRLIMIT 1/ |
| 47 | /^#undef HAVE_GETRUSAGE *$/s/^.*$/#define HAVE_GETRUSAGE 1/ | 47 | /^#undef HAVE_GETRUSAGE *$/s/^.*$/#define HAVE_GETRUSAGE 1/ |
| 48 | /^#undef HAVE_TM_GMTOFF *$/s/^.*$/#define HAVE_TM_GMTOFF 1/ | 48 | /^#undef HAVE_TM_GMTOFF *$/s/^.*$/#define HAVE_TM_GMTOFF 1/ |
| 49 | /^#undef HAVE_MBLEN *$/s/^.*$/#define HAVE_MBLEN 1/ | ||
| 50 | /^#undef HAVE_STRUCT_TIMEZONE *$/s/^.*$/#define HAVE_STRUCT_TIMEZONE 1/ | 49 | /^#undef HAVE_STRUCT_TIMEZONE *$/s/^.*$/#define HAVE_STRUCT_TIMEZONE 1/ |
| 51 | /^#undef HAVE_SIZE_T *$/s/^.*$/#define HAVE_SIZE_T 1/ | 50 | /^#undef HAVE_SIZE_T *$/s/^.*$/#define HAVE_SIZE_T 1/ |
| 52 | /^#undef HAVE_MKSTEMP *$/s/^.*$/#define HAVE_MKSTEMP 1/ | 51 | /^#undef HAVE_MKSTEMP *$/s/^.*$/#define HAVE_MKSTEMP 1/ |
| @@ -119,4 +118,3 @@ s/^#undef HAVE_STRTOULL *$/#define HAVE_STRTOULL 1/ | |||
| 119 | # might be defined in sys/config.h we include at the top of config.h. | 118 | # might be defined in sys/config.h we include at the top of config.h. |
| 120 | /^#undef BSTRING/s|#undef|# undef| | 119 | /^#undef BSTRING/s|#undef|# undef| |
| 121 | /^#undef .*$/s|^.*$|/* & */| | 120 | /^#undef .*$/s|^.*$|/* & */| |
| 122 | |||
diff --git a/msdos/sed2x.inp b/msdos/sed2x.inp index 159c35fd251..fa920246c96 100644 --- a/msdos/sed2x.inp +++ b/msdos/sed2x.inp | |||
| @@ -20,6 +20,5 @@ | |||
| 20 | /^#undef HAVE_X11 *$/s/undef/define/ | 20 | /^#undef HAVE_X11 *$/s/undef/define/ |
| 21 | /^#undef HAVE_X_MENU *$/s/undef/define/ | 21 | /^#undef HAVE_X_MENU *$/s/undef/define/ |
| 22 | /^#undef HAVE_XSCREENNUMBEROFSCREEN *$/s/undef/define/ | 22 | /^#undef HAVE_XSCREENNUMBEROFSCREEN *$/s/undef/define/ |
| 23 | /^#undef HAVE_XSETWMPROTOCOLS *$/s/undef/define/ | ||
| 24 | /^#undef HAVE_SELECT *$/s/undef/define/ | 23 | /^#undef HAVE_SELECT *$/s/undef/define/ |
| 25 | 24 | ||