Return-Path: <awaresystems.be+caf_=filtered=awaresystems.be@gmail.com>
Delivered-To: filtered@awaresystems.be
Received: from mx-s.one.com (mx-s.one.com [91.198.169.250])
	by mail6.b-one.net (Postfix) with ESMTP id A3ABE80150C9B
	for <filtered@awaresystems.be>; Tue, 31 Jul 2012 04:51:28 +0200 (CEST)
X-Virus-Scanned: by one.com
Received-SPF: pass (mx-s: domain of awaresystems.be+caf_=filtered=awaresystems.be@gmail.com designates 209.85.220.176 as permitted sender)
X-Greylist: whitelisted by SQLgrey-1.8.0-rc2
Received: from mail-vc0-f176.google.com (mail-vc0-f176.google.com [209.85.220.176])
	by mx-s.one.com (Postfix) with ESMTP id 4A282E60AEA
	for <filtered@awaresystems.be>; Tue, 31 Jul 2012 02:51:28 +0000 (UTC)
Received: by vcbfl11 with SMTP id fl11so6743884vcb.21
        for <filtered@awaresystems.be>; Mon, 30 Jul 2012 19:51:27 -0700 (PDT)
Received: by 10.220.9.10 with SMTP id j10mr3930244vcj.7.1343703087591;
        Mon, 30 Jul 2012 19:51:27 -0700 (PDT)
X-Forwarded-To: filtered@awaresystems.be
X-Forwarded-For: awaresystems.be@gmail.com filtered@awaresystems.be
Delivered-To: awaresystems.be@gmail.com
Received: by 10.58.208.231 with SMTP id mh7csp66199vec;
        Mon, 30 Jul 2012 19:51:26 -0700 (PDT)
Received: by 10.52.179.199 with SMTP id di7mr11350517vdc.83.1343703085769;
        Mon, 30 Jul 2012 19:51:25 -0700 (PDT)
Received-SPF: neutral (google.com: 91.198.169.58 is neither permitted nor denied by best guess record for domain of tiff-bounces@lists.maptools.org) client-ip=91.198.169.58;
Received: by 10.220.204.74 with POP3 id fl10mf6002900vcb.19;
        Mon, 30 Jul 2012 19:51:25 -0700 (PDT)
X-Gmail-Fetch-Info: info@awaresystems.be 1 pop.awaresystems.be 110 info@awaresystems.be
Delivered-To: info@awaresystems.be
Received: from mx-k.one.com (mx-k.one.com [91.198.169.58])
	by mail6.b-one.net (Postfix) with ESMTP id D96FD80150C9B
	for <info@awaresystems.be>; Tue, 31 Jul 2012 04:50:03 +0200 (CEST)
X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0-rc2
Received: from lists.maptools.org (lists.maptools.org [65.39.174.144])
	by mx-k.one.com (Postfix) with ESMTP id 8072E37EDC15
	for <info@awaresystems.be>; Tue, 31 Jul 2012 02:50:03 +0000 (UTC)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by lists.maptools.org (Postfix) with ESMTP id 25AF03AD9DE;
	Mon, 30 Jul 2012 21:48:49 -0500 (EST)
Received: from blade.simplesystems.org (blade.simplesystems.org [65.66.246.74])
	by lists.maptools.org (Postfix) with ESMTPS id E0C6E3AD9DE
	for <tiff@lists.maptools.org>; Mon, 30 Jul 2012 21:27:56 -0500 (EST)
Received: from freddy.simplesystems.org (freddy.simplesystems.org
	[65.66.246.65])
	by blade.simplesystems.org (8.14.4+Sun/8.14.4) with ESMTP id
	q6V2Rsms006298
	for <tiff@lists.maptools.org>; Mon, 30 Jul 2012 21:27:54 -0500 (CDT)
Date: Mon, 30 Jul 2012 21:27:54 -0500 (CDT)
From: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
X-X-Sender: bfriesen@freddy.simplesystems.org
To: Tiff List <tiff@lists.maptools.org>
In-Reply-To: <alpine.GSO.2.01.1207300927040.27589@freddy.simplesystems.org>
Message-ID: <alpine.GSO.2.01.1207302055510.27589@freddy.simplesystems.org>
References: <alpine.GSO.2.01.1207300927040.27589@freddy.simplesystems.org>
User-Agent: Alpine 2.01 (GSO 1266 2009-07-14)
MIME-Version: 1.0
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2
	(blade.simplesystems.org [65.66.246.90]);
	Mon, 30 Jul 2012 21:27:55 -0500 (CDT)
Subject: Re: [Tiff] Libtiff 4 wrongly depends on pthreads
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: TIFF and libtiff discussion <tiff.lists.maptools.org>
List-Unsubscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=unsubscribe>
List-Archive: <http://lists.maptools.org/mailman/private/tiff>
List-Post: <mailto:tiff@lists.maptools.org>
List-Help: <mailto:tiff-request@lists.maptools.org?subject=help>
List-Subscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org

On Mon, 30 Jul 2012, Bob Friesenhahn wrote:

> Today I noticed that libtiff 4 is wrongly depending on pthreads and
> the pthread library (if available).  I believe that this is due to a
> defect in libtiff's configure script, and in particular these bits:

My theory that the OpenGL macros were causing libtiff to depend on 
pthreads was wrong.  The pthreads dependency is actually coming from 
the installed liblzma.la file.

One of my liblzma.la files contains:

   # Linker flags that can not go in dependency_libs.
   inherited_linker_flags=''

   # Libraries that this one depends upon.
   dependency_libs=' -L/usr/local/lib -lpthread'

while the other contains

   # Linker flags that can not go in dependency_libs.
   inherited_linker_flags=' -pthreads'

   # Libraries that this one depends upon.
   dependency_libs=' -L/usr/local64/lib'

Both of these liblzma libraries were build on the same machine, with 
one being built as 32 bit code and the other as 64 bit code.  It is 
odd such different content appears in the two files.

Bob
-- 
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
