2015-03-01 08:36:10 -07:00
|
|
|
#ifndef AUTO_CONFIG_H
|
|
|
|
#define AUTO_CONFIG_H
|
2014-01-31 06:39:15 -07:00
|
|
|
|
2014-06-27 06:16:26 -07:00
|
|
|
#cmakedefine DEBUG
|
2014-01-31 06:39:15 -07:00
|
|
|
|
|
|
|
#define SIZEOF_INT @SIZEOF_INT@
|
|
|
|
#define SIZEOF_LONG @SIZEOF_LONG@
|
|
|
|
|
2014-05-12 17:44:33 -07:00
|
|
|
#if @SIZEOF_VOID_PTR@ == 8
|
|
|
|
#define ARCH_64
|
|
|
|
#elif @SIZEOF_VOID_PTR@ == 4
|
|
|
|
#define ARCH_32
|
|
|
|
#endif
|
|
|
|
|
2016-02-17 07:16:25 -07:00
|
|
|
#define PROJECT_NAME "@PROJECT_NAME@"
|
|
|
|
#define LOCALE_INSTALL_DIR "@CMAKE_INSTALL_FULL_LOCALEDIR@"
|
|
|
|
|
2014-02-28 03:33:31 -07:00
|
|
|
#cmakedefine HAVE__NSGETENVIRON
|
2014-06-05 02:41:27 -07:00
|
|
|
#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
|
2014-06-08 11:57:18 -07:00
|
|
|
#cmakedefine HAVE_PUTENV_S
|
2014-06-05 02:41:27 -07:00
|
|
|
#cmakedefine HAVE_PWD_H
|
|
|
|
#cmakedefine HAVE_READLINK
|
2016-06-01 12:57:52 -07:00
|
|
|
#cmakedefine HAVE_UV_TRANSLATE_SYS_ERROR
|
2014-01-31 11:10:18 -07:00
|
|
|
// TODO: add proper cmake check
|
|
|
|
// #define HAVE_SELINUX 1
|
2014-06-05 02:41:27 -07:00
|
|
|
#cmakedefine HAVE_SETENV
|
2015-02-25 03:33:04 -07:00
|
|
|
#cmakedefine HAVE_UNSETENV
|
2014-06-05 02:41:27 -07:00
|
|
|
#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
|
2016-12-11 22:50:39 -07:00
|
|
|
#cmakedefine HAVE_TERMIOS_H
|
2014-06-05 02:41:27 -07:00
|
|
|
#cmakedefine HAVE_UTIME
|
|
|
|
#cmakedefine HAVE_UTIME_H
|
|
|
|
#cmakedefine HAVE_UTIMES
|
2014-01-31 11:10:18 -07:00
|
|
|
#cmakedefine HAVE_WORKING_LIBINTL
|
2014-06-05 02:41:27 -07:00
|
|
|
#cmakedefine UNIX
|
2015-03-26 20:30:45 -07:00
|
|
|
#cmakedefine USE_FNAME_CASE
|
2016-06-04 12:48:29 -07:00
|
|
|
#cmakedefine HAVE_SYS_UIO_H
|
|
|
|
#ifdef HAVE_SYS_UIO_H
|
|
|
|
#cmakedefine HAVE_READV
|
|
|
|
# ifndef HAVE_READV
|
|
|
|
# undef HAVE_SYS_UIO_H
|
|
|
|
# endif
|
|
|
|
#endif
|
2014-01-31 06:39:15 -07:00
|
|
|
|
2016-05-23 14:16:39 -07:00
|
|
|
#cmakedefine FEAT_TUI
|
2015-04-19 14:49:39 -07:00
|
|
|
|
|
|
|
#ifndef UNIT_TESTING
|
|
|
|
#cmakedefine HAVE_JEMALLOC
|
|
|
|
#endif
|
2015-03-01 08:36:10 -07:00
|
|
|
|
2015-08-15 06:16:29 -07:00
|
|
|
#cmakedefine HAVE_BE64TOH
|
|
|
|
#cmakedefine ORDER_BIG_ENDIAN
|
2016-05-14 05:44:37 -07:00
|
|
|
#define ENDIAN_INCLUDE_FILE <@ENDIAN_INCLUDE_FILE@>
|
2015-08-15 06:16:29 -07:00
|
|
|
|
2017-07-30 14:02:41 -07:00
|
|
|
#cmakedefine HAVE_EXECINFO_BACKTRACE
|
|
|
|
|
2015-03-01 08:36:10 -07:00
|
|
|
#endif // AUTO_CONFIG_H
|