mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-17 15:01:40 +02:00
44118: use libtirpc if RPC is not in glibc
This commit is contained in:
parent
00e6ab70b8
commit
947e26fe5a
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2019-03-15 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
|
||||||
|
|
||||||
|
* 44118: configure.ac: use /usr/include/tirpc/ if headers for
|
||||||
|
RPC is not found in the standard location.
|
||||||
|
|
||||||
2019-03-14 Peter Stephenson <p.stephenson@samsung.com>
|
2019-03-14 Peter Stephenson <p.stephenson@samsung.com>
|
||||||
|
|
||||||
* Kamil: 44122: Src/parse.c: turn an int into a long to avoid
|
* Kamil: 44122: Src/parse.c: turn an int into a long to avoid
|
||||||
|
|
|
@ -2087,6 +2087,10 @@ AC_CACHE_CHECK(for NIS, zsh_cv_sys_nis,
|
||||||
zsh_cv_sys_nis=yes || zsh_cv_sys_nis=no])
|
zsh_cv_sys_nis=yes || zsh_cv_sys_nis=no])
|
||||||
if test x$zsh_cv_sys_nis = xyes; then
|
if test x$zsh_cv_sys_nis = xyes; then
|
||||||
AC_DEFINE(HAVE_NIS)
|
AC_DEFINE(HAVE_NIS)
|
||||||
|
dnl RPC is removed from glibc-2.26 and replaced by libtirpc
|
||||||
|
AC_CHECK_HEADER(rpc/rpc.h, [],
|
||||||
|
[test -f /usr/include/tirpc/rpc/rpc.h && \
|
||||||
|
CPPFLAGS="$CPPFLAGS -I/usr/include/tirpc"])
|
||||||
dnl Some systems (Solaris 2.x, Linux Redhat 5.x) require
|
dnl Some systems (Solaris 2.x, Linux Redhat 5.x) require
|
||||||
dnl libnsl (Network Services Library) to find yp_all
|
dnl libnsl (Network Services Library) to find yp_all
|
||||||
AC_SEARCH_LIBS(yp_all, nsl)
|
AC_SEARCH_LIBS(yp_all, nsl)
|
||||||
|
|
Loading…
Reference in a new issue