Skip to contentSkip to conversation

nfs-utils: configure.ac: Fix --with-rpcgen=internal nottaking effect.

PATCH In review Yang Bo 2 participants 2 messages Nov 6, 2018 – Nov 29, 2018

Subsystems (2)
lore
Share & tools
lore

Yang Bo

author
#0 lore raw

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

---
 configure.ac | 2 ++
 1 file changed, 2 insertions(+)
configure.ac +2 -0
index cf1c4b9..3caeebc 100644
@@ -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"])
Signature · 1 line
2.16.3
#1 lore raw
Quoted 1 line · Yang Bo

Committed... Boy I didn't think the internal rpcgen was being used or could be used ;-)

Thanks for the patches!

steved.

Quoted 18 lines
---
 configure.ac | 2 ++
 1 file changed, 2 insertions(+)
configure.ac +2 -0
index cf1c4b9..3caeebc 100644
@@ -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"])