From: Marc-André Lureau Date: Mon, 11 Jul 2022 07:02:42 +0000 (+0400) Subject: cmake: drop unused HAVE_VASPRINTF/HAVE_VSNPRINTF checks X-Git-Tag: dbus-1.15.0~32^2~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5c8dda5cfe1ba3baa1fb585ad9b3eba7e000ea7;p=thirdparty%2Fdbus.git cmake: drop unused HAVE_VASPRINTF/HAVE_VSNPRINTF checks Signed-off-by: Marc-André Lureau --- diff --git a/cmake/ConfigureChecks.cmake b/cmake/ConfigureChecks.cmake index e15406532..01c80437e 100644 --- a/cmake/ConfigureChecks.cmake +++ b/cmake/ConfigureChecks.cmake @@ -62,8 +62,6 @@ check_symbol_exists(getrandom "sys/random.h" HAVE_GETRANDOM) check_symbol_exists(getrlimit "sys/resource.h;sys/time.h" HAVE_GETRLIMIT) check_symbol_exists(prlimit "sys/resource.h;sys/time.h" HAVE_PRLIMIT) check_symbol_exists(setrlimit "sys/resource.h;sys/time.h" HAVE_SETRLIMIT) -check_symbol_exists(vasprintf "stdio.h" HAVE_VASPRINTF) -check_symbol_exists(vsnprintf "stdio.h" HAVE_VSNPRINTF) check_symbol_exists(MSG_NOSIGNAL "sys/socket.h" HAVE_DECL_MSG_NOSIGNAL) check_symbol_exists(environ "unistd.h" HAVE_DECL_ENVIRON) check_symbol_exists(LOG_PERROR "syslog.h" HAVE_DECL_LOG_PERROR) diff --git a/cmake/config.h.cmake b/cmake/config.h.cmake index a0acc5b76..f5a1659bb 100644 --- a/cmake/config.h.cmake +++ b/cmake/config.h.cmake @@ -210,16 +210,12 @@ #cmakedefine HAVE_SETRLIMIT 1 #cmakedefine HAVE_UNIX_FD_PASSING 1 #cmakedefine HAVE_SYSTEMD -#cmakedefine HAVE_VASPRINTF 1 -#cmakedefine HAVE_VSNPRINTF 1 /* Define to use epoll(4) on Linux */ #cmakedefine DBUS_HAVE_LINUX_EPOLL 1 /* Use the gcc __sync extension */ #cmakedefine01 DBUS_USE_SYNC -#cmakedefine HAVE_VASPRINTF 1 -#cmakedefine HAVE_VSNPRINTF 1 #cmakedefine HAVE_SETRESUID 1 #cmakedefine HAVE_GETRESUID 1