defines.h (128350) | defines.h (161479) |
---|---|
1/* $FreeBSD: head/usr.bin/less/defines.h 128350 2004-04-17 07:48:21Z tjr $ */ | 1/* $FreeBSD: head/usr.bin/less/defines.h 161479 2006-08-20 15:51:18Z delphij $ */ |
2/* defines.h. Generated by configure. */ 3/* defines.h.in. Generated from configure.ac by autoheader. */ 4 5 6/* Unix definition file for less. -*- C -*- 7 * 8 * This file has 3 sections: 9 * User preferences. --- 5 unchanged lines hidden (view full) --- 15 * so config.status doesn't overwrite your changes. 16 */ 17 18/* User preferences. */ 19 20/* 21 * SECURE is 1 if you wish to disable a bunch of features in order to 22 * be safe to run by unprivileged users. | 2/* defines.h. Generated by configure. */ 3/* defines.h.in. Generated from configure.ac by autoheader. */ 4 5 6/* Unix definition file for less. -*- C -*- 7 * 8 * This file has 3 sections: 9 * User preferences. --- 5 unchanged lines hidden (view full) --- 15 * so config.status doesn't overwrite your changes. 16 */ 17 18/* User preferences. */ 19 20/* 21 * SECURE is 1 if you wish to disable a bunch of features in order to 22 * be safe to run by unprivileged users. |
23 * SECURE_COMPILE is set by the --with-secure configure option. |
|
23 */ | 24 */ |
24#define SECURE 0 | 25#define SECURE SECURE_COMPILE |
25 26/* 27 * SHELL_ESCAPE is 1 if you wish to allow shell escapes. 28 * (This is possible only if your system supplies the system() function.) 29 */ 30#define SHELL_ESCAPE (!SECURE) 31 32/* --- 69 unchanged lines hidden (view full) --- 102#define ONLY_RETURN 0 103 104/* 105 * LESSKEYFILE is the filename of the default lesskey output file 106 * (in the HOME directory). 107 * LESSKEYFILE_SYS is the filename of the system-wide lesskey output file. 108 * DEF_LESSKEYINFILE is the filename of the default lesskey input 109 * (in the HOME directory). | 26 27/* 28 * SHELL_ESCAPE is 1 if you wish to allow shell escapes. 29 * (This is possible only if your system supplies the system() function.) 30 */ 31#define SHELL_ESCAPE (!SECURE) 32 33/* --- 69 unchanged lines hidden (view full) --- 103#define ONLY_RETURN 0 104 105/* 106 * LESSKEYFILE is the filename of the default lesskey output file 107 * (in the HOME directory). 108 * LESSKEYFILE_SYS is the filename of the system-wide lesskey output file. 109 * DEF_LESSKEYINFILE is the filename of the default lesskey input 110 * (in the HOME directory). |
111 * LESSHISTFILE is the filename of the history file 112 * (in the HOME directory). |
|
110 */ 111#define LESSKEYFILE ".less" 112#define LESSKEYFILE_SYS "/etc/lesskey" 113#define DEF_LESSKEYINFILE ".lesskey" | 113 */ 114#define LESSKEYFILE ".less" 115#define LESSKEYFILE_SYS "/etc/lesskey" 116#define DEF_LESSKEYINFILE ".lesskey" |
117#define LESSHISTFILE ".lesshst" |
|
114 115 116/* Settings always true on Unix. */ 117 118/* 119 * Define MSDOS_COMPILER if compiling under Microsoft C. 120 */ 121#define MSDOS_COMPILER 0 --- 27 unchanged lines hidden (view full) --- 149/* 150 * HAVE_SHELL is 1 if your system supports a SHELL command interpreter. 151 */ 152#define HAVE_SHELL 1 153 154/* 155 * Default shell metacharacters and meta-escape character. 156 */ | 118 119 120/* Settings always true on Unix. */ 121 122/* 123 * Define MSDOS_COMPILER if compiling under Microsoft C. 124 */ 125#define MSDOS_COMPILER 0 --- 27 unchanged lines hidden (view full) --- 153/* 154 * HAVE_SHELL is 1 if your system supports a SHELL command interpreter. 155 */ 156#define HAVE_SHELL 1 157 158/* 159 * Default shell metacharacters and meta-escape character. 160 */ |
157#define DEF_METACHARS "; *?\t\n'\"()<>|&^`#\\" | 161#define DEF_METACHARS "; *?\t\n'\"()<>[]|&^`#\\" |
158#define DEF_METAESCAPE "\\" 159 160/* 161 * HAVE_DUP is 1 if your system has the dup() call. 162 */ 163#define HAVE_DUP 1 164 165/* --- 22 unchanged lines hidden (view full) --- 188#define HAVE_CTYPE_H 1 189 190/* Define HAVE_ERRNO if you have the errno variable. */ 191#define HAVE_ERRNO 1 192 193/* Define to 1 if you have the <errno.h> header file. */ 194#define HAVE_ERRNO_H 1 195 | 162#define DEF_METAESCAPE "\\" 163 164/* 165 * HAVE_DUP is 1 if your system has the dup() call. 166 */ 167#define HAVE_DUP 1 168 169/* --- 22 unchanged lines hidden (view full) --- 192#define HAVE_CTYPE_H 1 193 194/* Define HAVE_ERRNO if you have the errno variable. */ 195#define HAVE_ERRNO 1 196 197/* Define to 1 if you have the <errno.h> header file. */ 198#define HAVE_ERRNO_H 1 199 |
200/* Define to 1 if you have the `fchmod' function. */ 201#define HAVE_FCHMOD 1 202 |
|
196/* Define to 1 if you have the <fcntl.h> header file. */ 197#define HAVE_FCNTL_H 1 198 199/* Define HAVE_FILENO if you have the fileno() macro. */ 200#define HAVE_FILENO 1 201 202/* Define to 1 if you have the `fsync' function. */ 203#define HAVE_FSYNC 1 --- 50 unchanged lines hidden (view full) --- 254#define HAVE_SIGPROCMASK 1 255 256/* Define to 1 if you have the `sigsetmask' function. */ 257#define HAVE_SIGSETMASK 1 258 259/* Define HAVE_SIGSET_T you have the sigset_t type. */ 260/* #undef HAVE_SIGSET_T */ 261 | 203/* Define to 1 if you have the <fcntl.h> header file. */ 204#define HAVE_FCNTL_H 1 205 206/* Define HAVE_FILENO if you have the fileno() macro. */ 207#define HAVE_FILENO 1 208 209/* Define to 1 if you have the `fsync' function. */ 210#define HAVE_FSYNC 1 --- 50 unchanged lines hidden (view full) --- 261#define HAVE_SIGPROCMASK 1 262 263/* Define to 1 if you have the `sigsetmask' function. */ 264#define HAVE_SIGSETMASK 1 265 266/* Define HAVE_SIGSET_T you have the sigset_t type. */ 267/* #undef HAVE_SIGSET_T */ 268 |
269/* Define to 1 if you have the `snprintf' function. */ 270#define HAVE_SNPRINTF 1 271 |
|
262/* Define to 1 if you have the `stat' function. */ 263#define HAVE_STAT 1 264 265/* Define to 1 if you have the <stdint.h> header file. */ 266#define HAVE_STDINT_H 1 267 268/* Define to 1 if you have the <stdio.h> header file. */ 269#define HAVE_STDIO_H 1 --- 97 unchanged lines hidden (view full) --- 367#define PACKAGE_TARNAME "less" 368 369/* Define to the version of this package. */ 370#define PACKAGE_VERSION "1" 371 372/* Define as the return type of signal handlers (`int' or `void'). */ 373#define RETSIGTYPE void 374 | 272/* Define to 1 if you have the `stat' function. */ 273#define HAVE_STAT 1 274 275/* Define to 1 if you have the <stdint.h> header file. */ 276#define HAVE_STDINT_H 1 277 278/* Define to 1 if you have the <stdio.h> header file. */ 279#define HAVE_STDIO_H 1 --- 97 unchanged lines hidden (view full) --- 377#define PACKAGE_TARNAME "less" 378 379/* Define to the version of this package. */ 380#define PACKAGE_VERSION "1" 381 382/* Define as the return type of signal handlers (`int' or `void'). */ 383#define RETSIGTYPE void 384 |
385/* Define SECURE_COMPILE=1 to build a secure version of less. */ 386#define SECURE_COMPILE 0 387 |
|
375/* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */ 376/* #undef STAT_MACROS_BROKEN */ 377 378/* Define to 1 if you have the ANSI C header files. */ 379#define STDC_HEADERS 1 380 381/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ 382#define TIME_WITH_SYS_TIME 1 --- 15 unchanged lines hidden --- | 388/* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */ 389/* #undef STAT_MACROS_BROKEN */ 390 391/* Define to 1 if you have the ANSI C header files. */ 392#define STDC_HEADERS 1 393 394/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ 395#define TIME_WITH_SYS_TIME 1 --- 15 unchanged lines hidden --- |