Currently our meson.build just makes the assumption that the libc is
going to provide RPC functions. This doesn't actually seem to be the
case on Fedora, which causes compilation to fail unexpectedly:
../../Projects/xserver/os/rpcauth.c:47:10: fatal error: rpc/rpc.h: No such file or directory
#include <rpc/rpc.h>
^~~~~~~~~~~
compilation terminated.
So, in the event that we can't use libtirpc ensure that we actually
check whether or not the libc provides rpc/rpc.h. If it doesn't, raise
an error.
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Lyude Paul <lyude@redhat.com>
|
||
|---|---|---|
| .. | ||
| .gitignore | ||
| Makefile.am | ||
| WaitFor.c | ||
| access.c | ||
| auth.c | ||
| backtrace.c | ||
| busfault.c | ||
| client.c | ||
| connection.c | ||
| inputthread.c | ||
| io.c | ||
| log.c | ||
| meson.build | ||
| mitauth.c | ||
| oscolor.c | ||
| osdep.h | ||
| osinit.c | ||
| ospoll.c | ||
| ospoll.h | ||
| reallocarray.c | ||
| rpcauth.c | ||
| strcasecmp.c | ||
| strcasestr.c | ||
| strlcat.c | ||
| strlcpy.c | ||
| strndup.c | ||
| timingsafe_memcmp.c | ||
| utils.c | ||
| xdmauth.c | ||
| xdmcp.c | ||
| xprintf.c | ||
| xserver_poll.c | ||
| xsha1.c | ||
| xstrans.c | ||