Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 51438 invoked from network); 29 Jun 2004 14:15:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 29 Jun 2004 14:15:24 -0000 Received: (qmail 54411 invoked by uid 500); 29 Jun 2004 14:15:24 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 54292 invoked by uid 500); 29 Jun 2004 14:15:22 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 54098 invoked by uid 99); 29 Jun 2004 14:15:20 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Date: Tue, 29 Jun 2004 15:15:08 +0100 From: Joe Orton To: dev@apr.apache.org Subject: Re: cvs commit: apr configure.in Message-ID: <20040629141508.GH19620@redhat.com> Mail-Followup-To: dev@apr.apache.org References: <20040629141048.47480.qmail@minotaur.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20040629141048.47480.qmail@minotaur.apache.org> User-Agent: Mutt/1.4.1i X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Tue, Jun 29, 2004 at 02:10:48PM -0000, martin@apache.org wrote: > --- configure.in 14 Jun 2004 21:16:40 -0000 1.589 > +++ configure.in 29 Jun 2004 14:10:48 -0000 1.590 > @@ -522,6 +522,8 @@ > AC_SEARCH_LIBS(gethostbyname, nsl) > AC_SEARCH_LIBS(gethostname, nsl) > AC_SEARCH_LIBS(socket, socket) > +dnl Search for -lbind / -lresolv only after having added -lsocket and -lnsl > +AC_SEARCH_LIBS(res_init, bind resolv) This is not right, res_init() is not used anywhere inside APR so configure will pick up -lresolv unnecessarily on many platforms. What are you trying to solve here? joe