From dev-return-20733-apmail-apr-dev-archive=apr.apache.org@apr.apache.org Tue Jul 08 21:19:22 2008 Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 54627 invoked from network); 8 Jul 2008 21:19:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Jul 2008 21:19:22 -0000 Received: (qmail 84656 invoked by uid 500); 8 Jul 2008 21:19:22 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 84541 invoked by uid 500); 8 Jul 2008 21:19:21 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 84530 invoked by uid 99); 8 Jul 2008 21:19:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jul 2008 14:19:21 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [207.5.72.94] (HELO exhub015-2.exch015.msoutlookonline.net) (207.5.72.94) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jul 2008 21:18:29 +0000 Received: from philip.hq.rws (74.93.213.161) by smtpx15.msoutlookonline.net (207.5.72.103) with Microsoft SMTP Server (TLS) id 8.1.278.0; Tue, 8 Jul 2008 14:18:30 -0700 Message-ID: <4873D9A4.4070507@p6m7g8.com> Date: Tue, 8 Jul 2008 17:18:28 -0400 From: "Philip M. Gollucci" Organization: P6 Web Applications Inc. User-Agent: Thunderbird 2.0.0.12 (X11/20080414) MIME-Version: 1.0 To: Ruediger Pluem CC: APR Developer List Subject: Re: ports/125400: devel/apr APR_UTIL_WITH_LDAP=yes building is broken References: <4873A9A9.1040302@ridecharge.com> <4873A9F7.6010102@p6m7g8.com> <4873BC37.5000000@apache.org> <4873BEB0.1020505@p6m7g8.com> <4873C697.3080006@apache.org> In-Reply-To: <4873C697.3080006@apache.org> Content-Type: multipart/mixed; boundary="------------080703050202020605070209" X-Virus-Checked: Checked by ClamAV on apache.org --------------080703050202020605070209 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Ruediger Pluem wrote: > Yes please. For ease of appliance and track of record. Attached. TIA --------------080703050202020605070209 Content-Type: text/plain; name="apu-conf.m4.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="apu-conf.m4.diff" Index: build/apu-conf.m4 =================================================================== --- build/apu-conf.m4 (revision 674869) +++ build/apu-conf.m4 (working copy) @@ -357,6 +357,12 @@ ]) if test "$apu_has_ldap_openldap" = "1"; then + save_cppflags="$CPPFLAGS" + save_ldflags="$LDFLAGS" + save_libs="$LIBS" + + CPPFLAGS="$CPPFLAGS $APRUTIL_INCLUDES" + LDFLAGS="$LDFLAGS $APRUTIL_LDFLAGS" AC_CACHE_CHECK([style of ldap_set_rebind_proc routine], ac_cv_ldap_set_rebind_proc_style, APR_TRY_COMPILE_NO_WARNING([ #ifdef HAVE_LBER_H @@ -374,6 +380,10 @@ if test "$ac_cv_ldap_set_rebind_proc_style" = "three"; then AC_DEFINE(LDAP_SET_REBIND_PROC_THREE, 1, [Define if ldap_set_rebind_proc takes three arguments]) fi + + CPPFLAGS=$save_cppflags + LDFLAGS=$save_ldflags + LIBS=$save_libs fi AC_SUBST(ldap_h) --------------080703050202020605070209--