Skip to content

Fix configure arg --without-bundled-zlib - #310

Closed
rkitover wants to merge 1 commit into
ccache:masterfrom
gnulag:zlib-detection
Closed

rkitover wants to merge 1 commit into
ccache:masterfrom
gnulag:zlib-detection

Conversation

@rkitover

Copy link
Copy Markdown
Contributor

If the result of the AC_ARG_WITH check is 'no', assume system zlib.

If the result of the AC_ARG_WITH check is 'no', assume system zlib.
rkitover added a commit to visualboyadvance-m/visualboyadvance-m that referenced this pull request Sep 13, 2018
Build zlib before ccache so that ccache does not try to use its bundled
zlib, which does not compile cleanly on cygwin/msys2.

A couple of related PRs for ccache:

ccache/ccache#311
ccache/ccache#310

Replace the usage of xzcat/bzcat in archive unpacking with `xz -dc` and
`bzip2 -dc` because @ZachBacon had some issues with xzcat trying to
compress instead of decompress.

When switching msys2 build modes, unset related env vars first,
sometimes they can get mixed up for some reason.
@afbjorklund

Copy link
Copy Markdown
Contributor

LGTM

@afbjorklund afbjorklund added the issue: bug Does not work as intended/documented label Sep 13, 2018
@jrosdahl jrosdahl changed the title fix configure arg --without-bundled-zlib Fix configure arg --without-bundled-zlib Oct 2, 2018
@jrosdahl

jrosdahl commented Oct 2, 2018

Copy link
Copy Markdown
Member

Thanks, applied on master.

@jrosdahl jrosdahl closed this Oct 2, 2018
@jrosdahl jrosdahl added this to the 3.5 milestone Oct 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

issue: bug Does not work as intended/documented

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants