1 Build with libtirpc on all architectures because glibc no longer provides
4 diff --git a/configure b/configure
7 @@ -23635,10 +23635,13 @@
10 CPPFLAGS="$CPPFLAGS -I/usr/include/tirpc" ;;
12 + LIBS="$LIBS -ltirpc"
13 + CPPFLAGS="$CPPFLAGS" ;;
17 -if test "X$BUILD_XDR" != "Xyes"; then
18 +if test "X$BUILD_XDR" = "Xyes"; then
19 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22 @@ -23693,9 +23696,9 @@
23 ## but we need to make sure that it is present on the system. Do that here,
24 ## The SunRPC of the glibc has been replaced by a TI-RPC (Transport Independent RPC) library for IPv6 support
29 - ac_fn_c_check_header_mongrel "$LINENO" "rpc.h" "ac_cv_header_rpc_h" "$ac_includes_default"
30 + ac_fn_c_check_header_mongrel "$LINENO" "rpc/rpc.h" "ac_cv_header_rpc_h" "$ac_includes_default"
31 if test "x$ac_cv_header_rpc_h" = xyes; then :