aboutsummaryrefslogtreecommitdiff
path: root/libctf/configure
diff options
context:
space:
mode:
authorIndu Bhagat <indu.bhagat@oracle.com>2022-12-12 09:34:36 -0800
committerIndu Bhagat <indu.bhagat@oracle.com>2022-12-12 09:34:36 -0800
commit78eb490c2c0f3d805e5d664b5ce18c09fbf1f00e (patch)
treeeb2ce4ff8b623f7f1a80286581b75c49555536d7 /libctf/configure
parentb99ceddc917ab623cfe663c3aab5cc45e3b98b57 (diff)
downloadgdb-78eb490c2c0f3d805e5d664b5ce18c09fbf1f00e.zip
gdb-78eb490c2c0f3d805e5d664b5ce18c09fbf1f00e.tar.gz
gdb-78eb490c2c0f3d805e5d664b5ce18c09fbf1f00e.tar.bz2
libctf: remove unnecessary zlib constructs
This dependency is managed via libtool. So explicit addition to LDFLAGS and LIBS is not necessary anymore. ChangeLog: * libctf/configure: Regenerated. * libctf/configure.ac: remove zlib from LDFLAGS and LIBS.
Diffstat (limited to 'libctf/configure')
-rwxr-xr-xlibctf/configure5
1 files changed, 2 insertions, 3 deletions
diff --git a/libctf/configure b/libctf/configure
index d3d6340..cdfc000 100755
--- a/libctf/configure
+++ b/libctf/configure
@@ -14579,10 +14579,9 @@ OLD_CC=$CC
# always want our bfd.
CC="./libtool --quiet --mode=link $OLD_CC"
CFLAGS="-I${srcdir}/../include -I../bfd -I${srcdir}/../bfd $CFLAGS"
-ZLIBDIR=`echo $zlibdir | sed 's,\$(top_builddir)/,,g'`
-LDFLAGS="-L../bfd -L../libiberty $ZLIBDIR $LDFLAGS"
+LDFLAGS="-L../bfd -L../libiberty $LDFLAGS"
intl=`echo $LIBINTL | sed 's,${top_builddir}/,,g'`
-LIBS="-lbfd -liberty -lz $ZSTD_LIBS $intl $LIBS"
+LIBS="-lbfd -liberty $ZSTD_LIBS $intl $LIBS"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF support in BFD" >&5
$as_echo_n "checking for ELF support in BFD... " >&6; }
if ${ac_cv_libctf_bfd_elf+:} false; then :