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

Message ID 20111025164812.18584.72313.stgit@seurat.1015granger.net
State Accepted
Headers show

Commit Message

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(-)


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."
+# Needed for doc/rpcl
+AC_ARG_VAR([RPCGEN], [rpcgen-like protocol compiler command])
+AC_PATH_PROG([RPCGEN], [rpcgen])
 # C compiler options