diff options
Diffstat (limited to 'files')
-rw-r--r-- | files/config.h.in | 9 | ||||
-rw-r--r-- | files/pathnames.h.in | 5 |
2 files changed, 11 insertions, 3 deletions
diff --git a/files/config.h.in b/files/config.h.in index f592f3551a54..f6444357678c 100644 --- a/files/config.h.in +++ b/files/config.h.in @@ -13,5 +13,14 @@ /* Define if you have <ncurses.h> */ #cmakedefine HAVE_NCURSES_H +/* Define if you have <ncursesw/ncurses.h> */ +#cmakedefine HAVE_NCURSESW_NCURSES_H + +/* Define if you have <pty.h> */ +#cmakedefine HAVE_PTY_H + /* Define if you have <term.h> */ #cmakedefine HAVE_TERM_H + +/* Define if struct dirent has field d_namlen */ +#cmakedefine HAVE_DIRENT_D_NAMLEN diff --git a/files/pathnames.h.in b/files/pathnames.h.in index f1c2821f41c0..eb03f11d979a 100644 --- a/files/pathnames.h.in +++ b/files/pathnames.h.in @@ -13,9 +13,8 @@ #define _PATH_NEXRC ".nexrc" #endif -#ifndef _PATH_PRESERVE -#define _PATH_PRESERVE "@vi_cv_path_preserve@" -#endif +/* On linux _PATH_PRESERVE is only writable by root */ +#define NVI_PATH_PRESERVE "@vi_cv_path_preserve@" #ifndef _PATH_SYSEXRC #define _PATH_SYSEXRC "/etc/vi.exrc" |