diff options
| author | Paul Eggert | 2016-02-29 09:39:45 -0800 |
|---|---|---|
| committer | Paul Eggert | 2016-02-29 09:40:58 -0800 |
| commit | 93bf7d52841c60ffc10e0c9c789a7987812ce55e (patch) | |
| tree | 443f8b37cf01441daab1a3e3a932417a3449a4c2 /admin | |
| parent | 938f104f1b8de0a082f4736aaf504cea4f65765e (diff) | |
| download | emacs-93bf7d52841c60ffc10e0c9c789a7987812ce55e.tar.gz emacs-93bf7d52841c60ffc10e0c9c789a7987812ce55e.zip | |
Stop calling res_init
Emacs shouldn’t need to call res_init any more, now that nscd or
equivalent is everywhere. On modern systems, calling res_init
simply slows Emacs down. On ancient systems lacking nscd Emacs
will still work well enough with this change; it’s just that it
won’t respond to changes in /etc/resolv.conf.
* configure.ac (HAVE_RES_INIT): Remove. Worry about -lresolv only
when configured --with-hesiod. Hesiod is still used; see, e.g.:
https://soylentnews.org/meta/article.pl?sid=15/07/13/0255214
* src/Makefile.in (LIBRESOLV): Remove. All uses removed.
Diffstat (limited to 'admin')
| -rw-r--r-- | admin/CPP-DEFINES | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/admin/CPP-DEFINES b/admin/CPP-DEFINES index 796b57db3d8..86f2fa5a414 100644 --- a/admin/CPP-DEFINES +++ b/admin/CPP-DEFINES | |||
| @@ -254,7 +254,6 @@ HAVE_RANDOM | |||
| 254 | HAVE_READLINK | 254 | HAVE_READLINK |
| 255 | HAVE_READLINKAT | 255 | HAVE_READLINKAT |
| 256 | HAVE_RECVFROM | 256 | HAVE_RECVFROM |
| 257 | HAVE_RES_INIT | ||
| 258 | HAVE_RINT | 257 | HAVE_RINT |
| 259 | HAVE_RSVG | 258 | HAVE_RSVG |
| 260 | HAVE_SELECT | 259 | HAVE_SELECT |