Skip to content

Commit 7b422ef

Browse files
committed
autotools, CMake: add a comment.
We should have our own copies of the ONC RPC headers, rather than relying on the OS to supply them. We've already done that for most if not all other protocols.
1 parent 3eab64d commit 7b422ef

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

CMakeLists.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,12 @@ check_type_size("time_t" SIZEOF_TIME_T)
444444
cmake_pop_check_state()
445445

446446
#
447-
# Header files.
447+
# Test for ONC RPC headers.
448+
#
449+
# XXX - we should supply copies of these, as I think Sun released them
450+
# under a sufficiently permissive license, and that would be one less
451+
# place where we rely on OS headers, rather than our own headers, for
452+
# a protocol that is specified independent of any particular OS.
448453
#
449454
check_include_file(rpc/rpc.h HAVE_RPC_RPC_H)
450455
if(HAVE_RPC_RPC_H)

configure.ac

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,16 @@ if test "$ac_cv_prog_cc_c99" = "no"; then
3030
fi
3131
AC_LBL_C_INIT(V_CCOPT, V_INCLS)
3232

33+
#
34+
# Test for ONC RPC headers.
35+
#
36+
# XXX - we should supply copies of these, as I think Sun released them
37+
# under a sufficiently permissive license, and that would be one less
38+
# place where we rely on OS headers, rather than our own headers, for
39+
# a protocol that is specified independent of any particular OS.
40+
#
3341
AC_CHECK_HEADERS(rpc/rpc.h rpc/rpcent.h)
42+
3443
#
3544
# Get the size of a void *, to know whether this is a 32-bit or 64-bit build.
3645
#

0 commit comments

Comments
 (0)