1a1f28041SXin LI /* defines.h. Generated from defines.h.in by configure. */ 255e19c81STim J. Robbins /* defines.h.in. Generated from configure.ac by autoheader. */ 355e19c81STim J. Robbins 455e19c81STim J. Robbins 56f7d2d90SPaul Saab /* Unix definition file for less. -*- C -*- 66f7d2d90SPaul Saab * 76f7d2d90SPaul Saab * This file has 3 sections: 86f7d2d90SPaul Saab * User preferences. 96f7d2d90SPaul Saab * Settings always true on Unix. 106f7d2d90SPaul Saab * Settings automatically determined by configure. 116f7d2d90SPaul Saab * 126f7d2d90SPaul Saab * * * * * * WARNING * * * * * * 136f7d2d90SPaul Saab * If you edit defines.h by hand, do "touch stamp-h" before you run make 146f7d2d90SPaul Saab * so config.status doesn't overwrite your changes. 156f7d2d90SPaul Saab */ 1655e19c81STim J. Robbins 176f7d2d90SPaul Saab /* User preferences. */ 186f7d2d90SPaul Saab 196f7d2d90SPaul Saab /* 206f7d2d90SPaul Saab * SECURE is 1 if you wish to disable a bunch of features in order to 216f7d2d90SPaul Saab * be safe to run by unprivileged users. 2272bc07dcSXin LI * SECURE_COMPILE is set by the --with-secure configure option. 236f7d2d90SPaul Saab */ 2472bc07dcSXin LI #define SECURE SECURE_COMPILE 256f7d2d90SPaul Saab 266f7d2d90SPaul Saab /* 276f7d2d90SPaul Saab * SHELL_ESCAPE is 1 if you wish to allow shell escapes. 286f7d2d90SPaul Saab * (This is possible only if your system supplies the system() function.) 296f7d2d90SPaul Saab */ 306f7d2d90SPaul Saab #define SHELL_ESCAPE (!SECURE) 316f7d2d90SPaul Saab 326f7d2d90SPaul Saab /* 336f7d2d90SPaul Saab * EXAMINE is 1 if you wish to allow examining files by name from within less. 346f7d2d90SPaul Saab */ 356f7d2d90SPaul Saab #define EXAMINE (!SECURE) 366f7d2d90SPaul Saab 376f7d2d90SPaul Saab /* 386f7d2d90SPaul Saab * TAB_COMPLETE_FILENAME is 1 if you wish to allow the TAB key 396f7d2d90SPaul Saab * to complete filenames at prompts. 406f7d2d90SPaul Saab */ 416f7d2d90SPaul Saab #define TAB_COMPLETE_FILENAME (!SECURE) 426f7d2d90SPaul Saab 436f7d2d90SPaul Saab /* 446f7d2d90SPaul Saab * CMD_HISTORY is 1 if you wish to allow keys to cycle through 456f7d2d90SPaul Saab * previous commands at prompts. 466f7d2d90SPaul Saab */ 476f7d2d90SPaul Saab #define CMD_HISTORY 1 486f7d2d90SPaul Saab 496f7d2d90SPaul Saab /* 506f7d2d90SPaul Saab * HILITE_SEARCH is 1 if you wish to have search targets to be 516f7d2d90SPaul Saab * displayed in standout mode. 526f7d2d90SPaul Saab */ 536f7d2d90SPaul Saab #define HILITE_SEARCH 1 546f7d2d90SPaul Saab 556f7d2d90SPaul Saab /* 566f7d2d90SPaul Saab * EDITOR is 1 if you wish to allow editor invocation (the "v" command). 576f7d2d90SPaul Saab * (This is possible only if your system supplies the system() function.) 586f7d2d90SPaul Saab * EDIT_PGM is the name of the (default) editor to be invoked. 596f7d2d90SPaul Saab */ 606f7d2d90SPaul Saab #define EDITOR (!SECURE) 616f7d2d90SPaul Saab 626f7d2d90SPaul Saab /* 636f7d2d90SPaul Saab * TAGS is 1 if you wish to support tag files. 646f7d2d90SPaul Saab */ 656f7d2d90SPaul Saab #define TAGS (!SECURE) 666f7d2d90SPaul Saab 676f7d2d90SPaul Saab /* 686f7d2d90SPaul Saab * USERFILE is 1 if you wish to allow a .less file to specify 696f7d2d90SPaul Saab * user-defined key bindings. 706f7d2d90SPaul Saab */ 716f7d2d90SPaul Saab #define USERFILE (!SECURE) 726f7d2d90SPaul Saab 736f7d2d90SPaul Saab /* 746f7d2d90SPaul Saab * GLOB is 1 if you wish to have shell metacharacters expanded in filenames. 756f7d2d90SPaul Saab * This will generally work if your system provides the "popen" function 766f7d2d90SPaul Saab * and the "echo" shell command. 776f7d2d90SPaul Saab */ 786f7d2d90SPaul Saab #define GLOB (!SECURE) 796f7d2d90SPaul Saab 806f7d2d90SPaul Saab /* 816f7d2d90SPaul Saab * PIPEC is 1 if you wish to have the "|" command 826f7d2d90SPaul Saab * which allows the user to pipe data into a shell command. 836f7d2d90SPaul Saab */ 8430a1828cSXin LI #define PIPEC (!SECURE && HAVE_POPEN) 856f7d2d90SPaul Saab 866f7d2d90SPaul Saab /* 87b7780dbeSXin LI * LOGFILE is 1 if you wish to allow the -o option (to create log files). 886f7d2d90SPaul Saab */ 896f7d2d90SPaul Saab #define LOGFILE (!SECURE) 906f7d2d90SPaul Saab 916f7d2d90SPaul Saab /* 926f7d2d90SPaul Saab * GNU_OPTIONS is 1 if you wish to support the GNU-style command 936f7d2d90SPaul Saab * line options --help and --version. 946f7d2d90SPaul Saab */ 956f7d2d90SPaul Saab #define GNU_OPTIONS 1 966f7d2d90SPaul Saab 976f7d2d90SPaul Saab /* 986f7d2d90SPaul Saab * ONLY_RETURN is 1 if you want RETURN to be the only input which 996f7d2d90SPaul Saab * will continue past an error message. 1006f7d2d90SPaul Saab * Otherwise, any key will continue past an error message. 1016f7d2d90SPaul Saab */ 1026f7d2d90SPaul Saab #define ONLY_RETURN 0 1036f7d2d90SPaul Saab 1046f7d2d90SPaul Saab /* 1056f7d2d90SPaul Saab * LESSKEYFILE is the filename of the default lesskey output file 1066f7d2d90SPaul Saab * (in the HOME directory). 1076f7d2d90SPaul Saab * LESSKEYFILE_SYS is the filename of the system-wide lesskey output file. 1086f7d2d90SPaul Saab * DEF_LESSKEYINFILE is the filename of the default lesskey input 1096f7d2d90SPaul Saab * (in the HOME directory). 11072bc07dcSXin LI * LESSHISTFILE is the filename of the history file 11172bc07dcSXin LI * (in the HOME directory). 1126f7d2d90SPaul Saab */ 1136f7d2d90SPaul Saab #define LESSKEYFILE ".less" 1146c488bf2STim J. Robbins #define LESSKEYFILE_SYS "/etc/lesskey" 1156f7d2d90SPaul Saab #define DEF_LESSKEYINFILE ".lesskey" 11630a1828cSXin LI #define LESSKEYINFILE_SYS "/etc/syslesskey" 11772bc07dcSXin LI #define LESSHISTFILE ".lesshst" 1186f7d2d90SPaul Saab 11955e19c81STim J. Robbins 1206f7d2d90SPaul Saab /* Settings always true on Unix. */ 1216f7d2d90SPaul Saab 1226f7d2d90SPaul Saab /* 1236f7d2d90SPaul Saab * Define MSDOS_COMPILER if compiling under Microsoft C. 1246f7d2d90SPaul Saab */ 1256f7d2d90SPaul Saab #define MSDOS_COMPILER 0 1266f7d2d90SPaul Saab 1276f7d2d90SPaul Saab /* 1286f7d2d90SPaul Saab * Pathname separator character. 1296f7d2d90SPaul Saab */ 1306f7d2d90SPaul Saab #define PATHNAME_SEP "/" 1316f7d2d90SPaul Saab 1326f7d2d90SPaul Saab /* 133a1f28041SXin LI * The value returned from tgetent on success. 134a1f28041SXin LI * Some HP-UX systems return 0 on success. 135a1f28041SXin LI */ 136a1f28041SXin LI #define TGETENT_OK 1 137a1f28041SXin LI 138a1f28041SXin LI /* 139f6b74a7dSXin LI * HAVE_ANSI_PROTOS is 1 if your compiler supports ANSI function prototypes. 140f6b74a7dSXin LI */ 141f6b74a7dSXin LI #define HAVE_ANSI_PROTOS 1 142f6b74a7dSXin LI 143f6b74a7dSXin LI /* 1446f7d2d90SPaul Saab * HAVE_SYS_TYPES_H is 1 if your system has <sys/types.h>. 1456f7d2d90SPaul Saab */ 1466f7d2d90SPaul Saab #define HAVE_SYS_TYPES_H 1 1476f7d2d90SPaul Saab 1486f7d2d90SPaul Saab /* 1496f7d2d90SPaul Saab * Define if you have the <sgstat.h> header file. 1506f7d2d90SPaul Saab */ 1516f7d2d90SPaul Saab /* #undef HAVE_SGSTAT_H */ 1526f7d2d90SPaul Saab 1536f7d2d90SPaul Saab /* 1546f7d2d90SPaul Saab * HAVE_PERROR is 1 if your system has the perror() call. 1556f7d2d90SPaul Saab * (Actually, if it has sys_errlist, sys_nerr and errno.) 1566f7d2d90SPaul Saab */ 1576f7d2d90SPaul Saab #define HAVE_PERROR 1 1586f7d2d90SPaul Saab 1596f7d2d90SPaul Saab /* 1606f7d2d90SPaul Saab * HAVE_TIME is 1 if your system has the time() call. 1616f7d2d90SPaul Saab */ 1626f7d2d90SPaul Saab #define HAVE_TIME 1 1636f7d2d90SPaul Saab 1646f7d2d90SPaul Saab /* 1656f7d2d90SPaul Saab * HAVE_SHELL is 1 if your system supports a SHELL command interpreter. 1666f7d2d90SPaul Saab */ 1676f7d2d90SPaul Saab #define HAVE_SHELL 1 1686f7d2d90SPaul Saab 1696f7d2d90SPaul Saab /* 1706f7d2d90SPaul Saab * Default shell metacharacters and meta-escape character. 1716f7d2d90SPaul Saab */ 172b2ea2440SXin LI #define DEF_METACHARS "; *?\t\n'\"()<>[]|&^`#\\$%=~{}," 1736f7d2d90SPaul Saab #define DEF_METAESCAPE "\\" 1746f7d2d90SPaul Saab 1756f7d2d90SPaul Saab /* 1766f7d2d90SPaul Saab * HAVE_DUP is 1 if your system has the dup() call. 1776f7d2d90SPaul Saab */ 1786f7d2d90SPaul Saab #define HAVE_DUP 1 1796f7d2d90SPaul Saab 180a1f28041SXin LI /* Define to 1 if you have the memcpy() function. */ 181a1f28041SXin LI #define HAVE_MEMCPY 1 182a1f28041SXin LI 183a1f28041SXin LI /* Define to 1 if you have the strchr() function. */ 184a1f28041SXin LI #define HAVE_STRCHR 1 185a1f28041SXin LI 186a1f28041SXin LI /* Define to 1 if you have the strstr() function. */ 187a1f28041SXin LI #define HAVE_STRSTR 1 188a1f28041SXin LI 18930a1828cSXin LI /* Define to 1 to support reading lesskey source files (not just binary). */ 19030a1828cSXin LI #define HAVE_LESSKEYSRC 1 19130a1828cSXin LI 1926f7d2d90SPaul Saab /* 1936f7d2d90SPaul Saab * Sizes of various buffers. 1946f7d2d90SPaul Saab */ 195417a0a79SXin LI #if 0 /* old sizes for small memory machines */ 1966f7d2d90SPaul Saab #define CMDBUF_SIZE 512 /* Buffer for multichar commands */ 1976f7d2d90SPaul Saab #define UNGOT_SIZE 100 /* Max chars to unget() */ 1986f7d2d90SPaul Saab #define LINEBUF_SIZE 1024 /* Max size of line in input file */ 1996f7d2d90SPaul Saab #define OUTBUF_SIZE 1024 /* Output buffer */ 2006f7d2d90SPaul Saab #define PROMPT_SIZE 200 /* Max size of prompt string */ 2016f7d2d90SPaul Saab #define TERMBUF_SIZE 2048 /* Termcap buffer for tgetent */ 2026f7d2d90SPaul Saab #define TERMSBUF_SIZE 1024 /* Buffer to hold termcap strings */ 2036f7d2d90SPaul Saab #define TAGLINE_SIZE 512 /* Max size of line in tags file */ 204fb05bfbaSPaul Saab #define TABSTOP_MAX 32 /* Max number of custom tab stops */ 2054cc5fc9aSXin LI #else /* more reasonable sizes for modern machines */ 2064cc5fc9aSXin LI #define CMDBUF_SIZE 2048 /* Buffer for multichar commands */ 2074cc5fc9aSXin LI #define UNGOT_SIZE 200 /* Max chars to unget() */ 2084cc5fc9aSXin LI #define LINEBUF_SIZE 1024 /* Initial max size of line in input file */ 2094cc5fc9aSXin LI #define OUTBUF_SIZE 1024 /* Output buffer */ 2104cc5fc9aSXin LI #define PROMPT_SIZE 2048 /* Max size of prompt string */ 2114cc5fc9aSXin LI #define TERMBUF_SIZE 2048 /* Termcap buffer for tgetent */ 2124cc5fc9aSXin LI #define TERMSBUF_SIZE 1024 /* Buffer to hold termcap strings */ 2134cc5fc9aSXin LI #define TAGLINE_SIZE 1024 /* Max size of line in tags file */ 2144cc5fc9aSXin LI #define TABSTOP_MAX 128 /* Max number of custom tab stops */ 2154cc5fc9aSXin LI #endif 21655e19c81STim J. Robbins 217d713e089SXin LI /* Define as the return type of signal handlers (int or void). */ 218d713e089SXin LI #define RETSIGTYPE void 219d713e089SXin LI 2206f7d2d90SPaul Saab /* Settings automatically determined by configure. */ 2216f7d2d90SPaul Saab 222d4673883SPaul Saab 2236f7d2d90SPaul Saab /* Define EDIT_PGM to your editor. */ 2246f7d2d90SPaul Saab #define EDIT_PGM "vi" 2256f7d2d90SPaul Saab 22655e19c81STim J. Robbins /* Define HAVE_CONST if your compiler supports the "const" modifier. */ 22755e19c81STim J. Robbins #define HAVE_CONST 1 2286f7d2d90SPaul Saab 22955e19c81STim J. Robbins /* Define to 1 if you have the <ctype.h> header file. */ 2306f7d2d90SPaul Saab #define HAVE_CTYPE_H 1 2316f7d2d90SPaul Saab 23255e19c81STim J. Robbins /* Define HAVE_ERRNO if you have the errno variable. */ 23355e19c81STim J. Robbins #define HAVE_ERRNO 1 23455e19c81STim J. Robbins 23555e19c81STim J. Robbins /* Define to 1 if you have the <errno.h> header file. */ 2366f7d2d90SPaul Saab #define HAVE_ERRNO_H 1 2376f7d2d90SPaul Saab 23872bc07dcSXin LI /* Define to 1 if you have the `fchmod' function. */ 23972bc07dcSXin LI #define HAVE_FCHMOD 1 24072bc07dcSXin LI 24155e19c81STim J. Robbins /* Define to 1 if you have the <fcntl.h> header file. */ 2426f7d2d90SPaul Saab #define HAVE_FCNTL_H 1 2436f7d2d90SPaul Saab 24455e19c81STim J. Robbins /* Define HAVE_FILENO if you have the fileno() macro. */ 24555e19c81STim J. Robbins #define HAVE_FILENO 1 2466f7d2d90SPaul Saab 24755e19c81STim J. Robbins /* Define to 1 if you have the `fsync' function. */ 24855e19c81STim J. Robbins #define HAVE_FSYNC 1 2496f7d2d90SPaul Saab 25096e55cc7SXin LI /* GNU regex library */ 25196e55cc7SXin LI /* #undef HAVE_GNU_REGEX */ 25296e55cc7SXin LI 25355e19c81STim J. Robbins /* Define to 1 if you have the <inttypes.h> header file. */ 25455e19c81STim J. Robbins #define HAVE_INTTYPES_H 1 2556f7d2d90SPaul Saab 25655e19c81STim J. Robbins /* Define to 1 if you have the <limits.h> header file. */ 25755e19c81STim J. Robbins #define HAVE_LIMITS_H 1 25855e19c81STim J. Robbins 259d713e089SXin LI /* Define to 1 if you have the <linux/magic.h> header file. */ 260d713e089SXin LI /* #undef HAVE_LINUX_MAGIC_H */ 261d713e089SXin LI 26255e19c81STim J. Robbins /* Define HAVE_LOCALE if you have locale.h and setlocale. */ 26355e19c81STim J. Robbins #define HAVE_LOCALE 1 26455e19c81STim J. Robbins 2652235c7feSXin LI /* Define to 1 if you have the `nanosleep' function. */ 2662235c7feSXin LI #define HAVE_NANOSLEEP 1 2672235c7feSXin LI 268*f80a33eaSXin LI /* Define to 1 if you have the <ncursesw/termcap.h> header file. */ 269*f80a33eaSXin LI /* #undef HAVE_NCURSESW_TERMCAP_H */ 270*f80a33eaSXin LI 271*f80a33eaSXin LI /* Define to 1 if you have the <ncurses/termcap.h> header file. */ 272*f80a33eaSXin LI /* #undef HAVE_NCURSES_TERMCAP_H */ 273*f80a33eaSXin LI 27455e19c81STim J. Robbins /* Define HAVE_OSPEED if your termcap library has the ospeed variable. */ 27555e19c81STim J. Robbins #define HAVE_OSPEED 1 27655e19c81STim J. Robbins 27755e19c81STim J. Robbins /* PCRE (Perl-compatible regular expression) library */ 27855e19c81STim J. Robbins /* #undef HAVE_PCRE */ 27955e19c81STim J. Robbins 280b7780dbeSXin LI /* PCRE2 (Perl-compatible regular expression) library */ 281b7780dbeSXin LI /* #undef HAVE_PCRE2 */ 282b7780dbeSXin LI 2832235c7feSXin LI /* Define to 1 if you have the `poll' function. */ 2842235c7feSXin LI #define HAVE_POLL 1 2852235c7feSXin LI 28655e19c81STim J. Robbins /* Define to 1 if you have the `popen' function. */ 28755e19c81STim J. Robbins #define HAVE_POPEN 1 28855e19c81STim J. Robbins 28955e19c81STim J. Robbins /* POSIX regcomp() and regex.h */ 29055e19c81STim J. Robbins #define HAVE_POSIX_REGCOMP 1 29155e19c81STim J. Robbins 29295270f73SXin LI /* Define HAVE_PROCFS if have have fstatfs with f_type and PROC_SUPER_MAGIC. 29395270f73SXin LI */ 29495270f73SXin LI /* #undef HAVE_PROCFS */ 29595270f73SXin LI 296b7780dbeSXin LI /* Define to 1 if you have the `realpath' function. */ 297b7780dbeSXin LI #define HAVE_REALPATH 1 298b7780dbeSXin LI 29955e19c81STim J. Robbins /* System V regcmp() */ 30055e19c81STim J. Robbins /* #undef HAVE_REGCMP */ 30155e19c81STim J. Robbins 30255e19c81STim J. Robbins /* */ 30355e19c81STim J. Robbins /* #undef HAVE_REGEXEC2 */ 30455e19c81STim J. Robbins 30555e19c81STim J. Robbins /* BSD re_comp() */ 30655e19c81STim J. Robbins /* #undef HAVE_RE_COMP */ 30755e19c81STim J. Robbins 30855e19c81STim J. Robbins /* Define HAVE_SIGEMPTYSET if you have the sigemptyset macro. */ 30955e19c81STim J. Robbins #define HAVE_SIGEMPTYSET 1 31055e19c81STim J. Robbins 31155e19c81STim J. Robbins /* Define to 1 if you have the `sigprocmask' function. */ 31255e19c81STim J. Robbins #define HAVE_SIGPROCMASK 1 31355e19c81STim J. Robbins 31455e19c81STim J. Robbins /* Define to 1 if you have the `sigsetmask' function. */ 31555e19c81STim J. Robbins #define HAVE_SIGSETMASK 1 31655e19c81STim J. Robbins 317a1f28041SXin LI /* Define to 1 if the system has the type `sigset_t'. */ 318a1f28041SXin LI #define HAVE_SIGSET_T 1 31955e19c81STim J. Robbins 32072bc07dcSXin LI /* Define to 1 if you have the `snprintf' function. */ 32172bc07dcSXin LI #define HAVE_SNPRINTF 1 32272bc07dcSXin LI 32355e19c81STim J. Robbins /* Define to 1 if you have the `stat' function. */ 32455e19c81STim J. Robbins #define HAVE_STAT 1 32555e19c81STim J. Robbins 326423c5ce5SXin LI /* Define HAVE_STAT_INO if your struct stat has st_ino and st_dev. */ 327423c5ce5SXin LI #define HAVE_STAT_INO 1 328423c5ce5SXin LI 329d713e089SXin LI /* Define to 1 if you have the <stdckdint.h> header file. */ 330d713e089SXin LI /* #undef HAVE_STDCKDINT_H */ 331d713e089SXin LI 33255e19c81STim J. Robbins /* Define to 1 if you have the <stdint.h> header file. */ 33355e19c81STim J. Robbins #define HAVE_STDINT_H 1 33455e19c81STim J. Robbins 33555e19c81STim J. Robbins /* Define to 1 if you have the <stdio.h> header file. */ 33655e19c81STim J. Robbins #define HAVE_STDIO_H 1 33755e19c81STim J. Robbins 33855e19c81STim J. Robbins /* Define to 1 if you have the <stdlib.h> header file. */ 33955e19c81STim J. Robbins #define HAVE_STDLIB_H 1 34055e19c81STim J. Robbins 34155e19c81STim J. Robbins /* Define HAVE_STRERROR if you have the strerror() function. */ 34255e19c81STim J. Robbins #define HAVE_STRERROR 1 34355e19c81STim J. Robbins 34455e19c81STim J. Robbins /* Define to 1 if you have the <strings.h> header file. */ 34555e19c81STim J. Robbins #define HAVE_STRINGS_H 1 34655e19c81STim J. Robbins 34755e19c81STim J. Robbins /* Define to 1 if you have the <string.h> header file. */ 34855e19c81STim J. Robbins #define HAVE_STRING_H 1 34955e19c81STim J. Robbins 350d713e089SXin LI /* Define to 1 if you have the `strsignal' function. */ 351d713e089SXin LI #define HAVE_STRSIGNAL 1 352d713e089SXin LI 35355e19c81STim J. Robbins /* Define to 1 if you have the `system' function. */ 35455e19c81STim J. Robbins #define HAVE_SYSTEM 1 35555e19c81STim J. Robbins 35655e19c81STim J. Robbins /* Define HAVE_SYS_ERRLIST if you have the sys_errlist[] variable. */ 35755e19c81STim J. Robbins #define HAVE_SYS_ERRLIST 1 35855e19c81STim J. Robbins 35955e19c81STim J. Robbins /* Define to 1 if you have the <sys/ioctl.h> header file. */ 36055e19c81STim J. Robbins #define HAVE_SYS_IOCTL_H 1 36155e19c81STim J. Robbins 36255e19c81STim J. Robbins /* Define to 1 if you have the <sys/stat.h> header file. */ 36355e19c81STim J. Robbins #define HAVE_SYS_STAT_H 1 36455e19c81STim J. Robbins 36555e19c81STim J. Robbins /* Define to 1 if you have the <sys/stream.h> header file. */ 36655e19c81STim J. Robbins /* #undef HAVE_SYS_STREAM_H */ 36755e19c81STim J. Robbins 36855e19c81STim J. Robbins /* Define to 1 if you have the <sys/types.h> header file. */ 36955e19c81STim J. Robbins #define HAVE_SYS_TYPES_H 1 37055e19c81STim J. Robbins 371d713e089SXin LI /* Define to 1 if you have the <sys/wait.h> header file. */ 372d713e089SXin LI #define HAVE_SYS_WAIT_H 1 373d713e089SXin LI 37455e19c81STim J. Robbins /* Define to 1 if you have the <termcap.h> header file. */ 37555e19c81STim J. Robbins #define HAVE_TERMCAP_H 1 37655e19c81STim J. Robbins 37755e19c81STim J. Robbins /* Define HAVE_TERMIOS_FUNCS if you have tcgetattr/tcsetattr. */ 37855e19c81STim J. Robbins #define HAVE_TERMIOS_FUNCS 1 37955e19c81STim J. Robbins 38055e19c81STim J. Robbins /* Define to 1 if you have the <termios.h> header file. */ 38155e19c81STim J. Robbins #define HAVE_TERMIOS_H 1 38255e19c81STim J. Robbins 38355e19c81STim J. Robbins /* Define to 1 if you have the <termio.h> header file. */ 38455e19c81STim J. Robbins /* #undef HAVE_TERMIO_H */ 38555e19c81STim J. Robbins 38655e19c81STim J. Robbins /* Define to 1 if you have the <time.h> header file. */ 38755e19c81STim J. Robbins #define HAVE_TIME_H 1 38855e19c81STim J. Robbins 38955e19c81STim J. Robbins /* Define HAVE_TIME_T if your system supports the "time_t" type. */ 39055e19c81STim J. Robbins #define HAVE_TIME_T 1 39155e19c81STim J. Robbins 3922235c7feSXin LI /* Define to 1 if you have the `ttyname' function. */ 3932235c7feSXin LI #define HAVE_TTYNAME 1 3942235c7feSXin LI 39555e19c81STim J. Robbins /* Define to 1 if you have the <unistd.h> header file. */ 39655e19c81STim J. Robbins #define HAVE_UNISTD_H 1 39755e19c81STim J. Robbins 39855e19c81STim J. Robbins /* Define HAVE_UPPER_LOWER if you have isupper, islower, toupper, tolower. */ 39955e19c81STim J. Robbins #define HAVE_UPPER_LOWER 1 40055e19c81STim J. Robbins 4012235c7feSXin LI /* Define to 1 if you have the `usleep' function. */ 4022235c7feSXin LI #define HAVE_USLEEP 1 4032235c7feSXin LI 40455e19c81STim J. Robbins /* Henry Spencer V8 regcomp() and regexp.h */ 40555e19c81STim J. Robbins /* #undef HAVE_V8_REGCOMP */ 40655e19c81STim J. Robbins 40755e19c81STim J. Robbins /* Define to 1 if you have the <values.h> header file. */ 40855e19c81STim J. Robbins /* #undef HAVE_VALUES_H */ 40955e19c81STim J. Robbins 41055e19c81STim J. Robbins /* Define HAVE_VOID if your compiler supports the "void" type. */ 41155e19c81STim J. Robbins #define HAVE_VOID 1 41255e19c81STim J. Robbins 413423c5ce5SXin LI /* Define HAVE_WCTYPE if you have iswupper, iswlower, towupper, towlower. */ 414423c5ce5SXin LI #define HAVE_WCTYPE 1 415423c5ce5SXin LI 416423c5ce5SXin LI /* Define to 1 if you have the <wctype.h> header file. */ 417423c5ce5SXin LI #define HAVE_WCTYPE_H 1 418423c5ce5SXin LI 41955e19c81STim J. Robbins /* Define to 1 if you have the `_setjmp' function. */ 42055e19c81STim J. Robbins #define HAVE__SETJMP 1 42155e19c81STim J. Robbins 42255e19c81STim J. Robbins /* Define MUST_DEFINE_ERRNO if you have errno but it is not define in errno.h. 42355e19c81STim J. Robbins */ 42455e19c81STim J. Robbins /* #undef MUST_DEFINE_ERRNO */ 42555e19c81STim J. Robbins 42655e19c81STim J. Robbins /* Define MUST_DEFINE_OSPEED if you have ospeed but it is not defined in 42755e19c81STim J. Robbins termcap.h. */ 42855e19c81STim J. Robbins /* #undef MUST_DEFINE_OSPEED */ 42955e19c81STim J. Robbins 43055e19c81STim J. Robbins /* pattern matching is supported, but without metacharacters. */ 43155e19c81STim J. Robbins /* #undef NO_REGEX */ 43255e19c81STim J. Robbins 43355e19c81STim J. Robbins /* Define to the address where bug reports for this package should be sent. */ 43455e19c81STim J. Robbins #define PACKAGE_BUGREPORT "" 43555e19c81STim J. Robbins 43655e19c81STim J. Robbins /* Define to the full name of this package. */ 43755e19c81STim J. Robbins #define PACKAGE_NAME "less" 43855e19c81STim J. Robbins 43955e19c81STim J. Robbins /* Define to the full name and version of this package. */ 44055e19c81STim J. Robbins #define PACKAGE_STRING "less 1" 44155e19c81STim J. Robbins 44255e19c81STim J. Robbins /* Define to the one symbol short name of this package. */ 44355e19c81STim J. Robbins #define PACKAGE_TARNAME "less" 44455e19c81STim J. Robbins 4455187751eSXin LI /* Define to the home page for this package. */ 4465187751eSXin LI #define PACKAGE_URL "" 4475187751eSXin LI 44855e19c81STim J. Robbins /* Define to the version of this package. */ 44955e19c81STim J. Robbins #define PACKAGE_VERSION "1" 45055e19c81STim J. Robbins 45172bc07dcSXin LI /* Define SECURE_COMPILE=1 to build a secure version of less. */ 45272bc07dcSXin LI #define SECURE_COMPILE 0 45372bc07dcSXin LI 45455e19c81STim J. Robbins /* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */ 45555e19c81STim J. Robbins /* #undef STAT_MACROS_BROKEN */ 45655e19c81STim J. Robbins 457*f80a33eaSXin LI /* Define to 1 if all of the C90 standard headers exist (not just the ones 458*f80a33eaSXin LI required in a freestanding environment). This macro is provided for 459*f80a33eaSXin LI backward compatibility; new code need not use it. */ 46055e19c81STim J. Robbins #define STDC_HEADERS 1 46155e19c81STim J. Robbins 46255e19c81STim J. Robbins /* Number of bits in a file offset, on hosts where this is settable. */ 46355e19c81STim J. Robbins /* #undef _FILE_OFFSET_BITS */ 46455e19c81STim J. Robbins 46555e19c81STim J. Robbins /* Define for large files, on AIX-style hosts. */ 46655e19c81STim J. Robbins /* #undef _LARGE_FILES */ 46755e19c81STim J. Robbins 46855e19c81STim J. Robbins /* Define to empty if `const' does not conform to ANSI C. */ 46955e19c81STim J. Robbins /* #undef const */ 47055e19c81STim J. Robbins 471a1f28041SXin LI /* Define to `long int' if <sys/types.h> does not define. */ 47255e19c81STim J. Robbins /* #undef off_t */ 47355e19c81STim J. Robbins 474a1f28041SXin LI /* Define to `unsigned int' if <sys/types.h> does not define. */ 47555e19c81STim J. Robbins /* #undef size_t */ 476