[BACK]Return to defines.h.in CVS log [TXT][DIR] Up to [local] / src / usr.bin / less

Diff for /src/usr.bin/less/Attic/defines.h.in between version 1.1.1.2 and 1.1.1.3

version 1.1.1.2, 2003/04/13 18:21:21 version 1.1.1.3, 2011/09/16 17:47:04
Line 18 
Line 18 
 /*  /*
  * SECURE is 1 if you wish to disable a bunch of features in order to   * SECURE is 1 if you wish to disable a bunch of features in order to
  * be safe to run by unprivileged users.   * be safe to run by unprivileged users.
    * SECURE_COMPILE is set by the --with-secure configure option.
  */   */
 #define SECURE          0  #define SECURE          SECURE_COMPILE
   
 /*  /*
  * SHELL_ESCAPE is 1 if you wish to allow shell escapes.   * SHELL_ESCAPE is 1 if you wish to allow shell escapes.
Line 105 
Line 106 
  * LESSKEYFILE_SYS is the filename of the system-wide lesskey output file.   * LESSKEYFILE_SYS is the filename of the system-wide lesskey output file.
  * DEF_LESSKEYINFILE is the filename of the default lesskey input   * DEF_LESSKEYINFILE is the filename of the default lesskey input
  * (in the HOME directory).   * (in the HOME directory).
    * LESSHISTFILE is the filename of the history file
    * (in the HOME directory).
  */   */
 #define LESSKEYFILE             ".less"  #define LESSKEYFILE             ".less"
 #define LESSKEYFILE_SYS         SYSDIR "/sysless"  #define LESSKEYFILE_SYS         SYSDIR "/sysless"
 #define DEF_LESSKEYINFILE       ".lesskey"  #define DEF_LESSKEYINFILE       ".lesskey"
   #define LESSHISTFILE            ".lesshst"
   
   
 /* Settings always true on Unix.  */  /* Settings always true on Unix.  */
Line 124 
Line 128 
 #define PATHNAME_SEP    "/"  #define PATHNAME_SEP    "/"
   
 /*  /*
    * 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>.   * HAVE_SYS_TYPES_H is 1 if your system has <sys/types.h>.
  */   */
 #define HAVE_SYS_TYPES_H        1  #define HAVE_SYS_TYPES_H        1
Line 152 
Line 162 
 /*  /*
  * Default shell metacharacters and meta-escape character.   * Default shell metacharacters and meta-escape character.
  */   */
 #define DEF_METACHARS   "; *?\t\n'\"()<>|&^`#\\"  #define DEF_METACHARS   "; *?\t\n'\"()<>[]|&^`#\\$%=~"
 #define DEF_METAESCAPE  "\\"  #define DEF_METAESCAPE  "\\"
   
 /*  /*
Line 160 
Line 170 
  */   */
 #define HAVE_DUP        1  #define HAVE_DUP        1
   
   /* 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.   * Sizes of various buffers.
  */   */
Line 191 
Line 210 
 /* Define to 1 if you have the <errno.h> header file. */  /* Define to 1 if you have the <errno.h> header file. */
 #undef HAVE_ERRNO_H  #undef HAVE_ERRNO_H
   
   /* Define to 1 if you have the `fchmod' function. */
   #undef HAVE_FCHMOD
   
 /* Define to 1 if you have the <fcntl.h> header file. */  /* Define to 1 if you have the <fcntl.h> header file. */
 #undef HAVE_FCNTL_H  #undef HAVE_FCNTL_H
   
 /* Define HAVE_FILENO if you have the fileno() macro. */  /* Define HAVE_FILENO if you have the fileno() macro. */
 #undef HAVE_FILENO  #undef HAVE_FILENO
   
   /* Define HAVE_FLOAT if your compiler supports the "double" type. */
   #undef HAVE_FLOAT
   
 /* Define to 1 if you have the `fsync' function. */  /* Define to 1 if you have the `fsync' function. */
 #undef HAVE_FSYNC  #undef HAVE_FSYNC
   
Line 218 
Line 243 
 /* Define HAVE_LOCALE if you have locale.h and setlocale. */  /* Define HAVE_LOCALE if you have locale.h and setlocale. */
 #undef HAVE_LOCALE  #undef HAVE_LOCALE
   
 /* Define to 1 if you have the `memcpy' function. */  
 #undef HAVE_MEMCPY  
   
 /* Define to 1 if you have the <memory.h> header file. */  /* Define to 1 if you have the <memory.h> header file. */
 #undef HAVE_MEMORY_H  #undef HAVE_MEMORY_H
   
Line 254 
Line 276 
 /* Define to 1 if you have the `sigsetmask' function. */  /* Define to 1 if you have the `sigsetmask' function. */
 #undef HAVE_SIGSETMASK  #undef HAVE_SIGSETMASK
   
 /* Define HAVE_SIGSET_T you have the sigset_t type. */  /* Define to 1 if the system has the type `sigset_t'. */
 #undef HAVE_SIGSET_T  #undef HAVE_SIGSET_T
   
   /* Define to 1 if you have the `snprintf' function. */
   #undef HAVE_SNPRINTF
   
 /* Define to 1 if you have the `stat' function. */  /* Define to 1 if you have the `stat' function. */
 #undef HAVE_STAT  #undef HAVE_STAT
   
   /* Define HAVE_STAT_INO if your struct stat has st_ino and st_dev. */
   #undef HAVE_STAT_INO
   
 /* Define to 1 if you have the <stdint.h> header file. */  /* Define to 1 if you have the <stdint.h> header file. */
 #undef HAVE_STDINT_H  #undef HAVE_STDINT_H
   
Line 269 
Line 297 
 /* Define to 1 if you have the <stdlib.h> header file. */  /* Define to 1 if you have the <stdlib.h> header file. */
 #undef HAVE_STDLIB_H  #undef HAVE_STDLIB_H
   
 /* Define to 1 if you have the `strchr' function. */  
 #undef HAVE_STRCHR  
   
 /* Define HAVE_STRERROR if you have the strerror() function. */  /* Define HAVE_STRERROR if you have the strerror() function. */
 #undef HAVE_STRERROR  #undef HAVE_STRERROR
   
Line 281 
Line 306 
 /* Define to 1 if you have the <string.h> header file. */  /* Define to 1 if you have the <string.h> header file. */
 #undef HAVE_STRING_H  #undef HAVE_STRING_H
   
 /* Define to 1 if you have the `strstr' function. */  
 #undef HAVE_STRSTR  
   
 /* Define to 1 if you have the `system' function. */  /* Define to 1 if you have the `system' function. */
 #undef HAVE_SYSTEM  #undef HAVE_SYSTEM
   
Line 293 
Line 315 
 /* Define to 1 if you have the <sys/ioctl.h> header file. */  /* Define to 1 if you have the <sys/ioctl.h> header file. */
 #undef HAVE_SYS_IOCTL_H  #undef HAVE_SYS_IOCTL_H
   
 /* Define to 1 if you have the <sys/ptem.h> header file. */  
 #undef HAVE_SYS_PTEM_H  
   
 /* Define to 1 if you have the <sys/stat.h> header file. */  /* Define to 1 if you have the <sys/stat.h> header file. */
 #undef HAVE_SYS_STAT_H  #undef HAVE_SYS_STAT_H
   
Line 338 
Line 357 
 /* Define HAVE_VOID if your compiler supports the "void" type. */  /* Define HAVE_VOID if your compiler supports the "void" type. */
 #undef HAVE_VOID  #undef HAVE_VOID
   
   /* 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
   
 /* Define to 1 if you have the `_setjmp' function. */  /* Define to 1 if you have the `_setjmp' function. */
 #undef HAVE__SETJMP  #undef HAVE__SETJMP
   
Line 364 
Line 389 
 /* Define to the one symbol short name of this package. */  /* Define to the one symbol short name of this package. */
 #undef PACKAGE_TARNAME  #undef PACKAGE_TARNAME
   
   /* Define to the home page for this package. */
   #undef PACKAGE_URL
   
 /* Define to the version of this package. */  /* Define to the version of this package. */
 #undef PACKAGE_VERSION  #undef PACKAGE_VERSION
   
 /* Define as the return type of signal handlers (`int' or `void'). */  /* Define as the return type of signal handlers (`int' or `void'). */
 #undef RETSIGTYPE  #undef RETSIGTYPE
   
   /* Define SECURE_COMPILE=1 to build a secure version of less. */
   #undef SECURE_COMPILE
   
 /* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */  /* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
 #undef STAT_MACROS_BROKEN  #undef STAT_MACROS_BROKEN
   
Line 388 
Line 419 
 /* Define to empty if `const' does not conform to ANSI C. */  /* Define to empty if `const' does not conform to ANSI C. */
 #undef const  #undef const
   
 /* Define to `long' if <sys/types.h> does not define. */  /* Define to `long int' if <sys/types.h> does not define. */
 #undef off_t  #undef off_t
   
 /* Define to `unsigned' if <sys/types.h> does not define. */  /* Define to `unsigned int' if <sys/types.h> does not define. */
 #undef size_t  #undef size_t

Legend:
Removed from v.1.1.1.2  
changed lines
  Added in v.1.1.1.3