all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
To: storm@cua.dk (Kim F. Storm)
Cc: emacs-devel@gnu.org
Subject: Re: make-network-process's gethostbyname usage
Date: Wed, 22 Aug 2007 20:45:11 -0400	[thread overview]
Message-ID: <E1IO0ox-0000vm-08@fencepost.gnu.org> (raw)
In-Reply-To: <87veb8orkl.fsf@kfs-lx.testafd.dk> (storm@cua.dk)

    So how can we fix configure to DTRT?

    a) Include -lresolv in the check for HAVE_RES_INIT.

We can certainly do that, if that gives the right results.
Do you know of any residual problem that would remain
if that is fixed?

    b) Include -lresolv in LIBS if and only if HAVE_RES_INIT is defined.

    If that is in place, it should be trivial to add

    #if HAVE_RES_INIT
	res_init();
    #endif

    before all calls to gethostbyname and getaddrinfo.

By all means.

  parent reply	other threads:[~2007-08-23  0:45 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-20  8:56 make-network-process's gethostbyname usage Alexander Kotelnikov
2007-08-21  8:43 ` Kim F. Storm
2007-08-21  9:51   ` Alexander Kotelnikov
2007-08-21 14:46 ` Richard Stallman
2007-08-22  9:18   ` Kim F. Storm
2007-08-22 11:32     ` Jan Djärv
2007-08-23  0:45     ` Richard Stallman [this message]
2007-08-25 19:06     ` Chong Yidong
2007-08-27 11:09       ` Jan Djärv

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1IO0ox-0000vm-08@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=storm@cua.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.