version: remove "Compilation" and "Linking" messages.

Can't reliably get this information from cmake (#1267), so it's
misleading to show these messages at all. We can always revert this
commit if we find a way later.
This commit is contained in:
Justin M. Keyes
2014-10-07 09:59:00 +00:00
parent a1901941f8
commit ea357eb320
3 changed files with 0 additions and 9 deletions

View File

@@ -1,7 +1,5 @@
#include "${PROJECT_SOURCE_DIR}/src/nvim/vim.h"
char_u *default_vim_dir = (char_u *)"${CMAKE_INSTALL_PREFIX}/share/nvim";
char_u *default_vimruntime_dir = (char_u *)"";
char_u *all_cflags = (char_u *)"${COMPILER_FLAGS}";
char_u *all_lflags = (char_u *)"${LINKER_FLAGS}";
char_u *compiled_user = (char_u *)"${USERNAME}";
char_u *compiled_sys = (char_u *)"${HOSTNAME}";

View File

@@ -996,8 +996,6 @@ extern char *longVersion;
#ifdef HAVE_PATHDEF
extern char_u *default_vim_dir;
extern char_u *default_vimruntime_dir;
extern char_u *all_cflags;
extern char_u *all_lflags;
extern char_u *compiled_user;
extern char_u *compiled_sys;
#endif

View File

@@ -825,11 +825,6 @@ void list_version(void)
version_msg((char *)default_vimruntime_dir);
version_msg("\"\n");
}
version_msg(_("Compilation: "));
version_msg((char *)all_cflags);
version_msg("\n");
version_msg(_("Linking: "));
version_msg((char *)all_lflags);
#endif // ifdef HAVE_PATHDEF
#ifdef DEBUG
version_msg("\n");