summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2013-04-18 12:35:07 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2013-04-18 19:21:51 +0100
commit287242271844b27149459b1448dedebf167a3024 (patch)
tree3912222dce9b93132c78cab2d06d8a13199c82d9 /cmake
parent1502908465491df129ca2b101bf528e0a9a6fb57 (diff)
downloaddbus-287242271844b27149459b1448dedebf167a3024.tar.gz
Rename default_message_unix_fds to DEFAULT_MESSAGE_UNIX_FDS
As Ralf pointed out, we usually use upper-case when substituting variables (apart from "somethingdir", which Autoconf conventionally makes lower-case for some reason). Bug: https://bugs.freedesktop.org/show_bug.cgi?id=63682 Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Reviewed-by: Ralf Habacker <ralf.habacker@freenet.de>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/CMakeLists.txt2
-rw-r--r--cmake/config.h.cmake2
2 files changed, 2 insertions, 2 deletions
diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt
index c7f9939e..45d7fb8a 100644
--- a/cmake/CMakeLists.txt
+++ b/cmake/CMakeLists.txt
@@ -437,7 +437,7 @@ set (DBUS_USER )
# In Autotools this has a different default on QNX, but there seems little
# point in replicating that here; if you're on an unusual Unix, use Autotools.
-set (default_message_unix_fds 1024)
+set (DEFAULT_MESSAGE_UNIX_FDS 1024)
# This won't work on Windows. It's not meant to - the system bus is
# meaningless on Windows anyway.
diff --git a/cmake/config.h.cmake b/cmake/config.h.cmake
index 3c7cb966..91cf0806 100644
--- a/cmake/config.h.cmake
+++ b/cmake/config.h.cmake
@@ -82,7 +82,7 @@
# define DBUS_ENABLE_X11_AUTOLAUNCH 1
#endif
-#define DBUS_DEFAULT_MESSAGE_UNIX_FDS @default_message_unix_fds@
+#define DBUS_DEFAULT_MESSAGE_UNIX_FDS @DEFAULT_MESSAGE_UNIX_FDS@
#define _DBUS_VA_COPY_ASSIGN(a1,a2) { a1 = a2; }