diff options
author | Iain Buclaw <ibuclaw@gdcproject.org> | 2018-08-05 20:24:59 +0000 |
---|---|---|
committer | Iain Buclaw <ibuclaw@gcc.gnu.org> | 2018-08-05 20:24:59 +0000 |
commit | 2206fb89403bef0b06818c0f180a85d98c2674c2 (patch) | |
tree | ae1c472a9b13bde9a7b8206efe36e41b3c5c0e6a /libbacktrace/configure | |
parent | dd5faf200e29d4e784ce0b484c79fd9dc4eead90 (diff) | |
download | gcc-2206fb89403bef0b06818c0f180a85d98c2674c2.zip gcc-2206fb89403bef0b06818c0f180a85d98c2674c2.tar.gz gcc-2206fb89403bef0b06818c0f180a85d98c2674c2.tar.bz2 |
libbacktrace: 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.
libbacktrace/
* configure.ac: Move define of HAVE_ZLIB into check for -lz.
* Makefile.in: Regenerate.
* config.h.in: Likewise.
* configure: Likewise.
From-SVN: r263320
Diffstat (limited to 'libbacktrace/configure')
-rwxr-xr-x | libbacktrace/configure | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/libbacktrace/configure b/libbacktrace/configure index 87cadda..d5a9d79 100755 --- a/libbacktrace/configure +++ b/libbacktrace/configure @@ -12973,19 +12973,11 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_compress" >&5 $as_echo "$ac_cv_lib_z_compress" >&6; } if test "x$ac_cv_lib_z_compress" = x""yes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBZ 1 -_ACEOF - - LIBS="-lz $LIBS" - -fi - -if test $ac_cv_lib_z_compress = "yes"; then $as_echo "#define HAVE_ZLIB 1" >>confdefs.h fi + if test "$ac_cv_lib_z_compress" = yes; then HAVE_ZLIB_TRUE= HAVE_ZLIB_FALSE='#' |