Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:46779 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 13778 invoked from network); 18 Jan 2010 10:12:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Jan 2010 10:12:39 -0000 Authentication-Results: pb1.pair.com smtp.mail=jess@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=jess@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.185 as permitted sender) X-PHP-List-Original-Sender: jess@zend.com X-Host-Fingerprint: 212.25.124.185 il-mr1.zend.com Received: from [212.25.124.185] ([212.25.124.185:53202] helo=il-mr1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F7/05-22457-614345B4 for ; Mon, 18 Jan 2010 05:12:39 -0500 Received: from il-gw1.zend.com (unknown [10.1.1.21]) by il-mr1.zend.com (Postfix) with ESMTP id 268D750467 for ; Mon, 18 Jan 2010 11:56:24 +0200 (IST) Received: from [10.1.2.102] ([10.1.2.102]) by il-gw1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 18 Jan 2010 12:12:34 +0200 Message-ID: <4B543412.6000106@zend.com> Date: Mon, 18 Jan 2010 12:12:34 +0200 User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090706) MIME-Version: 1.0 To: PHP Developers Mailing List Content-Type: multipart/mixed; boundary="------------030500010006070009040203" X-OriginalArrivalTime: 18 Jan 2010 10:12:34.0530 (UTC) FILETIME=[C0DBF420:01CA9826] Subject: [PHP-DEV] [PATCH] AM_PROG_LEX needed in Zend/configure.in From: jess@zend.com (Jess Portnoy) --------------030500010006070009040203 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hello all, When attempting to build only the libZend.a by executing: #cd /Zend Zend# ./buildconf One gets this message [redundant output was truncated]: Makefile.am: Lex source seen but `LEX' is undefined Makefile.am: The usual way to define `LEX' is to add `AM_PROG_LEX' Makefile.am: to `configure.in' and run `aclocal' and `autoconf' again. buildconf: keeping configure Adding AM_PROG_LEX solves this problem. Compiling only the archive can be useful for various things so I think this should be made operational, especially since I don't see any down side to it. Attaching a patch. Thanks, -- May the source be with you, Best regards, Jess Portnoy --------------030500010006070009040203 Content-Type: text/x-diff; name="am_prog_lex-5.3.2RC1.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="am_prog_lex-5.3.2RC1.diff" --- php-5.3.2RC1/Zend/configure.in.orig 2009-04-02 16:34:05.000000000 +0300 +++ php-5.3.2RC1/Zend/configure.in 2009-04-02 16:33:51.000000000 +0300 @@ -24,6 +24,7 @@ LIBZEND_DLSYM_CHECK AM_PROG_LIBTOOL +AM_PROG_LEX if test "$enable_debug" != "yes"; then AM_SET_LIBTOOL_VARIABLE([--silent]) fi --------------030500010006070009040203--