From a5c8dda5cfe1ba3baa1fb585ad9b3eba7e000ea7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Mon, 11 Jul 2022 11:02:42 +0400 Subject: [PATCH] cmake: drop unused HAVE_VASPRINTF/HAVE_VSNPRINTF checks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marc-André Lureau --- cmake/ConfigureChecks.cmake | 2 -- cmake/config.h.cmake | 4 ---- 2 files changed, 6 deletions(-) diff --git a/cmake/ConfigureChecks.cmake b/cmake/ConfigureChecks.cmake index e1540653..01c80437 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 a0acc5b7..f5a1659b 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