mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 13:15:09 -07:00
1a15cf84c2
Change POROJECT_NAME to 'nvim', and use it as the gettext domain name. The *.mo files, previously installed as $runtime/lang/xx/LC_MESSAGES/nvim.mo, are now installed as $prefix/locale/xx/LC_MESSAGES/nvim.mo.
62 lines
1.4 KiB
C
62 lines
1.4 KiB
C
#ifndef AUTO_CONFIG_H
|
|
#define AUTO_CONFIG_H
|
|
|
|
#cmakedefine DEBUG
|
|
|
|
#define SIZEOF_INT @SIZEOF_INT@
|
|
#define SIZEOF_LONG @SIZEOF_LONG@
|
|
|
|
#if @SIZEOF_VOID_PTR@ == 8
|
|
#define ARCH_64
|
|
#elif @SIZEOF_VOID_PTR@ == 4
|
|
#define ARCH_32
|
|
#endif
|
|
|
|
#define PROJECT_NAME "@PROJECT_NAME@"
|
|
#define LOCALE_INSTALL_DIR "@CMAKE_INSTALL_FULL_LOCALEDIR@"
|
|
|
|
#cmakedefine HAVE__NSGETENVIRON
|
|
#cmakedefine HAVE_FD_CLOEXEC
|
|
#cmakedefine HAVE_FSEEKO
|
|
#cmakedefine HAVE_GETPWENT
|
|
#cmakedefine HAVE_GETPWNAM
|
|
#cmakedefine HAVE_GETPWUID
|
|
#cmakedefine HAVE_ICONV
|
|
#cmakedefine HAVE_ICONV_H
|
|
#cmakedefine HAVE_LANGINFO_H
|
|
#cmakedefine HAVE_LOCALE_H
|
|
#cmakedefine HAVE_NL_LANGINFO_CODESET
|
|
#cmakedefine HAVE_NL_MSG_CAT_CNTR
|
|
#cmakedefine HAVE_PUTENV_S
|
|
#cmakedefine HAVE_PWD_H
|
|
#cmakedefine HAVE_READLINK
|
|
// TODO: add proper cmake check
|
|
// #define HAVE_SELINUX 1
|
|
#cmakedefine HAVE_SETENV
|
|
#cmakedefine HAVE_UNSETENV
|
|
#cmakedefine HAVE_SETPGID
|
|
#cmakedefine HAVE_SETSID
|
|
#cmakedefine HAVE_SIGACTION
|
|
#cmakedefine HAVE_STRCASECMP
|
|
#cmakedefine HAVE_STRINGS_H
|
|
#cmakedefine HAVE_STRNCASECMP
|
|
#cmakedefine HAVE_SYS_UTSNAME_H
|
|
#cmakedefine HAVE_SYS_WAIT_H
|
|
#cmakedefine HAVE_UTIME
|
|
#cmakedefine HAVE_UTIME_H
|
|
#cmakedefine HAVE_UTIMES
|
|
#cmakedefine HAVE_WORKING_LIBINTL
|
|
#cmakedefine UNIX
|
|
#cmakedefine USE_FNAME_CASE
|
|
|
|
#define FEAT_CSCOPE
|
|
|
|
#ifndef UNIT_TESTING
|
|
#cmakedefine HAVE_JEMALLOC
|
|
#endif
|
|
|
|
#cmakedefine HAVE_BE64TOH
|
|
#cmakedefine ORDER_BIG_ENDIAN
|
|
|
|
#endif // AUTO_CONFIG_H
|