From: Ondřej Surý Date: Wed, 5 Sep 2018 10:01:10 +0000 (+0200) Subject: Remove dummy ISC_PLATFORM_HAVESTRINGSH platform define X-Git-Tag: v9.13.4~157^2~28 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d00ef56dfac4c725d436bb6d8c3f5bb0c2926584;p=thirdparty%2Fbind9.git Remove dummy ISC_PLATFORM_HAVESTRINGSH platform define --- diff --git a/configure b/configure index 2ac9d6efb4d..1ff1fbd73b8 100755 --- a/configure +++ b/configure @@ -706,7 +706,6 @@ DNSTAPSRCS DNSTAP FSTRM_CAPTURE PROTOC_C -ISC_PLATFORM_HAVESTRINGSH IRS_PLATFORM_USEDECLSPEC ISC_PLATFORM_USEDECLSPEC ISC_PLATFORM_HAVESTATNSEC @@ -18033,29 +18032,6 @@ ISC_PLATFORM_USEDECLSPEC="#undef ISC_PLATFORM_USEDECLSPEC" IRS_PLATFORM_USEDECLSPEC="#undef IRS_PLATFORM_USEDECLSPEC" -# -# Random remaining OS-specific issues involving compiler warnings. -# XXXDCL print messages to indicate some compensation is being done? -# - -for ac_header in strings.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "strings.h" "ac_cv_header_strings_h" "$ac_includes_default" -if test "x$ac_cv_header_strings_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_STRINGS_H 1 -_ACEOF - ISC_PLATFORM_HAVESTRINGSH="#define ISC_PLATFORM_HAVESTRINGSH 1" - -else - ISC_PLATFORM_HAVESTRINGSH="#undef ISC_PLATFORM_HAVESTRINGSH" - -fi - -done - - - # # Check for if_nametoindex() for IPv6 scoped addresses support # diff --git a/configure.in b/configure.in index 1b80783f467..1a8dd2d2df0 100644 --- a/configure.in +++ b/configure.in @@ -2075,18 +2075,6 @@ ISC_PLATFORM_USEDECLSPEC="#undef ISC_PLATFORM_USEDECLSPEC" AC_SUBST(IRS_PLATFORM_USEDECLSPEC) IRS_PLATFORM_USEDECLSPEC="#undef IRS_PLATFORM_USEDECLSPEC" -# -# Random remaining OS-specific issues involving compiler warnings. -# XXXDCL print messages to indicate some compensation is being done? -# - -AC_CHECK_HEADERS(strings.h, - ISC_PLATFORM_HAVESTRINGSH="#define ISC_PLATFORM_HAVESTRINGSH 1" -, - ISC_PLATFORM_HAVESTRINGSH="#undef ISC_PLATFORM_HAVESTRINGSH" -) -AC_SUBST(ISC_PLATFORM_HAVESTRINGSH) - # # Check for if_nametoindex() for IPv6 scoped addresses support # diff --git a/lib/isc/include/isc/platform.h.in b/lib/isc/include/isc/platform.h.in index ee1845bd25b..e96e12f2cd8 100644 --- a/lib/isc/include/isc/platform.h.in +++ b/lib/isc/include/isc/platform.h.in @@ -99,11 +99,6 @@ */ @ISC_PLATFORM_HAVESYSUNH@ -/* - * Define if the platform has . - */ -@ISC_PLATFORM_HAVESTRINGSH@ - /* * Defines for the noreturn attribute. */