mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-30 14:24:35 +08:00
9f8ae95b0e
This adds a basic CMakeLists.txt. It also adds a ConfigureChecks.cmake and config_cmake.h.in that produces a config.h.
239 lines
7.0 KiB
C
239 lines
7.0 KiB
C
/* Define to 1 if you have the `backtrace_symbols' function. */
|
|
#cmakedefine HAVE_BACKTRACE_SYMBOLS 1
|
|
|
|
/* Define to 1 if you have the `clock_gettime' function. */
|
|
#cmakedefine HAVE_CLOCK_GETTIME 1
|
|
|
|
/* Define to 1 if you have the `ctermid_r' function. */
|
|
#cmakedefine HAVE_CTERMID_R 1
|
|
|
|
/* Define to 1 if you have the <curses.h> header file. */
|
|
#cmakedefine HAVE_CURSES_H 1
|
|
|
|
/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'. */
|
|
#cmakedefine HAVE_DIRENT_H 1
|
|
|
|
/* Define to 1 if you have the `dirfd' function. */
|
|
#cmakedefine HAVE_DIRFD 1
|
|
|
|
/* Define to 1 if you have the <execinfo.h> header file. */
|
|
#cmakedefine HAVE_EXECINFO_H 1
|
|
|
|
/* Define to 1 if you have the `flock' function. */
|
|
#cmakedefine HAVE_FLOCK 1
|
|
|
|
/* Define to 1 if you have the `futimens' function. */
|
|
#cmakedefine HAVE_FUTIMENS 1
|
|
|
|
/* Define to 1 if you have the `futimes' function. */
|
|
#cmakedefine HAVE_FUTIMES 1
|
|
|
|
/* Define to 1 if you have the `getifaddrs' function. */
|
|
#cmakedefine HAVE_GETIFADDRS 1
|
|
|
|
/* Define to 1 if you have the <getopt.h> header file. */
|
|
#cmakedefine HAVE_GETOPT_H 1
|
|
|
|
/* Define to 1 if you have the `getpwent' function. */
|
|
#cmakedefine HAVE_GETPWENT 1
|
|
|
|
/* Define to 1 if you have the `gettext' function. */
|
|
#cmakedefine HAVE_GETTEXT 1
|
|
|
|
/* Define to 1 if you have the <inttypes.h> header file. */
|
|
#cmakedefine HAVE_INTTYPES_H 1
|
|
|
|
/* Define to 1 if you have the `killpg' function. */
|
|
#cmakedefine HAVE_KILLPG 1
|
|
|
|
/* Define to 1 if you have the <libintl.h> header file. */
|
|
#cmakedefine HAVE_LIBINTL_H 1
|
|
|
|
/* Define to 1 if you have the `lrand48_r' function. */
|
|
#cmakedefine HAVE_LRAND48_R 1
|
|
|
|
/* Define to 1 if you have the <memory.h> header file. */
|
|
#cmakedefine HAVE_MEMORY_H 1
|
|
|
|
/* Define to 1 if you have the `mkostemp' function. */
|
|
#cmakedefine HAVE_MKOSTEMP 1
|
|
|
|
/* Define to 1 if you have the <ncurses/curses.h> header file. */
|
|
#cmakedefine HAVE_NCURSES_CURSES_H 1
|
|
|
|
/* Define to 1 if you have the <ncurses.h> header file. */
|
|
#cmakedefine HAVE_NCURSES_H 1
|
|
|
|
/* Define to 1 if you have the <ncurses/term.h> header file. */
|
|
#cmakedefine HAVE_NCURSES_TERM_H 1
|
|
|
|
/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
|
|
#cmakedefine HAVE_NDIR_H 1
|
|
|
|
/* Define to 1 if the shm_open() function exists */
|
|
#cmakedefine HAVE_SHM_OPEN 1
|
|
|
|
/* Define to 1 if you have the <siginfo.h> header file. */
|
|
#cmakedefine HAVE_SIGINFO_H 1
|
|
|
|
/* Define to 1 if you have the <spawn.h> header file. */
|
|
#cmakedefine HAVE_SPAWN_H 1
|
|
|
|
/* Define to 1 if you have the <stdint.h> header file. */
|
|
#cmakedefine HAVE_STDINT_H 1
|
|
|
|
/* Define to 1 if you have the <stdlib.h> header file. */
|
|
#cmakedefine HAVE_STDLIB_H 1
|
|
|
|
/* Define to 1 if you have the `std::wcscasecmp' function. */
|
|
#cmakedefine HAVE_STD__WCSCASECMP 1
|
|
|
|
/* Define to 1 if you have the `std::wcsdup' function. */
|
|
#cmakedefine HAVE_STD__WCSDUP 1
|
|
|
|
/* Define to 1 if you have the `std::wcsncasecmp' function. */
|
|
#cmakedefine HAVE_STD__WCSNCASECMP 1
|
|
|
|
/* Define to 1 if you have the <strings.h> header file. */
|
|
#cmakedefine HAVE_STRINGS_H 1
|
|
|
|
/* Define to 1 if you have the <string.h> header file. */
|
|
#cmakedefine HAVE_STRING_H 1
|
|
|
|
/* Define to 1 if you have the <stropts.h> header file. */
|
|
#cmakedefine HAVE_STROPTS_H 1
|
|
|
|
/* Define to 1 if `d_type' is a member of `struct dirent'. */
|
|
#cmakedefine HAVE_STRUCT_DIRENT_D_TYPE 1
|
|
|
|
/* Define to 1 if `st_ctime_nsec' is a member of `struct stat'. */
|
|
#cmakedefine HAVE_STRUCT_STAT_ST_CTIME_NSEC 1
|
|
|
|
/* Define to 1 if `st_mtimespec.tv_nsec' is a member of `struct stat'. */
|
|
#cmakedefine HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC 1
|
|
|
|
/* Define to 1 if `st_mtim.tv_nsec' is a member of `struct stat'. */
|
|
#cmakedefine HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC 1
|
|
|
|
/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
|
|
*/
|
|
#cmakedefine HAVE_SYS_DIR_H 1
|
|
|
|
/* Define to 1 if the sys_errlist array is available. */
|
|
#cmakedefine HAVE_SYS_ERRLIST 1
|
|
|
|
/* Define to 1 if you have the <sys/ioctl.h> header file. */
|
|
#cmakedefine HAVE_SYS_IOCTL_H 1
|
|
|
|
/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
|
|
*/
|
|
#cmakedefine HAVE_SYS_NDIR_H 1
|
|
|
|
/* Define to 1 if you have the <sys/resource.h> header file. */
|
|
#cmakedefine HAVE_SYS_RESOURCE_H 1
|
|
|
|
/* Define to 1 if you have the <sys/select.h> header file. */
|
|
#cmakedefine HAVE_SYS_SELECT_H 1
|
|
|
|
/* Define to 1 if you have the <sys/stat.h> header file. */
|
|
#cmakedefine HAVE_SYS_STAT_H 1
|
|
|
|
/* Define to 1 if you have the <sys/sysctl.h> header file. */
|
|
#cmakedefine HAVE_SYS_SYSCTL_H 1
|
|
|
|
/* Define to 1 if you have the <sys/types.h> header file. */
|
|
#cmakedefine HAVE_SYS_TYPES_H 1
|
|
|
|
/* Define to 1 if you have the <termios.h> header file. */
|
|
#cmakedefine HAVE_TERMIOS_H 1
|
|
|
|
/* Define to 1 if you have the <term.h> header file. */
|
|
#cmakedefine HAVE_TERM_H 1
|
|
|
|
/* Define to 1 if you have the <unistd.h> header file. */
|
|
#cmakedefine HAVE_UNISTD_H 1
|
|
|
|
/* Define to 1 if you have the `wcscasecmp' function. */
|
|
#cmakedefine HAVE_WCSCASECMP 1
|
|
|
|
/* Define to 1 if you have the `wcsdup' function. */
|
|
#cmakedefine HAVE_WCSDUP 1
|
|
|
|
/* Define to 1 if you have the `wcslcpy' function. */
|
|
#cmakedefine HAVE_WCSLCPY 1
|
|
|
|
/* Define to 1 if you have the `wcsncasecmp' function. */
|
|
#cmakedefine HAVE_WCSNCASECMP 1
|
|
|
|
/* Define to 1 if you have the `wcsndup' function. */
|
|
#cmakedefine HAVE_WCSNDUP 1
|
|
|
|
/* Define to 1 if the winsize struct and TIOCGWINSZ macro exist */
|
|
#cmakedefine HAVE_WINSIZE 1
|
|
|
|
/* Define to 1 if the _nl_msg_cat_cntr symbol is exported. */
|
|
#cmakedefine HAVE__NL_MSG_CAT_CNTR 1
|
|
|
|
/* Define to 1 if you have the file `/proc/self/stat'. */
|
|
#cmakedefine HAVE__PROC_SELF_STAT 1
|
|
|
|
/* Define to 1 if the _sys_errs array is available. */
|
|
#cmakedefine HAVE__SYS__ERRS 1
|
|
|
|
/* Define to 1 to disable ncurses macros that conflict with the STL */
|
|
#define NCURSES_NOMACROS 1
|
|
|
|
/* Define to 1 to disable curses macros that conflict with the STL */
|
|
#define NOMACROS 1
|
|
|
|
/* Define to the address where bug reports for this package should be sent. */
|
|
#define PACKAGE_BUGREPORT "fish-users@lists.sourceforge.net"
|
|
|
|
/* Define to the full name of this package. */
|
|
#define PACKAGE_NAME "fish"
|
|
|
|
/* Define to the full name and version of this package. */
|
|
// #define PACKAGE_STRING "FIXME" # FISH-BUILD-VERSION-FILE
|
|
|
|
/* Define to the one symbol short name of this package. */
|
|
#cmakedefine PACKAGE_TARNAME "fish" 1
|
|
|
|
/* Define to the version of this package. */
|
|
// #define PACKAGE_VERSION "FIXME"
|
|
|
|
/* Define to 1 if tparm accepts a fixed amount of paramters. */
|
|
// #cmakedefine TPARM_SOLARIS_KLUDGE 1
|
|
|
|
/* Perform string translations with gettext */
|
|
// #cmakedefine USE_GETTEXT 1
|
|
|
|
/* The size of wchar_t in bits. */
|
|
#define WCHAR_T_BITS ${WCHAR_T_BITS}
|
|
|
|
/* Enable large inode numbers on Mac OS X 10.5. */
|
|
#ifndef _DARWIN_USE_64_BIT_INODE
|
|
# define _DARWIN_USE_64_BIT_INODE 1
|
|
#endif
|
|
|
|
/* Number of bits in a file offset, on hosts where this is settable. */
|
|
// TODO #cmakedefine _FILE_OFFSET_BITS 1
|
|
|
|
/* Define for large files, on AIX-style hosts. */
|
|
// TODO #cmakedefine _LARGE_FILES 1
|
|
|
|
#if __GNUC__ >= 3
|
|
#ifndef __warn_unused
|
|
#define __warn_unused __attribute__ ((warn_unused_result))
|
|
#endif
|
|
#ifndef __sentinel
|
|
#define __sentinel __attribute__ ((sentinel))
|
|
#endif
|
|
#ifndef __packed
|
|
#define __packed __attribute__ ((packed))
|
|
#endif
|
|
#else
|
|
#define __warn_unused
|
|
#define __sentinel
|
|
#define __packed
|
|
#endif
|