summaryrefslogtreecommitdiff
path: root/src/configure.ac
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-11-12 19:21:51 +0100
committerBram Moolenaar <Bram@vim.org>2017-11-12 19:21:51 +0100
commite42a6d250907e278707753d7d1ba91ffc2471db0 (patch)
tree41b5779ede7d485fbe51fa4feb03cfebf089d516 /src/configure.ac
parent2f27aab8e68c48a1b8a51715e1009d572f8e13b5 (diff)
downloadvim-git-e42a6d250907e278707753d7d1ba91ffc2471db0.tar.gz
patch 8.0.1295: cannot automatically get a server name in a terminalv8.0.1295
Problem: Cannot automatically get a server name in a terminal. Solution: Add the --enable-autoservername flag to configure. (Cimbali, closes #2317)
Diffstat (limited to 'src/configure.ac')
-rw-r--r--src/configure.ac9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/configure.ac b/src/configure.ac
index e28712413..7277f8745 100644
--- a/src/configure.ac
+++ b/src/configure.ac
@@ -2066,6 +2066,15 @@ if test "$enable_terminal" = "yes"; then
AC_SUBST(TERM_OBJ)
fi
+AC_MSG_CHECKING(--enable-autoservername argument)
+AC_ARG_ENABLE(autoservername,
+ [ --enable-autoservername Automatically define servername at vim startup.], ,
+ [enable_autoservername="no"])
+AC_MSG_RESULT($enable_autoservername)
+if test "$enable_autoservername" = "yes"; then
+ AC_DEFINE(FEAT_AUTOSERVERNAME)
+fi
+
AC_MSG_CHECKING(--enable-multibyte argument)
AC_ARG_ENABLE(multibyte,
[ --enable-multibyte Include multibyte editing support.], ,