Skip to contentSkip to conversation

nfsidmap: honour --with-pluginpath for instalation.

PATCH In review NeilBrown 2 participants 2 messages Dec 4, 2018 – Dec 10, 2018

Subsystems (2)
lore
Share & tools
lore

NeilBrown

author
#0 lore raw

PATCH 1/1 nfsidmap: honour --with-pluginpath for instalation.

The path set with --with-pluginpath is not currently used when installing plugins. It should be.

---
 configure.ac                 | 1 +
 support/nfsidmap/Makefile.am | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
configure.ac +1 -0
index 4163f6a518f5..4bf5aea4442f 100644
@@ -450,6 +450,7 @@ if test -n "$path_plugins" ; then
                 [Define this to change the plugins path])
 fi
 AM_CONDITIONAL(PATH_PLUGINS, test -n "$path_plugins")
+AC_SUBST(PATH_PLUGINS, "$path_plugins")
 
 AC_SUBST(AM_CPPFLAGS, "$AM_CPPFLAGS")
 AC_DEFINE([HAVE_NFS4_SET_DEBUG], 1,
support/nfsidmap/Makefile.am +1 -1
index 8b5dfe4e784a..cdbeb4c1a9ac 100644
@@ -1,4 +1,4 @@
-pkgplugindir=$(libdir)/libnfsidmap
+pkgplugindir=$(PATH_PLUGINS)
 
 if ENABLE_LDAP
 UMICH_LDAP_LIB = umich_ldap.la
Signature · 1 line
2.14.0.rc0.dirty
#1 lore raw
Quoted 5 lines · NeilBrown

The path set with --with-pluginpath is not currently used when installing plugins. It should be.

Committed...

steved.

Quoted 28 lines
---
 configure.ac                 | 1 +
 support/nfsidmap/Makefile.am | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
configure.ac +1 -0
index 4163f6a518f5..4bf5aea4442f 100644
@@ -450,6 +450,7 @@ if test -n "$path_plugins" ; then
                 [Define this to change the plugins path])
 fi
 AM_CONDITIONAL(PATH_PLUGINS, test -n "$path_plugins")
+AC_SUBST(PATH_PLUGINS, "$path_plugins")
 
 AC_SUBST(AM_CPPFLAGS, "$AM_CPPFLAGS")
 AC_DEFINE([HAVE_NFS4_SET_DEBUG], 1,
support/nfsidmap/Makefile.am +1 -1
index 8b5dfe4e784a..cdbeb4c1a9ac 100644
@@ -1,4 +1,4 @@
-pkgplugindir=$(libdir)/libnfsidmap
+pkgplugindir=$(PATH_PLUGINS)
 
 if ENABLE_LDAP
 UMICH_LDAP_LIB = umich_ldap.la