zsh-workers
 help / color / mirror / code / Atom feed
From: Petter Reinholdtsen <pere@td.org.uit.no>
To: zsh-workers@math.gatech.edu
Subject: Bug in zsh 3.1.0 on RedHat 5.0
Date: Tue, 13 Jan 1998 16:31:42 +0100 (MET)	[thread overview]
Message-ID: <199801131531.QAA10756@baby.link.no> (raw)


On RedHat 5.0 (with glibc), zsh v3.1.0 was unable to find yp_all(), as 
-lnsl was missing during linking.  This patch fixed my problem.

diff -ur /store/store/stash/zsh/src-3.1.0/configure.in src-3.1.0-386linuxlibc6/configure.in
--- /store/store/stash/zsh/src-3.1.0/configure.in       Sat Dec 21 01:14:15 1996
+++ src-3.1.0-386linuxlibc6/configure.in        Tue Jan 13 15:13:32 1998
@@ -361,9 +361,13 @@

 dnl Some systems (Solaris 2.x) require libnsl (Network Services Library)
 dnl to find getdomainname and yp_all
-AC_CHECK_FUNCS(getdomainname)
+AC_CHECK_FUNCS(getdomainname yp_all)
 if test $ac_cv_func_getdomainname = no; then
   AC_CHECK_LIB(nsl, getdomainname)
+fi
+dnl Others (Linux RedHat 5.0) need nsl just to get yp_all
+if test $ac_cv_func_yp_all = no; then
+  AC_CHECK_LIB(nsl, yp_all)
 fi

 dnl I am told that told that unicos reqire these for nis_list
-- 
##>  Petter Reinholdtsen <##    | pere@td.org.uit.no
 O-  <SCRIPT Language="Javascript">window.close()</SCRIPT>
http://www.hungry.com/~pere/    | Go Mozilla, go! Go!


                 reply	other threads:[~1998-01-13 15:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=199801131531.QAA10756@baby.link.no \
    --to=pere@td.org.uit.no \
    --cc=zsh-workers@math.gatech.edu \
    /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 public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).