-
Notifications
You must be signed in to change notification settings - Fork 3
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
zconf: fixed yacc/lex prefix #10
base: master
Are you sure you want to change the base?
Conversation
af31542
to
4188500
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Timo, sorry for the delay...
Great !! thanks for your fixes.
I would ask you to make a small change on this if you can.
if you are not using the variable in the makefile do not use AM_CONDITIONAL and use AS_IF instead.
AM_CONDITIONAL defines two more variables in Makefile that I would not add if they are not required.
If you prefer I could merge this now and then change it back to use AS_IF ..
Thanks again !!
Andrea
Ah yea well my automake skills are minimal so i copied from here and there to get the effect i wanted.. fell free to clean it up.. but i would not know what to replace without risking a lost of functionality .. i assume AM_IF combined AM_COND_IF and AM_CONDITION without the generation nthe intermediate objects, ie. the CONDITION ? |
As far as I know .. ( noone is really skilled in Automake stuff :-) the AM_CONDITIONAL add two magic variables to Makefile.in from Makefile.am. Example: This is not the actual variable TIMO though ... you can define it with and the if condition in Makefile.am ( that is not present in regular Makefiles ) is replaced like this: hello: is replaced with hello: Nice Automake trick to ease writing Makefile but make it hard to learn :-) The AM_COND_IF is there to make you able to use the defined condition also during configuration.. on the other hand the AS_IF is simply replaced with a if clause in the configure script AS_IF([test x${USER} = "Timo"], |
No description provided.