diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2024-03-25 22:47:17 +0100 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2024-03-28 10:49:49 +0100 |
commit | ade8d6123c27866525fc7f7d4327e10af0d2d01a (patch) | |
tree | d87419b3d91ccbcfef304b7c3367a83839e5abf8 /nx-X11 | |
parent | 5fb545f58b9abbdfb5b17d6eaea78ad0dfeb7983 (diff) | |
download | nx-libs-ade8d6123c27866525fc7f7d4327e10af0d2d01a.tar.gz nx-libs-ade8d6123c27866525fc7f7d4327e10af0d2d01a.tar.bz2 nx-libs-ade8d6123c27866525fc7f7d4327e10af0d2d01a.zip |
os/Imakefile: only compile rpcauth if we have libtirpc
glibc no longer has rpc included, so we can only compile when tirpc
is available
Diffstat (limited to 'nx-X11')
-rw-r--r-- | nx-X11/programs/Xserver/os/Imakefile | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/nx-X11/programs/Xserver/os/Imakefile b/nx-X11/programs/Xserver/os/Imakefile index 421f3a85a..69764a7d8 100644 --- a/nx-X11/programs/Xserver/os/Imakefile +++ b/nx-X11/programs/Xserver/os/Imakefile @@ -75,21 +75,18 @@ XDMAUTHOBJS = XDMAUTHSCRS = #endif -TIRPC_INCLUDES = - #if HasSecureRPC +#if UseTIRPC RPCDEFS = -DSECURE_RPC RPCOBJS = rpcauth.o RPCSRCS = rpcauth.c - -#if UseTIRPC TIRPC_INCLUDES = $$(pkg-config --cflags-only-I 'libtirpc') -#endif - #else RPCDEFS = RPCOBJS = RPCSRCS = +TIRPC_INCLUDES = +#endif #endif #if HasBSD44Sockets |