diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2016-02-29 09:39:45 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2016-02-29 09:40:58 -0800 |
commit | 93bf7d52841c60ffc10e0c9c789a7987812ce55e (patch) | |
tree | 443f8b37cf01441daab1a3e3a932417a3449a4c2 /admin | |
parent | 938f104f1b8de0a082f4736aaf504cea4f65765e (diff) |
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 796b57db3d..86f2fa5a41 100644 --- a/admin/CPP-DEFINES +++ b/admin/CPP-DEFINES @@ -254,7 +254,6 @@ HAVE_RANDOM HAVE_READLINK HAVE_READLINKAT HAVE_RECVFROM -HAVE_RES_INIT HAVE_RINT HAVE_RSVG HAVE_SELECT |