aboutsummaryrefslogtreecommitdiff
path: root/proc.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2020-05-22 17:14:35 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2020-05-22 17:14:35 +0100
commit87a59efc9476cc12d3e79b1afb55b9e59984b450 (patch)
tree1342f08e80c579de62753357893f1eeea9c7b1a8 /proc.c
parentd48f0e114e747243a41406e77967ff77bd93b3bb (diff)
downloadrtmux-87a59efc9476cc12d3e79b1afb55b9e59984b450.tar.gz
rtmux-87a59efc9476cc12d3e79b1afb55b9e59984b450.tar.bz2
rtmux-87a59efc9476cc12d3e79b1afb55b9e59984b450.zip
Log ncurses and utf8proc versions.
Diffstat (limited to 'proc.c')
-rw-r--r--proc.c15
1 files changed, 13 insertions, 2 deletions
diff --git a/proc.c b/proc.c
index f3d6063d..68de33c6 100644
--- a/proc.c
+++ b/proc.c
@@ -183,8 +183,19 @@ proc_start(const char *name)
log_debug("%s started (%ld): version %s, socket %s, protocol %d", name,
(long)getpid(), getversion(), socket_path, PROTOCOL_VERSION);
- log_debug("on %s %s %s; libevent %s (%s)", u.sysname, u.release,
- u.version, event_get_version(), event_get_method());
+ log_debug("on %s %s %s; libevent %s (%s)"
+#ifdef HAVE_UTF8PROC
+ "; utf8proc %s/%s"
+#endif
+#ifdef NCURSES_VERSION
+ "; ncurses " NCURSES_VERSION
+#endif
+ , u.sysname, u.release, u.version
+ , event_get_version(), event_get_method()
+#ifdef HAVE_UTF8PROC
+ , utf8proc_version (), utf8proc_unicode_version ()
+#endif
+ );
tp = xcalloc(1, sizeof *tp);
tp->name = xstrdup(name);