]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
cmake: drop unused HAVE_VASPRINTF/HAVE_VSNPRINTF checks
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 11 Jul 2022 07:02:42 +0000 (11:02 +0400)
committerSimon McVittie <smcv@collabora.com>
Wed, 13 Jul 2022 19:36:13 +0000 (20:36 +0100)
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
cmake/ConfigureChecks.cmake
cmake/config.h.cmake

index e15406532dd903be7f19c5c16100d0146e4dfa92..01c80437eefaca5745faf26aea4a3a6b28562e17 100644 (file)
@@ -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)
index a0acc5b7600c2576af66e4eef93db78580b8db01..f5a1659bb88a43543de8d3621b7f80f6edccb111 100644 (file)
 #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