diff options
Diffstat (limited to 'proc.c')
-rw-r--r-- | proc.c | 21 |
1 files changed, 17 insertions, 4 deletions
@@ -23,13 +23,15 @@ #include <sys/utsname.h> #include <errno.h> -#include <event.h> -#include <imsg.h> #include <signal.h> #include <stdlib.h> #include <string.h> #include <unistd.h> +#if defined(HAVE_NCURSES_H) +#include <ncurses.h> +#endif + #include "tmux.h" struct tmuxproc { @@ -190,8 +192,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", u.sysname, u.release, u.version); + log_debug("using libevent %s (%s)" +#ifdef HAVE_UTF8PROC + "; utf8proc %s" +#endif +#ifdef NCURSES_VERSION + "; ncurses " NCURSES_VERSION +#endif + , event_get_version(), event_get_method() +#ifdef HAVE_UTF8PROC + , utf8proc_version () +#endif + ); tp = xcalloc(1, sizeof *tp); tp->name = xstrdup(name); |