I want to undefine HAVE_RPC_TYPES_H to resolve a compile error. But I don't find some options like "--without" to do that. Could you tell how to disable it?
HAVE_RPC_TYPES_H is defined when the header file exists and it's not something that was intended to be user-overridden. I guess you could remove the header file. What's the error and is that fixable instead?
rpc/types.h was added in this commit: commit 7577fd83c16ef3415b61ca1bea1b14e1ab8e4228 Author: Ben Lindstrom <mouring@eviladmin.org> Date: Fri Mar 8 03:11:07 2002 +0000 - (bal) Add in check for rpc/types.h since it is needed on some platforms for INADDR_LOOPBACK. We should retest SCO 3 to see if this fixes their problem also. Assuming that's still all it's needed for, there would be a couple of options: only including it if INADDR_LOOPBACK is not defined, or defining INADDR_LOOPBACK ourselves. I'm still not sure what problem we're trying to solve, though.