awesomized / libmemcached

Resurrection of libmemcached
https://awesomized.github.io/libmemcached/
BSD 3-Clause "New" or "Revised" License
45 stars 26 forks source link

Bison and Flex dependencies should fail configure when missing #87

Closed m6w6 closed 4 years ago

m6w6 commented 4 years ago

Imported from Launchpad using lp2gh.


It wasn't immediately obvious to me that I needed "bison" and "flex" as dependencies to generate parser.h and other source files. The build would fail and the error wouldn't be easy to comprehend until I analyzed the inclue.am files and saw that parser.h was generated by YACC (bison in our case).

It'd be much better to fail hard and early at configure time when those two required dependencies are missing.