From: Andrew Main <zefram@tao.co.uk>
To: zsh-workers@math.gatech.edu
Subject: PATCH: Re: Bug in zsh 3.1.0 on RedHat 5.0
Date: Fri, 16 Jan 1998 10:16:04 GMT [thread overview]
Message-ID: <199801161016.KAA01966@taos.demon.co.uk> (raw)
-----BEGIN PGP SIGNED MESSAGE-----
Petter Reinholdtsen wrote:
>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.
...
> dnl Some systems (Solaris 2.x) require libnsl (Network Services Library)
> dnl to find getdomainname and yp_all
>+dnl Others (Linux RedHat 5.0) need nsl just to get yp_all
In which case, wouldn't it be better just to change the test from
getdomainname to yp_all? Someone please test this on Solaris:
*** configure.in 1998/01/16 00:20:01 1.46
--- configure.in 1998/01/16 00:52:41 1.47
***************
*** 429,439 ****
AC_CHECK_LIB(${lib}, tgetent, [LIBS="$LIBS -l$lib"; break])
done
! dnl Some systems (Solaris 2.x) require libnsl (Network Services Library)
! dnl to find getdomainname and yp_all
! AC_CHECK_FUNCS(getdomainname)
! if test $ac_cv_func_getdomainname = no; then
! AC_CHECK_LIB(nsl, getdomainname)
fi
dnl I am told that told that unicos reqire these for nis_list
--- 429,439 ----
AC_CHECK_LIB(${lib}, tgetent, [LIBS="$LIBS -l$lib"; break])
done
! dnl Some systems (Solaris 2.x, Linux Redhat 5.x) require
! dnl libnsl (Network Services Library) to find yp_all
! AC_CHECK_FUNCS(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
-zefram
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: ascii
iQEVAwUBNL6vqpmk9GeOHh7BAQHR6Af/dxHBG3NiBaJTn59H4ADYfjWLcjB7InnH
/hJkjpumkJU66WZ1bq9bmmHgD0MCS0h5op8I6D0mBRKnkC0xi8a+BdFy4A3VFfjZ
4L0y81EO61kOn7OoHKZbofq896Z1qlQ/kj4m206ppuFND++BywzedIRS3EBXs8A6
DZHVRCyi7hi3mEmqFen3NNP0HeZIkpPmp+jhZYGqAFLNwr+ehzXAIzKd+80YOvT3
ILE3GtTHqrJCRj8v/xXfDhnmPGx5XjQTWJeQW8enmyO67apNrYstJECEntHJSORB
GEK50YWUCGbgIbFx1iSwl8HVm1ukRhVOFxmczBu+iTKU4DQ+P5VTjw==
=DqyH
-----END PGP SIGNATURE-----
reply other threads:[~1998-01-16 10:31 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=199801161016.KAA01966@taos.demon.co.uk \
--to=zefram@tao.co.uk \
--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).