2018-11-06 07:41:23

by Yang Bo

[permalink] [raw]
Subject: [PATCH 1/2] nfs-utils: configure.ac: Fix --with-rpcgen=internal nottaking effect.

Signed-off-by: Yang Bo <[email protected]>
---
configure.ac | 2 ++
1 file changed, 2 insertions(+)

diff --git a/configure.ac b/configure.ac
index cf1c4b9..3caeebc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -155,6 +155,8 @@ AC_ARG_WITH(rpcgen,
do if test -f $p ; then RPCGEN_PATH=$p ; break; fi ; done
elif test "$rpcgen_path" != "internal"; then
RPCGEN_PATH=$rpcgen_path
+ else
+ RPCGEN_PATH=internal
fi
AC_SUBST(RPCGEN_PATH)
AM_CONDITIONAL(CONFIG_RPCGEN, [test "$RPCGEN_PATH" = "internal"])
--
2.16.3



2018-11-29 20:01:01

by Steve Dickson

[permalink] [raw]
Subject: Re: [PATCH 1/2] nfs-utils: configure.ac: Fix --with-rpcgen=internal nottaking effect.



On 11/6/18 2:41 AM, Yang Bo wrote:
> Signed-off-by: Yang Bo <[email protected]>
Committed... Boy I didn't think the internal rpcgen
was being used or could be used ;-)

Thanks for the patches!

steved.
> ---
> configure.ac | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/configure.ac b/configure.ac
> index cf1c4b9..3caeebc 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -155,6 +155,8 @@ AC_ARG_WITH(rpcgen,
> do if test -f $p ; then RPCGEN_PATH=$p ; break; fi ; done
> elif test "$rpcgen_path" != "internal"; then
> RPCGEN_PATH=$rpcgen_path
> + else
> + RPCGEN_PATH=internal
> fi
> AC_SUBST(RPCGEN_PATH)
> AM_CONDITIONAL(CONFIG_RPCGEN, [test "$RPCGEN_PATH" = "internal"])
>