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

--- 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

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to