-
Notifications
You must be signed in to change notification settings - Fork 782
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
Correct cpu features detection during cross-compiation #4151
Conversation
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.
You also need to commit the modified aconfigure
as well (i.e. autoconf aconfigure.ac > aconfigure
).
Should I include |
Then this could be a problem. I check my Mac machine and it doesn't have |
But why? If I run aclocal, all external macro are copied over to self-sufficient aclocal.m4 and I can include it into the commit as well. |
Also, autoconf-archive is available on Mac via HomeBrew: https://formulae.brew.sh/formula/autoconf-archive#default |
33e8a26
to
4d4db3a
Compare
@sauwming Let's do another round. I've implemented your comments. Also, please check aclocal.m4 if it works for you that way. |
The ==== Portability Considerations:
Conclusion: ==== I know I can install autoconf-archive, but I don't want to do this on every machine and I don't wish to make this a requirement, especially if it's not really necessary. So, I would prefer if we check the availability of compile flags using the standard macros instead, like everywhere else in the currently existing configure script. |
So, you want me to copy and paste aclocal.m4 contents inside the aconfigure.ac? Okay, will do that tomorrow. I'm out for today and will be back online in next 12 hours or so. Thank you for the cooperation! |
I believe you can replace it with Don't worry, no hurry. |
4d4db3a
to
06fc4f8
Compare
@sauwming I've rewrote the patch with AC_COMPILE_IFELSE as you proposed earlier. Please review. As for factoring out So, it's the least intrusive patch for now. |
Closes #4150