]> code.delx.au - gnu-emacs/commit
Stop calling res_init
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 29 Feb 2016 17:39:45 +0000 (09:39 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 29 Feb 2016 17:40:58 +0000 (09:40 -0800)
commit93bf7d52841c60ffc10e0c9c789a7987812ce55e
tree443f8b37cf01441daab1a3e3a932417a3449a4c2
parent938f104f1b8de0a082f4736aaf504cea4f65765e
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.
admin/CPP-DEFINES
configure.ac
src/Makefile.in
src/process.c