summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2022-07-11 11:02:42 +0400
committerSimon McVittie <smcv@collabora.com>2022-07-13 20:36:13 +0100
commita5c8dda5cfe1ba3baa1fb585ad9b3eba7e000ea7 (patch)
tree384871bd4af048403c3df7caaab6be8b472bde54 /cmake
parent95df73b4638b754a069e423ffe03041241b2de8c (diff)
downloaddbus-a5c8dda5cfe1ba3baa1fb585ad9b3eba7e000ea7.tar.gz
cmake: drop unused HAVE_VASPRINTF/HAVE_VSNPRINTF checks
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/ConfigureChecks.cmake2
-rw-r--r--cmake/config.h.cmake4
2 files changed, 0 insertions, 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