freebsd-skq/defines.h.in

421 lines
11 KiB
C
Raw Normal View History

2004-04-17 07:16:34 +00:00
/* defines.h.in. Generated from configure.ac by autoheader. */
/* Unix definition file for less. -*- C -*-
*
* This file has 3 sections:
* User preferences.
* Settings always true on Unix.
* Settings automatically determined by configure.
*
* * * * * * WARNING * * * * * *
* If you edit defines.h by hand, do "touch stamp-h" before you run make
* so config.status doesn't overwrite your changes.
*/
2004-04-17 07:16:34 +00:00
/* User preferences. */
/*
* SECURE is 1 if you wish to disable a bunch of features in order to
* be safe to run by unprivileged users.
2006-08-20 15:49:51 +00:00
* SECURE_COMPILE is set by the --with-secure configure option.
*/
2006-08-20 15:49:51 +00:00
#define SECURE SECURE_COMPILE
/*
* SHELL_ESCAPE is 1 if you wish to allow shell escapes.
* (This is possible only if your system supplies the system() function.)
*/
#define SHELL_ESCAPE (!SECURE)
/*
* EXAMINE is 1 if you wish to allow examining files by name from within less.
*/
#define EXAMINE (!SECURE)
/*
* TAB_COMPLETE_FILENAME is 1 if you wish to allow the TAB key
* to complete filenames at prompts.
*/
#define TAB_COMPLETE_FILENAME (!SECURE)
/*
* CMD_HISTORY is 1 if you wish to allow keys to cycle through
* previous commands at prompts.
*/
#define CMD_HISTORY 1
/*
* HILITE_SEARCH is 1 if you wish to have search targets to be
* displayed in standout mode.
*/
#define HILITE_SEARCH 1
/*
* EDITOR is 1 if you wish to allow editor invocation (the "v" command).
* (This is possible only if your system supplies the system() function.)
* EDIT_PGM is the name of the (default) editor to be invoked.
*/
#define EDITOR (!SECURE)
/*
* TAGS is 1 if you wish to support tag files.
*/
#define TAGS (!SECURE)
/*
* USERFILE is 1 if you wish to allow a .less file to specify
* user-defined key bindings.
*/
#define USERFILE (!SECURE)
/*
* GLOB is 1 if you wish to have shell metacharacters expanded in filenames.
* This will generally work if your system provides the "popen" function
* and the "echo" shell command.
*/
#define GLOB (!SECURE)
/*
* PIPEC is 1 if you wish to have the "|" command
* which allows the user to pipe data into a shell command.
*/
#define PIPEC (!SECURE)
/*
* LOGFILE is 1 if you wish to allow the -l option (to create log files).
*/
#define LOGFILE (!SECURE)
/*
* GNU_OPTIONS is 1 if you wish to support the GNU-style command
* line options --help and --version.
*/
#define GNU_OPTIONS 1
/*
* ONLY_RETURN is 1 if you want RETURN to be the only input which
* will continue past an error message.
* Otherwise, any key will continue past an error message.
*/
#define ONLY_RETURN 0
/*
* LESSKEYFILE is the filename of the default lesskey output file
* (in the HOME directory).
* LESSKEYFILE_SYS is the filename of the system-wide lesskey output file.
* DEF_LESSKEYINFILE is the filename of the default lesskey input
* (in the HOME directory).
2006-08-20 15:49:51 +00:00
* LESSHISTFILE is the filename of the history file
* (in the HOME directory).
*/
#define LESSKEYFILE ".less"
2002-01-07 20:29:38 +00:00
#define LESSKEYFILE_SYS SYSDIR "/sysless"
#define DEF_LESSKEYINFILE ".lesskey"
2006-08-20 15:49:51 +00:00
#define LESSHISTFILE ".lesshst"
2004-04-17 07:16:34 +00:00
/* Settings always true on Unix. */
/*
* Define MSDOS_COMPILER if compiling under Microsoft C.
*/
#define MSDOS_COMPILER 0
/*
* Pathname separator character.
*/
#define PATHNAME_SEP "/"
2007-06-04 01:42:54 +00:00
/*
* The value returned from tgetent on success.
* Some HP-UX systems return 0 on success.
*/
#define TGETENT_OK 1
/*
* HAVE_SYS_TYPES_H is 1 if your system has <sys/types.h>.
*/
#define HAVE_SYS_TYPES_H 1
/*
* Define if you have the <sgstat.h> header file.
*/
#undef HAVE_SGSTAT_H
/*
* HAVE_PERROR is 1 if your system has the perror() call.
* (Actually, if it has sys_errlist, sys_nerr and errno.)
*/
#define HAVE_PERROR 1
/*
* HAVE_TIME is 1 if your system has the time() call.
*/
#define HAVE_TIME 1
/*
* HAVE_SHELL is 1 if your system supports a SHELL command interpreter.
*/
#define HAVE_SHELL 1
/*
* Default shell metacharacters and meta-escape character.
*/
2007-06-04 01:42:54 +00:00
#define DEF_METACHARS "; *?\t\n'\"()<>[]|&^`#\\$%=~"
#define DEF_METAESCAPE "\\"
/*
* HAVE_DUP is 1 if your system has the dup() call.
*/
#define HAVE_DUP 1
2007-06-04 01:42:54 +00:00
/* Define to 1 if you have the memcpy() function. */
#define HAVE_MEMCPY 1
/* Define to 1 if you have the strchr() function. */
#define HAVE_STRCHR 1
/* Define to 1 if you have the strstr() function. */
#define HAVE_STRSTR 1
/*
* Sizes of various buffers.
*/
#define CMDBUF_SIZE 512 /* Buffer for multichar commands */
#define UNGOT_SIZE 100 /* Max chars to unget() */
#define LINEBUF_SIZE 1024 /* Max size of line in input file */
#define OUTBUF_SIZE 1024 /* Output buffer */
#define PROMPT_SIZE 200 /* Max size of prompt string */
#define TERMBUF_SIZE 2048 /* Termcap buffer for tgetent */
#define TERMSBUF_SIZE 1024 /* Buffer to hold termcap strings */
#define TAGLINE_SIZE 512 /* Max size of line in tags file */
2002-01-07 20:29:38 +00:00
#define TABSTOP_MAX 32 /* Max number of custom tab stops */
2004-04-17 07:16:34 +00:00
/* Settings automatically determined by configure. */
2004-04-17 07:16:34 +00:00
/* Define EDIT_PGM to your editor. */
#undef EDIT_PGM
/* Define HAVE_CONST if your compiler supports the "const" modifier. */
#undef HAVE_CONST
2004-04-17 07:16:34 +00:00
/* Define to 1 if you have the <ctype.h> header file. */
#undef HAVE_CTYPE_H
2004-04-17 07:16:34 +00:00
/* Define HAVE_ERRNO if you have the errno variable. */
#undef HAVE_ERRNO
/* Define to 1 if you have the <errno.h> header file. */
#undef HAVE_ERRNO_H
2006-08-20 15:49:51 +00:00
/* Define to 1 if you have the `fchmod' function. */
#undef HAVE_FCHMOD
2004-04-17 07:16:34 +00:00
/* Define to 1 if you have the <fcntl.h> header file. */
#undef HAVE_FCNTL_H
/* Define HAVE_FILENO if you have the fileno() macro. */
#undef HAVE_FILENO
2011-05-09 18:30:23 +00:00
/* Define HAVE_FLOAT if your compiler supports the "double" type. */
#undef HAVE_FLOAT
2004-04-17 07:16:34 +00:00
/* Define to 1 if you have the `fsync' function. */
#undef HAVE_FSYNC
2012-06-26 20:38:53 +00:00
/* GNU regex library */
#undef HAVE_GNU_REGEX
2004-04-17 07:16:34 +00:00
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
2004-04-17 07:16:34 +00:00
/* Define to 1 if you have the <limits.h> header file. */
#undef HAVE_LIMITS_H
/* Define HAVE_LOCALE if you have locale.h and setlocale. */
#undef HAVE_LOCALE
2004-04-17 07:16:34 +00:00
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
2004-04-17 07:16:34 +00:00
/* Define HAVE_OSPEED if your termcap library has the ospeed variable. */
#undef HAVE_OSPEED
2000-07-14 09:51:40 +00:00
2004-04-17 07:16:34 +00:00
/* PCRE (Perl-compatible regular expression) library */
#undef HAVE_PCRE
2000-07-14 09:51:40 +00:00
2004-04-17 07:16:34 +00:00
/* Define to 1 if you have the `popen' function. */
#undef HAVE_POPEN
2004-04-17 07:16:34 +00:00
/* POSIX regcomp() and regex.h */
#undef HAVE_POSIX_REGCOMP
2004-04-17 07:16:34 +00:00
/* System V regcmp() */
#undef HAVE_REGCMP
2002-01-07 20:29:38 +00:00
2004-04-17 07:16:34 +00:00
/* */
#undef HAVE_REGEXEC2
2004-04-17 07:16:34 +00:00
/* BSD re_comp() */
#undef HAVE_RE_COMP
2004-04-17 07:16:34 +00:00
/* Define HAVE_SIGEMPTYSET if you have the sigemptyset macro. */
#undef HAVE_SIGEMPTYSET
/* Define to 1 if you have the `sigprocmask' function. */
2000-07-14 09:51:40 +00:00
#undef HAVE_SIGPROCMASK
2004-04-17 07:16:34 +00:00
/* Define to 1 if you have the `sigsetmask' function. */
#undef HAVE_SIGSETMASK
2007-06-04 01:42:54 +00:00
/* Define to 1 if the system has the type `sigset_t'. */
2004-04-17 07:16:34 +00:00
#undef HAVE_SIGSET_T
2006-08-20 15:49:51 +00:00
/* Define to 1 if you have the `snprintf' function. */
#undef HAVE_SNPRINTF
2004-04-17 07:16:34 +00:00
/* Define to 1 if you have the `stat' function. */
#undef HAVE_STAT
2007-11-16 22:22:17 +00:00
/* Define HAVE_STAT_INO if your struct stat has st_ino and st_dev. */
#undef HAVE_STAT_INO
2004-04-17 07:16:34 +00:00
/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H
2004-04-17 07:16:34 +00:00
/* Define to 1 if you have the <stdio.h> header file. */
#undef HAVE_STDIO_H
2004-04-17 07:16:34 +00:00
/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H
2004-04-17 07:16:34 +00:00
/* Define HAVE_STRERROR if you have the strerror() function. */
#undef HAVE_STRERROR
2004-04-17 07:16:34 +00:00
/* Define to 1 if you have the <strings.h> header file. */
#undef HAVE_STRINGS_H
2004-04-17 07:16:34 +00:00
/* Define to 1 if you have the <string.h> header file. */
#undef HAVE_STRING_H
2004-04-17 07:16:34 +00:00
/* Define to 1 if you have the `system' function. */
#undef HAVE_SYSTEM
2004-04-17 07:16:34 +00:00
/* Define HAVE_SYS_ERRLIST if you have the sys_errlist[] variable. */
#undef HAVE_SYS_ERRLIST
2004-04-17 07:16:34 +00:00
/* Define to 1 if you have the <sys/ioctl.h> header file. */
#undef HAVE_SYS_IOCTL_H
2004-04-17 07:16:34 +00:00
/* Define to 1 if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H
/* Define to 1 if you have the <sys/stream.h> header file. */
#undef HAVE_SYS_STREAM_H
2004-04-17 07:16:34 +00:00
/* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H
/* Define to 1 if you have the <termcap.h> header file. */
#undef HAVE_TERMCAP_H
2004-04-17 07:16:34 +00:00
/* Define HAVE_TERMIOS_FUNCS if you have tcgetattr/tcsetattr. */
#undef HAVE_TERMIOS_FUNCS
2004-04-17 07:16:34 +00:00
/* Define to 1 if you have the <termios.h> header file. */
#undef HAVE_TERMIOS_H
2004-04-17 07:16:34 +00:00
/* Define to 1 if you have the <termio.h> header file. */
#undef HAVE_TERMIO_H
/* Define to 1 if you have the <time.h> header file. */
#undef HAVE_TIME_H
2004-04-17 07:16:34 +00:00
/* Define HAVE_TIME_T if your system supports the "time_t" type. */
#undef HAVE_TIME_T
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
2004-04-17 07:16:34 +00:00
/* Define HAVE_UPPER_LOWER if you have isupper, islower, toupper, tolower. */
#undef HAVE_UPPER_LOWER
/* Henry Spencer V8 regcomp() and regexp.h */
#undef HAVE_V8_REGCOMP
/* Define to 1 if you have the <values.h> header file. */
#undef HAVE_VALUES_H
2004-04-17 07:16:34 +00:00
/* Define HAVE_VOID if your compiler supports the "void" type. */
#undef HAVE_VOID
2007-11-16 22:22:17 +00:00
/* Define HAVE_WCTYPE if you have iswupper, iswlower, towupper, towlower. */
#undef HAVE_WCTYPE
/* Define to 1 if you have the <wctype.h> header file. */
#undef HAVE_WCTYPE_H
2004-04-17 07:16:34 +00:00
/* Define to 1 if you have the `_setjmp' function. */
#undef HAVE__SETJMP
2004-04-17 07:16:34 +00:00
/* Define MUST_DEFINE_ERRNO if you have errno but it is not define in errno.h.
*/
#undef MUST_DEFINE_ERRNO
/* Define MUST_DEFINE_OSPEED if you have ospeed but it is not defined in
termcap.h. */
#undef MUST_DEFINE_OSPEED
/* pattern matching is supported, but without metacharacters. */
#undef NO_REGEX
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
/* Define to the full name of this package. */
#undef PACKAGE_NAME
/* Define to the full name and version of this package. */
#undef PACKAGE_STRING
/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME
2011-05-09 18:30:23 +00:00
/* Define to the home page for this package. */
#undef PACKAGE_URL
2004-04-17 07:16:34 +00:00
/* Define to the version of this package. */
#undef PACKAGE_VERSION
/* Define as the return type of signal handlers (`int' or `void'). */
#undef RETSIGTYPE
2006-08-20 15:49:51 +00:00
/* Define SECURE_COMPILE=1 to build a secure version of less. */
#undef SECURE_COMPILE
2004-04-17 07:16:34 +00:00
/* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
#undef STAT_MACROS_BROKEN
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
#undef TIME_WITH_SYS_TIME
/* Number of bits in a file offset, on hosts where this is settable. */
#undef _FILE_OFFSET_BITS
/* Define for large files, on AIX-style hosts. */
#undef _LARGE_FILES
/* Define to empty if `const' does not conform to ANSI C. */
#undef const
2007-06-04 01:42:54 +00:00
/* Define to `long int' if <sys/types.h> does not define. */
2004-04-17 07:16:34 +00:00
#undef off_t
2007-06-04 01:42:54 +00:00
/* Define to `unsigned int' if <sys/types.h> does not define. */
2004-04-17 07:16:34 +00:00
#undef size_t