From owner-freebsd-threads@FreeBSD.ORG Fri Aug 29 10:33:32 2003 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6926C16A4BF for ; Fri, 29 Aug 2003 10:33:32 -0700 (PDT) Received: from puffin.mail.pas.earthlink.net (puffin.mail.pas.earthlink.net [207.217.120.139]) by mx1.FreeBSD.org (Postfix) with ESMTP id B4E1843FE9 for ; Fri, 29 Aug 2003 10:33:31 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from user-2ivfjas.dialup.mindspring.com ([165.247.205.92] helo=mindspring.com) by puffin.mail.pas.earthlink.net with asmtp (SSLv3:RC4-MD5:128) (Exim 3.33 #1) id 19sn4C-0007j8-00; Fri, 29 Aug 2003 10:29:45 -0700 Message-ID: <3F4F8D58.5F4523AE@mindspring.com> Date: Fri, 29 Aug 2003 10:28:56 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: "Pedro F. Giffuni" References: <20030829042613.80458.qmail@web13406.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ELNK-Trace: b1a02af9316fbb217a47c185c03b154d40683398e744b8a4cd51410bfa1d93b0144b42c7ecc30728a7ce0e8f8d31aa3f350badd9bab72f9c350badd9bab72f9c cc: freebsd-threads@FreeBSD.org Subject: Re: Removing -pthread from gcc X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Aug 2003 17:33:32 -0000 "Pedro F. Giffuni" wrote: > I'm not understanding what the new world order will be, but please try to agree > something with the autoconf people: from my porting experience, autoconf is not > interested on what PTHREAD_LIBS says; it just tries to link with pthread and if > that fails it assumes the platform doesn't support threads at all. This is why autoconf sucks: it tries to identify the platform and make the code conform to that, rather than identifying the platform capabilities (note: different from "does -pthread work?") and using that. This is why imake and xmkmf can compile every X application that uses them, while autoconf and automake can only do it for the platforms they have been explicitly told about. The autoconf program balkanizes things, while imake unites them. I wish autoconf would die. -- Terry