Re: [PATCH] libbacktrace: Move define of HAVE_ZLIB into check for -lz

2018-07-31 Thread Ian Lance Taylor via gcc-patches
On Tue, Jul 31, 2018 at 8:10 AM, Iain Buclaw wrote: > On 31 July 2018 at 16:33, Ian Lance Taylor wrote: >> On Sun, Jul 29, 2018 at 7:50 AM, Iain Buclaw wrote: >>> >>> This is really to suppress the default action-if-found for >>> AC_CHECK_LIBS. Zlib is not a dependency of libbacktrace, and so i

Re: [PATCH] libbacktrace: Move define of HAVE_ZLIB into check for -lz

2018-07-31 Thread Iain Buclaw
On 31 July 2018 at 16:33, Ian Lance Taylor wrote: > On Sun, Jul 29, 2018 at 7:50 AM, Iain Buclaw wrote: >> >> This is really to suppress the default action-if-found for >> AC_CHECK_LIBS. Zlib is not a dependency of libbacktrace, and so it >> shouldn't be added to LIBS. When looking at the check

Re: [PATCH] libbacktrace: Move define of HAVE_ZLIB into check for -lz

2018-07-31 Thread Ian Lance Taylor via gcc-patches
On Sun, Jul 29, 2018 at 7:50 AM, Iain Buclaw wrote: > > This is really to suppress the default action-if-found for > AC_CHECK_LIBS. Zlib is not a dependency of libbacktrace, and so it > shouldn't be added to LIBS. When looking at the check, saw that could > remove the test for ac_cv_lib_z_compre

[PATCH] libbacktrace: Move define of HAVE_ZLIB into check for -lz

2018-07-29 Thread Iain Buclaw
This is really to suppress the default action-if-found for AC_CHECK_LIBS. Zlib is not a dependency of libbacktrace, and so it shouldn't be added to LIBS. When looking at the check, saw that could remove the test for ac_cv_lib_z_compress also. Regards Iain --- 2018-07-29 Iain Buclaw * configu