aboutsummaryrefslogtreecommitdiff
path: root/gprofng/configure
diff options
context:
space:
mode:
authorVladimir Mezentsev <vladimir.mezentsev@oracle.com>2022-04-06 15:31:27 -0700
committerVladimir Mezentsev <vladimir.mezentsev@oracle.com>2022-04-08 09:05:37 -0700
commitc10622fef4660111a53f4ccbd7b336dbdd7971ab (patch)
tree0c0c8deaaac35f40714cd9fbf5a8726b35b6a374 /gprofng/configure
parent6849c6a2b8f4588a30eaf83a58a3d2c38c6cae60 (diff)
downloadgdb-c10622fef4660111a53f4ccbd7b336dbdd7971ab.zip
gdb-c10622fef4660111a53f4ccbd7b336dbdd7971ab.tar.gz
gdb-c10622fef4660111a53f4ccbd7b336dbdd7971ab.tar.bz2
gprofng: zlib handling
gprofng/ChangeLog 2022-04-06 Vladimir Mezentsev <vladimir.mezentsev@oracle.com> * configure.ac: Add AM_ZLIB. * src/Makefile.am: Add $(ZLIBINC) and $(ZLIB). * gprofng/src/DbeSession.h: Likewise. * configure: Regenerate. * Makefile.in: Regenerate. * doc/Makefile.in: Regenerate. * gp-display-html/Makefile.in: Regenerate. * src/Makefile.in: Regenerate.
Diffstat (limited to 'gprofng/configure')
-rwxr-xr-xgprofng/configure25
1 files changed, 23 insertions, 2 deletions
diff --git a/gprofng/configure b/gprofng/configure
index e21f788..08af658 100755
--- a/gprofng/configure
+++ b/gprofng/configure
@@ -641,6 +641,8 @@ LD_NO_AS_NEEDED
BUILD_MAN_FALSE
BUILD_MAN_TRUE
HELP2MAN
+zlibinc
+zlibdir
TCL_TRY_FALSE
TCL_TRY_TRUE
EXPECT
@@ -804,6 +806,7 @@ enable_werror_always
enable_gprofng_tools
with_jdk
enable_gprofng_debug
+with_system_zlib
'
ac_precious_vars='build_alias
host_alias
@@ -1462,6 +1465,7 @@ Optional Packages:
both]
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
--with-jdk=PATH specify prefix directory for installed JDK.
+ --with-system-zlib use installed libz
Some influential environment variables:
CC C compiler command
@@ -12142,7 +12146,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12145 "configure"
+#line 12149 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12248,7 +12252,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12251 "configure"
+#line 12255 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -16674,6 +16678,23 @@ fi
+ # Use the system's zlib library.
+ zlibdir="-L\$(top_builddir)/../zlib"
+ zlibinc="-I\$(top_srcdir)/../zlib"
+
+# Check whether --with-system-zlib was given.
+if test "${with_system_zlib+set}" = set; then :
+ withval=$with_system_zlib; if test x$with_system_zlib = xyes ; then
+ zlibdir=
+ zlibinc=
+ fi
+
+fi
+
+
+
+
+
# Generate manpages, if possible.
if test $cross_compiling = no; then