-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
7.2: please do not use hardcoded yacc #119
Comments
Thanks, I wasn't aware of that cmake feature! This looks a lot better than the current hack. |
One problem I am running into is that this cmake module doesn't find the yacc versions shipped in base by most BSD systems. |
What about bison? 🤔 |
bison would require installing an external package which I find unfortunate because iked builds fine with what is available in the base installation. Maybe we need a FindYACC and fallback to bison if that isn't there. |
Currently most of the bison generated parses do not need flex static library on linking. I'm not sure how it is with yacc on *BSD but generally speaking yacc on Linux is way behind GNU bison and everything what theoretically needs yacc always is possible to build bison. |
openiked-portable/iked/CMakeLists.txt
Lines 142 to 146 in 81092ec
This should be implemented using https://cmake.org/cmake/help/latest/module/FindFLEX.html
The text was updated successfully, but these errors were encountered: