From 1d8f86a6ba1a7018e06061ba929b49771aa1ba2f Mon Sep 17 00:00:00 2001 From: Jon Trulson Date: Mon, 27 May 2013 19:34:08 -0600 Subject: [PATCH] Revert "Enable the use of the TIRPC library on Linux." This reverts commit 8a8619bfa8a25342d898d2cc4decd7bb66b9c060. More work will need to be done to use tirpc on 64bit systems. It works 'accidentally' on 32b systems. The issue is that tirpc includes *must* be used, and there is some work required to properly support this (like proper include paths, proper definition of XDR, etc). So for now, we revert this until that work can be completed and tested, otherwise 64b linux builds are likely to have problems. --- cde/config/cf/linux.cf | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/cde/config/cf/linux.cf b/cde/config/cf/linux.cf index b852e12e..c217dbdd 100644 --- a/cde/config/cf/linux.cf +++ b/cde/config/cf/linux.cf @@ -118,11 +118,15 @@ XCOMM binutils: (LinuxBinUtilsMajorVersion) #define LinuxLocaleDefines /**/ -XCOMM Using the tirpc lib should allow running rpcbind in secure -XCOMM mode (ie: without the -i option). Make sure you install the -XCOMM libtirpc-dev package or equivalent. - -#define HasTIRPCLib YES +XCOMM If you have the tirpc library on your system, and you have the +XCOMM libtirpc-dev installed, then define HasTIRPCLib to YES in either +XCOMM your host.def or site.def file. Using the tirpc lib should +XCOMM allow running rpcbind in secure mode (ie: without the -i option). +XCOMM The default is NO. + +#ifndef HasTIRPCLib +# define HasTIRPCLib NO +#endif #if HasTIRPCLib TIRPCLIB = -ltirpc -- 2.25.1