Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:36719 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 18234 invoked from network); 31 Mar 2008 15:37:03 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 Mar 2008 15:37:03 -0000 Authentication-Results: pb1.pair.com smtp.mail=indeyets@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=indeyets@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.142.190 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: indeyets@gmail.com X-Host-Fingerprint: 209.85.142.190 ti-out-0910.google.com Received: from [209.85.142.190] ([209.85.142.190:51826] helo=ti-out-0910.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 72/07-05022-D1501F74 for ; Mon, 31 Mar 2008 10:37:02 -0500 Received: by ti-out-0910.google.com with SMTP id a21so442970tia.17 for ; Mon, 31 Mar 2008 08:36:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=8aoI8QO/n8UO6ApFJaW4XteT2Y5ICdbCGEuOToxjItA=; b=CtZFWf6MjcJcjpUV6eLfBwOXYCGqqBb7c7jZMSEbqhUg//GdljFqaafGV9PahI7siQMOM2QI02dhSUzW+MMUsNrb+czJMRv2MK+Gv04LJF2t/mdhsXMdvhxvV8yJW6pzbgiIa2MRC5DXcQ0ZkEGBAZSLIaORMDq5otjZQRweRYc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Ai34flpW+3vtJ/1ylU49o0DOihvxMPmS20S1qhjt8sFWr0kYCOLioEH6Sl4hCOhOCpWMG8Zo8jCPV0zUYcXTwKZRWqlPykHocqbDsJPKWr3k8HyXffKZJo4g8sZNGDvY+6hy9kJjuEdQcyJ0xmGdn0fK1nt4oYC1+lqLQ6zJd+I= Received: by 10.151.83.12 with SMTP id k12mr3436642ybl.7.1206977813300; Mon, 31 Mar 2008 08:36:53 -0700 (PDT) Received: by 10.150.57.12 with HTTP; Mon, 31 Mar 2008 08:36:53 -0700 (PDT) Message-ID: Date: Mon, 31 Mar 2008 19:36:53 +0400 To: "PHP Developers Mailing List" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: macos-x, php-5.3, configure.in, problem with sed From: indeyets@gmail.com ("Alexey Zakhlestin") There is a patch by gwynne, which introduces platform-specific hack for darwin/macos-x. http://cvs.php.net/viewvc.cgi/php-src/configure.in?r1=1.579.2.52.2.77.2.11&r2=1.579.2.52.2.77.2.12&pathrev=PHP_5_3 It works pretty well, except one small glitch. It is supposed in patch, that sed is "bsd sed" (note "$SED -nE" on line 187) "-E" flag is not supported by gnu-sed By default, osx has bsd sed, so this will work for most people, but there are some (including me), who install "gnu sed" and put it in PATH before '/usr/bin/sed' I attach the patch, which forces use of '/usr/bin/sed' on this line, while still allowing gnu sed everywhere else. This line is macos-x specific, so won't hurt other platforms http://filez.indeyets.pp.ru/configure.in.macosx.patch -- Alexey Zakhlestin http://blog.milkfarmsoft.com/