1 1.3 christos /* config.h. Generated from config.h.in by configure. */ 2 1.3 christos /* config.h.in. Generated from configure.ac by autoheader. */ 3 1.1 christos 4 1.3 christos /* Define to 1 if the `closedir' function returns void instead of `int'. */ 5 1.3 christos /* #undef CLOSEDIR_VOID */ 6 1.3 christos 7 1.3 christos /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP 8 1.3 christos systems. This function is required for `alloca.c' support on those systems. 9 1.3 christos */ 10 1.3 christos /* #undef CRAY_STACKSEG_END */ 11 1.3 christos 12 1.3 christos /* Define to 1 if using `alloca.c'. */ 13 1.3 christos /* #undef C_ALLOCA */ 14 1.3 christos 15 1.3 christos /* Define to 1 if you have `alloca', as a function or macro. */ 16 1.3 christos #define HAVE_ALLOCA 1 17 1.3 christos 18 1.3 christos /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix). 19 1.3 christos */ 20 1.3 christos /* #undef HAVE_ALLOCA_H */ 21 1.3 christos 22 1.3 christos /* Define to 1 if you have the <curses.h> header file. */ 23 1.3 christos #define HAVE_CURSES_H 1 24 1.3 christos 25 1.3 christos /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'. 26 1.3 christos */ 27 1.3 christos #define HAVE_DIRENT_H 1 28 1.3 christos 29 1.3 christos /* Define to 1 if you have the <dlfcn.h> header file. */ 30 1.3 christos #define HAVE_DLFCN_H 1 31 1.3 christos 32 1.3 christos /* Define to 1 if you have the `endpwent' function. */ 33 1.3 christos #define HAVE_ENDPWENT 1 34 1.3 christos 35 1.3 christos /* Define to 1 if you have the <fcntl.h> header file. */ 36 1.3 christos #define HAVE_FCNTL_H 1 37 1.3 christos 38 1.3 christos /* Define to 1 if you have the `fork' function. */ 39 1.3 christos #define HAVE_FORK 1 40 1.3 christos 41 1.3 christos /* Define to 1 if you have getpwnam_r and getpwuid_r that are draft POSIX.1 42 1.3 christos versions. */ 43 1.3 christos /* #undef HAVE_GETPW_R_DRAFT */ 44 1.3 christos 45 1.3 christos /* Define to 1 if you have getpwnam_r and getpwuid_r that are POSIX.1 46 1.3 christos compatible. */ 47 1.3 christos #define HAVE_GETPW_R_POSIX 1 48 1.3 christos 49 1.3 christos /* Define to 1 if you have the <inttypes.h> header file. */ 50 1.3 christos #define HAVE_INTTYPES_H 1 51 1.3 christos 52 1.3 christos /* Define to 1 if you have the `isascii' function. */ 53 1.3 christos #define HAVE_ISASCII 1 54 1.3 christos 55 1.3 christos /* Define to 1 if you have the `issetugid' function. */ 56 1.3 christos #define HAVE_ISSETUGID 1 57 1.3 christos 58 1.3 christos /* Define to 1 if you have the `curses' library (-lcurses). */ 59 1.3 christos #define HAVE_LIBCURSES 1 60 1.3 christos 61 1.3 christos /* Define to 1 if you have the `ncurses' library (-lncurses). */ 62 1.3 christos /* #undef HAVE_LIBNCURSES */ 63 1.3 christos 64 1.3 christos /* Define to 1 if you have the <limits.h> header file. */ 65 1.3 christos #define HAVE_LIMITS_H 1 66 1.3 christos 67 1.3 christos /* Define to 1 if you have the <malloc.h> header file. */ 68 1.3 christos #define HAVE_MALLOC_H 1 69 1.3 christos 70 1.3 christos /* Define to 1 if you have the `memchr' function. */ 71 1.3 christos #define HAVE_MEMCHR 1 72 1.3 christos 73 1.3 christos /* Define to 1 if you have the <memory.h> header file. */ 74 1.3 christos #define HAVE_MEMORY_H 1 75 1.3 christos 76 1.3 christos /* Define to 1 if you have the `memset' function. */ 77 1.3 christos #define HAVE_MEMSET 1 78 1.3 christos 79 1.3 christos /* Define to 1 if you have the <ncurses.h> header file. */ 80 1.3 christos /* #undef HAVE_NCURSES_H */ 81 1.3 christos 82 1.3 christos /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */ 83 1.3 christos /* #undef HAVE_NDIR_H */ 84 1.3 christos 85 1.3 christos /* Define to 1 if you have the `regcomp' function. */ 86 1.3 christos #define HAVE_REGCOMP 1 87 1.3 christos 88 1.3 christos /* Define to 1 if you have the `re_comp' function. */ 89 1.3 christos /* #undef HAVE_RE_COMP */ 90 1.3 christos 91 1.3 christos /* Define to 1 if `stat' has the bug that it succeeds when given the 92 1.3 christos zero-length file name argument. */ 93 1.3 christos /* #undef HAVE_STAT_EMPTY_STRING_BUG */ 94 1.3 christos 95 1.3 christos /* Define to 1 if you have the <stdint.h> header file. */ 96 1.3 christos #define HAVE_STDINT_H 1 97 1.3 christos 98 1.3 christos /* Define to 1 if you have the <stdlib.h> header file. */ 99 1.3 christos #define HAVE_STDLIB_H 1 100 1.3 christos 101 1.3 christos /* Define to 1 if you have the `strcasecmp' function. */ 102 1.3 christos #define HAVE_STRCASECMP 1 103 1.3 christos 104 1.3 christos /* Define to 1 if you have the `strchr' function. */ 105 1.3 christos #define HAVE_STRCHR 1 106 1.3 christos 107 1.3 christos /* Define to 1 if you have the `strcspn' function. */ 108 1.3 christos #define HAVE_STRCSPN 1 109 1.3 christos 110 1.3 christos /* Define to 1 if you have the `strdup' function. */ 111 1.3 christos #define HAVE_STRDUP 1 112 1.3 christos 113 1.3 christos /* Define to 1 if you have the `strerror' function. */ 114 1.3 christos #define HAVE_STRERROR 1 115 1.3 christos 116 1.3 christos /* Define to 1 if you have the <strings.h> header file. */ 117 1.3 christos #define HAVE_STRINGS_H 1 118 1.3 christos 119 1.3 christos /* Define to 1 if you have the <string.h> header file. */ 120 1.3 christos #define HAVE_STRING_H 1 121 1.3 christos 122 1.3 christos /* Define to 1 if you have the `strrchr' function. */ 123 1.3 christos #define HAVE_STRRCHR 1 124 1.3 christos 125 1.3 christos /* Define to 1 if you have the `strstr' function. */ 126 1.3 christos #define HAVE_STRSTR 1 127 1.3 christos 128 1.3 christos /* Define to 1 if you have the `strtol' function. */ 129 1.3 christos #define HAVE_STRTOL 1 130 1.3 christos 131 1.3 christos /* Define to 1 if you have the <sys/cdefs.h> header file. */ 132 1.1 christos #define HAVE_SYS_CDEFS_H 1 133 1.1 christos 134 1.3 christos /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'. 135 1.3 christos */ 136 1.3 christos /* #undef HAVE_SYS_DIR_H */ 137 1.3 christos 138 1.3 christos /* Define to 1 if you have the <sys/ioctl.h> header file. */ 139 1.3 christos #define HAVE_SYS_IOCTL_H 1 140 1.3 christos 141 1.3 christos /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'. 142 1.3 christos */ 143 1.3 christos /* #undef HAVE_SYS_NDIR_H */ 144 1.3 christos 145 1.3 christos /* Define to 1 if you have the <sys/param.h> header file. */ 146 1.3 christos #define HAVE_SYS_PARAM_H 1 147 1.3 christos 148 1.3 christos /* Define to 1 if you have the <sys/stat.h> header file. */ 149 1.3 christos #define HAVE_SYS_STAT_H 1 150 1.3 christos 151 1.3 christos /* Define to 1 if you have the <sys/types.h> header file. */ 152 1.3 christos #define HAVE_SYS_TYPES_H 1 153 1.3 christos 154 1.3 christos /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */ 155 1.3 christos #define HAVE_SYS_WAIT_H 1 156 1.3 christos 157 1.3 christos /* Define to 1 if you have the <term.h> header file. */ 158 1.3 christos #define HAVE_TERM_H 1 159 1.3 christos 160 1.3 christos /* Define to 1 if you have the <unistd.h> header file. */ 161 1.3 christos #define HAVE_UNISTD_H 1 162 1.3 christos 163 1.3 christos /* Define to 1 if the system has the type `u_int32_t'. */ 164 1.3 christos #define HAVE_U_INT32_T 1 165 1.3 christos 166 1.3 christos /* Define to 1 if you have the `vfork' function. */ 167 1.3 christos #define HAVE_VFORK 1 168 1.3 christos 169 1.3 christos /* Define to 1 if you have the <vfork.h> header file. */ 170 1.3 christos /* #undef HAVE_VFORK_H */ 171 1.3 christos 172 1.3 christos /* Define to 1 if you have the `wcsdup' function. */ 173 1.3 christos #define HAVE_WCSDUP 1 174 1.3 christos 175 1.3 christos /* Define to 1 if `fork' works. */ 176 1.3 christos #define HAVE_WORKING_FORK 1 177 1.3 christos 178 1.3 christos /* Define to 1 if `vfork' works. */ 179 1.3 christos #define HAVE_WORKING_VFORK 1 180 1.3 christos 181 1.3 christos /* Define to 1 if `lstat' dereferences a symlink specified with a trailing 182 1.3 christos slash. */ 183 1.3 christos #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 184 1.3 christos 185 1.3 christos /* Define to the sub-directory in which libtool stores uninstalled libraries. 186 1.3 christos */ 187 1.3 christos /* #undef LT_OBJDIR ".libs/" */ 188 1.3 christos 189 1.3 christos /* Name of package */ 190 1.3 christos /* #undef PACKAGE "libedit-20110709" */ 191 1.3 christos 192 1.3 christos /* Define to the address where bug reports for this package should be sent. */ 193 1.3 christos /* #undef PACKAGE_BUGREPORT "" */ 194 1.3 christos 195 1.3 christos /* Define to the full name of this package. */ 196 1.3 christos /* #undef PACKAGE_NAME "libedit" */ 197 1.3 christos 198 1.3 christos /* Define to the full name and version of this package. */ 199 1.3 christos /* #undef PACKAGE_STRING "libedit 3.0" */ 200 1.3 christos 201 1.3 christos /* Define to the one symbol short name of this package. */ 202 1.3 christos /* #undef PACKAGE_TARNAME "libedit-20110709" */ 203 1.3 christos 204 1.3 christos /* Define to the version of this package. */ 205 1.3 christos /* #undef PACKAGE_VERSION "3.0" */ 206 1.3 christos 207 1.3 christos /* Define as the return type of signal handlers (`int' or `void'). */ 208 1.3 christos #define RETSIGTYPE void 209 1.3 christos 210 1.3 christos /* If using the C implementation of alloca, define if you know the 211 1.3 christos direction of stack growth for your system; otherwise it will be 212 1.3 christos automatically deduced at runtime. 213 1.3 christos STACK_DIRECTION > 0 => grows toward higher addresses 214 1.3 christos STACK_DIRECTION < 0 => grows toward lower addresses 215 1.3 christos STACK_DIRECTION = 0 => direction of growth unknown */ 216 1.3 christos /* #undef STACK_DIRECTION */ 217 1.3 christos 218 1.3 christos /* Define to 1 if you have the ANSI C header files. */ 219 1.3 christos #define STDC_HEADERS 1 220 1.3 christos 221 1.3 christos /* Version number of package */ 222 1.3 christos /* #undef VERSION "3.0" */ 223 1.3 christos 224 1.3 christos /* Define to 1 if you want wide-character code */ 225 1.3 christos /* #undef WIDECHAR */ 226 1.3 christos 227 1.3 christos /* Define to 1 if on AIX 3. 228 1.3 christos System headers sometimes define this. 229 1.3 christos We just want to avoid a redefinition error message. */ 230 1.3 christos #ifndef _ALL_SOURCE 231 1.3 christos /* # undef _ALL_SOURCE */ 232 1.3 christos #endif 233 1.3 christos 234 1.3 christos /* Enable GNU extensions on systems that have them. */ 235 1.3 christos #if 0 236 1.3 christos #ifndef _GNU_SOURCE 237 1.3 christos # defin _GNU_SOURCE 1 238 1.3 christos #endif 239 1.3 christos #endif 240 1.3 christos 241 1.3 christos /* Define to 1 if on MINIX. */ 242 1.3 christos /* #undef _MINIX */ 243 1.3 christos 244 1.3 christos /* Define to 2 if the system does not provide POSIX.1 features except with 245 1.3 christos this defined. */ 246 1.3 christos /* #undef _POSIX_1_SOURCE */ 247 1.3 christos 248 1.3 christos /* Define to 1 if you need to in order for `stat' and other things to work. */ 249 1.3 christos /* #undef _POSIX_SOURCE */ 250 1.3 christos 251 1.3 christos /* Enable extensions on Solaris. */ 252 1.3 christos #if 0 253 1.3 christos #ifndef __EXTENSIONS__ 254 1.3 christos # define __EXTENSIONS__ 1 255 1.3 christos #endif 256 1.3 christos #ifndef _POSIX_PTHREAD_SEMANTICS 257 1.3 christos # define _POSIX_PTHREAD_SEMANTICS 1 258 1.3 christos #endif 259 1.3 christos #ifndef _TANDEM_SOURCE 260 1.3 christos # define _TANDEM_SOURCE 1 261 1.3 christos #endif 262 1.3 christos #endif 263 1.3 christos 264 1.3 christos /* Define to empty if `const' does not conform to ANSI C. */ 265 1.3 christos /* #undef const */ 266 1.3 christos 267 1.3 christos /* Define to `int' if <sys/types.h> does not define. */ 268 1.3 christos /* #undef pid_t */ 269 1.3 christos 270 1.3 christos /* Define to `unsigned int' if <sys/types.h> does not define. */ 271 1.3 christos /* #undef size_t */ 272 1.3 christos 273 1.3 christos /* Define as `fork' if `vfork' does not work. */ 274 1.3 christos /* #undef vfork */ 275 1.1 christos 276 1.2 apb 277 1.1 christos #include "sys.h" 278 1.3 christos #define SCCSID 279 1.3 christos /* #undef LIBC_SCCS */ 280 1.3 christos /* #undef lint */ 281 1.3 christos 282