* Bug in zsh 3.1.0 on RedHat 5.0
@ 1998-01-13 15:31 Petter Reinholdtsen
0 siblings, 0 replies; only message in thread
From: Petter Reinholdtsen @ 1998-01-13 15:31 UTC (permalink / raw)
To: zsh-workers
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!
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1998-01-13 15:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-01-13 15:31 Bug in zsh 3.1.0 on RedHat 5.0 Petter Reinholdtsen
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).