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@
|
|
|
|
#define SIZEOF_OFF_T @SIZEOF_OFF_T@
|
|
|
|
|
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
|
|
|
|
|
2014-02-28 03:33:31 -07:00
|
|
|
#cmakedefine HAVE__NSGETENVIRON
|
|
|
|
#cmakedefine HAVE_CRT_EXTERNS_H
|
2014-06-05 02:41:27 -07:00
|
|
|
#cmakedefine HAVE_FCNTL_H
|
|
|
|
#cmakedefine HAVE_FD_CLOEXEC
|
|
|
|
#cmakedefine HAVE_FSEEKO
|
|
|
|
#cmakedefine HAVE_FSYNC
|
|
|
|
#cmakedefine HAVE_GETPWENT
|
|
|
|
#cmakedefine HAVE_GETPWNAM
|
|
|
|
#cmakedefine HAVE_GETPWUID
|
|
|
|
#cmakedefine HAVE_ICONV
|
|
|
|
#cmakedefine HAVE_ICONV_H
|
|
|
|
#cmakedefine HAVE_LANGINFO_H
|
|
|
|
#cmakedefine HAVE_LIBGEN_H
|
|
|
|
#cmakedefine HAVE_LOCALE_H
|
|
|
|
#cmakedefine HAVE_NL_LANGINFO_CODESET
|
|
|
|
#cmakedefine HAVE_NL_MSG_CAT_CNTR
|
|
|
|
#cmakedefine HAVE_PUTENV
|
|
|
|
#cmakedefine HAVE_PWD_H
|
|
|
|
#cmakedefine HAVE_READLINK
|
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_STROPTS_H
|
|
|
|
#cmakedefine HAVE_SYS_PARAM_H
|
|
|
|
#cmakedefine HAVE_SYS_UTSNAME_H
|
|
|
|
#cmakedefine HAVE_SYS_WAIT_H
|
|
|
|
#cmakedefine HAVE_UNISTD_H
|
|
|
|
#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
|
2014-01-31 06:39:15 -07:00
|
|
|
|
|
|
|
#define FEAT_BROWSE
|
|
|
|
#define FEAT_CSCOPE
|
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
|
|
|
|
|
2015-03-01 08:36:10 -07:00
|
|
|
#endif // AUTO_CONFIG_H
|