diff mbox series

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

Message ID 5be145a0.1c69fb81.9f722.e02a@mx.google.com (mailing list archive)
State New, archived
Headers show
Series [1/2] nfs-utils: configure.ac: Fix --with-rpcgen=internal nottaking effect. | expand

Commit Message

Yang Bo Nov. 6, 2018, 7:41 a.m. UTC
Signed-off-by: Yang Bo <rslovers@yandex.com>
---
 configure.ac | 2 ++
 1 file changed, 2 insertions(+)

Comments

Steve Dickson Nov. 29, 2018, 8 p.m. UTC | #1
On 11/6/18 2:41 AM, Yang Bo wrote:
> Signed-off-by: Yang Bo <rslovers@yandex.com>
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"])
>
diff mbox series

Patch

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"])