-
Notifications
You must be signed in to change notification settings - Fork 36
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
Work around autoconf 2.69 bugs #947
Work around autoconf 2.69 bugs #947
Conversation
Thanks for this @fingolfin, when I try to build the (Semigroups) package on the openbsd machine that @dimpase has kindly given me access to, I get the following (after
Not sure if this is a "me" problem, or a problem with the PR. |
You need to use |
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.
LGTM. tested on Linux
I noticed that when trying to compile |
In principle yes: you need to rename Makefile.in to (IIRC, just check |
Thanks @fingolfin will give that a try just now. |
Resolves #943. Alternative to #946 and hence closes #946
That issue only affects people working with the git version of Semigroups (because the release tarballs bundle the required files). So it is OK if we play a bit dirty, in this case, by invoking automake and touching install-sh.
See also the comments inside the changes for further details.
Alternatives considered:
autoconf --version
which is not meant to be human readableSOMEPREFIX/share/automake*/config.sub
some other location: a bit fragile (none of those places may have a copy; and it is not even necessarily clear what SOMEPREFIX should be).Granted, this approach also has drawbacks, e.g. it relies on
automake
really installing these files even though it complains ("error: no proper invocation of AM_INIT_AUTOMAKE was found"); also the "fgrep" is a bit of a hack (but the consequences are easy to control: false positive will result in a harmlos "touch", false negative at worst in the user reporting yet another version of autotools affected by the bug).In the end, any of those solutions could have been made to work "good enough" for regular devs, I just hope this particular one will work for most "regular users who for some reason want to use a git version of Semigroups" (whoever they may be ... 😁 )
CC @dimpase