# [PATCH] AM_PROG_LEX needed in Zend/configure.in

- Thread: https://externals.io/message/46779
- Original archive: https://news-web.php.net/php.internals/46779
- Started by Jess Portnoy on 2010-01-18T10:12:34+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #46779 — Jess Portnoy — 2010-01-18T10:12:34+00:00

URL: https://externals.io/message/46779#46779

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
