From patchwork Wed Jan 19 15:46:03 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Karel Zak X-Patchwork-Id: 488971 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p0JEuJDn010815 for ; Wed, 19 Jan 2011 17:34:55 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752406Ab1ASPqQ (ORCPT ); Wed, 19 Jan 2011 10:46:16 -0500 Received: from mx1.redhat.com ([209.132.183.28]:32047 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752343Ab1ASPqO (ORCPT ); Wed, 19 Jan 2011 10:46:14 -0500 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id p0JFkEoP023173 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 19 Jan 2011 10:46:14 -0500 Received: from nb.net.home ([10.3.113.15]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p0JFkCTb000523; Wed, 19 Jan 2011 10:46:13 -0500 From: Karel Zak To: linux-nfs@vger.kernel.org Cc: Steve Dickson , Karel Zak Subject: [PATCH] configure: fix AM_CONDITIONAL(CONFIG_NFSIDMAP) Date: Wed, 19 Jan 2011 16:46:03 +0100 Message-Id: <1295451963-14978-1-git-send-email-kzak@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Wed, 19 Jan 2011 17:34:57 +0000 (UTC) diff --git a/configure.ac b/configure.ac index 92833e3..2e074d9 100644 --- a/configure.ac +++ b/configure.ac @@ -247,9 +247,6 @@ if test "$enable_nfsv4" = yes; then dnl check for nfsidmap libraries and headers AC_LIBNFSIDMAP - dnl enable nfsidmap when its support by libnfsidmap - AM_CONDITIONAL(CONFIG_NFSIDMAP, [test "$enable_nfsidmap" = "yes"]) - dnl check for the keyutils libraries and headers AC_KEYUTILS @@ -260,6 +257,9 @@ if test "$enable_nfsv4" = yes; then fi fi +dnl enable nfsidmap when its support by libnfsidmap +AM_CONDITIONAL(CONFIG_NFSIDMAP, [test "$enable_nfsidmap" = "yes"]) + if test "$knfsd_cv_glibc2" = no; then AC_CHECK_LIB(bsd, daemon, [LIBBSD="-lbsd"]) fi