aboutsummaryrefslogtreecommitdiff
path: root/config.make.in
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2021-08-22 02:07:14 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2021-08-22 02:07:14 +0200
commit3b378a6535bc8d9942875ba094301274819905e4 (patch)
treef6d9cf51c64f56c1b12dd7fb99ca7ba38b79e53c /config.make.in
parentcd10e825fe4b5458c0deaa300449e0cd872570ef (diff)
downloadhurd-3b378a6535bc8d9942875ba094301274819905e4.tar.gz
hurd-3b378a6535bc8d9942875ba094301274819905e4.tar.bz2
hurd-3b378a6535bc8d9942875ba094301274819905e4.zip
nfs/nfsd: Use libtirpc
Sun RPC is being phased out from glibc. * configure.ac: Detect libtirpc.pc, subst libtirpc_CFLAGS and libtirpc_LIBS. * config.make.in: Subst libtirpc_CFLAGS and libtirpc_LIBS. * nfs/Makefile, nfsd/Makefile: Include libtirpc_CFLAGS and libtirpc_LIBS * nfs/mount.c: Include <rpc/xdr.h> * nfsd/main.c: Likewise. * nfsd/ops.c: Likewise. * nfsd/cache.c: Undef TRUE/FALSE after including rpc/ headers. * nfsd/loop.c: Likewise.
Diffstat (limited to 'config.make.in')
-rw-r--r--config.make.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.make.in b/config.make.in
index 349fca87..e4f856f2 100644
--- a/config.make.in
+++ b/config.make.in
@@ -93,6 +93,10 @@ libblkid_LIBS = @libblkid_LIBS@
# Whether Sun RPC support is available.
HAVE_SUN_RPC = @HAVE_SUN_RPC@
+# How to compile and link against libtirpc.
+libtirpc_CFLAGS = @libtirpc_CFLAGS@
+libtirpc_LIBS = @libtirpc_LIBS@
+
# Whether we found libcrypt.
HAVE_LIBCRYPT = @HAVE_LIBCRYPT@