Patchwork [01/15] configure.ac: Restore rpcgen dependency

login
register
mail settings
Submitter Chuck Lever
Date Oct. 25, 2011, 4:48 p.m.
Message ID <20111025164812.18584.72313.stgit@seurat.1015granger.net>
Download mbox | patch
Permalink /patch/121769/
State Accepted
Headers show

Comments

Chuck Lever - Oct. 25, 2011, 4:48 p.m.
It looks like we still do distribute a .x file, but no part of the
source code build depends on it.  That's why "make distcheck" didn't
catch this.

This reverts commit fcc90938a "configure.ac: Remove rpcgen dependency"
(Sep 22, 2011).

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
---

 configure.ac |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

Patch

diff --git a/configure.ac b/configure.ac
index bd79ad1..bcbfd18 100644
--- a/configure.ac
+++ b/configure.ac
@@ -64,6 +64,10 @@  if test "$DOT_PRESENT" = no; then
 	echo "Warning: GraphViz not present on this system. 'make doxy' will fail."
 fi
 
+# Needed for doc/rpcl
+AC_ARG_VAR([RPCGEN], [rpcgen-like protocol compiler command])
+AC_PATH_PROG([RPCGEN], [rpcgen])
+
 # C compiler options
 AC_PROG_CC_C99
 AC_C_INLINE