diff options
| author | Richard Sharpe <realrichardsharpe@gmail.com> | 2019-03-21 11:57:42 -0400 |
|---|---|---|
| committer | Steve Dickson <steved@redhat.com> | 2019-03-21 11:57:42 -0400 |
| commit | 3dea72bed72bb6ac35f11de13c9154c2ecca8223 (patch) | |
| tree | 2d32d86b4579070d90ac34900654c1f15e13cb27 | |
| parent | 64d83364b08ab32c6b8fee903529314349175772 (diff) | |
| download | nfs-utils-3dea72bed72bb6ac35f11de13c9154c2ecca8223.tar.gz | |
configure.ac: Check that an RPC compiler has been installed
If we don't find rpcgen let the user know about it rather
than getting an error later during make.
Signed-off-by: Steve Dickson <steved@redhat.com>
| -rw-r--r-- | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index cb9d921..d587e7a 100644 --- a/configure.ac +++ b/configure.ac @@ -154,6 +154,9 @@ AC_ARG_WITH(rpcgen, if test "$rpcgen_path" = "yes"; then for p in /usr/local/bin/rpcgen /usr/bin/rpcgen /bin/rpcgen do if test -f $p ; then RPCGEN_PATH=$p ; break; fi ; done + if test -z "$RPCGEN_PATH"; then + AC_MSG_ERROR([Please install rpcgen or use --with-rpcgen]) + fi elif test "$rpcgen_path" != "internal"; then RPCGEN_PATH=$rpcgen_path else |
