From 7c295e40d4424efcd85953bca17303983402f404 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Mon, 27 Oct 2014 14:20:33 -0600 Subject: [PATCH] Newer zlib uses HAVE_HIDDEN to turn on symbol hiding so we don't need to disable it with NO_VIS. --- configure | 6 +----- configure.ac | 3 --- lib/zlib/Makefile.in | 2 +- 3 files changed, 2 insertions(+), 9 deletions(-) diff --git a/configure b/configure index 112d884b7..32c44475c 100755 --- a/configure +++ b/configure @@ -723,7 +723,6 @@ COMPAT_EXP RC_LINK INIT_DIR INIT_SCRIPT -NO_VIZ SSP_CFLAGS SSP_LDFLAGS PIE_CFLAGS @@ -2978,7 +2977,6 @@ $as_echo "$as_me: Configuring Sudo version $PACKAGE_VERSION" >&6;} - # @@ -3056,7 +3054,6 @@ SUDO_NLS=disabled LOCALEDIR_SUFFIX= LT_LDEXPORTS="-export-symbols \$(shlib_exp)" LT_LDDEP="\$(shlib_exp)" -NO_VIZ="-DNO_VIZ" OS_INIT=os_init_common INIT_SCRIPT= INIT_DIR= @@ -15223,7 +15220,7 @@ $as_echo "#define NO_VARIADIC_MACROS 1" >>confdefs.h { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Your C preprocessor doesn't support variadic macros, debugging support will be limited" >&5 $as_echo "$as_me: WARNING: Your C preprocessor doesn't support variadic macros, debugging support will be limited" >&2;} - for _sym in sudo_debug_printf_nvm; do + for _sym in sudo_debug_printf_nvm_v1; do COMPAT_EXP="${COMPAT_EXP}${_sym} " done @@ -22316,7 +22313,6 @@ if test x"$ax_cv_check_cflags___fvisibility_hidden" = xyes; then : CFLAGS="${CFLAGS} -fvisibility=hidden" LT_LDEXPORTS= LT_LDDEP= - NO_VIZ= else : diff --git a/configure.ac b/configure.ac index 29979e2a2..8a5892c76 100644 --- a/configure.ac +++ b/configure.ac @@ -84,7 +84,6 @@ AC_SUBST([PIE_LDFLAGS]) AC_SUBST([PIE_CFLAGS]) AC_SUBST([SSP_LDFLAGS]) AC_SUBST([SSP_CFLAGS]) -AC_SUBST([NO_VIZ]) AC_SUBST([INIT_SCRIPT]) AC_SUBST([INIT_DIR]) AC_SUBST([RC_LINK]) @@ -211,7 +210,6 @@ SUDO_NLS=disabled LOCALEDIR_SUFFIX= LT_LDEXPORTS="-export-symbols \$(shlib_exp)" LT_LDDEP="\$(shlib_exp)" -NO_VIZ="-DNO_VIZ" OS_INIT=os_init_common INIT_SCRIPT= INIT_DIR= @@ -3685,7 +3683,6 @@ if test -n "$GCC"; then CFLAGS="${CFLAGS} -fvisibility=hidden" LT_LDEXPORTS= LT_LDDEP= - NO_VIZ= ]) else case "$host_os" in diff --git a/lib/zlib/Makefile.in b/lib/zlib/Makefile.in index 38b51ff1f..ed7379aae 100644 --- a/lib/zlib/Makefile.in +++ b/lib/zlib/Makefile.in @@ -35,7 +35,7 @@ CPPFLAGS = -I. -I$(srcdir) CFLAGS = @CFLAGS@ # OS dependent defines -DEFS = @OSDEFS@ @NO_VIZ@ +DEFS = @OSDEFS@ #### End of system configuration section. #### -- 2.40.0