From dev-return-6186-apmail-apr-dev-archive=apr.apache.org@apr.apache.org Tue Apr 09 16:03:22 2002 Return-Path: Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 39962 invoked by uid 500); 9 Apr 2002 16:03:21 -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 39892 invoked from network); 9 Apr 2002 16:03:20 -0000 Message-Id: <019f01c1dfe0$12d0d9b0$e3008d10@zk3.dec.com> From: "David Hill" To: References: <3C894EE5.4050802@apache.org> Subject: Problem building on Tru64 with 2.0.35 w/ suggested change Date: Tue, 9 Apr 2002 12:03:21 -0400 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-Msmail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-Mimeole: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi all, Building on Tru64 was broken with 2.0.35 (worked in 2.0.32). Compiling libapr fails because ld is called with -pthread instead of -lpthread. A suggested change is presented below that fixes it on Tru64. Not sure if the clause that follows my additions are still required for some other platform or if some other checking needs to be done to just do my change for Tru64. Dave Hill *** srclib/apr/build/ltmain.sh.orig Tue Apr 9 11:42:58 2002 --- srclib/apr/build/ltmain.sh Tue Apr 9 11:43:29 2002 *************** *** 1096,1101 **** --- 1096,1107 ---- deplibs="$deplibs $arg" ;; + -pthread) + # on Tru64, -pthread is a compile option, -lpthread is + # the matching ld option + deplibs="$deplibs -lpthread" + ;; + -?thread) deplibs="$deplibs $arg" ;;