Skip to content
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

Fix configure ac for autoconf 2.70 #644

Merged
merged 6 commits into from Sep 29, 2021

Conversation

praiskup
Copy link
Contributor

@praiskup praiskup commented Apr 1, 2021

No description provided.

@praiskup praiskup force-pushed the fix-configure-ac-for-autoconf-2.70 branch 3 times, most recently from c249b23 to d3bcaf6 Compare April 1, 2021 15:45
@simo5
Copy link
Contributor

simo5 commented Apr 6, 2021

This should fix #643

@simo5
Copy link
Contributor

simo5 commented Apr 6, 2021

FWIW: Tested locally and it does fix #643, I included these patches in the Fedora Rawhide package.

@Biswa96
Copy link
Contributor

Biswa96 commented Apr 10, 2021

Any progress on this PR to be merged?

@quanah
Copy link
Contributor

quanah commented Apr 11, 2021

Needs me to finish getting the CLA bot set up and for the author to sign the CLA, for starters.

@praiskup
Copy link
Contributor Author

Feel free to use patches under Public Domain, if that helps.

@simo5
Copy link
Contributor

simo5 commented Apr 12, 2021

FWIW, authors do not have a lot of interest in signing CLAs for half-dead projects, I strongly suggest you use an inbound-outbound license instead, and a DCO, to lower barriers to contribution.
Suggested reading: https://opensource.com/article/19/2/cla-problems

@quanah
Copy link
Contributor

quanah commented May 5, 2021

Please update your pull request so it has been signed off on in accordance with our DCO. Thanks!

In the COMMANDS-TO-SET-IT argument, per Autoconf docs:
https://www.gnu.org/software/autoconf/manual/autoconf-2.63/html_node/Caching-Results.html

Signed-off-by: Pavel Raiskup <praiskup@redhat.com>
Autoconf 2.70+ is more picky about the quotation (even though with
previous versions the arguments should have been quoted, too).  When we
don't quote macros inside the AC_CACHE_VAL macro - some of the Autoconf
initialization is wrongly ordered in ./configure script and we keep
seeing bugs like:

    ./configure: line 2165: ac_fn_c_try_run: command not found

Original report: https://bugzilla.redhat.com/1943013

Signed-off-by: Pavel Raiskup <praiskup@redhat.com>
@praiskup praiskup force-pushed the fix-configure-ac-for-autoconf-2.70 branch from d3bcaf6 to 004869f Compare May 5, 2021 06:06
@praiskup
Copy link
Contributor Author

praiskup commented May 5, 2021

Done, ptal.

@quanah quanah added this to the 2.1.28 milestone Sep 28, 2021
nacho and others added 4 commits September 29, 2021 13:19
The exit function requires to include stdlib otherwise
this will fail on new versions of MacOS

Signed-off-by: Ignacio Casal Quinteiro <qignacio@amazon.com>
In the COMMANDS-TO-SET-IT argument, per Autoconf docs:
https://www.gnu.org/software/autoconf/manual/autoconf-2.63/html_node/Caching-Results.html

Signed-off-by: Pavel Raiskup <praiskup@redhat.com>
Autoconf 2.70+ is more picky about the quotation (even though with
previous versions the arguments should have been quoted, too).  When we
don't quote macros inside the AC_CACHE_VAL macro - some of the Autoconf
initialization is wrongly ordered in ./configure script and we keep
seeing bugs like:

    ./configure: line 2165: ac_fn_c_try_run: command not found

Original report: https://bugzilla.redhat.com/1943013

Signed-off-by: Pavel Raiskup <praiskup@redhat.com>
@quanah quanah merged commit 63b88cc into cyrusimap:master Sep 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants