Return-Path: Delivered-To: apmail-apr-commits-archive@www.apache.org Received: (qmail 90775 invoked from network); 21 May 2008 02:55:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 May 2008 02:55:32 -0000 Received: (qmail 90034 invoked by uid 500); 21 May 2008 02:55:32 -0000 Delivered-To: apmail-apr-commits-archive@apr.apache.org Received: (qmail 90024 invoked by uid 500); 21 May 2008 02:55:32 -0000 Mailing-List: contact commits-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: dev@apr.apache.org List-Id: Delivered-To: mailing list commits@apr.apache.org Received: (qmail 90015 invoked by uid 99); 21 May 2008 02:55:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 May 2008 19:55:32 -0700 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; Wed, 21 May 2008 02:54:46 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 101452388A10; Tue, 20 May 2008 19:55:08 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r658538 - /apr/apr-util/trunk/configure.in Date: Wed, 21 May 2008 02:55:07 -0000 To: commits@apr.apache.org From: bojan@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080521025508.101452388A10@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: bojan Date: Tue May 20 19:55:07 2008 New Revision: 658538 URL: http://svn.apache.org/viewvc?rev=658538&view=rev Log: Revert r657266. No need for it with inclusion of pg_config --libs in DBD detection. Modified: apr/apr-util/trunk/configure.in Modified: apr/apr-util/trunk/configure.in URL: http://svn.apache.org/viewvc/apr/apr-util/trunk/configure.in?rev=658538&r1=658537&r2=658538&view=diff ============================================================================== --- apr/apr-util/trunk/configure.in (original) +++ apr/apr-util/trunk/configure.in Tue May 20 19:55:07 2008 @@ -142,21 +142,6 @@ ]) AC_SUBST(APR_ICONV_DIR) -AC_SEARCH_LIBS(crypt, crypt ufc) -AC_MSG_CHECKING(if system crypt() function is threadsafe) -if test "x$apu_crypt_threadsafe" = "x1"; then - AC_DEFINE(APU_CRYPT_THREADSAFE, 1, [Define if the system crypt() function is threadsafe]) - msg="yes" -else - msg="no" -fi -AC_MSG_RESULT([$msg]) - -AC_CHECK_FUNCS(crypt_r, [ crypt_r="1" ], [ crypt_r="0" ]) -if test "$crypt_r" = "1"; then - APU_CHECK_CRYPT_R_STYLE -fi - dnl Find LDAP library dnl Determine what DBM backend type to use. dnl Find Expat @@ -174,6 +159,21 @@ APU_FIND_EXPAT APU_FIND_ICONV +AC_SEARCH_LIBS(crypt, crypt ufc) +AC_MSG_CHECKING(if system crypt() function is threadsafe) +if test "x$apu_crypt_threadsafe" = "x1"; then + AC_DEFINE(APU_CRYPT_THREADSAFE, 1, [Define if the system crypt() function is threadsafe]) + msg="yes" +else + msg="no" +fi +AC_MSG_RESULT([$msg]) + +AC_CHECK_FUNCS(crypt_r, [ crypt_r="1" ], [ crypt_r="0" ]) +if test "$crypt_r" = "1"; then + APU_CHECK_CRYPT_R_STYLE +fi + so_ext=$APR_SO_EXT lib_target=$APR_LIB_TARGET AC_SUBST(so_ext)