]> The Tcpdump Group git mirrors - tcpdump/commitdiff
autotools, CMake: add a comment.
authorGuy Harris <[email protected]>
Mon, 9 Dec 2024 21:17:56 +0000 (13:17 -0800)
committerGuy Harris <[email protected]>
Mon, 9 Dec 2024 21:17:56 +0000 (13:17 -0800)
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.

CMakeLists.txt
configure.ac

index 78e24018d9e5144cfa843a23590190ecdd37baa1..060254af38f5e1aeb1bfb86c2beffe3bec2a4c9b 100644 (file)
@@ -444,7 +444,12 @@ check_type_size("time_t" SIZEOF_TIME_T)
 cmake_pop_check_state()
 
 #
-# Header files.
+# Test for ONC RPC headers.
+#
+# XXX - we should supply copies of these, as I think Sun released them
+# under a sufficiently permissive license, and that would be one less
+# place where we rely on OS headers, rather than our own headers, for
+# a protocol that is specified independent of any particular OS.
 #
 check_include_file(rpc/rpc.h HAVE_RPC_RPC_H)
 if(HAVE_RPC_RPC_H)
index 6ce526efb7b84594ce16a012f3acb3492f869450..d6601de002ecb1f1309c648e721889dd03e4c2dd 100644 (file)
@@ -30,7 +30,16 @@ if test "$ac_cv_prog_cc_c99" = "no"; then
 fi
 AC_LBL_C_INIT(V_CCOPT, V_INCLS)
 
+#
+# Test for ONC RPC headers.
+#
+# XXX - we should supply copies of these, as I think Sun released them
+# under a sufficiently permissive license, and that would be one less
+# place where we rely on OS headers, rather than our own headers, for
+# a protocol that is specified independent of any particular OS.
+#
 AC_CHECK_HEADERS(rpc/rpc.h rpc/rpcent.h)
+
 #
 # Get the size of a void *, to know whether this is a 32-bit or 64-bit build.
 #