Return-Path: Delivered-To: apmail-incubator-couchdb-commits-archive@locus.apache.org Received: (qmail 95007 invoked from network); 6 Nov 2008 12:59:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Nov 2008 12:59:11 -0000 Received: (qmail 18481 invoked by uid 500); 6 Nov 2008 12:59:17 -0000 Delivered-To: apmail-incubator-couchdb-commits-archive@incubator.apache.org Received: (qmail 18440 invoked by uid 500); 6 Nov 2008 12:59:17 -0000 Mailing-List: contact couchdb-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: couchdb-dev@incubator.apache.org Delivered-To: mailing list couchdb-commits@incubator.apache.org Received: (qmail 18431 invoked by uid 99); 6 Nov 2008 12:59:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Nov 2008 04:59:17 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Nov 2008 12:57:57 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id BBB23238889E; Thu, 6 Nov 2008 04:58:39 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r711852 - /incubator/couchdb/trunk/configure.ac Date: Thu, 06 Nov 2008 12:58:36 -0000 To: couchdb-commits@incubator.apache.org From: jan@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20081106125839.BBB23238889E@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: jan Date: Thu Nov 6 04:58:29 2008 New Revision: 711852 URL: http://svn.apache.org/viewvc?rev=711852&view=rev Log: Silence warning on Linux by properly exporting `crypt()`. Modified: incubator/couchdb/trunk/configure.ac Modified: incubator/couchdb/trunk/configure.ac URL: http://svn.apache.org/viewvc/incubator/couchdb/trunk/configure.ac?rev=711852&r1=711851&r2=711852&view=diff ============================================================================== --- incubator/couchdb/trunk/configure.ac (original) +++ incubator/couchdb/trunk/configure.ac Thu Nov 6 04:58:29 2008 @@ -109,7 +109,11 @@ AC_SUBST(CURL_LIBS) case "$(uname -s)" in - Linux | FreeBSD) + Linux) + LIBS="$LIBS -lcrypt" + CPPFLAGS="-D_XOPEN_SOURCE $CPPFLAGS" + ;; + FreeBSD) LIBS="$LIBS -lcrypt" ;; OpenBSD)