1 /* config.h. Generated automatically by configure. */ 2 /* WARNING: Do NOT edit the config.h file; instead, put any needed 3 changes in custom.h, so that they can override assumptions made in the 4 automatically-generated config.h file */ 5 6 /* #undef STDC_HEADERS */ 7 8 /* #undef _ALL_SOURCE */ 9 10 /* #undef _POSIX_SOURCE */ 11 12 #define HAVE_STDC 1 13 14 /* Define if you want old pattern-less string matching in .ini files */ 15 /* #undef HAVE_OLDCODE */ 16 17 /* Define if you want standard bibclean-specific pattern in .ini files */ 18 #define HAVE_PATTERNS 1 19 20 /* Define if you want regular-expression patterns in .ini files using re_comp() */ 21 22 /* #undef HAVE_RECOMP */ 23 /* #undef HAVE_REGEXP */ 24 25 #if !(defined(__cplusplus) || defined(c_plusplus)) 26 /* Define to empty if the keyword does not work, but do nothing in */ 27 /* C++ environment, because autoconf 2.4 gets the wrong answer from */ 28 /* the AC_C_CONST test program under C++ compilation. */ 29 #define const 30 #endif 31 32 /* Define if your free() requires (char*) cast instead of (void*) */ 33 /* #undef FREE_CAST_IS_CHAR_STAR */ 34 35 /* Define if your compiler recognizes \a as an alert (ASCII BEL) character */ 36 #define HAVE_ALERT_CHAR 1 37 38 /* Library functions that we need */ 39 40 /* #undef HAVE_GETCWD */ 41 /* #undef HAVE_GETWD */ 42 /* #undef HAVE_STRCSPN */ 43 /* #undef HAVE_STRDUP */ 44 /* #undef HAVE_STRSPN */ 45 /* #undef HAVE_STRSTR */ 46 /* #undef HAVE_STRTOD */ 47 /* #undef HAVE_STRTOL */ 48 49 /* Header files that we might need */ 50 51 /* #undef HAVE_CONIO_H */ 52 #define HAVE_CTYPE_H 1 53 #define HAVE_DESCRIP_H 1 54 #define HAVE_ERRNO_H 1 55 #define HAVE_FCNTL_H 1 56 #define HAVE_IODEF_H 1 57 /* #undef HAVE_IO_H */ 58 #define HAVE_JPIDEF_H 1 59 #define HAVE_LIMITS_H 1 60 #define HAVE_MEMCHR 1 61 #define HAVE_MEMCPY 1 62 #define HAVE_MEMCMP 1 63 #define HAVE_MEMMOVE 1 64 #define HAVE_MEMSET 1 65 66 #define HAVE_OSFCN_H 1 67 /* #undef HAVE_PWD_H */ 68 #define HAVE_REGEXP_H 1 69 #define HAVE_REGEX_H 1 70 #define HAVE_RMS_H 1 71 #define HAVE_SGTTY_H 1 72 #define HAVE_SSDEF_H 1 73 #define HAVE_STAT_H 1 74 #define HAVE_STDDEF_H 1 75 #define HAVE_STDIO_H 1 76 #define HAVE_STDLIB_H 1 77 #define HAVE_STRING_H 1 78 /* #undef HAVE_SYS_IOCTL_H */ 79 /* #undef HAVE_SYS_PARAM_H */ 80 /* #undef HAVE_SYS_STAT_H */ 81 /* #undef HAVE_SYS_TYPES_H */ 82 #define HAVE_TERMIOS_H 1 83 #define HAVE_TERMIO_H 1 84 #define HAVE_TIME_H 1 85 /* #undef HAVE_TT2DEF_H */ 86 #define HAVE_TTDEF_H 1 87 /* #undef HAVE_TYPES_H */ 88 #define HAVE_UNISTD_H 1 89 #define HAVE_UNIXIO_H 1 90 91 #define RCSID(s) static char rcsid[] = s; 92 93 #define OS_VAXVMS 1 94 #define OS_UNIX 0 95 #define OS_PCDOS 0 96 #define OS_ATARI 0 97 98 #include <stdio.h> 99 100 /* NB: some systems have Standard C header files, but compilers that 101 do not accept function prototypes (e.g. HP HP-UX 9.0.3 /bin/cc) */ 102 #if defined(STDC_HEADERS) && (defined(__STDC__) || defined(__cplusplus) || defined(c_plusplus)) 103 #define ARGS(plist) plist 104 #define VOID void 105 #else 106 #define ARGS(plist) () 107 #define VOID 108 #endif 109 110 #define SCREEN_LINES 24 111 112 /*********************************************************************** 113 The limit on file name lengths is non-standard: 114 115 -------- ------------- ------------------------------------------ 116 Name Definition System 117 -------- ------------- ------------------------------------------ 118 FNMAX <stdio.h> PCC-20 119 MAXPATH <dir.h> Turbo C 2.0, C and C++ 3.0, and TopSpeed C 120 _MAX_PATH <stdlib.h> Microsoft C 5.0, 6.0, 7.0 and TopSpeed C 121 MAXPATHLEN <sys/param.h> Sun OS (4.2BSD), 4.3BSD, Gould UTX/32, 122 HPUX, KCC-20, AIX (RT, RS, PS/2, 370), 123 HP/Apollo DomainOS, DEC Alpha (OSF/1) 124 PATH_MAX <stdio.h> SYS V (Silicon Graphics) 125 PATH_MAX <limits.h> POSIX, DEC Alpha (OSF/1) 126 FILENAME_MAX <stdio.h> Intel RMX, NeXT Mach, Turbo C/C++ 3.0 127 -------- ------------- ------------------------------------------ 128 129 ***********************************************************************/ 130 131 #if defined(HAVE_SYS_PARAM_H) 132 #include <sys/param.h> 133 #endif 134 135 #if defined(HAVE_LIMITS_H) 136 #include <limits.h> 137 #endif 138 139 #if defined(HAVE_STDLIB_H) 140 #include <stdlib.h> 141 #endif 142 143 #if defined(HAVE_UNIXIO_H) 144 #include <unixio.h> 145 #endif 146 147 #if !defined(MAXPATHLEN) && defined(FNMAX) 148 #define MAXPATHLEN FNMAX 149 #endif 150 151 #if !defined(MAXPATHLEN) && defined(MAXPATH) 152 #define MAXPATHLEN MAXPATH 153 #endif 154 155 #if !defined(MAXPATHLEN) && defined(_MAX_PATH) 156 #define MAXPATHLEN _MAX_PATH 157 #endif 158 159 #if !defined(MAXPATHLEN) && defined(PATH_MAX) 160 #define MAXPATHLEN PATH_MAX 161 #endif 162 163 #if !defined(MAXPATHLEN) && defined(FILENAME_MAX) 164 #define MAXPATHLEN FILENAME_MAX 165 #endif 166 167 #if !defined(MAXPATHLEN) && defined(FNMAX) 168 #define MAXPATHLEN 1024 169 #endif 170 171 #if OS_PCDOS 172 #define SEP_COMP " ;,|" /* separators between filename components */ 173 #define SEP_PATH "\\" /* separators between directory path and filename */ 174 #endif 175 176 #if OS_UNIX 177 #define SEP_COMP " ;:,|" /* separators between filename components */ 178 #define SEP_PATH "/" /* separators between directory path and filename */ 179 #endif 180 181 #if OS_VAXVMS 182 #define SEP_COMP " ;,|" /* separators between filename components */ 183 #define SEP_PATH ":]" /* separators between directory path and filename */ 184 /* first char is what we default to */ 185 #endif 186 187 #if defined(__TURBOC__) 188 /* #undef fileno */ 189 #define fileno(f) ((f)->fd) 190 #endif 191 192 #include <custom.h> 193 194 #if !defined(HAVE_IOCTL_PROTOTYPE) 195 #if defined(__cplusplus) || defined(c_plusplus) 196 /* system files should have: extern "C" {int ioctl ARGS((int, int, ...));} */ 197 #else 198 extern int ioctl ARGS((int, int, ...)); 199 #endif 200 #endif 201 202 #if defined(FREE_CAST_IS_CHAR_STAR) 203 #define FREE(p) free((char*)(p)) 204 #else 205 #define FREE(p) free((void*)(p)) 206 #endif 207 208 #define _AIX370 0 209