From patchwork Tue Dec 4 00:42:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: NeilBrown X-Patchwork-Id: 10710979 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6EBFB14E2 for ; Tue, 4 Dec 2018 00:42:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 587D32AFCD for ; Tue, 4 Dec 2018 00:42:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4C8562B004; Tue, 4 Dec 2018 00:42:39 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 19FF02B00C for ; Tue, 4 Dec 2018 00:42:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725903AbeLDAmg (ORCPT ); Mon, 3 Dec 2018 19:42:36 -0500 Received: from mx2.suse.de ([195.135.220.15]:36410 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725915AbeLDAmg (ORCPT ); Mon, 3 Dec 2018 19:42:36 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 79342AF86; Tue, 4 Dec 2018 00:42:34 +0000 (UTC) From: NeilBrown To: Steve Dickson Date: Tue, 04 Dec 2018 11:42:27 +1100 Subject: [PATCH nfs-utils] nfsidmap: honour --with-pluginpath for instalation. cc: linux-nfs@vger.kernel.org Message-ID: <87y3966s24.fsf@notabene.neil.brown.name> MIME-Version: 1.0 Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The path set with --with-pluginpath is not currently used when installing plugins. It should be. Signed-off-by: NeilBrown --- configure.ac | 1 + support/nfsidmap/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 4163f6a518f5..4bf5aea4442f 100644 --- a/configure.ac +++ b/configure.ac @@ -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, diff --git a/support/nfsidmap/Makefile.am b/support/nfsidmap/Makefile.am index 8b5dfe4e784a..cdbeb4c1a9ac 100644 --- a/support/nfsidmap/Makefile.am +++ b/support/nfsidmap/Makefile.am @@ -1,4 +1,4 @@ -pkgplugindir=$(libdir)/libnfsidmap +pkgplugindir=$(PATH_PLUGINS) if ENABLE_LDAP UMICH_LDAP_LIB = umich_ldap.la